author | insilmaril |
Mon May 18 09:41:31 2009 +0000 (2009-05-18) | |
changeset 770 | 57ce1ba6d1cb |
parent 767 | 6d2b32f305f9 |
child 772 | e3f722759c7e |
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 void initFocus();
19 QItemSelectionModel* selectionModel();
21 public slots:
22 void changeSelection (const QItemSelection &newSel, const QItemSelection &delSel);
23 void expandAll ();
24 void showSelection ();
26 private:
27 VymModel *model;
28 TreeEditor *treeEditor;
29 QItemSelectionModel *selModel;
30 MapEditor *mapEditor;
31 };
34 #endif