An interface class used to save and restore the geometry of widgets. More...
Public Member Functions | |
virtual void | restoreGeometry (QWidget *widget)=0 |
Restore the geometry of a widget. More... | |
virtual void | saveGeometry (const QWidget *widget)=0 |
Save the geometry of a widget. More... | |
An interface class used to save and restore the geometry of widgets.
|
pure virtual |
Save the geometry of a widget.
A typical implementation would use the object name of widget as a key to index the geometry of the widget.
[in] | widget | The widget to save the geometry of. |
Implemented in QtlSettings.
|
pure virtual |
Restore the geometry of a widget.
A typical implementation would use the object name of widget as a key to retrieve the geometry of the widget. If no geometry was saved for a widget of that name, do not modify widget.
[in,out] | widget | The widget to restore the geometry. |
Implemented in QtlSettings.