Improvement of tool button in KDE4

David Faure faure at kde.org
Wed May 20 16:47:32 BST 2009


On Wednesday 11 February 2009, Miroslav Bendik wrote:
> Hello,
> 
> I'm sending my improved version of QToolButton with menu. In case of standard 
> QToolButton, it is necessary to hold a left clik for 600ms until the menu 
> will show up. In my implementation, it is possible to show the menu 
> immediately by simple click&drag. After the action, the menu will appear 
> immediately. Menu actions are launched by left mouse button release over the 
> menu item. It is also possible to launch standard action like folder up in 
> case of up button in konqueror.
> 
> I'm aware that my implementation is not very user firendly. But on the other 
> hand, it has some advantages ( 
> http://mireq.linuxos.sk/kde4/toolbar_buttons.png ) too. I would be really 
> happy if it was implemented. As we can find 2 types of such buttons in KDE4. 
> In my opinion, KDE4 should have one global settings for all buttons in 
> applications (SystemSettings / Apperance / Style / Fine Tunning / Toolbar 
> button type (buttons with special arrow / small buttons)).
> 
> The source code of my implementation can be found at 
> http://mireq.linuxos.sk/kde4/toolBarMenu.tar.gz

This looks interesting. I wonder if the usability team has any input on this
(cf the PNG above, it explains the issue).

I wonder about "yet another setting"... and whether the actual appearance shouldn't
be done by the widget style instead, but this is all a bit outside my area of expertise.
Any input from the widget style guys?

-- 
David Faure, faure at kde.org, sponsored by Qt Software @ Nokia to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list