|
| ConfigurationDialog (QWidget *parent=NULL) |
|
virtual QStandardItem * | addConfigurationBox (QStandardItem *rootItem, ConfigurationBaseBox *pConfigurationBox, int position=-1) |
| Adds a new configuration box to the options tree view. More...
|
|
QStandardItem * | addLabel (QStandardItem *rootItem, const QString &label, int position=-1) |
| Adds a label node to the options tree view. More...
|
|
bool | isConfigurationBoxOnTheList (ConfigurationBaseBox *pConfigurationBox) |
|
|
void | btnClicked (QAbstractButton *button) |
|
void | onOptionListCurrentChanged (const QModelIndex ¤t, const QModelIndex &previous) |
|
Definition at line 36 of file configurationdialog.h.
QStandardItem * ConfigurationDialog::addConfigurationBox |
( |
QStandardItem * |
rootItem, |
|
|
ConfigurationBaseBox * |
pConfigurationBox, |
|
|
int |
position = -1 |
|
) |
| |
|
virtual |
Adds a new configuration box to the options tree view.
- Parameters
-
rootItem | Pointer to the root node of the tree to which the new box will be attached. If NULL the standard model root is used. |
pConfigurationBox | Pointer to configuration Group Box. |
position | Passing <0 will use appendRow method, otherwise the new tree view node will be inserted at specified position. |
- Returns
- NULL if ConfigurationBox was not added. Pointer to a new tree node if operation was successful.
Reimplemented in DoomseekerConfigurationDialog.
Definition at line 67 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 ConfigurationBoxInfo attached. It serves only organizational purposes.
- Parameters
-
rootItem | Pointer to the root node of the tree to which the new box will be attached. If NULL 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. NULL if rootItem was not a member of the tree view.
Definition at line 107 of file configurationdialog.cpp.
QTreeView * ConfigurationDialog::optionsTree |
( |
| ) |
|
|
protected |
Returns pointer to the tree widget that contains configuration sections list.
Definition at line 252 of file configurationdialog.cpp.
The documentation for this class was generated from the following files: