#ifndef NMWXGRIDDLG_H #define NMWXGRIDDLG_H #include #include "nmSubWxs_global.h" #include "nmCalculationDefine.h" class QLineEdit; class QComboBox; class NM_SUB_WXS_EXPORT nmWxGridDlg : public QDialog { Q_OBJECT public: nmWxGridDlg(double *pGridSize = NULL, int *pGridType = NULL); private slots: void on_save(); void on_gridSizeChanged(QString); void on_gridTypeChanged(int); private: void initUI(); QLineEdit* initGridSizeEdit(); QComboBox* initGridTypeComboBox(); private: // 网格大小 double *m_pGridSize; double m_dGridSizeTmp; // 网格类型 int *m_pGridType; int m_iGridTypeTmp; }; #endif // NMWXGRIDDLG_H