- virtual ~Config_WidgetAPI();
-
- std::string widgetType() const;
- bool isContainerWidget() const;
- bool isPagedWidget() const;
-
- std::string widgetId() const;
- std::string widgetIcon() const;
- std::string widgetLabel() const;
- std::string widgetTooltip() const;
-
- std::string getProperty(const char* thePropName) const;
-
- /// 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;
-
- bool isComputedDefault() const;
+ CONFIG_EXPORT virtual ~Config_WidgetAPI();
+
+ //! Returns name of widget's node (attribute)
+ CONFIG_EXPORT std::string widgetType() const;
+ //! Returns true if widget has container type, which means it able to contain other widgets
+ CONFIG_EXPORT bool isGroupBoxWidget() const;
+ //! Returns true if widget has page type;
+ //! Page is container widget with combo box control to switch between pages
+ CONFIG_EXPORT bool isPagedWidget() const;
+
+ //! Returns id of current feature
+ CONFIG_EXPORT std::string featureId() const;
+ //! Returns id of current widget
+ CONFIG_EXPORT std::string widgetId() const;
+ //! Returns icon of current widget
+ CONFIG_EXPORT std::string widgetIcon() const;
+ //! Returns text for label of current widget
+ CONFIG_EXPORT std::string widgetLabel() const;
+ //! Returns text for tooltip of current widget
+ CONFIG_EXPORT std::string widgetTooltip() const;
+ //! Returns a custom property of current widget
+ CONFIG_EXPORT std::string getProperty(const char* thePropName) const;
+
+ /*! 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
+ */
+ CONFIG_EXPORT bool getBooleanAttribute(const char* theAttributeName, bool theDefault) const;