X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_StricklerTableDlg.h;h=11704db432d2c253edc8ce99ee5509c53326df41;hb=60c1b803621af637e863bf91a54f59251a28552c;hp=70eb3505e9030d6368d43cfa0657f28b7747ce22;hpb=3794ebe1a6e6574238912e725efce8eacca89ff9;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_StricklerTableDlg.h b/src/HYDROGUI/HYDROGUI_StricklerTableDlg.h index 70eb3505..11704db4 100644 --- a/src/HYDROGUI/HYDROGUI_StricklerTableDlg.h +++ b/src/HYDROGUI/HYDROGUI_StricklerTableDlg.h @@ -21,8 +21,9 @@ #include "HYDROGUI_InputPanel.h" #include +#include -class Handle_HYDROData_StricklerTable; +class HYDROData_StricklerTable; class QGroupBox; class QLineEdit; @@ -52,8 +53,8 @@ public: bool isTableNameReadOnly() const; void setTableNameReadOnly( bool ); - void getGuiData( Handle_HYDROData_StricklerTable& theTable ) const; - void setGuiData( const Handle_HYDROData_StricklerTable& theTable ); + void getGuiData( Handle(HYDROData_StricklerTable)& theTable ) const; + void setGuiData( const Handle(HYDROData_StricklerTable)& theTable ); protected: void updateControls(); @@ -72,14 +73,17 @@ Q_SIGNALS: void fileSelected( const QString& theFileName ); private: - int myType; - QLineEdit* myFileName; //!< Source Strickler table file name input field - QLineEdit* myName; //!< The Strickler table name input field - QLineEdit* myAttrName; //!< The Strickler table attribute's name input field - QTableWidget* myTable; //!< The table of Strickler coefficients - QToolButton* myAddBtn; //!< The add Strickler coefficient button - QToolButton* myRemoveBtn; //!< The remove Strickler coefficient button - QToolButton* myClearBtn; //!< The clear all Strickler coefficients button + friend class test_HYDROData_StricklerTable; + +private: + int myType; + QLineEdit* myFileName; //!< Source Strickler table file name input field + QLineEdit* myName; //!< The Strickler table name input field + QLineEdit* myAttrName; //!< The Strickler table attribute's name input field + QTableWidget* myTable; //!< The table of Strickler coefficients + QToolButton* myAddBtn; //!< The add Strickler coefficient button + QToolButton* myRemoveBtn; //!< The remove Strickler coefficient button + QToolButton* myClearBtn; //!< The clear all Strickler coefficients button }; class HYDROGUI_ColorDelegate : public QAbstractItemDelegate