10 class QStandardItemModel
;
12 namespace Ui
{ class MainWindow
; }
19 /////////////////////////////////////////////////////////////////////////
23 /////////////////////////////////////////////////////////////////////////
25 class LayoutTree
: public QTreeView
30 LayoutTree(QWidget
* parent
);
34 /////////////////////////////////////////////////////////////////////////
38 /////////////////////////////////////////////////////////////////////////
40 class LayoutEditor
: public QWidget
45 LayoutEditor(QWidget
* parent
);
49 /////////////////////////////////////////////////////////////////////////
53 /////////////////////////////////////////////////////////////////////////
55 class MainWindow
: public QMainWindow
63 void loadLayoutFile(QString
const & file
);
66 void loadLayoutFile(QString
const & file
, QStandardItem
* parent
);
70 QStandardItemModel
* model_
;
75 #endif // LAYOUTEDITOR_H
76 #ifndef LAYOUTEDITOR_H
77 #define LAYOUTEDITOR_H
79 #include <QMainWindow>
85 class QStandardItemModel
;
87 namespace Ui
{ class MainWindow
; }
94 /////////////////////////////////////////////////////////////////////////
98 /////////////////////////////////////////////////////////////////////////
100 class LayoutTree
: public QTreeView
105 LayoutTree(QWidget
* parent
);
109 /////////////////////////////////////////////////////////////////////////
113 /////////////////////////////////////////////////////////////////////////
115 class LayoutEditor
: public QWidget
120 LayoutEditor(QWidget
* parent
);
124 /////////////////////////////////////////////////////////////////////////
128 /////////////////////////////////////////////////////////////////////////
130 class MainWindow
: public QMainWindow
138 void loadLayoutFile(QString
const & file
);
141 void loadLayoutFile(QString
const & file
, QStandardItem
* parent
);
143 Ui::MainWindow
* ui_
;
145 QStandardItemModel
* model_
;
150 #endif // LAYOUTEDITOR_H