author | insilmaril |
Sat, 08 Aug 2009 21:58:26 +0000 | |
changeset 787 | c6bb4fdcc55f |
parent 772 | e3f722759c7e |
child 788 | 78ba80b54bc4 |
permissions | -rw-r--r-- |
1 #ifndef VYMVIEW_H
2 #define VYMVIEW_H
4 #include <QItemSelectionModel>
5 #include <QSplitter>
8 class VymModel;
9 class MapEditor;
10 class TreeEditor;
13 class VymView : public QSplitter
14 {
15 Q_OBJECT
16 public:
17 VymView(VymModel *model);
18 ~VymView();
19 VymModel* getModel();
20 MapEditor* getMapEditor();
21 void initFocus();
22 QItemSelectionModel* selectionModel();
24 public slots:
25 void changeSelection (const QItemSelection &newSel, const QItemSelection &delSel);
26 void expandAll ();
27 void showSelection ();
29 private:
30 VymModel *model;
31 TreeEditor *treeEditor;
32 QItemSelectionModel *selModel;
33 MapEditor *mapEditor;
34 };
37 #endif