6 #include <QGraphicsScene>
7 #include <QItemSelectionModel>
21 enum Type {Undefined,Branch,MapCenter,FloatImage};
24 void setModel (VymModel *);
26 bool select (LinkableMapObj*);
27 bool select (const QString &);
36 // LinkableMapObj * first(); // first in selection list
37 // LinkableMapObj * single(); // NULL, if multiple selected
38 // BranchObj* getBranch();
39 // TreeItem* getBranchItem();
40 // QModelIndex getBranchIndex(); //!< Returns index of first selected branch or mapcenter
41 FloatImageObj* getFloatImage();
43 QString getSelectString();
46 QList <LinkableMapObj*> selectList;
47 QList <LinkableMapObj*> lastSelectList;
52 bool blocked; //!< if true, no new selection possible