vymview.h
author insilmaril
Wed, 13 May 2009 08:26:27 +0000
changeset 767 6d2b32f305f9
parent 763 8c028a5d9083
child 769 a6931cd6309a
permissions -rw-r--r--
Started to use QtKinetic for Animation
     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 changeSelection (const QItemSelection &newSel, const QItemSelection &delSel);
    21 	void expandAll ();
    22 	void showSelection ();
    23 
    24 private:
    25 	VymModel *model;
    26 	QTreeView *treeview;
    27 	QItemSelectionModel *selModel;
    28 	MapEditor *mapEditor;
    29 };
    30 
    31 
    32 #endif
    33