28 #include "YTreeItem.h" 58 const std::string & label )
63 const std::string & label,
64 const std::string & iconName )
87 bool isOpen()
const {
return false; }
88 void setOpen(
bool ) {}
std::string label() const
Return this item's label.
std::string iconName() const
Return this item's icon name.
virtual YTreeItem * parent() const
Returns this item's parent item or 0 if it is a toplevel item.
YTreeItem(const std::string &label, bool isOpen=false)
Constructors for toplevel items.
Item class for tree items.