mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make it possible to hide some of the grid lines.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4699363a9e
commit
44a72b805c
3 changed files with 20 additions and 8 deletions
|
@ -176,14 +176,12 @@ void ProfileWidget2::setupItemOnScene()
|
|||
CREATE_PP_GAS( po2GasItem, PO2, PO2, PO2_ALERT, "po2threshold", "po2graph");
|
||||
#undef CREATE_PP_GAS
|
||||
|
||||
#ifdef QT_NO_DEBUG // Some debug helpers.
|
||||
temperatureAxis->setTextVisible(false);
|
||||
temperatureAxis->setLinesVisible(false);
|
||||
cylinderPressureAxis->setTextVisible(false);
|
||||
#else
|
||||
temperatureAxis->setTextVisible(true);
|
||||
cylinderPressureAxis->setTextVisible(true);
|
||||
#endif
|
||||
|
||||
cylinderPressureAxis->setLinesVisible(false);
|
||||
timeAxis->setLinesVisible(true);
|
||||
profileYAxis->setLinesVisible(true);
|
||||
}
|
||||
|
||||
void ProfileWidget2::setupItemSizes()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue