- QWidget* getControl() const { return myContainer; }
-
-private:
- std::string myAttributeID;
-
- QWidget* myContainer;
- QLabel* myLabel;
- QDoubleSpinBox* mySpinBox;
+ QWidget* getControl() const
+ {
+ return myContainer;
+ }
+
+ public slots:
+ // Delayed value chnged: when user starts typing something,
+ // it gives him a 0,5 second to finish typing, when sends valueChnaged() signal
+// void onValueChanged();
+
+ protected:
+ /// Container for thw widget controls
+ QWidget* myContainer;
+
+ /// Label of the widget
+ QLabel* myLabel;
+
+ /// Input value control
+ ModuleBase_DoubleSpinBox* mySpinBox;