You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
689 B
C
35 lines
689 B
C
14 hours ago
|
#ifndef NMWXGRIDDLG_H
|
||
|
#define NMWXGRIDDLG_H
|
||
|
|
||
|
#include <QDialog>
|
||
|
#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
|