ADTF
|
Window state callback interface. More...
Public Member Functions | |
virtual QString | GetStateIdentifier () const =0 |
Returns The user defined window state identifier. More... | |
virtual void | OnLoadState (const QString &strStateFolder)=0 |
Callback function to load the internal window state from the given folder strStateFolder . More... | |
virtual void | OnSaveState (const QString &strStateFolder) const =0 |
Callback function to save the internal window state to the given folder strStateFolder . More... | |
Protected Member Functions | |
~IWindowState ()=default | |
protected DTOR | |
Window state callback interface.
While registering a window with IQtXSystem::CreateWindow you are allowed to use the window creation flag WCF_HasWindowState. The implementation of parameter pWindow
must derive by IWindow and IWindowState.
Definition at line 230 of file qtxsystem_intf.h.
|
pure virtual |
Returns The user defined window state identifier.
Implemented in cQtWindow, qt_ui_service< SERVICEBASECLASS >, qt_ui_filter< FILTERBASECLASS >, qt_ui_service< SERVICEBASECLASS, QTWINDOWBASECLASS >, and qt_ui_filter< FILTERBASECLASS, QTWINDOWBASECLASS >.
|
pure virtual |
Callback function to load the internal window state from the given folder strStateFolder
.
We recommend to use QSettings to save and load a window state file.
[in] | strStateFolder | The folder to save the window state files to. |
|
pure virtual |
Callback function to save the internal window state to the given folder strStateFolder
.
We recommend to use QSettings to save and load a window state file.
[in] | strStateFolder | The folder to save the window state files to. |