author | insilmaril |
Thu, 01 Oct 2009 13:23:20 +0000 | |
changeset 800 | 959bd133cd1a |
parent 788 | 78ba80b54bc4 |
child 801 | 16a8ef1d82b2 |
permissions | -rw-r--r-- |
1 #ifndef TREEEDITOR_H
2 #define TREEEDITOR_H
4 #include <QTreeView>
5 #include <QSortFilterProxyModel>
7 class VymModel;
9 /*! \brief TreeView widget in vym to display and edit a map, based on
10 * QTreeView */
13 class TreeEditor : public QTreeView {
14 Q_OBJECT
16 public:
17 TreeEditor(VymModel *m);
18 ~TreeEditor();
20 public slots:
21 void setSortFilter (QString f);
23 private slots:
24 void cursorUp();
25 void cursorDown();
27 private:
28 VymModel *model;
29 QSortFilterProxyModel *proxyModel;
30 };
32 #endif