X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_WidgetSketchLabel.h;h=442f319074c52a5a8f34982b4a0a888897936bfb;hb=add875fff5ce228a4914fcc323fdb911a1042b21;hp=558747b46864da25f2bb5eb7dec59e0ce730a964;hpb=871d21cd6e0ab86c79867145cb90a7e9dd7cd830;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_WidgetSketchLabel.h b/src/PartSet/PartSet_WidgetSketchLabel.h index 558747b46..442f31907 100644 --- a/src/PartSet/PartSet_WidgetSketchLabel.h +++ b/src/PartSet/PartSet_WidgetSketchLabel.h @@ -10,24 +10,32 @@ #include class QLabel; -class XGUI_OperationMgr; +class XGUI_OperationMgr; class PartSet_OperationSketch; class PARTSET_EXPORT PartSet_WidgetSketchLabel : public ModuleBase_ModelWidget { - Q_OBJECT -public: - PartSet_WidgetSketchLabel(QWidget* theParent, - const Config_WidgetAPI* theData, - const std::string& theParentId); +Q_OBJECT + public: + PartSet_WidgetSketchLabel(QWidget* theParent, const Config_WidgetAPI* theData, + const std::string& theParentId); - virtual ~PartSet_WidgetSketchLabel() {}; + virtual ~PartSet_WidgetSketchLabel() + { + } + ; /// Saves the internal parameters to the given feature /// \param theFeature a model feature to be changed - virtual bool storeValue(ObjectPtr theFeature) const { return true;} + virtual bool storeValue() const + { + return true; + } - virtual bool restoreValue(ObjectPtr theFeature) { return true;} + virtual bool restoreValue() + { + return true; + } /// Returns list of widget controls /// \return a control list @@ -37,10 +45,10 @@ public: void setOperationsMgr(XGUI_OperationMgr* theMgr); -private slots: + private slots: void onPlaneSelected(); -private: + private: void updateLabel(PartSet_OperationSketch* theSketchOpe); QLabel* myLabel; @@ -48,4 +56,4 @@ private: QString myTooltip; }; -#endif \ No newline at end of file +#endif