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.
40 lines
791 B
C++
40 lines
791 B
C++
#ifndef NMNEWNORMALDLG_H
|
|
#define NMNEWNORMALDLG_H
|
|
|
|
#include <QDialog>
|
|
#include <QObject>
|
|
#include <QVBoxLayout>
|
|
#include <QListWidget>
|
|
#include "nmSubWxs_global.h"
|
|
|
|
class NM_SUB_WXS_EXPORT nmNewNormalDlg : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
nmNewNormalDlg();
|
|
~nmNewNormalDlg();
|
|
private:
|
|
// 布局器
|
|
QVBoxLayout* m_mainLayout;
|
|
QListWidget* m_pvtListWidget;
|
|
QListWidget* m_iiListWidget;
|
|
|
|
void initUI();
|
|
void renderComponents();
|
|
|
|
// 初始化PVT列表
|
|
void initPVTList();
|
|
// 初始化相渗列表
|
|
void initIIList();
|
|
|
|
// 初始化一个列表视图
|
|
QListWidget* initListWidget(QString listName, QStringList items);
|
|
|
|
private slots:
|
|
void on_pvtSelected();
|
|
void on_IISelected();
|
|
void on_save();
|
|
};
|
|
|
|
#endif // NMNEWNORMALDLG_H
|