More renaming

I don't even know what a partial gas might be...

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-02-11 10:55:07 -08:00
parent 9bd77b51f5
commit b839cd4cb0

View file

@ -44,7 +44,7 @@ static struct _ItemPos{
_Pos background; _Pos background;
_Pos dcLabel; _Pos dcLabel;
_Axis depth; _Axis depth;
_Axis partialgas; _Axis partialPressure;
_Axis time; _Axis time;
_Axis cylinder; _Axis cylinder;
_Axis temperature; _Axis temperature;
@ -209,12 +209,12 @@ void ProfileWidget2::setupItemSizes()
itemPos.time.expanded.setP2(QPointF(94,0)); itemPos.time.expanded.setP2(QPointF(94,0));
// Partial Gas Axis Config // Partial Gas Axis Config
itemPos.partialgas.pos.on.setX(97); itemPos.partialPressure.pos.on.setX(97);
itemPos.partialgas.pos.on.setY(60); itemPos.partialPressure.pos.on.setY(60);
itemPos.partialgas.pos.off.setX(110); itemPos.partialPressure.pos.off.setX(110);
itemPos.partialgas.pos.off.setY(60); itemPos.partialPressure.pos.off.setY(60);
itemPos.partialgas.expanded.setP1(QPointF(0,0)); itemPos.partialPressure.expanded.setP1(QPointF(0,0));
itemPos.partialgas.expanded.setP2(QPointF(0,30)); itemPos.partialPressure.expanded.setP2(QPointF(0,30));
// cylinder axis config // cylinder axis config
itemPos.cylinder.pos.on.setX(3); itemPos.cylinder.pos.on.setX(3);
@ -446,7 +446,7 @@ void ProfileWidget2::setEmptyState()
currentState = EMPTY; currentState = EMPTY;
fixBackgroundPos(); fixBackgroundPos();
profileYAxis->setPos(itemPos.depth.pos.off); profileYAxis->setPos(itemPos.depth.pos.off);
gasYAxis->setPos(itemPos.partialgas.pos.off); gasYAxis->setPos(itemPos.partialPressure.pos.off);
timeAxis->setPos(itemPos.time.pos.off); timeAxis->setPos(itemPos.time.pos.off);
background->setY( itemPos.background.on.y()); background->setY( itemPos.background.on.y());
background->setVisible(true); background->setVisible(true);
@ -487,8 +487,8 @@ void ProfileWidget2::setProfileState()
profileYAxis->setLine(itemPos.depth.expanded); profileYAxis->setLine(itemPos.depth.expanded);
} }
gasYAxis->setPos(itemPos.partialgas.pos.on); gasYAxis->setPos(itemPos.partialPressure.pos.on);
gasYAxis->setLine(itemPos.partialgas.expanded); gasYAxis->setLine(itemPos.partialPressure.expanded);
timeAxis->setPos(itemPos.time.pos.on); timeAxis->setPos(itemPos.time.pos.on);
timeAxis->setLine(itemPos.time.expanded); timeAxis->setLine(itemPos.time.expanded);