mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
AutoImport - 2nd version
... multiple pathes per Athlete (on Athlete-Preferences - AutoImport TAB) - option per Path if Import shall be done or not (e.g. for temporary de-activation without removig a path) ... configuration stored in XML file in /config subdir ... no "stealth" mode any more - but full log of Rides to be imported with option to "Abort" the import process at any time
This commit is contained in:
@@ -265,6 +265,7 @@ AthleteConfig::AthleteConfig(QDir home, Zones *zones, Context *context) :
|
||||
zonePage = new ZonePage(context);
|
||||
hrZonePage = new HrZonePage(context);
|
||||
paceZonePage = new PaceZonePage(context);
|
||||
autoImportPage = new AutoImportPage(context);
|
||||
|
||||
setContentsMargins(0,0,0,0);
|
||||
QHBoxLayout *mainLayout = new QHBoxLayout(this);
|
||||
@@ -276,6 +277,7 @@ AthleteConfig::AthleteConfig(QDir home, Zones *zones, Context *context) :
|
||||
tabs->addTab(zonePage, tr("Power Zones"));
|
||||
tabs->addTab(hrZonePage, tr("Heartrate Zones"));
|
||||
tabs->addTab(paceZonePage, tr("Pace Zones"));
|
||||
tabs->addTab(autoImportPage, tr("Auto Import"));
|
||||
|
||||
mainLayout->addWidget(tabs);
|
||||
}
|
||||
@@ -286,6 +288,7 @@ void AthleteConfig::saveClicked()
|
||||
zonePage->saveClicked();
|
||||
hrZonePage->saveClicked();
|
||||
paceZonePage->saveClicked();
|
||||
autoImportPage->saveClicked();
|
||||
}
|
||||
|
||||
// APPEARANCE CONFIG
|
||||
|
||||
Reference in New Issue
Block a user