Re: Substitute for KConfig in Qt4

2009-09-22 Thread nusch
On Sep 22, 3:43 pm, David Boddie  wrote:
> On Sat Sep 19 12:18:40 CEST 2009, nusch wrote:
>
> > On Sep 19, 3:53 am, David Boddie  wrote:
> > > On Thursday 17 September 2009 13:04, nusch wrote:
> > > > I want to remove pyKDE dependencies from my app to make it pure PyQt.
> > > > What will be the best substitute for KConfig?
>
> > > What exactly do you use KConfig for in your application?
>
> > > David
>
> > e.g storing dock window positions, fields choosen in QComboBox etc.
> > But I Dont want to use normal config files for it
>
> Then you would use QSettings. Although that may use configuration files
> behind the scenes, they should at least be stored in a standard place.
>
> http://www.riverbankcomputing.com/static/Docs/PyQt4/html/qsettings.html
>
> David

Thanks. That's what I'm looking for
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Substitute for KConfig in Qt4

2009-09-22 Thread David Boddie
On Sat Sep 19 12:18:40 CEST 2009, nusch wrote:
> On Sep 19, 3:53 am, David Boddie  wrote:
> > On Thursday 17 September 2009 13:04, nusch wrote:
> > > I want to remove pyKDE dependencies from my app to make it pure PyQt.
> > > What will be the best substitute for KConfig?
> >
> > What exactly do you use KConfig for in your application?
> >
> > David
>
> e.g storing dock window positions, fields choosen in QComboBox etc.
> But I Dont want to use normal config files for it

Then you would use QSettings. Although that may use configuration files
behind the scenes, they should at least be stored in a standard place.

http://www.riverbankcomputing.com/static/Docs/PyQt4/html/qsettings.html

David
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Substitute for KConfig in Qt4

2009-09-21 Thread nusch
On Sep 19, 3:53 am, David Boddie  wrote:
> On Thursday 17 September 2009 13:04, nusch wrote:
>
> > I want to remove pyKDE dependencies from my app to make it pure PyQt.
> > What will be the best substitute for KConfig?
>
> What exactly do you use KConfig for in your application?
>
> David

e.g storing dock window positions, fields choosen in QComboBox etc.
But I Dont want to use normal config files for it
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Substitute for KConfig in Qt4

2009-09-18 Thread David Boddie
On Thursday 17 September 2009 13:04, nusch wrote:

> I want to remove pyKDE dependencies from my app to make it pure PyQt.
> What will be the best substitute for KConfig?

What exactly do you use KConfig for in your application?

David
-- 
http://mail.python.org/mailman/listinfo/python-list