QGIS API Documentation
3.2.0-Bonn (bc43194)
|
A factory class for creating custom options pages. More...
#include <qgsoptionswidgetfactory.h>
Public Member Functions | |
QgsOptionsWidgetFactory ()=default | |
Constructor. More... | |
QgsOptionsWidgetFactory (const QString &title, const QIcon &icon) | |
Constructor. More... | |
virtual QgsOptionsPageWidget * | createWidget (QWidget *parent=nullptr) const =0 |
Factory function to create the widget on demand as needed by the options dialog. More... | |
virtual QIcon | icon () const |
The icon that will be shown in the UI for the panel. More... | |
void | setIcon (const QIcon &icon) |
Set the icon to show in the interface for the factory object. More... | |
void | setTitle (const QString &title) |
Set the title for the interface. More... | |
virtual QString | title () const |
The title of the panel. More... | |
A factory class for creating custom options pages.
Definition at line 97 of file qgsoptionswidgetfactory.h.
|
default |
Constructor.
|
inline |
Constructor.
Definition at line 107 of file qgsoptionswidgetfactory.h.
|
pure virtual |
Factory function to create the widget on demand as needed by the options dialog.
parent | The parent of the widget. |
|
inlinevirtual |
The icon that will be shown in the UI for the panel.
Definition at line 117 of file qgsoptionswidgetfactory.h.
|
inline |
Set the icon to show in the interface for the factory object.
Definition at line 123 of file qgsoptionswidgetfactory.h.
|
inline |
Set the title for the interface.
Definition at line 135 of file qgsoptionswidgetfactory.h.
|
inlinevirtual |
The title of the panel.
Definition at line 129 of file qgsoptionswidgetfactory.h.