Commit Graph

13 Commits

Author SHA1 Message Date
Mark Liversedge
c97eac67a2 Default Appearance Settings 1 of 2
.. The default appearance settings on new install or directly
   after and upgrade are terrible and create a poor impression
   for new users

.. This commit fixes up scaling, font selection and themes so
   that for a new install or directly after upgrade they are
   set to defaults that are sensible for the current release

.. It is expected that these defaults will change and extend as
   we implement new features and the UI evolves- so these should
   be used as a basis for defaulting in the future.

.. A second update is required to resolve issues with scaling in
   overview charts dependant upon the screen resolution
2023-05-25 08:44:43 +01:00
Alejandro Martinez
f8b2a04b30 One time Summary chart was deprecated when upgrading athletes
With the option to cancel to give the user a chance to backup
before upgrading or reinstall v3.5
Fixes #4191
2022-06-17 11:44:52 -03:00
Mark Liversedge
e34a36f98a V3.6 upgrade processing - reset theme
.. based upon current background plot color, so those with a
   preference for dark themes get the new dark theme and those
   with a preference for light get the new light theme.

.. making it mandatory will likely annoy some users but for the
   most part it will mean the UI will get updated to a more
   thoughtful color scheme.
2021-07-18 07:55:33 +01:00
Michel Dagenais
921e81fad8 Insure that Web pages are deleted before the Web Profile to avoir error messages (#3845)
When exiting, GC complains that the Web Profile is released before Web pages that refer to it with the message: "Release of profile requested but WebEnginePage still not deleted. Expect troubles !".
The Web pages are now released explicitly in the destructor to insure that they are freed earlier than the Profile.
Fixes #3844
2021-03-13 17:16:22 -03:00
Mark Liversedge
f4fcc93693 Deprecate WebKit Support
.. The NOWEBKIT define is no longer required to build.
   We now only support building with Chromium QWebEngine
2020-05-25 09:00:36 +01:00
Mark Liversedge
fd16a3e156 Fix 3.x upgrade process for compatibility metrics 2018-03-11 19:22:15 +00:00
Mark Liversedge
49d78e6c7b Remove TrainingPeaks Trademarks
.. renaming the 3 metrics they trademarked in 2013:

   TSS => BikeStress
   IF => BikeIntensity
   NP => IsoPower

.. this will break data filters, user formula and
   R and Python charts.

.. in the next commit will add user metrics to ensure
   backward compatibility.
2018-02-17 11:12:50 +00:00
Mark Liversedge
38000991b2 Cloud Refactor - Simplify Menu Options
.. share menu is now much simpler since:

   * twitter and calendar removed
   * individual upload/sync options removed
   * only shows sync/upload for configured accounts
2017-04-01 11:26:13 +01:00
Mark Liversedge
122132e85c Hi-DPI Support - Configure Font and Scale
.. just let the user choose a font and a scale.
.. we work out the base font for the display resolution
2017-03-20 20:17:56 +00:00
Mark Liversedge
9cd267338c Hi-DPI Support - Deprecate Metallic Style
.. looks horrible anyway, only folks on old releases of
   MacOS will be affected, and frankly, they should have
   upgraded by now.
2017-03-20 18:10:01 +00:00
Mark Liversedge
29ba062d37 Hi-DPI Support - Code sweep for fixed sizing
.. run through the entire code base looking for calls to
   setColumnWidth, resizeColumns, setFixedSize and replace
   with calls that apply dpiXFactor/dpiYFactor
2017-03-13 20:16:41 +00:00
Mark Liversedge
03f5a18735 Qt 5.6 Support - NOWEBKIT
.. remove Webkit dependency if the user adds the following
   to their gcconfig.pri: DEFINES += NOWEBKIT

.. at present the build disables:
   * Bing map
   * Google map
   * Ride Window
   * Street View

.. since QT 5.6 enables c++11 dependent libs may no longer
   compile with c++11 enabled (e.g. qwtplot3d)

.. this is experimental and in place to enable further work
   on deprecating the webkit dependency in GoldenCheetah v4.0
2016-03-20 13:25:00 +00:00
Mark Liversedge
4b5201c4c5 Restructure source directory
Introducing a directory structure to make it a bit less
daunting for new developers and perhaps even old hands.

The main folders all start with an upper character, so src
files are now located in;

* Core - Core data structures
* Gui - Main GUI elements
* Metrics - Models and Metrics
* FileIO - Device and File I/O
* Charts - All the chart types
* Cloud - Working with Web Resources
* Train - Anything Train View specific
* ANT - Our ANT+ Stack
* Resources - Images, Translations, Web etc

Apologies to anyone who needs to merge across this update.
2016-02-25 14:51:53 +00:00