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,
53 m_name(name), m_fullname(fullname), m_widget(widget),
54 m_icon(icon), m_visited(
false) {}
66 bool selectTabByKey(QString &key, QTreeWidgetItem *parent = NULL);
71 void addPage(
PropertyPage page, QTreeWidgetItem *parent, QStringList remainingPathes);
74 QStackedWidget *m_pStackedWidget;
75 QSplitter *m_pSplitter;
76 QTreeWidget *m_pCategories;
77 QDialogButtonBox *m_pButtonBox;
79 QHBoxLayout *m_pHorizontalLayout;
80 QVBoxLayout *m_pVerticalLayout;
84 QWidget *m_pEmptyPage;
86 QString m_CurrentPropertyKey;
88 QMap<QString, PropertyPage> m_pages;
91 void propertiesChanged();
96 void categoryChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous);
Definition: abstractPropertyPageWidget.h:31
Definition: apiFunctionsGraph.cpp:39
Definition: dialogProperties.h:48
Definition: dialogProperties.h:42