treeeditor.h
author insilmaril
Thu Oct 01 11:48:58 2009 +0000 (2009-10-01)
changeset 799 2c42ad499ac3
parent 769 a6931cd6309a
child 800 959bd133cd1a
permissions -rw-r--r--
Various fixes for relinking and selecting
     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