2 * ModuleBase_WidgetToolbox.h
4 * Created on: Feb 27, 2015
8 #ifndef MODULEBASE_WIDGETTOOLBOX_H_
9 #define MODULEBASE_WIDGETTOOLBOX_H_
11 #include <ModuleBase_ModelWidget.h>
15 class ModuleBase_PageBase;
17 class ModuleBase_WidgetToolbox : public ModuleBase_ModelWidget
21 ModuleBase_WidgetToolbox(QWidget* theParent, const Config_WidgetAPI* theData,
22 const std::string& theParentId);
23 virtual ~ModuleBase_WidgetToolbox();
25 virtual bool restoreValue();
26 virtual QList<QWidget*> getControls() const;
27 virtual bool focusTo();
29 int addPage(ModuleBase_PageBase* theWidget,
30 const QString& theName, const QString& theCaseId);
33 virtual void activateCustom();
34 virtual bool storeValueCustom() const;
41 QStringList myCaseIds;
42 QList<ModuleBase_PageBase*> myPages;
45 #endif /* MODULEBASE_WIDGETTOOLBOX_H_ */