Salome HOME
Initial merge of branch 'BR_HYDRO_IMPS_2016' into BR_PORTING_OCCT_7
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_StreamDlg.h
index 11a6fd906b11203b94a8521eb8910e44f294ac8a..3d49be1befa6c561d42b612297ed7c5551285c06 100644 (file)
@@ -29,6 +29,7 @@ class QLineEdit;
 class QListWidget;
 class QPushButton;
 class QDoubleSpinBox;
+class QTextEdit;
 
 class HYDROGUI_StreamDlg : public HYDROGUI_InputPanel
 {
@@ -56,6 +57,13 @@ public:
   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& );
@@ -78,6 +86,8 @@ private:
   HYDROGUI_OrderedListWidget* myProfiles;
   QPushButton*                myRemoveButton;
   QPushButton*                myAddButton;
+  QTextEdit*                  myWarnText;
+
 };
 
 #endif