Commit Graph

13 Commits

Author SHA1 Message Date
Gareth Coco
03509108b6 assert cleanup
Based on commit# a2a962120c
2013-09-24 04:37:30 -04:00
Mark Liversedge
23cd849a39 Add Starting LTS to Season
.. so we can seed 'CTL' for the PMC charts
2013-03-21 19:50:18 +00:00
Mark Liversedge
0f5441b268 Season preferences don't lose events
If you maintained your seasons in the tools
or preferences pane then all your events would
be lost.
2012-11-29 10:22:24 +00:00
Mark Liversedge
e4411a293f Add Events to Seasons.xml
But bear in mind the season editor in preferences
needs to be updated to support the additional elements.
2012-11-29 09:37:39 +00:00
Mark Liversedge
ed9f851f4b More Tab / UI fixups
A bit more love for tabs and other minor cosmetic tweaks.

* View now remembers style used (tab, scroll, tile)
* Allow user to re-order tabs
* Google Map border reduced
* Google Map refresh delay (to make UI snappy when resizing)
* Minor calendar cosmetics
* Use utf8 encoding on config files (language support)
2011-06-13 16:12:16 +01:00
Mark Liversedge
519f5fcc5e Improved Season Support
This fixes issues with date range editing in the Metrics controls
and provides support for Season load planning (under development).

Creating and selecting seasons is largely managed within the
Metrics tool. This has not been changed with this patch. Athlete
seasons are now managed as a member of the MainWindow class (although
this will move to an Athlete/Cyclist class when MainWindow is
refactored).

A Season identifier (UUID) has been introduced to enable Seasons to
be referenced independently of their name or date ranges. The LTM
tool now keeps track of changes to Seasons (when new seasons are
created, changed, deleted). Additionally, the Season XML file now
supports storage of a Season Load Plan.
2011-02-05 12:46:54 +00:00
Mark Liversedge
7bb9cf5462 Long Term Metrics
A user configurable chart for showing ride metrics and
other calculated values over time.

* Uses SQLITE database to store metrics
* Supports any metric available from the metric factory
* Adds new MaxHr, VI, Peak Power and Time In Zone metric
* Also includes LTS/STS/SB for PM charting
* Aggregates in days, weeks, months or years
* Reads and Updates seasons.xml
* Adds cycles and adhoc date ranges in seasons.xml
* Date ranges can be selected on the plot with shift-left click
* Allows users to customise preferences for color, symbols et al
* Allows user to customise metric names and unit names
* Supports smooth curves and topN highlighting
* Has a linear regress trend line function
* Allows users to save charts to charts.xml
* A default charts.xml is built-in
* A chart manager to import/export/rename/delete charts etc
* Provides a tooltip to provide basic datapoint information
* Performance Manager adjusted to use the MetricDB
* User configurable setting for SB calculation (today/tomorrow)
2010-02-25 08:01:43 -08:00
Sean Rhea
9e588ad413 fix unused variable warning 2009-12-01 05:37:46 -05:00
Mark Liversedge
e3426c1024 win32 and linux build fixes
- change SeasonParser include from <> to "" for Windows
- include stdio.h in PowerTapUtil for Linux
2009-11-21 17:21:47 -05:00
Robert Carlsen
7ec5bff235 fix SeasonParser.cpp::EndDocument() - return value was missing 2009-10-27 01:32:56 -04:00
Robb Romans
476aa1b48b comments about QDates in SeasonParser.cpp 2009-10-25 19:47:47 -04:00
Sean Rhea
b144b5ec48 assert.h to make Linux happy 2009-10-24 14:19:48 -07:00
Justin Knotzke
c630d281d3 Added Season support via xml file.
Using seasons.xml, support now for a season name, start date and end date.

Fixed some memory leaks.
2009-10-22 21:45:03 -07:00