Improvement of tool button in KDE4

Thomas Lübking thomas.luebking at web.de
Mon May 25 21:26:47 BST 2009


Am Monday 25 May 2009 schrieb Louai Al-Khanji:

> Maybe I'm pointing out the obvious, but also note that you can call
> QToolButton::setPopupMode(QToolButton::InstantPopup) if you want to
> show the menu immediately.

This was about various attempts of delayed toolbutton popup opening (i.e. the 
button has a popup and a primary function)
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.
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

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))

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090525/dc77003f/attachment.htm>


More information about the kde-core-devel mailing list