|
|
|
|
@ -1021,7 +1021,7 @@ void nmWellPressureFlowPage::createRecordSelectionBar()
|
|
|
|
|
pBarLayout->setSpacing(6);
|
|
|
|
|
|
|
|
|
|
QLabel* pPressureLabel = new QLabel(
|
|
|
|
|
tr("Pressure Record:"), m_pRecordSelectionBar);
|
|
|
|
|
tr("Pressure Record"), m_pRecordSelectionBar);
|
|
|
|
|
m_pPressureGaugeCombo = new QComboBox(m_pRecordSelectionBar);
|
|
|
|
|
m_pPressureGaugeCombo->setEnabled(false);
|
|
|
|
|
m_pPressureGaugeCombo->setMinimumWidth(160);
|
|
|
|
|
@ -1029,7 +1029,7 @@ void nmWellPressureFlowPage::createRecordSelectionBar()
|
|
|
|
|
tr("This page only displays the selected record."));
|
|
|
|
|
|
|
|
|
|
QLabel* pFlowLabel = new QLabel(
|
|
|
|
|
tr("Flow Record:"), m_pRecordSelectionBar);
|
|
|
|
|
tr("Flow Record"), m_pRecordSelectionBar);
|
|
|
|
|
m_pFlowGaugeCombo = new QComboBox(m_pRecordSelectionBar);
|
|
|
|
|
m_pFlowGaugeCombo->setEnabled(false);
|
|
|
|
|
m_pFlowGaugeCombo->setMinimumWidth(160);
|
|
|
|
|
@ -1042,7 +1042,7 @@ void nmWellPressureFlowPage::createRecordSelectionBar()
|
|
|
|
|
pPhaseLayout->setContentsMargins(0, 0, 0, 0);
|
|
|
|
|
pPhaseLayout->setSpacing(6);
|
|
|
|
|
QLabel* pPhaseLabel = new QLabel(
|
|
|
|
|
tr("Display Phase:"), m_pDisplayPhaseContainer);
|
|
|
|
|
tr("Display Phase"), m_pDisplayPhaseContainer);
|
|
|
|
|
m_pDisplayPhaseCombo = new QComboBox(m_pDisplayPhaseContainer);
|
|
|
|
|
m_pDisplayPhaseCombo->setMinimumWidth(80);
|
|
|
|
|
pPhaseLayout->addWidget(pPhaseLabel);
|
|
|
|
|
@ -1327,8 +1327,24 @@ void nmWellPressureFlowPage::updateUnitHeader()
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
QString sFlowTitle = tr("Flow");
|
|
|
|
|
switch (m_eDisplayPhase)
|
|
|
|
|
{
|
|
|
|
|
case PHASE_Oil:
|
|
|
|
|
sFlowTitle = tr("Oil phase flow");
|
|
|
|
|
break;
|
|
|
|
|
case PHASE_Gas:
|
|
|
|
|
sFlowTitle = tr("Gas phase flow");
|
|
|
|
|
break;
|
|
|
|
|
case PHASE_Water:
|
|
|
|
|
sFlowTitle = tr("Water phase flow");
|
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
QStringList listTitles;
|
|
|
|
|
listTitles << tr("Time") << tr("Flow");
|
|
|
|
|
listTitles << tr("Time") << sFlowTitle;
|
|
|
|
|
QStringList listUnits;
|
|
|
|
|
listUnits << m_sTimeUnit << m_sFlowUnit;
|
|
|
|
|
m_pFlowHeader->setHeaderData(listTitles, listUnits);
|
|
|
|
|
|