class QWidget;
class QLabel;
class QDoubleSpinBox;
-class QCheckBox;
class MODULEBASE_EXPORT ModuleBase_WidgetDoubleValue: public ModuleBase_ModelWidget
{
Q_OBJECT
public:
+ /// Constructor
+ /// \theParent the parent object
+ /// \theData the widget configuation. The attribute of the model widget is obtained from
ModuleBase_WidgetDoubleValue(QWidget* theParent, const Config_WidgetAPI* theData);
virtual ~ModuleBase_WidgetDoubleValue();
/// \returns the widget
QWidget* getControl() const { return myContainer; }
+ /// Process key release envent on the widget spin box controls
+ /// \param theObject the object where the event happens
+ /// \param theEvent the processed event
+ virtual bool eventFilter(QObject *theObject, QEvent *theEvent);
+
private:
- std::string myAttributeID;
-
QWidget* myContainer;
QLabel* myLabel;
QDoubleSpinBox* mySpinBox;