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