author | insilmaril |
Thu, 14 May 2009 12:42:58 +0000 | |
changeset 768 | 382a444f5b0c |
parent 767 | 6d2b32f305f9 |
child 769 | a6931cd6309a |
permissions | -rw-r--r-- |
1 #ifndef VYMVIEW_H
2 #define VYMVIEW_H
4 #include <QItemSelectionModel>
5 #include <QSplitter>
6 #include <QTreeView>
8 class VymModel;
9 class MapEditor;
12 class VymView : public QSplitter
13 {
14 Q_OBJECT
15 public:
16 VymView(VymModel *model);
17 QItemSelectionModel* selectionModel();
19 public slots:
20 void changeSelection (const QItemSelection &newSel, const QItemSelection &delSel);
21 void expandAll ();
22 void showSelection ();
24 private:
25 VymModel *model;
26 QTreeView *treeview;
27 QItemSelectionModel *selModel;
28 MapEditor *mapEditor;
29 };
32 #endif