Salome HOME
updated copyright message
[modules/med.git] / src / MEDCalc / gui / MEDWidgetHelperVectorField.hxx
index 6b70e4a5a79b8b3b4aaa0f7591cf50087cb29663..dbece4d4895157403254040508ff8aa23f48d2c8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2016-2023  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -31,13 +31,23 @@ class MEDWidgetHelperVectorField: public MEDWidgetHelper
 public:
   MEDWidgetHelperVectorField(const PresentationController* presController,
                            MEDCALC::MEDPresentationManager_ptr presManager, int presId, const std::string & presName,
-                           WidgetPresentationParameters * paramW):
-     MEDWidgetHelper(presController, presManager, presId, presName, paramW)
-  {}
-  virtual ~MEDWidgetHelperVectorField() {}
+                           WidgetPresentationParameters * paramW);
+
+  virtual ~MEDWidgetHelperVectorField();
+
+  virtual void updateWidget(bool connect);
+  virtual void releaseWidget();
 
   virtual std::string getPythonTag() const { return "VectorField"; }
 
+protected slots:
+  void onScaleFactorChanged(double);
+  void onCustomScaleFactorChanged(int);
+
+protected:
+  virtual void loadParametersFromEngine();
+  double _scaleFactor;
+  bool _customScaleFactor;
 };
 
 #endif /* SRC_MEDCALC_GUI_MEDWIDGETHELPERVECTORFIELD_HXX_ */