Salome HOME
Mantis 23461 - MED module exception
[modules/med.git] / src / MEDCalc / gui / dialogs / WidgetPresentationParameters.hxx
index 42888a65a0a15cc9d97825916eb84c3231cbbb7f..a9d0d5742ff97e0e8c334d71bb1a7d6d4ca71946 100644 (file)
@@ -42,35 +42,49 @@ public:
   std::string getComponent() const;
   void setComponents(std::vector<std::string> compos, int selecIndex);
 
-  MEDCALC::MEDPresentationScalarBarRange getScalarBarRange() const;
-  void setScalarBarRange(MEDCALC::MEDPresentationScalarBarRange);
+  MEDCALC::MeshModeType getMeshMode() const;
+  void setMeshMode(MEDCALC::MeshModeType mode);
+
+  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);
 
   int getNbContour() const;
   void setNbContour(int nbContour);
 
+  int getNbSlices() const;
+  void setNbSlices(int nbSlices);
+
+  MEDCALC::SliceOrientationType getSliceOrientation() const;
+  void setSliceOrientation(MEDCALC::SliceOrientationType orient);
+
   void toggleWidget(bool show);
   bool isShown() const;
-  QComboBox * getComboBoxCompo();
+
+  void toggleCommonFieldWidget(bool show);
 
 signals:
   void comboScalarBarRangeIndexChanged(int);
   void comboColorMapIndexChanged(int);
   void comboCompoIndexChanged(int);
+  void comboOrientIndexChanged(int);
+  void comboMeshIndexChanged(int);
   void spinBoxValueChanged(int);
 
 private slots:
   void onComboScalarBarRangeIndexChanged(int);
   void onComboColorMapIndexChanged(int);
   void onComboCompoIndexChanged(int);
-  void onSpinBoxValueChanged(int);
+  void onComboOrientIndexChanged(int);
+  void onComboMeshIndexChanged(int);
+  void onSpinBoxEditingFinished();
 
 private:
   Ui_WidgetPresentationParameters _ui; // instance of the class defined in ui_WidgetPresentationParameters.h