#include <QObject>
class ModelAPI_Feature;
+class GeomAPI_Pnt2d;
class QGroupBox;
class QDoubleSpinBox;
/// Destructor
virtual ~ModuleBase_WidgetPoint2D();
+ /// Fill the widget values by given point
+ /// \param thePoint the point
+ void setPoint(const boost::shared_ptr<GeomAPI_Pnt2d>& thePoint);
+
/// Saves the internal parameters to the given feature
/// \param theFeature a model feature to be changed
virtual bool storeValue(FeaturePtr theFeature) const;
/// \return a control list
virtual QList<QWidget*> getControls() const;
+ /// 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: