Salome HOME
Initial merge of branch 'BR_HYDRO_IMPS_2016' into BR_PORTING_OCCT_7
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_StreamDlg.h
index 06ffcf1f008327845014cc69803b11ace03ef3d5..3d49be1befa6c561d42b612297ed7c5551285c06 100644 (file)
 
 #include "HYDROGUI_InputPanel.h"
 
+class HYDROGUI_OrderedListWidget;
+
 class QComboBox;
 class QGroupBox;
 class QLineEdit;
 class QListWidget;
 class QPushButton;
+class QDoubleSpinBox;
+class QTextEdit;
 
 class HYDROGUI_StreamDlg : public HYDROGUI_InputPanel
 {
@@ -47,22 +51,43 @@ public:
 
   void                       setProfiles( const QStringList& theProfiles );
 
+  void                       setDDZ( const double );
+  double                     getDDZ() const;
+
+  void                       setSpatialStep( const double );
+  double                     getSpatialStep() const;
+
+  void                       addWarning( const QString& theWarnMess );
+  void                       clearWarnings();
+
+  void setBackgroundColorForProfileList (int theInd, QColor theColor);
+  QColor getBackgroundColorForProfileList (int theInd) const;
+  void clearAllBackgroundColorsForProfileList ();
+
 signals:
   void                       AddProfiles();
   void                       RemoveProfiles( const QStringList& );
   void                       AxisChanged( const QString& );
+  void                       DDZValueChanged (double d);
+  void                       SSValueChanged (double d);
 
 private slots:
   void                       onRemoveProfiles();
+  void                       onDDZValueChanged(double d);
+  void                       onSSValueChanged(double d);
 
 private:
-  QGroupBox*                 myObjectNameGroup;
-  QLineEdit*                 myObjectName;
+  QGroupBox*                  myObjectNameGroup;
+  QLineEdit*                  myObjectName;
+  QDoubleSpinBox*             myDDZ;
+  QDoubleSpinBox*             mySpatialStep;
+
+  QComboBox*                  myAxes;
+  HYDROGUI_OrderedListWidget* myProfiles;
+  QPushButton*                myRemoveButton;
+  QPushButton*                myAddButton;
+  QTextEdit*                  myWarnText;
 
-  QComboBox*                 myAxes;
-  QListWidget*               myProfiles;
-  QPushButton*               myRemoveButton;
-  QPushButton*               myAddButton;
 };
 
 #endif