mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
Add Activity Details to Sidebar
The metadata information is now shown within the sidebar. We need to implement a mechanism for the users to configure the sidebar widgets etc pretty soon now, since this update is useful, but the sidebar is getting crowded out. Minor changes to ridemetadata to allow a 'single column' view, but mostly all the widgets were already instantiated so there is no real cost to this update.
This commit is contained in:
@@ -162,8 +162,7 @@ MainWindow::MainWindow(const QDir &home) :
|
||||
*--------------------------------------------------------------------*/
|
||||
|
||||
// Metadata fields
|
||||
_rideMetadata = new RideMetadata(this);
|
||||
_rideMetadata->hide(); // never displayed
|
||||
_rideMetadata = new RideMetadata(this,true);
|
||||
metricDB = new MetricAggregator(this, home, zones(), hrZones()); // just to catch config updates!
|
||||
metricDB->refreshMetrics();
|
||||
|
||||
@@ -403,6 +402,7 @@ MainWindow::MainWindow(const QDir &home) :
|
||||
|
||||
// POPULATE TOOLBOX
|
||||
toolBox->addItem(listView, QIcon(":images/activity.png"), "Activity History");
|
||||
toolBox->addItem(_rideMetadata, QIcon(":images/metadata.png"), "Activity Details");
|
||||
toolBox->addItem(intervalSplitter, QIcon(":images/stopwatch.png"), "Best Intervals and Laps");
|
||||
toolBox->addItem(masterControls, QIcon(":images/settings.png"), "Chart Settings");
|
||||
toolBox->addItem(new AthleteTool(QFileInfo(home.path()).path(), this), QIcon(":images/toolbar/main/athlete.png"), "Athletes");
|
||||
|
||||
Reference in New Issue
Block a user