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 unScroll();
19 virtual void toggleScroll(); // scroll or unscroll
20 virtual bool isScrolled(); // returns scroll state
21 virtual bool hasScrolledParent(BranchItem*); // true, if any of the parents is scrolled
22 virtual void tmpUnscroll(); // unscroll scrolled parents temporary e.g. during "find" process
23 virtual void resetTmpUnscroll(); // scroll all tmp scrolled parents again e.g. when unselecting
25 BranchObj* getBranchObj();
28 bool scrolled; // true if all children are scrolled and thus invisible
29 bool tmpUnscrolled; // can only be true (temporary) for a scrolled subtree