Scale Y-Axis on Ride Plot

.. When you click on the axis to isolate it a spanslider
   appears to let you manually adjust the axis.

.. it looks naff .. but we can tidy that up separately
This commit is contained in:
Mark Liversedge
2014-02-20 23:21:33 +00:00
parent af4576237f
commit aeb7404b05
3 changed files with 84 additions and 3 deletions

View File

@@ -375,6 +375,7 @@ AllPlotWindow::AllPlotWindow(Context *context) :
allPlotFrame->setPalette(palette);
spanSlider = new QxtSpanSlider(Qt::Horizontal);
spanSlider->setFocusPolicy(Qt::NoFocus);
spanSlider->setHandleMovementMode(QxtSpanSlider::NoOverlapping);
spanSlider->setLowerValue(0);
spanSlider->setUpperValue(15);