pyqt / python-qt5

Unofficial PyQt5 via PyPI for Python 2.7 64-bit on Windows
GNU General Public License v3.0
280 stars 78 forks source link

Saving and restoring a PyQt Application state ? #22

Closed rishabh135 closed 7 years ago

rishabh135 commented 8 years ago

I have developed a PyQt4 application , and it has a stacked widget structure where each widget in the stacked-widget is described by a separate class , when I started trying out to save the state of the application , I was unable to find any , there was a QDataStream which sounded promising but I would have to manually save each PyQt element's state and settings , is there a better and more elegant way ? Thanks .

mottosso commented 8 years ago

This would be an excellent topic for the PyQt mailing list.

rishabh135 commented 8 years ago

@mottosso I was also frankly surprised being unable to find a solution for this problem , because I feel I must be missing something here.