28 #include "YSelectionWidget.h" 58 virtual const char *
widgetClass()
const {
return "YDumbTab"; }
91 virtual bool setProperty(
const std::string & propertyName,
138 virtual bool stretchable( YUIDimension dim )
const;
149 std::string label()
const;
150 virtual void setLabel(
const std::string & newLabel ) {};
virtual ~YDumbTab()
Destructor.
DumbTab: A very simple tab widget that can display and switch between a number of tabs...
Transport class for the value of simple properties.
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 std::string shortcutString() const
Get the string of this widget that holds the keyboard shortcut.
virtual YPropertyValue getProperty(const std::string &propertyName)
Get a property.
virtual void setShortcutString(const std::string &str)
Set the string of this widget that holds the keyboard shortcut.
virtual bool stretchable(YUIDimension dim) const
Returns 'true' if this widget is stretchable in the specified dimension.
Simple item class for SelectionBox, ComboBox, MultiSelectionBox etc.
virtual void shortcutChanged()
Notification that any shortcut of any item was changed by the shortcut conflict manager.
YDumbTab(YWidget *parent)
Constructor.
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.