RFC: simplification in configuration dialogs dvlpt

David Faure david at mandrakesoft.com
Tue Apr 23 20:15:16 BST 2002


On Wednesday 24 April 2002 23:00, nicolas.hadacek at free.fr wrote:
> Hi,
> 
> as promised here is my proposition for some code simplification
> for all configuration UI in KDE. The approach is similar to what KAction
> achieved.
> 
> The code is based on a central class KUIConfig (a better name is welcome)
> that associates an UI control (QCheckBox, KComboBox, KToggleAction and so on)
> with a default value, a config entry and group, a text,...
> This class does the loading, the saving, the defaulting and accordingly keeps
> track of the modified state of the control.

This is very interesting. kbugbuster has something very similar, see
kdesdk/kbugbuster/kprefs.*
Just in case you want to borrow some ideas from there ;)

-- 
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KDE, Making The Future of Computing Available Today






More information about the kde-core-devel mailing list