QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
Base class for widgets for pages included in the options dialog. More...
#include <qgsoptionswidgetfactory.h>
Public Slots | |
virtual void | apply ()=0 |
Called to permanently apply the settings shown in the options page (e.g. More... | |
Public Member Functions | |
QgsOptionsPageWidget (QWidget *parent=nullptr) | |
Constructor for QgsOptionsPageWidget. More... | |
virtual QString | helpKey () const |
Returns the optional help key for the options page. More... | |
QHash< QWidget *, QgsOptionsDialogHighlightWidget * > | registeredHighlightWidgets () |
Returns the registered highlight widgets used to search and highlight text in options dialogs. More... | |
Protected Member Functions | |
void | registerHighlightWidget (QgsOptionsDialogHighlightWidget *highlightWidget) |
Register a highlight widget to be used to search and highlight text in options dialogs. More... | |
Base class for widgets for pages included in the options dialog.
Definition at line 30 of file qgsoptionswidgetfactory.h.
|
inline |
Constructor for QgsOptionsPageWidget.
Definition at line 39 of file qgsoptionswidgetfactory.h.
|
pure virtualslot |
Called to permanently apply the settings shown in the options page (e.g.
save them to QgsSettings objects). This is usually called when the options dialog is accepted.
|
inlinevirtual |
Returns the optional help key for the options page.
The default implementation returns an empty string.
If a non-empty string is returned by this method, it will be used as the help key retrieved when the "help" button is clicked while this options page is active.
If an empty string is returned by this method the default QGIS options help will be retrieved.
Definition at line 53 of file qgsoptionswidgetfactory.h.
|
inline |
Returns the registered highlight widgets used to search and highlight text in options dialogs.
Definition at line 60 of file qgsoptionswidgetfactory.h.
|
inlineprotected |
Register a highlight widget to be used to search and highlight text in options dialogs.
This can be used to provide a custom implementation of QgsOptionsDialogHighlightWidget.
Definition at line 78 of file qgsoptionswidgetfactory.h.