26 #define YUILogComponent "ui"
29 #include "YUISymbols.h"
31 #include "YShortcut.h"
51 YUI_CHECK_NEW( priv );
91 str +=
" [" + (*it)->label() +
"]";
111 propSet.
add(
YProperty( YUIProperty_Value, YOtherProperty ) );
112 propSet.
add(
YProperty( YUIProperty_CurrentItem, YOtherProperty ) );
113 propSet.
add(
YProperty( YUIProperty_Items, YOtherProperty ) );
126 if ( propertyName == YUIProperty_Value )
return false;
127 else if ( propertyName == YUIProperty_CurrentItem )
return false;
128 else if ( propertyName == YUIProperty_Items )
return false;
143 if ( propertyName == YUIProperty_Value )
return YPropertyValue( YOtherProperty );
144 else if ( propertyName == YUIProperty_CurrentItem )
return YPropertyValue( YOtherProperty );
145 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.
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.
virtual std::string debugLabel() const
Descriptive label for debugging.
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.