Re: [PyQt] QT save state example

2013-10-07 Thread David Cortesi
> I'm trying to understand how does save state works using QT... > ... I only found C++ examples which I cant read, Being able to mentally translate the C++ code in the Qt doc into Python is a very useful skill! It really isn't too hard. Turn :: into dot and add "self." everywhere. The first thin

[PyQt] QT save state example

2013-10-07 Thread Dariusz
Hey there I'm trying to understand how does save state works using QT but so far I was very unlucky with getting examples or setting it up in qtdesigner and then using pyuic4 to get python code. Can some1 have a look at this example code I made and let me know where do I plug those save state comm