QtlMovie 1.12 (A specialized FFmpeg front-end)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
QtlGeometrySettingsInterface Class Referenceabstract

An interface class used to save and restore the geometry of widgets. More...

Inheritance diagram for QtlGeometrySettingsInterface:
QtlSettings QtlMovieSettings

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...
 

Detailed Description

An interface class used to save and restore the geometry of widgets.

Member Function Documentation

◆ saveGeometry()

virtual void QtlGeometrySettingsInterface::saveGeometry ( const QWidget *  widget)
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.

Parameters
[in]widgetThe widget to save the geometry of.

Implemented in QtlSettings.

◆ restoreGeometry()

virtual void QtlGeometrySettingsInterface::restoreGeometry ( QWidget *  widget)
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.

Parameters
[in,out]widgetThe widget to restore the geometry.

Implemented in QtlSettings.


The documentation for this class was generated from the following file: