Make Analysis view configurable

You can now configure the Analysis view to drag and drop
charts on the page and lay them out etc. A default setup
displays basic data such as ride summary, histograms and
ride plot.

MainWindow still needs a bit of a tidy-up as the basic
code has been edited and re-edited by a cast of thousands
and its a bit of a mess as a result.
This commit is contained in:
Mark Liversedge
2011-05-15 14:34:34 +01:00
parent 5bd102bf70
commit c4ce45fef9
12 changed files with 236 additions and 335 deletions

View File

@@ -357,7 +357,8 @@ AllPlotWindow::AllPlotWindow(MainWindow *mainWindow) :
void
AllPlotWindow::configChanged()
{
fullPlot->setCanvasBackground(GColor(CPLOTTHUMBNAIL));
//We now use the window background color
//fullPlot->setCanvasBackground(GColor(CPLOTTHUMBNAIL));
// we're going to replot, but only if we're active
// and all the other guff
@@ -414,7 +415,8 @@ AllPlotWindow::redrawFullPlot()
// hide the usual plot decorations etc
fullPlot->showPower(1);
fullPlot->setCanvasBackground(GColor(CPLOTTHUMBNAIL));
//We now use the window background color
//fullPlot->setCanvasBackground(GColor(CPLOTTHUMBNAIL));
fullPlot->setCanvasLineWidth(0);
fullPlot->grid->enableY(false);
fullPlot->enableAxis(QwtPlot::yLeft, false);