[PATCH] Keramik & toolbarbutton mouse-over...

Craig Drummond Craig.Drummond at gmx.net
Mon Nov 10 21:29:34 GMT 2003


Hi,

I've noticed for sometime that a lot (all?) of KDE styles do not have the 
mouse-over effect on toggle/radio toolbar buttons - i.e. KToggleAction and 
KRadioAction. This is most noticeable on konqueror's list and icon view 
selection buttons - or KWords Bold, Italic, Underline, etc buttons. Standard 
Qt toolbarbuttons are not affected, so I assume the problem is somewhere in 
the action classes.

Having looked at the kactionclasses.cpp file I can't find anything in there 
that would seem to be causing this effect. I noticed that Mosfet's liquid 
style does have the mouse-over working, and the attatched patch fixes Keramik 
in a similar fashion. The only change is checking for Style_MouseOver in 
drawComplexControl(CC_ToolButton). Shall I commit? If so, shall I also update 
other styles accordingly? (It will only work for styles that have a 
mouse-over effect - i.e. ones that store which widget the mouse is currently 
over).

Craig.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keramik.patch
Type: text/x-diff
Size: 497 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20031110/fd7cd26e/attachment.patch>


More information about the kde-core-devel mailing list