319 lines
6.5 KiB
C++
319 lines
6.5 KiB
C++
#include "InterfaceWidget.h"
|
|
#include "ui_interfaceWidget.h"
|
|
|
|
BEGIN_OSGGRAPHICS_NAMESPACE;
|
|
|
|
InterfaceWidget::InterfaceWidget(QWidget *parent)
|
|
: QWidget(parent)
|
|
{
|
|
m_pInterfaceUI=new Ui::Interface();
|
|
m_pInterfaceUI->setupUi(this);
|
|
//m_pInterfaceUI->splitter->setMouseTracking(true);
|
|
//m_pInterfaceUI->tableWidget->horizontalHeader()
|
|
//m_pInterfaceUI->tableWidget->setFont(QFont("宋体"));
|
|
//m_pInterfaceUI->tabWidget->setTabText(1,"井信息");
|
|
//m_pInterfaceUI->tabWidget->setTabText(0,"测井信息");
|
|
|
|
m_pInterfaceUI->widget_2->setVisible(false);
|
|
//m_pInterfaceUI->tableWidget->setHorizontalScrollBarPolicy()
|
|
m_pInterfaceUI->tableWidget->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
|
|
}
|
|
|
|
void InterfaceWidget::showEvent(QShowEvent * pEvent)
|
|
{
|
|
QWidget::showEvent(pEvent);
|
|
|
|
|
|
//m_pInterfaceUI->textEdit->setFixedWidth(width()-580);
|
|
|
|
}
|
|
|
|
InterfaceWidget::~InterfaceWidget()
|
|
{
|
|
|
|
}
|
|
|
|
QTableWidget* InterfaceWidget::GetDataSelectAreaWidget()
|
|
{
|
|
return m_pInterfaceUI->tableWidget;
|
|
}
|
|
|
|
/*QTabWidget* InterfaceWidget::GetLogInformation()
|
|
{
|
|
return m_pInterfaceUI->tabWidget;
|
|
}*/
|
|
|
|
QTextEdit* InterfaceWidget::GetDataPreviewArea()
|
|
{
|
|
return m_pInterfaceUI->textEdit;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetXCodeLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_30;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetMudViscosityLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_25;
|
|
}
|
|
|
|
QComboBox * InterfaceWidget::GetMudTypeComboBox()
|
|
{
|
|
|
|
return m_pInterfaceUI->comboBox_2;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetCompanyNameLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_27;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetTeamLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_28;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetOperatorLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_11;
|
|
}
|
|
|
|
QDateEdit * InterfaceWidget::GerDateEdit()
|
|
{
|
|
return m_pInterfaceUI->dateEdit_2;
|
|
}
|
|
|
|
QComboBox * InterfaceWidget::GetSerialComboBox()
|
|
{
|
|
return m_pInterfaceUI->comboBox_4;
|
|
}
|
|
|
|
QComboBox * InterfaceWidget::GetItemComboBox()
|
|
{
|
|
return m_pInterfaceUI->comboBox_5;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetProfileLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_12;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetWaterLossLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_8;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetDensityLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_24;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetResiLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_7;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetTempLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_5;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetINTLogLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_6;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetTempBotLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_23;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetNITINTLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_2;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetIntProgLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_4;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetInteDressLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_3;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetAuditLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit;
|
|
}
|
|
|
|
QTextEdit * InterfaceWidget::GetRemarkTextEdit()
|
|
{
|
|
return m_pInterfaceUI->textEdit_2;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetWellRoundNameLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_10;
|
|
}
|
|
/////////////////
|
|
QLineEdit * InterfaceWidget::GetWellCompanyNameLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_26;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetWellNameLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_9;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetWellAreaNameLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_29;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetWellCodeLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_19;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetYCodeLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_18;
|
|
}
|
|
|
|
QComboBox * InterfaceWidget::GetWellTypeComboBox()
|
|
{
|
|
return m_pInterfaceUI->comboBox_6;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetAslLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_16;
|
|
}
|
|
QLineEdit * InterfaceWidget::GetBslLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_17;
|
|
}
|
|
|
|
QDateEdit * InterfaceWidget::GerSDrillDateEdit()
|
|
{
|
|
return m_pInterfaceUI->dateEdit;
|
|
}
|
|
QDateEdit * InterfaceWidget::GerEDrillDateEdit()
|
|
{
|
|
return m_pInterfaceUI->dateEdit_3;
|
|
}
|
|
|
|
QDateEdit * InterfaceWidget::GerCompleteDateEdit()
|
|
{
|
|
return m_pInterfaceUI->dateEdit_4;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetCWMethodLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_14;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetBit1ProgLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_37;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetBit2ProgLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_36;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetBit3ProgLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_34;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetBit4ProgLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_35;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetBit5ProgLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_33;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetCas1ProgLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_41;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetCas2ProgLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_42;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetCas3ProgLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_40;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetCas4ProgLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_39;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetCas5ProgLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_38;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetCas1ShotLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_15;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetCas2ShotLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_22;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetSC1SDepLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_21;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetSC1EDepLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_31;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetSC2SDepLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_20;
|
|
}
|
|
|
|
QLineEdit * InterfaceWidget::GetSC2EDepLineEdit()
|
|
{
|
|
return m_pInterfaceUI->lineEdit_32;
|
|
}
|
|
QLineEdit * InterfaceWidget::GetEditTopDepth()
|
|
{
|
|
return m_pInterfaceUI->edtTopDepth;
|
|
}
|
|
QLineEdit * InterfaceWidget::GetEditBottomDepth()
|
|
{
|
|
return m_pInterfaceUI->edtBottomDepth;
|
|
}
|
|
QLineEdit * InterfaceWidget::GetEditFileSDepth()
|
|
{
|
|
return m_pInterfaceUI->filestdepedit;
|
|
}
|
|
QLineEdit * InterfaceWidget::GetEditFileEDepth()
|
|
{
|
|
return m_pInterfaceUI->fileendepedit;
|
|
}
|
|
|
|
|
|
|
|
END_OSGGRAPHICS_NAMESPACE;
|