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();
28 virtual void setHighlighted(bool isHighlighted);
29 virtual void enableFocusProcessing();
31 int addPage(ModuleBase_PageBase* theWidget,
32 const QString& theName, const QString& theCaseId);
35 virtual void activateCustom();
36 virtual bool storeValueCustom() const;
42 bool myIsPassFocusToCurrentPage;
44 QStringList myCaseIds;
45 QList<ModuleBase_PageBase*> myPages;
48 #endif /* MODULEBASE_WIDGETTOOLBOX_H_ */