author | insilmaril |
Tue May 26 11:24:51 2009 +0000 (2009-05-26) | |
changeset 774 | 2f002657dada |
parent 769 | a6931cd6309a |
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