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.
nmWTAI-Platform/Include/nmNum/nmSubWxs/nmWxWellboreStorageCalculat...

43 lines
1011 B
C

#ifndef NMWXWELLBORESTORAGECALCULATORTUBINGDATA_H
#define NMWXWELLBORESTORAGECALCULATORTUBINGDATA_H
#include "nmSubWxs_global.h"
#include "iDlgBase.h"
#include <QVariantList>
class QTableWidget;
class QComboBox;
class QPushButton;
class QLabel;
class NM_SUB_WXS_EXPORT nmWxWellboreStorageCalculatorTubingData : public iDlgBase
{
Q_OBJECT
public:
explicit nmWxWellboreStorageCalculatorTubingData(QWidget *parent = nullptr);
~nmWxWellboreStorageCalculatorTubingData();
// 获取选中的油管内径
double getSelectedTubingID() const;
private:
void initUI();
// 连接信号槽
void initConnections();
// 填充表格数据
void setupTableData();
private:
QTableWidget* m_pTableWidget;
QLabel* m_pInstructionLabel;
QPushButton* m_pOkButton;
QPushButton* m_pCancelButton;
QComboBox* m_pODUnitCombo;
QComboBox* m_pIDUnitCombo;
// 添加这部分用于存储和处理数据
QList<QVariantList> m_listTubingData;
};
#endif // NMWXWELLBORESTORAGECALCULATORTUBINGDATA_H