Create the grids.

Create the grids, and the way that they move is fabulous <3

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-02-15 22:43:27 -02:00 committed by Dirk Hohndel
parent 38e25458ee
commit 883b25cea3
2 changed files with 31 additions and 1 deletions

View file

@ -124,6 +124,9 @@ void ProfileWidget2::setupItemOnScene()
profileYAxis->setMinimum(0);
profileYAxis->setTickInterval(M_OR_FT(10,30));
profileYAxis->setTickSize(1);
profileYAxis->setLineSize(96);
timeAxis->setLineSize(96);
gasYAxis->setOrientation(DiveCartesianAxis::BottomToTop);
gasYAxis->setTickInterval(1);
@ -131,6 +134,7 @@ void ProfileWidget2::setupItemOnScene()
gasYAxis->setMinimum(0);
gasYAxis->setModel(dataModel);
gasYAxis->setFontLabelScale(0.7);
gasYAxis->setLineSize(96);
temperatureAxis->setOrientation(DiveCartesianAxis::BottomToTop);
temperatureAxis->setTickSize(2);