Commit Graph

10105 Commits

Author SHA1 Message Date
Alejandro Martinez
41fbd9563a Spanish Translation - Partial Update 2021-09-02 23:20:00 -03:00
Mark Liversedge
d953b44c00 OverviewItemConfig Legacy Selector
..is only needed for configuring data tables.

Fixes #4031
2021-08-31 21:08:56 +01:00
grauser
32c7b68f43 Translation : lupdate translations/gc_fr 2021-08-31 18:01:01 +02:00
Mark Liversedge
4ddaa041a9 Don't process events when recreating user charts
.. it was always rather dodgy, but caused issues when charts
   recreated on config changed (like interacts badly with
   the setUpdatesEnabled() call.

.. has a nice effect of stopping the jarring repaints too
   which were horrible when themes changed.

Fixes #4029
2021-08-31 10:48:16 +01:00
Mark Liversedge
b5046f4be1 Fix Dark Theme Stress Balance
.. it was black, which wasn't the best choice against a
   dark background (!)
2021-08-30 10:11:11 +01:00
MaksVasilev
01beed8f46 Untraslated string
Fixed version of #4027
2021-08-28 13:04:42 -03:00
Mark Liversedge
d7c1b66b27 Overview Data table remember sort
.. so it gets reinstated after restart
2021-08-28 09:49:18 +01:00
Mark Liversedge
9b679a7d79 Clip data overview table painting
.. it looked nasty going all the way to the tile boundary.
2021-08-27 15:31:29 +01:00
Mark Liversedge
78850dabc3 ChartBar buttons match main toolbar
.. aesthetics adapted to have same feel.

.. the actual + icon had embossing in it (!)
2021-08-27 14:56:30 +01:00
Mark Liversedge
494e01ba7a DataOverviewItem legacy program on trends
.. added the legacy selector to trends view.
2021-08-27 12:08:08 +01:00
Mark Liversedge
5e516aefca DataFilter Aggregate helpers for metrics
.. aggmetricstrings() and aggmetrics()

   data filter functions that return aggregated values as
   opposed to all values for the activities.

.. asaggstrings()

   data filter function that returns aggregated values for
   the list of metrics provided (primarily used in data
   tables).

.. the next commit includes an update to the data table
   settings tool to use asaggstrings on trends view.
2021-08-27 12:07:37 +01:00
Mark Liversedge
e31f05236c Fix Overview Data table date sorting in German
.. and possibly other locales/language combinations
2021-08-27 09:45:20 +01:00
Mark Liversedge
13dc1059bc Python console perspective setting
.. use perspective property from the chart.
2021-08-26 13:54:50 +01:00
Mark Liversedge
ec46e545f5 User Chart and property "perspective" SEGV
.. lots of problems related to this, notably:

   * UserChart is no longer a GcWindow so doesn't have any
     properties registered.

   * Even if it was the property was not being registered
     by GcWindow or GcChartWindow anyway

   * The value was not being initialised so checking for
     NULL was kinda pointless (groan)

   * OverviewItems looked up the property and never found
     it, so crashes were avoided by accident.

.. One interesting point that was revealed during testing
   and debugging-- the UserChart program does not honor
   any filtering EXCEPT for the activity{ } function, which
   although it is not by design, is quite useful.

Fixes #4021
2021-08-26 13:46:44 +01:00
Mark Liversedge
1e480b6965 Less debug
.. last commit had some erroneous debug
2021-08-25 15:54:53 +01:00
Mark Liversedge
5e8e490e51 Datafilter powerindex(power,duration)
.. returns the powerindex for the given power and duration
   which can be vectors.

.. useful to transform meanmax power to strengths and
   weakness rating.
2021-08-25 15:52:55 +01:00
Mark Liversedge
fa296f7c13 Further update for UserChart scale crash
.. need to also add blocking around generic chart which
   can be called in different threads.

.. see previous commit for details.
2021-08-25 11:15:15 +01:00
Mark Liversedge
cc8b6b114d UserChart Scaling causes crash
.. when moving the scaling slider the charts get updated
   immediately, this causes a SEGV as charts are deleted
   whilst they are being updated.

.. we now block updates whilst critical processing is
   happenning to avoid this.

Fixes #4026
2021-08-25 09:48:44 +01:00
Mark Liversedge
73d28661fa User Chart support Stacked Percent Style
.. we now support percent stack bar charts, which are useful (and
   popular) for time spent in zone style charts.
2021-08-25 08:38:25 +01:00
Mark Liversedge
a4d928e4a0 More muted and modern Toolbar buttons
.. the side bar, bottom bar and related buttons were still
   following a skeuomorphic design that has long since
   fallen into disuse.

.. now have a more muted feel with hover/press colors active
   on mouse events.

.. moved the whatsthis button to the far right since this
   is quite a common placement in other apps.

.. it is noticeable how we use many many different schemes
   for hover/pressed colors across the UI- at some point
   this should be unified.

.. also deprecated the segmentcontrol.
2021-08-24 20:56:31 +01:00
Stranger
7c944d6100 Russian traslation update (1 of 2)
Part 2 in a week
2021-08-24 09:39:36 -07:00
Stranger
c973bd7d85 Untraslated strings 2021-08-24 09:39:36 -07:00
Mark Liversedge
e02e19a979 Mac Toolbar UI Tweaks
.. bit more breathing space required, as overly compressed.
   Especially since there is no application menu bar on Mac.
2021-08-24 15:35:38 +01:00
Mark Liversedge
fecaad5cbf Titlebar/Toolbar icons
.. to replace current toolbar icons
2021-08-24 13:43:08 +01:00
Mark Liversedge
1e18321da7 User Chart UI tweaks
.. scaling maximum increased to x10 which helps on hi-dpi
   displays and the overview

.. slightly reduce the border on overview to make more of
   the available screen real estate.
2021-08-24 09:58:18 +01:00
Alejandro Martinez
524dad3f4d TcxParser - Handle files with missing Lap StartTime
Using the first Trackpoint Time as start_time.
Fixes #4015
2021-08-23 22:47:57 -03:00
Jérôme Launay
2096342fe4 Translation : Update French translation 2021-08-23 23:56:18 +02:00
Alejandro Martinez
15595090e7 Add Qt5OpenGL.dll to Windows installer
Required by f8cdbf3, both should be reverted together, if necessary.
2021-08-23 00:07:58 -03:00
grauser
bf2a1735ed FitRideFile : Add Giant and Scosche in manufacturers 2021-08-22 17:45:15 +02:00
grauser
78a4532793 FITRideFile : Add Device types
fix #4020
2021-08-22 17:30:30 +02:00
Mark Liversedge
31f51dbdd5 Toolbar Styling on MacOS
.. remove conditional for styling the toolbar on Mac. This is
   an artefact from the old "UnifiedTitleAndToolBar" which we
   no longer use.
2021-08-22 11:02:49 +01:00
Mark Liversedge
f4a14b6ac9 Athlete View Open Button rendering
.. not sure why, but the border was fugly. Tidied it up.
2021-08-22 10:26:02 +01:00
Mark Liversedge
33018aab77 Time Series User Chart plotting "Optimisation"
.. default to 5s smoothing for plotting time series (second by
   second samples).

.. if smoothing is applied we sample the smoothed data every
   3 seconds.

.. this reduces the number of points to plot to a 3rd and has
   a significant impact on plot/paint performance.

.. for those users that care about resolution they can set
   the smoothing to none, for those that don't they will
   get faster performance.
2021-08-22 08:41:14 +01:00
Mark Liversedge
81d59d4637 Fix overview data table paint on scroll
.. regression from 1297d76ee4 where the data table
   doesn't update on scrollbar moves.

.. this was because we optimised out unneccessary paints
   on mouse moves. But when we move the scrollbar we
   need to repaint the data table at the right position.
2021-08-21 18:04:08 +01:00
Mark Liversedge
6d3ae32e61 MacOS snafu for AthleteTab styling
.. no need to do any conditionals in stylesheet, and worse
   they break the styling anyway.
2021-08-21 17:08:42 +01:00
Mark Liversedge
5f548785ad ChartSpace wheel events more responsive
.. scroll by a larger factor, makes the scrolling feel
   far more responsive.
2021-08-21 16:47:24 +01:00
Mark Liversedge
1297d76ee4 UserChartOverviewItem paint events
.. the base class method ChartSpaceItem::sceneEvent() generates
   lots of paint events when the mouse moves about, and its
   mostly to repaint the top right corner.

.. for user charts this generates a lot of overhead that is
   99.99% unneccessary - so we now override this and do
   nothing.
2021-08-21 16:42:29 +01:00
Michal Powalko
f86bc6752e Add support for Garmin Forerunner 745 2021-08-21 13:01:58 +01:00
Mark Liversedge
f8cdbf3e39 Force ANGLE GPU acceleration on Windows
.. we know that opengl drivers for windows can be sketchy, so rather
   than not use opengl at all we insist on ANGLE at startup.

.. this is experimental and has been included as a single commit
   in the hope it will remain, but may be reverted if there are
   significant issues.
2021-08-20 13:32:03 +01:00
Mark Liversedge
e1ed960714 Another ChartSpace spanned tile layout tweak
.. to stop tiles that overlap by 1 pixel when including the spacing
   from being moved.
2021-08-20 11:30:33 +01:00
Mark Liversedge
39c135a29b Avoid translations in DataFilter expressions
.. as reported on the forums, translations can rename metric
   names inadvertently. We avoid this by using the untranslated
   names in datafilter expressions.
2021-08-19 18:49:14 +01:00
Mark Liversedge
efba58b509 Another ChartSpace spanning tile fixup
.. if a tile moves because it clashes with a spanning tile we need
   to repeat the process in case it clashes with another after it
   has been moved.

.. previously we moved on the first clash, but ignored any others.
2021-08-19 12:54:10 +01:00
Mark Liversedge
ba3c0bf34e UserChart Bar/Stacked show Category on legend
.. when hovering over a bar chart its sometimes useful to see the
   category name (x-axis) on the legend.
2021-08-18 20:05:05 +01:00
Mark Liversedge
e10aac4de4 UserChart support stacked bar chart
.. initial support, relatively basic but seems to work ok.

Fixes #4012
2021-08-18 16:15:26 +01:00
Mark Liversedge
7cc2219293 Axis group by fill zero for bar charts
.. when aggregating on a date axis we do not fill gaps
   e.g. when no rides for a period. This causes the bar
   chart to be somewhat misleading.
2021-08-18 08:40:10 +01:00
Mark Liversedge
29485aa327 Fix DIV0 crash in Overview
.. possible cause of crash reported on the forums.
2021-08-18 08:38:37 +01:00
Mark Liversedge
f9fa6ca401 Overview Data Table Sort incl. Files
.. when sorting the table we sorted all the columns that are
   visible to the user, but not the associated filenames
   that are used by clickthru, so clickthru would jump to the
   wrong activity.
2021-08-17 19:36:23 +01:00
Mark Liversedge
d57c3c9ce5 Fix TopNOverviewItem refresh when config changes
.. lookup metric when the configuration changes.
2021-08-17 18:44:42 +01:00
Mark Liversedge
0d2310e76a Overview Zone tile refresh
.. updates when config changes, not just at restart.
2021-08-17 18:24:00 +01:00
Mark Liversedge
d7ae5610cf Overview items respond to config changes
.. added configChanged() to base class

.. added calling configChanged() when preferences are
   changed and when the items config is updated.

.. updated MetaOverviewItem to use this, but also need
   to update the Zone and Best tiles too.
2021-08-17 17:45:21 +01:00