9 class BranchItem:public TreeItem
12 BranchItem(const QList<QVariant> &data, TreeItem *parent = 0);
14 void copy (BranchItem *item);
16 QString saveToDir (const QString &tmpdir,const QString &prefix, const QPointF& offset);
18 virtual void updateVisibility();
23 virtual void setVymLink (QString);
24 virtual QString getVymLink ();
27 bool scrolled; // true if all children are scrolled and thus invisible
28 bool tmpUnscrolled; // can only be true (temporary) for a scrolled subtree
30 virtual void unScroll();
31 virtual void toggleScroll(); // scroll or unscroll
32 virtual bool isScrolled(); // returns scroll state
33 virtual bool hasScrolledParent(BranchItem*); // true, if any of the parents is scrolled
34 virtual void tmpUnscroll(); // unscroll scrolled parents temporary e.g. during "find" process
35 virtual void resetTmpUnscroll(); // scroll all tmp scrolled parents again e.g. when unselecting
37 TreeItem* findMapItem (QPointF,TreeItem*); //! search map for branches or images
38 virtual TreeItem* findID (QString sid); //! search map for object with ID string
40 BranchObj* getBranchObj();