author | insilmaril |
Wed, 09 Sep 2009 12:57:06 +0000 | |
changeset 793 | cac93797c580 |
parent 788 | 78ba80b54bc4 |
child 801 | 16a8ef1d82b2 |
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;
12 class QTreeView;
14 class VymView : public QSplitter
15 {
16 Q_OBJECT
17 public:
18 VymView(VymModel *model);
19 ~VymView();
20 VymModel* getModel();
21 MapEditor* getMapEditor();
22 void initFocus();
23 QItemSelectionModel* selectionModel();
25 public slots:
26 void changeSelection (const QItemSelection &newSel, const QItemSelection &delSel);
27 void expandAll ();
28 void showSelection ();
30 private:
31 VymModel *model;
32 TreeEditor *treeEditor;
33 QTreeView *tv; //FIXME-3 testing only
34 QItemSelectionModel *selModel;
35 MapEditor *mapEditor;
36 };
39 #endif