2 * ModuleBase_WidgetMultiSelector.h
4 * Created on: Oct 8, 2014
8 #ifndef MODULEBASE_WIDGETMULTISELECTOR_H_
9 #define MODULEBASE_WIDGETMULTISELECTOR_H_
11 #include <ModuleBase.h>
12 #include <ModuleBase_ModelWidget.h>
16 #include <QStringList>
21 class MODULEBASE_EXPORT ModuleBase_WidgetMultiSelector : public ModuleBase_ModelWidget
25 ModuleBase_WidgetMultiSelector(QWidget* theParent,
26 const Config_WidgetAPI* theData,
27 const std::string& theParentId);
28 virtual ~ModuleBase_WidgetMultiSelector();
30 /// Saves the internal parameters to the given feature
31 /// \param theObject a model feature to be changed
32 virtual bool storeValue() const;
34 virtual bool restoreValue();
36 /// Returns the internal parent wiget control, that can be shown anywhere
37 /// \returns the widget
38 QWidget* getControl() const;
40 /// Returns list of widget controls
41 /// \return a control list
42 virtual QList<QWidget*> getControls() const;
47 QTextEdit* myListControl;
48 QWidget* myMainWidget;
51 #endif /* MODULEBASE_WIDGETFILESELECTOR_H_ */