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 ) {};
DumbTab: A very simple tab widget that can display and switch between a number of tabs,...
virtual const YPropertySet & propertySet()
Return this class's property set.
virtual void activate()=0
Activate selected tab.
virtual ~YDumbTab()
Destructor.
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 const char * widgetClass() const
Returns a descriptive name of this widget class for logging, debugging etc.
virtual void addItem(YItem *item)
Add an item (a tab page).
virtual bool stretchable(YUIDimension dim) const
Returns 'true' if this widget is stretchable in the specified dimension.
virtual void shortcutChanged()
Notification that any shortcut of any item was changed by the shortcut conflict manager.
virtual std::string shortcutString() const
Get the string of this widget that holds the keyboard shortcut.
virtual std::string debugLabel() const
Descriptive label for debugging.
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
Set a property.
YDumbTab(YWidget *parent)
Constructor.
Simple item class for SelectionBox, ComboBox, MultiSelectionBox etc.
A set of properties to check names and types against.
Transport class for the value of simple properties.