#include <qgsoptionswidgetfactory.h>
A factory class for creating custom options pages.
- Since
- QGIS 3.0
Definition at line 97 of file qgsoptionswidgetfactory.h.
◆ QgsOptionsWidgetFactory() [1/2]
QgsOptionsWidgetFactory::QgsOptionsWidgetFactory |
( |
| ) |
|
|
default |
◆ QgsOptionsWidgetFactory() [2/2]
QgsOptionsWidgetFactory::QgsOptionsWidgetFactory |
( |
const QString & |
title, |
|
|
const QIcon & |
icon |
|
) |
| |
|
inline |
◆ createWidget()
virtual QgsOptionsPageWidget* QgsOptionsWidgetFactory::createWidget |
( |
QWidget * |
parent = nullptr | ) |
const |
|
pure virtual |
Factory function to create the widget on demand as needed by the options dialog.
- Parameters
-
parent | The parent of the widget. |
- Returns
- A new widget to show as a page in the options dialog.
◆ icon()
virtual QIcon QgsOptionsWidgetFactory::icon |
( |
| ) |
const |
|
inlinevirtual |
◆ setIcon()
void QgsOptionsWidgetFactory::setIcon |
( |
const QIcon & |
icon | ) |
|
|
inline |
◆ setTitle()
void QgsOptionsWidgetFactory::setTitle |
( |
const QString & |
title | ) |
|
|
inline |
◆ title()
virtual QString QgsOptionsWidgetFactory::title |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following file: