Commit Graph

11 Commits

Author SHA1 Message Date
Alejandro Martinez
b3098e322d Fixes ordering of time columns in Navigator
Using a QTime for isTime metrics
2015-07-15 15:21:43 -03:00
Alejandro Martinez
541c65eabc Minor Translation Related Fixes
"Metric Pace" translatable
Format for time columns in Navigator
2015-07-15 09:20:32 -03:00
Mark Liversedge
0502124a89 Activity list sort order hack
.. fixes 80% of the issues with sorting 'strings'

.. we cannot just return metric values since they
   need to be formatted to have the righ precision
   or conversion to pace/duration etc.
2015-07-11 08:39:38 +01:00
Mark Liversedge
c7d2981d92 Fix Column Chooser 'Z' fields
.. a throwback from the old SQL model days and not required
   any more. Also helps to explain issues with calendar text.
2015-06-26 20:33:54 +01:00
Mark Liversedge
52edebd096 Correct use of beginRemoveRows()
.. last update didn't fix the indexes.
2015-01-11 22:13:30 +00:00
Mark Liversedge
b41326d39f Fix beginRemoveRows() SEGV
.. on delete ride
2015-01-11 22:08:08 +00:00
Mark Liversedge
86a599bfb8 Fix SEGV when adding/deleting metadata fields
.. model header data updates need to trigger a reset
   of the views and internal state e.g. index of the
   calendar text and the headings_ string list.
2015-01-05 20:10:42 +00:00
Mark Liversedge
6c5f726bf5 Fix delete/add ride bugs
.. fix a few SEGV!
2015-01-01 09:58:11 +00:00
Mark Liversedge
5692d362d0 ConfigChanged Part 1 of 3
.. introduce concept of configChanged(what) to
   pass details of what config has been changed

.. fixed zones changes to re-read after write
   to correct the save twice to get changes to
   zones bug.

.. next parts need to spot changes (part 2) and
   then action appropriately (part 3)
2014-12-29 13:41:50 +00:00
Mark Liversedge
a8192d863d RideCacheModel Part 2 of 3
.. add/remove ride now works

.. fixed metric value in data()

.. need to test (especially with the diary
   window and new athlete with zero rides and
   then import, add, delete, change, sort
   merge, split etc and push update to
   fix such bugs in Part 3
2014-12-24 19:05:52 +00:00
Mark Liversedge
fe2e9b467b RideCacheModel Part 1 of 3
.. getting the model in and integrated with the
   ride list and diary

.. next steps to connect up to ridecache methods
   ::addRide and ::removeCurrentRide.

.. then fix up nits/bugs with diary view etc
2014-12-24 17:36:46 +00:00