25 #ifndef YSelectionBox_h 26 #define YSelectionBox_h 28 #include "YSelectionWidget.h" 75 virtual const char *
widgetClass()
const {
return "YSelectionBox"; }
126 virtual bool setProperty(
const std::string & propertyName,
158 #endif // YSelectionBox_h Selection box: List box that displays a (scrollable) list of items from which the user can select exa...
virtual const YPropertySet & propertySet()
Return this class's property set.
const char * userInputProperty()
The name of the widget property that will return user input.
bool immediateMode() const
Deliver even more events than with notify() set.
virtual YPropertyValue getProperty(const std::string &propertyName)
Get a property.
virtual ~YSelectionBox()
Destructor.
bool shrinkable() const
Return 'true' if this SelectionBox should be very small.
Transport class for the value of simple properties.
A set of properties to check names and types against.
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
Set a property.
void setImmediateMode(bool on=true)
Set immediateMode() on or off.
virtual void setShrinkable(bool shrinkable=true)
Make this SelectionBox very small.
YSelectionBox(YWidget *parent, const std::string &label)
Constructor.
virtual const char * widgetClass() const
Returns a descriptive name of this widget class for logging, debugging etc.