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 );
virtual void addItem(YItem *item)
Add an item (a tab page).
void add(const YProperty &prop)
Add a property to this property set.
A set of properties to check names and types against.
virtual const char * widgetClass() const
Returns a descriptive name of this widget class for logging, debugging etc.
virtual const YPropertySet & propertySet()
Return this class's property set.
bool isEmpty() const
Returns 'true' if this property set does not contain anything.
virtual ~YDumbTab()
Destructor.
YPropertyType type() const
Returns the type of this property value.
Class for widget properties.
YDumbTab(YWidget *parent)
Constructor.
virtual std::string debugLabel() const
Descriptive label for debugging.
Children manager that can handle one single child (rejecting any more).
void check(const std::string &propertyName) const
Check if a property 'propertyName' exists in this property set.
Transport class for the value of simple properties.
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
Set a property.
virtual YPropertyValue getProperty(const std::string &propertyName)
Get a property.
YItemCollection::const_iterator YItemConstIterator
Const iterator over YItemCollection.
Simple item class for SelectionBox, ComboBox, MultiSelectionBox etc.
virtual bool stretchable(YUIDimension dim) const
Returns 'true' if this widget is stretchable in the specified dimension.