From b839cd4cb01d952b0cd7f6d4d16b6a0555d865ff Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 11 Feb 2014 10:55:07 -0800 Subject: More renaming I don't even know what a partial gas might be... Signed-off-by: Dirk Hohndel --- qt-ui/profile/profilewidget2.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'qt-ui/profile') diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index 4ed637cd6..33f7be4cd 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -44,7 +44,7 @@ static struct _ItemPos{ _Pos background; _Pos dcLabel; _Axis depth; - _Axis partialgas; + _Axis partialPressure; _Axis time; _Axis cylinder; _Axis temperature; @@ -209,12 +209,12 @@ void ProfileWidget2::setupItemSizes() itemPos.time.expanded.setP2(QPointF(94,0)); // Partial Gas Axis Config - itemPos.partialgas.pos.on.setX(97); - itemPos.partialgas.pos.on.setY(60); - itemPos.partialgas.pos.off.setX(110); - itemPos.partialgas.pos.off.setY(60); - itemPos.partialgas.expanded.setP1(QPointF(0,0)); - itemPos.partialgas.expanded.setP2(QPointF(0,30)); + itemPos.partialPressure.pos.on.setX(97); + itemPos.partialPressure.pos.on.setY(60); + itemPos.partialPressure.pos.off.setX(110); + itemPos.partialPressure.pos.off.setY(60); + itemPos.partialPressure.expanded.setP1(QPointF(0,0)); + itemPos.partialPressure.expanded.setP2(QPointF(0,30)); // cylinder axis config itemPos.cylinder.pos.on.setX(3); @@ -446,7 +446,7 @@ void ProfileWidget2::setEmptyState() currentState = EMPTY; fixBackgroundPos(); profileYAxis->setPos(itemPos.depth.pos.off); - gasYAxis->setPos(itemPos.partialgas.pos.off); + gasYAxis->setPos(itemPos.partialPressure.pos.off); timeAxis->setPos(itemPos.time.pos.off); background->setY( itemPos.background.on.y()); background->setVisible(true); @@ -487,8 +487,8 @@ void ProfileWidget2::setProfileState() profileYAxis->setLine(itemPos.depth.expanded); } - gasYAxis->setPos(itemPos.partialgas.pos.on); - gasYAxis->setLine(itemPos.partialgas.expanded); + gasYAxis->setPos(itemPos.partialPressure.pos.on); + gasYAxis->setLine(itemPos.partialPressure.expanded); timeAxis->setPos(itemPos.time.pos.on); timeAxis->setLine(itemPos.time.expanded); -- cgit v1.2.3-70-g09d2