25 #ifndef YMultiSelectionBox_h 26 #define YMultiSelectionBox_h 28 #include "YSelectionWidget.h" 54 virtual const char *
widgetClass()
const {
return "YMultiSelectionBox"; }
80 virtual bool setProperty(
const std::string & propertyName,
144 #endif // YMultiSelectionBox_h
virtual const char * widgetClass() const
Returns a descriptive name of this widget class for logging, debugging etc.
Abstract base class for macro recorders.
Transport class for the value of simple properties.
virtual YPropertyValue getProperty(const std::string &propertyName)
Get a property.
const char * userInputProperty()
The name of the widget property that will return user input.
A set of properties to check names and types against.
A variant of YSelectionBox where more than one item can be selected.
virtual ~YMultiSelectionBox()
Destructor.
YMultiSelectionBox(YWidget *parent, const std::string &label)
Constructor.
Simple item class for SelectionBox, ComboBox, MultiSelectionBox etc.
virtual void saveUserInput(YMacroRecorder *macroRecorder)
Save the widget's user input to a macro recorder.
virtual const YPropertySet & propertySet()
Return this class's property set.
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
Set a property.
virtual void setCurrentItem(YItem *item)=0
Set the keyboard focus to the specified item.
virtual void setShrinkable(bool shrinkable=true)
Make this MultiSelectionBox very small.
bool shrinkable() const
Return 'true' if this MultiSelectionBox should be very small.
virtual YItem * currentItem()=0
Return the the item that currently has the keyboard focus or 0 if no item currently has the keyboard ...