Lines Matching refs:WTreeNode

20 const char *WTreeNode::imagePlus_ = "nav-plus.gif";
21 const char *WTreeNode::imageMin_ = "nav-minus.gif";
22 const char *WTreeNode::imagePlusRtl_ = "nav-plus-rtl.gif";
23 const char *WTreeNode::imageMinRtl_ = "nav-minus-rtl.gif";
25 WTreeNode::WTreeNode(const WString& labelText, in WTreeNode() function
41 WTreeNode::WTreeNode() in WTreeNode() function
56 void WTreeNode::init(const WString &labelText, std::unique_ptr<WIconPair> labelIcon) in init()
65 implementStateless(&WTreeNode::doExpand, &WTreeNode::undoDoExpand); in init()
66 implementStateless(&WTreeNode::doCollapse, &WTreeNode::undoDoCollapse); in init()
123 EventSignal<WMouseEvent>& WTreeNode::expanded() in expanded()
128 EventSignal<WMouseEvent>& WTreeNode::collapsed() in collapsed()
133 int WTreeNode::displayedChildCount() const in displayedChildCount()
138 int WTreeNode::childCount() const in childCount()
143 std::vector<WTreeNode *> WTreeNode::childNodes() const in childNodes()
145 std::vector<WTreeNode *> result; in childNodes()
149 result.push_back(dynamic_cast<WTreeNode *>(childContainer()->widget(i))); in childNodes()
158 void WTreeNode::setSelectable(bool selectable) in setSelectable()
163 void WTreeNode::setInteractive(bool interactive) in setInteractive()
168 WContainerWidget *WTreeNode::labelArea() const in labelArea()
173 WContainerWidget *WTreeNode::childContainer() const in childContainer()
178 WTreeNode::~WTreeNode() in ~WTreeNode()
181 WTree *WTreeNode::tree() const in tree()
186 void WTreeNode::populate() in populate()
189 bool WTreeNode::doPopulate() in doPopulate()
200 bool WTreeNode::expandable() in expandable()
210 void WTreeNode::setNodeVisible(bool visible) in setNodeVisible()
216 void WTreeNode::setChildrenDecorated(bool decorated) in setChildrenDecorated()
222 void WTreeNode::setChildCountPolicy(ChildCountPolicy policy) in setChildCountPolicy()
233 WTreeNode *parent = parentNode(); in setChildCountPolicy()
247 void WTreeNode::setLoadPolicy(ContentLoading loadPolicy) in setLoadPolicy()
261 WTreeNode *parent = parentNode(); in setLoadPolicy()
266 ->icon1Clicked().connect(this, &WTreeNode::loadGrandChildren); in setLoadPolicy()
274 WTreeNode *parent = parentNode(); in setLoadPolicy()
279 expandIcon_->icon1Clicked().connect(this, &WTreeNode::expand); in setLoadPolicy()
290 void WTreeNode::loadChildren() in loadChildren()
299 expandIcon_->icon1Clicked().connect(this, &WTreeNode::doExpand); in loadChildren()
300 expandIcon_->icon2Clicked().connect(this, &WTreeNode::doCollapse); in loadChildren()
308 void WTreeNode::loadGrandChildren() in loadGrandChildren()
315 bool WTreeNode::isLastChildNode() const in isLastChildNode()
317 WTreeNode *parent = parentNode(); in isLastChildNode()
325 void WTreeNode::descendantAdded(WTreeNode *node) in descendantAdded()
327 WTreeNode *parent = parentNode(); in descendantAdded()
333 void WTreeNode::descendantRemoved(WTreeNode *node) in descendantRemoved()
335 WTreeNode *parent = parentNode(); in descendantRemoved()
341 WTreeNode *WTreeNode::addChildNode(std::unique_ptr<WTreeNode> node) in addChildNode()
348 void WTreeNode::insertChildNode(int index, std::unique_ptr<WTreeNode> node) in insertChildNode()
352 WTreeNode *added = node.get(); in insertChildNode()
380 std::unique_ptr<WTreeNode> WTreeNode::removeChildNode(WTreeNode *node) in removeChildNode()
384 std::unique_ptr<WTreeNode> result; in removeChildNode()
397 void WTreeNode::updateChildren(bool recursive) in updateChildren()
411 bool WTreeNode::isExpanded() const in isExpanded()
416 void WTreeNode::expand() in expand()
442 void WTreeNode::collapse() in collapse()
448 void WTreeNode::doExpand() in doExpand()
468 void WTreeNode::doCollapse() in doCollapse()
480 void WTreeNode::undoDoCollapse() in undoDoCollapse()
492 void WTreeNode::undoDoExpand() in undoDoExpand()
512 void WTreeNode::setLabelIcon(std::unique_ptr<WIconPair> labelIcon) in setLabelIcon()
529 void WTreeNode::renderSelected(bool isSelected) in renderSelected()
536 void WTreeNode::update() in update()
555 WTreeNode *parent = parentNode(); in update()
589 bool WTreeNode::hasParent() const in hasParent()