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.
51 lines
946 B
C++
51 lines
946 B
C++
#ifndef NMWXNEWNORMALDLG_H
|
|
#define NMWXNEWNORMALDLG_H
|
|
|
|
#include <QDialog>
|
|
#include <QObject>
|
|
|
|
#include "nmSubWxs_global.h"
|
|
|
|
class nmDataDemo;
|
|
class QCheckBox;
|
|
class QVBoxLayout;
|
|
class QListWidget;
|
|
class QLineEdit;
|
|
|
|
class NM_SUB_WXS_EXPORT nmWxNewNormalDlg : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
nmWxNewNormalDlg(nmDataDemo*);
|
|
~nmWxNewNormalDlg();
|
|
private:
|
|
//
|
|
QVBoxLayout* m_mainLayout;
|
|
//
|
|
QLineEdit * m_nameEdit;
|
|
//
|
|
QCheckBox* m_checkboxWater;
|
|
QCheckBox* m_checkboxOil;
|
|
QCheckBox* m_checkboxGas;
|
|
//
|
|
QListWidget* m_pvtListWidget;
|
|
QListWidget* m_iiListWidget;
|
|
|
|
nmDataDemo* m_pAnalyzeData;
|
|
//
|
|
void initUI();
|
|
void renderComponents();
|
|
//
|
|
void initPVTList();
|
|
void initIIList();
|
|
|
|
QListWidget* initListWidget(QString listName, QStringList items);
|
|
|
|
private slots:
|
|
void on_pvtSelected();
|
|
void on_IISelected();
|
|
void on_save();
|
|
};
|
|
|
|
#endif // NMWXNEWNORMALDLG_H
|