author | insilmaril |
Wed, 06 May 2009 10:02:08 +0000 | |
changeset 764 | d0f944a540a1 |
parent 763 | 8c028a5d9083 |
child 767 | 6d2b32f305f9 |
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 updateChilds (QModelIndex ix);
21 void changeSelection (const QItemSelection &newSel, const QItemSelection &delSel);
22 void expandAll ();
23 void showSelection ();
25 private:
26 VymModel *model;
27 QTreeView *treeview;
28 QItemSelectionModel *selModel;
29 MapEditor *mapEditor;
30 };
33 #endif