PyQt4 - remember widget positions

2009-10-21 Thread nusch
Is there any simple command which allows me to save position of all windows: QMainWindow, QDialogs and qdockwidgets with their sizes, dock state and positions ? Or do I need to store those values manually, how can I do it fast? -- http://mail.python.org/mailman/listinfo/python-list

Re: PyQt4 - remember widget positions

2009-10-22 Thread nusch
On Oct 22, 4:05 am, TerryP wrote: > On Oct 21, 9:04 pm, nusch wrote: > > > Is there any simple command which allows me to save position of all > > windows:  QMainWindow, QDialogs and qdockwidgets with their sizes, > > dock state and positions ? Or do I need to store t

Migrate From PyQt3 to PyQt4

2009-09-08 Thread nusch
I want to migrate from qt,pyqt,pykde 3 to 4 and remove all *.py files to work with newer version, also after remove pyqt3support. How can I do it in easy way ? I've read here http://www.mail-archive.com/p...@riverbankcomputing.com/msg15009.html something about deprecation warning but can't see suc

PyQt QCompleter model

2009-09-16 Thread nusch
The following code: strings=["asdad", "baasd", "casd", "caxd"] completer = QCompleter(strings) model = completer.model() print model.rowCount() model.stringList().append("test") print model.rowCount() prints 4 before and after appending test to stringList. What should I do to let the model know

Re: PyQt QCompleter model

2009-09-17 Thread nusch
On Sep 17, 2:40 am, David Boddie wrote: > On Thursday 17 September 2009 01:14, nusch wrote: > > > The following code: > > > strings=["asdad", "baasd", "casd", "caxd"] > > completer = QCompleter(strings) > > model = complet

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 app

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 pu