Salome HOME
lot 10 - warnings for DTM - untested
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_StreamDlg.h
index ee2c44418e4512db45ce111b019bc3fdd1f325dc..adb087bf2ead55c13fd87481bc68d42bc83f45f1 100644 (file)
@@ -29,6 +29,7 @@ class QLineEdit;
 class QListWidget;
 class QPushButton;
 class QDoubleSpinBox;
+class QTextEdit;
 
 class HYDROGUI_StreamDlg : public HYDROGUI_InputPanel
 {
@@ -56,13 +57,25 @@ public:
   void                       setSpatialStep( const double );
   double                     getSpatialStep() const;
 
+  void                       addWarning( const QString& theWarnMess );
+  void                       clearWarnings();
+
+  void                       setBackgroundColorForProfileList (int theInd, QColor theColor);
+  void                       setBackgroundColorForProfileList (QString name, 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;
@@ -74,6 +87,8 @@ private:
   HYDROGUI_OrderedListWidget* myProfiles;
   QPushButton*                myRemoveButton;
   QPushButton*                myAddButton;
+  QTextEdit*                  myWarnText;
+
 };
 
 #endif