Adding QtDesigner custom widget plugin for KConfigXT

Andreas Pakulat apaku at gmx.de
Fri Jul 13 09:14:59 UTC 2007


On 13.07.07 02:48:08, dukju ahn wrote:
> 2007/7/10, Adam Treat <treat at kde.org>:
> > Then, in the plugin config widget you could have a 'set plugin env' drop down
> > list and checkbox that will let the user choose a mandatory shell to use with
> > said plugin/run/debug whatever.  If that drop down is disabled (the default)
> > the plugin will use the currently set environent as found in the environment
> > config widget.
> >
> > Same with your multiple run/debug actions.  Just let the user associate an
> > action with a 'shell'.
> 
> While implementing that framework, I encountered technical problem.
> We use KCModules and KSettings::Dialog. Can the changes in
> one page be reflected into other page without reopening the config
> dialogbox?

Yes, see KSettings::Dispatcher. You can use it to hook onto config
changes, so the user needs to hit apply first, but thats needed anyway.

Andreas

-- 
Another good night not to sleep in a eucalyptus tree.




More information about the KDevelop-devel mailing list