treeeditor.h
author insilmaril
Fri, 11 Sep 2009 12:56:15 +0000
changeset 794 d922fb6ea482
parent 788 78ba80b54bc4
child 800 959bd133cd1a
permissions -rw-r--r--
more fixes for collisions
     1 #ifndef TREEEDITOR_H
     2 #define TREEEDITOR_H
     3 
     4 #include <QTreeView>
     5 
     6 class VymModel;
     7 
     8 /*! \brief TreeView widget in vym to display and edit a map, based on
     9  * QTreeView */
    10 
    11 
    12 class TreeEditor : public QTreeView {	
    13     Q_OBJECT
    14 
    15 public:
    16     TreeEditor(VymModel *m);
    17 	~TreeEditor();
    18 
    19 private slots:
    20 	void cursorUp();
    21 	void cursorDown();
    22 
    23 private:
    24 	VymModel *model;
    25 	VymModel *proxyModel;
    26 };
    27 
    28 #endif
    29