[PATCH] KFontRequester and KColorButton

Peter Hedlund peter at peterandlinda.com
Fri Dec 10 02:22:19 GMT 2004


Hi all,

The attached patch addresses two issues:

1. By adding a call to setFocusProxy(m_button) in the constructor of 
KFontRequester, the widget behaves properly in the tab order of a dialog.

2. Currently KColorButton eats all keyboard input except Copy and Paste. With 
this patch all other keyboard input is propagated back to QPushButton. That 
way the color button can be activated with the space bar and other buttons 
(e.g. Cancel and OK) in a dialog behave properly when a color button has the 
focus.

OK to commit?

Thanks,
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdeui.diff
Type: text/x-diff
Size: 1128 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20041209/9b3fd13e/attachment.diff>


More information about the kde-core-devel mailing list