author | insilmaril |
Fri, 15 May 2009 15:22:15 +0000 | |
changeset 769 | a6931cd6309a |
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