|
|
| ConfigurationDialog (QWidget *parent=nullptr) |
| |
| virtual QStandardItem * | addConfigPage (QStandardItem *rootItem, ConfigPage *configPage, int position=-1) |
| | Adds a new configuration page to the options tree view.
|
| |
| QStandardItem * | addLabel (QStandardItem *rootItem, const QString &label, int position=-1) |
| | Adds a label node to the options tree view.
|
| |
|
|
virtual void | doSaveSettings () |
| |
|
void | keyPressEvent (QKeyEvent *e) override |
| |
| QTreeView * | optionsTree () |
| | Returns pointer to the tree widget that contains configuration sections list.
|
| |
| void | showConfigPage (ConfigPage *widget) |
| |
|
virtual bool | validate () |
| |
Definition at line 36 of file configurationdialog.h.
| QStandardItem * ConfigurationDialog::addConfigPage |
( |
QStandardItem * |
rootItem, |
|
|
ConfigPage * |
configPage, |
|
|
int |
position = -1 |
|
) |
| |
|
virtual |
Adds a new configuration page to the options tree view.
- Parameters
-
| rootItem | Pointer to the root node of the tree to which the new box will be attached. If nullptr, the standard model root is used. |
| configPage | Pointer to ConfigPage instance. |
| position | Passing <0 will use appendRow method, otherwise the new tree view node will be inserted at specified position. |
- Returns
- nullptr if ConfigPage was not added. Pointer to a new tree node if operation was successful.
Reimplemented in DoomseekerConfigurationDialog.
Definition at line 122 of file configurationdialog.cpp.
| QStandardItem * ConfigurationDialog::addLabel |
( |
QStandardItem * |
rootItem, |
|
|
const QString & |
label, |
|
|
int |
position = -1 |
|
) |
| |
Adds a label node to the options tree view.
Such node has no ConfigPage attached. It serves only organizational purposes.
- Parameters
-
| rootItem | Pointer to the root node of the tree to which the new label will be attached. If nullptr, the standard model root is used. |
| label | Label for the new node. |
| position | Passing <0 will use appendRow method, otherwise the new tree view node will be inserted at specified position. |
- Returns
- Newly created options tree view node. nullptr if rootItem was not a member of the tree view.
Definition at line 164 of file configurationdialog.cpp.
| QTreeView * ConfigurationDialog::optionsTree |
( |
| ) |
|
|
protected |
Returns pointer to the tree widget that contains configuration sections list.
Definition at line 303 of file configurationdialog.cpp.
| void ConfigurationDialog::showConfigPage |
( |
ConfigPage * |
widget | ) |
|
|
protected |
The documentation for this class was generated from the following files: