23 #ifndef DIALOGPROPERTIES_H 24 #define DIALOGPROPERTIES_H 26 #include "abstractPropertyPageWidget.h" 31 #include <qtreewidget.h> 32 #include <qstringlist.h> 33 #include <qstackedwidget.h> 34 #include <qsplitter.h> 35 #include <qdialogbuttonbox.h> 50 PropertyPage() : m_widget(NULL), m_icon(), m_visited(
false) {}
51 PropertyPage(QString name, QString title, QString fullname,
AbstractPropertyPageWidget* widget, QIcon icon) : m_title(title), m_name(name), m_fullname(fullname), m_widget(widget), m_icon(icon), m_visited(
false) {}
63 bool selectTabByKey(QString &key, QTreeWidgetItem *parent = NULL);
68 void addPage(
PropertyPage page, QTreeWidgetItem *parent, QStringList remainingPathes);
71 QStackedWidget *m_pStackedWidget;
72 QSplitter *m_pSplitter;
73 QTreeWidget *m_pCategories;
74 QDialogButtonBox *m_pButtonBox;
76 QHBoxLayout *m_pHorizontalLayout;
77 QVBoxLayout *m_pVerticalLayout;
81 QWidget *m_pEmptyPage;
83 QString m_CurrentPropertyKey;
85 QMap<QString, PropertyPage> m_pages;
88 void propertiesChanged();
93 void categoryChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous);
Definition: abstractPropertyPageWidget.h:31
Definition: apiFunctionsGraph.cpp:39
Definition: dialogProperties.h:48
Definition: dialogProperties.h:42