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.
43 lines
1007 B
C
43 lines
1007 B
C
|
3 weeks ago
|
#ifndef NMWXWELLBORESTORAGECALCULATORTUBINGDATA_H
|
||
|
|
#define NMWXWELLBORESTORAGECALCULATORTUBINGDATA_H
|
||
|
|
|
||
|
|
#include "nmSubWxs_global.h"
|
||
|
|
#include <QDialog>
|
||
|
|
#include <QVariantList>
|
||
|
|
|
||
|
|
class QTableWidget;
|
||
|
|
class QComboBox;
|
||
|
|
class QPushButton;
|
||
|
|
class QLabel;
|
||
|
|
|
||
|
|
class NM_SUB_WXS_EXPORT nmWxWellboreStorageCalculatorTubingData : public QDialog
|
||
|
|
{
|
||
|
|
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
|