virtual bool restoreValue();
- /// Returns the internal parent wiget control, that can be shown anywhere
- /// \returns the widget
- QWidget* getControl() const;
-
/// Returns list of widget controls
/// \return a control list
virtual QList<QWidget*> getControls() const;
protected:
/// Saves the internal parameters to the given feature
/// \return True in success
- virtual bool storeValue() const;
+ virtual bool storeValueCustom() const;
/// The methiod called when widget is activated
virtual void activateCustom();
bool getPoint2d(const Handle(V3d_View)& theView, const TopoDS_Shape& theShape,
double& theX, double& theY) const;
- /// Sets programmatically the value to the spin box without emitting any signals(e.g. valueChanged)
- /// \param theSpin an X or Y coordinate widget
- /// \param theValue a new value
- static void setSpinValue(ModuleBase_DoubleSpinBox* theSpin, double theValue);
-
XGUI_Workshop* myWorkshop;
QGroupBox* myGroupBox; ///< the parent group box for all intenal widgets