vymview.h
author insilmaril
Thu, 07 May 2009 08:48:53 +0000
changeset 766 7a71a914afdb
parent 763 8c028a5d9083
child 767 6d2b32f305f9
permissions -rw-r--r--
Started to reanimate flags
     1 #ifndef VYMVIEW_H 
     2 #define VYMVIEW_H
     3 
     4 #include <QItemSelectionModel>
     5 #include <QSplitter>
     6 #include <QTreeView>
     7 
     8 class VymModel;
     9 class MapEditor;
    10 
    11 
    12 class VymView : public QSplitter 
    13 {
    14 	Q_OBJECT
    15 public:
    16 	VymView(VymModel *model);
    17 	QItemSelectionModel* selectionModel();
    18 
    19 public slots:
    20 	void updateChilds (QModelIndex ix);
    21 	void changeSelection (const QItemSelection &newSel, const QItemSelection &delSel);
    22 	void expandAll ();
    23 	void showSelection ();
    24 
    25 private:
    26 	VymModel *model;
    27 	QTreeView *treeview;
    28 	QItemSelectionModel *selModel;
    29 	MapEditor *mapEditor;
    30 };
    31 
    32 
    33 #endif
    34