Applet::createConfigurationInterface
Aaron J. Seigo
aseigo at kde.org
Wed Apr 2 03:36:30 CEST 2008
hi...
attached is a draft patch that implements
Applet::createConfigurationInterface. the idea is that applets will add their
widgets to the dialog, and then Applet can do whatever it pleases with it.
this will prevent common bugs from occuring (like dialogs not showing up on
the right desktop) and even let us put the configuration on the canvas with a
proxy widget if we so desired.
showConfigurationInterface is not removed or changed, so existing applets
won't break, but it would no longer be the preferred mechanism.
what i don't like about the patch thus far:
* it uses KConfigDialog and pretty much commits us to using that long term
* it activates the Apply button no matter what. i couldn't find a nice way to
do this in the case of not having a KConfigSkeleton to drive it =/
thoughts?
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: applet_createConfigurationInterface_diff
Type: text/x-diff
Size: 4326 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080401/3761e141/attachment-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080401/3761e141/attachment-0001.pgp
More information about the Panel-devel
mailing list