23 #ifndef __CONFIGUREDIALOG_H_
24 #define __CONFIGUREDIALOG_H_
31 class QAbstractButton;
78 QStandardItem*
addLabel(QStandardItem* rootItem,
const QString& label,
int position = -1);
85 virtual void doSaveSettings() {};
86 virtual void keyPressEvent(QKeyEvent* e);
101 void switchToItem(
const QModelIndex&);
103 virtual bool validate() {
return true; }
106 void btnClicked(QAbstractButton *button);
107 void onOptionListCurrentChanged(
const QModelIndex ¤t,
const QModelIndex &previous);
112 bool hasItemOnList(QStandardItem* pItem)
const;
void showConfigurationBox(ConfigurationBaseBox *widget)
QTreeView * optionsTree()
Returns pointer to the tree widget that contains configuration sections list.
QStandardItem * addLabel(QStandardItem *rootItem, const QString &label, int position=-1)
Adds a label node to the options tree view.
virtual QStandardItem * addConfigurationBox(QStandardItem *rootItem, ConfigurationBaseBox *pConfigurationBox, int position=-1)
Adds a new configuration box to the options tree view.
Base class for configuration pages.