X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_StreamDlg.h;h=3d49be1befa6c561d42b612297ed7c5551285c06;hb=58bb6b7459bebeeb089c9ed486c4683a8bae7288;hp=a9679f4e7b16160b30d07f3b0199bc662e21e8ad;hpb=a0af24ffefdde80cb89a80cc048fbb72f4479139;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_StreamDlg.h b/src/HYDROGUI/HYDROGUI_StreamDlg.h index a9679f4e..3d49be1b 100644 --- a/src/HYDROGUI/HYDROGUI_StreamDlg.h +++ b/src/HYDROGUI/HYDROGUI_StreamDlg.h @@ -28,6 +28,8 @@ class QGroupBox; class QLineEdit; class QListWidget; class QPushButton; +class QDoubleSpinBox; +class QTextEdit; class HYDROGUI_StreamDlg : public HYDROGUI_InputPanel { @@ -49,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; + }; #endif