28 #include "YSelectionWidget.h" 133 virtual bool setProperty(
const std::string & propertyName,
bool immediateMode() const
Deliver even more events than with notify() set.
Transport class for the value of simple properties.
std::vector< YItem * > YItemCollection
Collection of pointers to YItem.
void setImmediateMode(bool on=true)
Set immediateMode() on or off.
virtual YPropertyValue getProperty(const std::string &propertyName)
Get a property.
A set of properties to check names and types against.
YTree(YWidget *parent, const std::string &label, bool multiSelection, bool recursiveSelection)
Constructor.
virtual YTreeItem * currentItem()=0
Return the the item that currently has the keyboard focus or 0 if no item currently has the keyboard ...
virtual const char * widgetClass() const
Returns a descriptive name of this widget class for logging, debugging etc.
virtual void addItems(const YItemCollection &itemCollection)
Add multiple items.
virtual ~YTree()
Destructor.
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
Set a property.
Tree: List box that displays a (scrollable) list of hierarchical items from which the user can select...
virtual void rebuildTree()=0
Rebuild the displayed tree from the internally stored YTreeItems.
virtual const YPropertySet & propertySet()
Return this class's property set.
bool hasMultiSelection() const
Return 'true' if the user can select multiple items at the same time.
const char * userInputProperty()
The name of the widget property that will return user input.
Item class for tree items.