26 #define YUILogComponent "ui"
29 #include "YUISymbols.h"
31 #include "YShortcut.h"
53 YUI_CHECK_NEW( priv );
93 str +=
" [" + (*it)->label() +
"]";
113 propSet.
add(
YProperty( YUIProperty_Value, YOtherProperty ) );
114 propSet.
add(
YProperty( YUIProperty_CurrentItem, YOtherProperty ) );
115 propSet.
add(
YProperty( YUIProperty_Items, YOtherProperty ) );
128 if ( propertyName == YUIProperty_Value )
return false;
129 else if ( propertyName == YUIProperty_CurrentItem )
return false;
130 else if ( propertyName == YUIProperty_Items )
return false;
145 if ( propertyName == YUIProperty_Value )
return YPropertyValue( YOtherProperty );
146 else if ( propertyName == YUIProperty_CurrentItem )
return YPropertyValue( YOtherProperty );
147 else if ( propertyName == YUIProperty_Items )
return YPropertyValue( YOtherProperty );
YItemCollection::const_iterator YItemConstIterator
Const iterator over YItemCollection.
virtual const YPropertySet & propertySet()
Return this class's property set.
virtual ~YDumbTab()
Destructor.
virtual YPropertyValue getProperty(const std::string &propertyName)
Get a property.
virtual const char * widgetClass() const
Returns a descriptive name of this widget class for logging, debugging etc.
virtual void addItem(YItem *item)
Add an item (a tab page).
virtual bool stretchable(YUIDimension dim) const
Returns 'true' if this widget is stretchable in the specified dimension.
virtual std::string debugLabel() const
Descriptive label for debugging.
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
Set a property.
YDumbTab(YWidget *parent)
Constructor.
Simple item class for SelectionBox, ComboBox, MultiSelectionBox etc.
A set of properties to check names and types against.
void check(const std::string &propertyName) const
Check if a property 'propertyName' exists in this property set.
bool isEmpty() const
Returns 'true' if this property set does not contain anything.
void add(const YProperty &prop)
Add a property to this property set.
Transport class for the value of simple properties.
YPropertyType type() const
Returns the type of this property value.
Class for widget properties.
Children manager that can handle one single child (rejecting any more).