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;
156 std::string label()
const;
157 virtual void setLabel(
const std::string & newLabel ) {};
virtual void addItem(YItem *item)
Add an item (a tab page).
virtual void shortcutChanged()
Notification that any shortcut of any item was changed by the shortcut conflict manager.
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.
virtual std::string shortcutString() const
Get the string of this widget that holds the keyboard shortcut.
virtual ~YDumbTab()
Destructor.
virtual void setShortcutString(const std::string &str)
Set the string of this widget that holds the keyboard shortcut.
virtual void activate()=0
Activate selected tab.
YDumbTab(YWidget *parent)
Constructor.
virtual std::string debugLabel() const
Descriptive label for debugging.
DumbTab: A very simple tab widget that can display and switch between a number of tabs,...
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.
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.