26 #define YUILogComponent "ui"
29 #include "YMultiSelectionBox.h"
30 #include "YUISymbols.h"
31 #include "YMacroRecorder.h"
32 #include "YUIException.h"
51 YUI_CHECK_NEW( priv );
67 return priv->shrinkable;
90 propSet.
add(
YProperty( YUIProperty_CurrentItem, YOtherProperty ) );
91 propSet.
add(
YProperty( YUIProperty_SelectedItems, YOtherProperty ) );
92 propSet.
add(
YProperty( YUIProperty_Items, YOtherProperty ) );
93 propSet.
add(
YProperty( YUIProperty_Label, YStringProperty ) );
94 propSet.
add(
YProperty( YUIProperty_IconPath, YStringProperty ) );
107 if ( propertyName == YUIProperty_CurrentItem )
return false;
108 else if ( propertyName == YUIProperty_SelectedItems )
return false;
109 else if ( propertyName == YUIProperty_Items )
return false;
126 if ( propertyName == YUIProperty_CurrentItem )
return YPropertyValue( YOtherProperty );
127 else if ( propertyName == YUIProperty_SelectedItems )
return YPropertyValue( YOtherProperty );
128 else if ( propertyName == YUIProperty_Items )
return YPropertyValue( YOtherProperty );
void check(const std::string &propertyName) const
virtual YPropertyValue getProperty(const std::string &propertyName)
void add(const YProperty &prop)
std::string stringVal() const
virtual ~YMultiSelectionBox()
virtual void recordWidgetProperty(YWidget *widget, const char *propertyName)=0
YMultiSelectionBox(YWidget *parent, const std::string &label)
virtual void saveUserInput(YMacroRecorder *macroRecorder)
virtual const YPropertySet & propertySet()
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
virtual void setShrinkable(bool shrinkable=true)
YPropertyType type() const