Salome HOME
Mantis 23461 - MED module exception
[modules/med.git] / src / MEDCalc / gui / dialogs / WidgetPresentationParameters.hxx
index 530ca64786dcf160a1b71f9c6605fee8ebb638fc..a9d0d5742ff97e0e8c334d71bb1a7d6d4ca71946 100644 (file)
@@ -42,17 +42,17 @@ public:
   std::string getComponent() const;
   void setComponents(std::vector<std::string> compos, int selecIndex);
 
-  MEDCALC::MEDPresentationMeshMode getMeshMode() const;
-  void setMeshMode(MEDCALC::MEDPresentationMeshMode mode);
+  MEDCALC::MeshModeType getMeshMode() const;
+  void setMeshMode(MEDCALC::MeshModeType mode);
 
-  MEDCALC::MEDPresentationScalarBarRange getScalarBarRange() const;
-  void setScalarBarRange(MEDCALC::MEDPresentationScalarBarRange);
+  MEDCALC::ScalarBarRangeType getScalarBarRange() const;
+  void setScalarBarRange(MEDCALC::ScalarBarRangeType);
 
 //  double getScalarBarTimestep() const;
 //  double getScalarBarMinVal() const;
 //  double getScalarBarMaxVal() const;
-  MEDCALC::MEDPresentationColorMap getColorMap() const;
-  void setColorMap(MEDCALC::MEDPresentationColorMap);
+  MEDCALC::ColorMapType getColorMap() const;
+  void setColorMap(MEDCALC::ColorMapType);
 
   void setPresName(const std::string& name);
 
@@ -62,8 +62,8 @@ public:
   int getNbSlices() const;
   void setNbSlices(int nbSlices);
 
-  MEDCALC::MEDPresentationSliceOrientation getSliceOrientation() const;
-  void setSliceOrientation(MEDCALC::MEDPresentationSliceOrientation orient);
+  MEDCALC::SliceOrientationType getSliceOrientation() const;
+  void setSliceOrientation(MEDCALC::SliceOrientationType orient);
 
   void toggleWidget(bool show);
   bool isShown() const;
@@ -84,7 +84,7 @@ private slots:
   void onComboCompoIndexChanged(int);
   void onComboOrientIndexChanged(int);
   void onComboMeshIndexChanged(int);
-  void onSpinBoxValueChanged(int);
+  void onSpinBoxEditingFinished();
 
 private:
   Ui_WidgetPresentationParameters _ui; // instance of the class defined in ui_WidgetPresentationParameters.h