diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-02-11 10:55:07 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-11 12:36:11 -0800 |
commit | b839cd4cb01d952b0cd7f6d4d16b6a0555d865ff (patch) | |
tree | 21aa4f4fc51913f224c37a7cf5d6d5c54ecce928 /qt-ui | |
parent | 9bd77b51f52d46ea42c9b6078ca43715384ee6dd (diff) | |
download | subsurface-b839cd4cb01d952b0cd7f6d4d16b6a0555d865ff.tar.gz |
More renaming
I don't even know what a partial gas might be...
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
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); |