- std::string widgetId();
- std::string widgetIcon();
- std::string widgetLabel();
- std::string widgetTooltip();
+ /// Checks if the XML representation of widget has given attribute,
+ /// if yes - returns it's bool value, if no, or if the value can not
+ /// be converted to bool - returns theDefault.
+ /// \param theAttributeName attribute to check
+ /// \param theDefault default value on bad data
+ /// \return the boolean result
+ bool getBooleanAttribute(const char* theAttributeName, bool theDefault) const;