<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Segoe'; font-size:9pt; font-weight:400; font-style:normal;">Am Monday 25 May 2009 schrieb Louai Al-Khanji:<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>> Maybe I'm pointing out the obvious, but also note that you can call<br>
> QToolButton::setPopupMode(QToolButton::InstantPopup) if you want to<br>
> show the menu immediately.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>This was about various attempts of delayed toolbutton popup opening (i.e. the button has a popup and a primary function)<br>
Miroslav's attempt was to "click and drag" because the 600ms Qt uses as def. for the toolbutton delay felt far too long. Christoph then pointed out that this time can be alteres by the time and that he set it to 250ms.<br>
Besides other comments i then showed off by yelling that my style requires the user to be able to click within 150ms to not get a popup =P<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>InstantPopup is therefore however not an option in this context (we were just agreeing that the default NON instant popups are lame - for being slow or pixel search causing (the extra menu area tends to be designed small in styles))<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Thomas</p></body></html>