Workout Controls for Train View

Fixes broken controls on train view, so we can now start stop
with the sidebar hidden and also adjust the settings for the
realtime dials on the layout.

Will need to think about saving the properties of the controls
to use last used settings.

Fixes #439.
This commit is contained in:
Mark Liversedge
2011-09-01 20:59:03 +01:00
parent 9a097980c1
commit df6a44ca83
6 changed files with 60 additions and 58 deletions

View File

@@ -394,7 +394,7 @@ MainWindow::MainWindow(const QDir &home) :
// TRAIN WINDOW & CONTROLS
trainWindow = new HomeWindow(this, "train", "Training");
trainWindow->controls()->hide();
trainControls->addWidget(new TrainTool(this, this->home));
trainControls->addWidget(trainWindow->controls());
// ANALYSIS WINDOW & CONTRAOLS
analWindow = new HomeWindow(this, "analysis", "Analysis");