8 class BranchItem:public TreeItem
11 BranchItem(const QList<QVariant> &data, TreeItem *parent = 0);
13 void copy (BranchItem *item);
15 QString saveToDir (const QString &tmpdir,const QString &prefix, const QPointF& offset);
17 virtual void unScroll();
18 virtual void toggleScroll(); // scroll or unscroll
19 virtual bool isScrolled(); // returns scroll state
20 virtual bool hasScrolledParent(BranchItem*); // true, if any of the parents is scrolled
21 virtual void tmpUnscroll(); // unscroll scrolled parents temporary e.g. during "find" process
22 virtual void resetTmpUnscroll(); // scroll all tmp scrolled parents again e.g. when unselecting
26 bool scrolled; // true if all children are scrolled and thus invisible
27 bool tmpUnscrolled; // can only be true (temporary) for a scrolled subtree