vymview.h
author insilmaril
Mon, 18 May 2009 11:22:41 +0000
changeset 771 01f2f6d6789d
parent 769 a6931cd6309a
child 772 e3f722759c7e
permissions -rw-r--r--
Fixed addBranchBefore
     1 #ifndef VYMVIEW_H 
     2 #define VYMVIEW_H
     3 
     4 #include <QItemSelectionModel>
     5 #include <QSplitter>
     6 
     7 
     8 class VymModel;
     9 class MapEditor;
    10 class TreeEditor;
    11 
    12 
    13 class VymView : public QSplitter 
    14 {
    15 	Q_OBJECT
    16 public:
    17 	VymView(VymModel *model);
    18 	void initFocus();
    19 	QItemSelectionModel* selectionModel();
    20 
    21 public slots:
    22 	void changeSelection (const QItemSelection &newSel, const QItemSelection &delSel);
    23 	void expandAll ();
    24 	void showSelection ();
    25 
    26 private:
    27 	VymModel *model;
    28 	TreeEditor *treeEditor;
    29 	QItemSelectionModel *selModel;
    30 	MapEditor *mapEditor;
    31 };
    32 
    33 
    34 #endif
    35