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:
Joern
2014-11-09 10:58:23 +01:00
parent 693da5fadd
commit a73d5df95c
13 changed files with 730 additions and 182 deletions

View File

@@ -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