RestorableApplication
Incomplete documentation - sorry!
Note
Neil - please put some data in technical/class_headings/RestorableApplication.rst
methods and attributes
-
class lib_openmolar.common.qt4.widgets.restorable_app.RestorableApplication(name)[source]
Bases: PyQt4.QtGui.QApplication
A subclass which play ball if app state is to be remembered by an X11
Session manager.
Will write settings to ~/.config/application_name on linux systems
-
__init__(name)[source]
the name given here is important as is used in saving the settings
-
commitData(session)[source]
re-implement this method, called on quit
-
saveState(session)[source]
re-implement this method, called on run