Commit Graph

91 Commits

Author SHA1 Message Date
Joern
1a8d683303 Store GC Settings in multiple .INI files instead of system specific (Registry, PLIST,..) format
... change storage format to .INI files (which is QTs cross-system format)
... differentiate between System, Global and Athlete specific settings
... store the Global Settings in the AthleteDirectory (root)
... store the Athlete specific Settings in the Athletes Names subdir /config
... migrate existing Settings from current location into new formats "on-the-fly"
2015-09-19 11:13:17 +02:00
Mark Liversedge
e98212017b Fix "Chrome" default
.. Mac on Mac before Yosemite (when its flat)
.. Flat everywhere else
.. Use a lighter color
2015-07-31 09:31:15 +01:00
Mark Liversedge
f2ee3cb7c3 Celebrate the TdF with a new color scheme. 2015-07-30 23:08:10 +01:00
Mark Liversedge
70b2163454 Force Chrome on Yosemite
.. to match the flat look of Yosemite (i.e. not metal) and
   to match the fixed colors for the title bar.
2015-07-26 17:18:30 +01:00
Mark Liversedge
2f7cb429ad Minor cosmetic tweaks for Core Temp
.. disappeared on plots for numerous reasons
.. now has its own color config
.. chart axis tweaked to be more appropriate
2015-06-21 15:25:09 +01:00
Mark Liversedge
16f13542f2 Set default chrome on Yosemite
.. to match the new UI.
2015-06-01 10:50:11 +01:00
Mark Liversedge
1ef8910db8 Add DPI Scaling Factor
.. set when on a Windows platform, but not used.

.. when testing on a QT 5.4 release the font metrics appear
   to take the scaling factor into account, but adding the code
   for compatibility in the future (if we need it)
2015-04-07 17:54:51 +01:00
Mark Liversedge
fb994fa5e7 Rename Ride to Activity
.. across the code, except where it clearly is a ride
   e.g. importing PowerTap or SRM
2015-01-30 10:59:56 +00:00
Mark Liversedge
07a6af5904 Fix Apply themes for Trend background color
.. will still need to set to sensible default as
   part of the upgrade process.
2015-01-23 16:00:52 +00:00
Mark Liversedge
c934e8b4d0 Aesthetic Tweaks
.. tile mode highlights on mouse over for a more
   fluid feel, and better feedback

.. can customise the trend view charts background

.. fixed a SEGV on apply preset in chart setup

.. this is part of a set of updates to update the
   standard setup to be more complete so the user
   can pretty much run off a standard config.
2015-01-23 12:06:03 +00:00
Mark Liversedge
8cfd02f8b5 Notify config changed - APPEARANCE
.. Needed to move about some of the color config
   methods and remove the unneeded object from
   mainwindow and initialise global color settings
   in main() instead.
2014-12-31 12:36:18 +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
Claus Assmann
35eb416bd2 Fix comment spelling errors
.. lots of them !
2014-11-24 15:37:56 +00:00
Mark Liversedge
17f23f8b28 Add HHb and O2Hb derived series
.. to split oxy/deoxy haemoglobin
.. need to add to ride chart too
2014-10-23 20:14:27 +01:00
Mark Liversedge
223ee29b89 Customise Colors for New Series
.. Moxy smo2 and thb
.. Garmin Running Dynamics
.. Gear Ratio
2014-10-16 18:33:25 +01:00
Joern
b6d4f3fa2b All-Plot - Add "Slope" and "Alt/Slope" curves
... add "Slope" curve based on Slope Data in Ride Files (with separate
new color)
... add "Alt/Slope" curve based on "Altitude" data series
... sections on "Alt/Slope" have 3 options -  1min/100 m OR 5min/500 m
OR 10min/1000 m
... color / slope assignments are defined in AllPlotSlopeCurve (to look
it up)
... if a plotted section is wide enough the slope % (distance) / VAM
(time) value is shown above
2014-09-30 12:41:06 +02:00
Mark Liversedge
4b1a31891c OOps. Colors for last commit
.. used wrong version, this is more in keeping with the
   color approach and stock colors; darkGray and PLOTMARKER.
2014-09-25 19:22:48 +01:00
Mark Liversedge
6da909a7c7 Highlight best if today !
.. on the trend summary, if the best is for today then
   lets highlight it so it jumps out :)
2014-09-25 19:17:24 +01:00
Mark Liversedge
4e8cd2398c Classic theme accent color
.. made Fuschia to be a little more vibrant
2014-06-30 22:47:24 +01:00
Mark Liversedge
b1d4bd1239 Change 'Classic' theme
.. it needed color selections that worked better on
   a light background
2014-06-30 20:08:32 +01:00
gcoco
755ed97b6c Add missing semicolon 2014-06-29 04:20:35 -04:00
gcoco
7ed9d67e9b Fix case for dwmapi.h 2014-06-28 20:49:19 -04:00
Mark Liversedge
22e136f96f 3.1 Upgrade Processing Part 1 of 3
.. getting the upgrade code going, this just adds new functions
   for changing colors and themes and doesn't perform an upgrade

.. Part 2 will deal with W' and power.zones changes

.. Part 3 will deal with chart setup changes
2014-06-22 13:08:27 +01:00
Joern
fd61805bd7 Bikescore (TM) unique Handling (Part 2)
... have the same consistent handling for (TM) at all visible places
... do not allow Translation of BikeScore (since it's a TM and might
cause unexpected behavior)
... Have (TM) sign everwhere visible - only in Searches just use
"BikeScore" as Symbol
2014-06-11 18:55:23 +02:00
Mark Liversedge
334d46bf61 Compare Pane Table better color support
.. headings color and remove frame
2014-06-08 19:22:31 +01:00
Mark Liversedge
37b9c4c20e Darker flat chrome Linux/Win
.. makes for a better match to the chartbar and sidebar
   items when in flat mode and not on a Mac.
2014-06-08 15:51:27 +01:00
gcoco
b6910f4ffa Correct/consistent use of #include <windows.h> 2014-06-06 23:44:49 -04:00
Mark Liversedge
86570d7a30 Invert Color by Luminance
.. just added a GCColor::luminance() method ready for automatically
   selecting foregground colors in the application chrome.
2014-06-06 14:16:17 +01:00
Mark Liversedge
32ab055cab Mac now honours flat theme
.. but not sure its gonna be very popular !
2014-06-02 12:43:34 +01:00
Mark Liversedge
ef12c54382 Slightly wider scrollbars
.. 4px is too small.
2014-06-01 20:47:39 +01:00
Mark Liversedge
f08bfc9c4b Scrollbar hover highlight
.. on Non-Mac.
2014-06-01 20:38:43 +01:00
Mark Liversedge
fcea15fc92 Windows Style Part 3 of 3
.. flat colors based upon windows prefrences if on
   windows -- BUT ONLY if Dsmapi.h is available.
2014-06-01 15:33:23 +01:00
Mark Liversedge
5cb3ccf05d Window Style Part 2 of 3
.. apply Flat styling across all the widget painting

.. only use WHITE as the flat color for now, in part 3
   we will look at user customisation and updating the
   toolbar and sidebar buttons to also be flat.
2014-06-01 13:18:30 +01:00
Mark Liversedge
47dd807204 Window Style Part 1 of 3
.. refactor linear gradients out of the widgets
   such as toolbar, chartbar, sidebaritem etc

.. GCColor::linearGradient() now returns a gradient
   that is reused across the codebase

.. in Part 2 we will add a colour and flat style
   for the linearGradient

.. in Part 3 we will tidy up the styling for buttons
   and toolbuttons to adopt flat or metal styling too
2014-06-01 11:33:05 +01:00
Mark Liversedge
a7c0fdf48d More css scrollbar nonsense
.. making scrollbars less obtrusive in webkit.
   because? well, reasons.
2014-05-28 16:21:29 +01:00
Mark Liversedge
a1fc85740d Mac CSS Scrollbar fix
.. is invisible on a black background, so added an inset box shadow
2014-05-27 12:34:50 +01:00
Mark Liversedge
894c23287a Scrollbars on AllPlotWindow
.. made to look the same as everywhere else
   i.e. not clunky and ugly.
2014-05-26 20:05:04 +01:00
Mark Liversedge
daf81dfd35 Webkit scrollbar Mac styling
.. to match the Mac scrollbars in QT5
2014-05-26 19:32:05 +01:00
Mark Liversedge
2fbbcf19ed Tidy WebKit Scrollbars
.. to match the rest of the widgets
2014-05-26 19:18:44 +01:00
Mark Liversedge
ac7b2e0835 Merge branch 'master' of github.com:/GoldenCheetah/GoldenCheetah 2014-05-19 11:39:09 +01:00
Mark Liversedge
7c40ad2314 Notes keyword "Reverse" to set fg color
.. when color is used for background -- since they are independent
   of the plot colors etc in this case.
2014-05-19 11:38:14 +01:00
Mark Liversedge
25e0d8c18f Mustang theme highlight
.. was invisible, now made more obvious
2014-05-18 22:08:57 +01:00
Mark Liversedge
52c274c82e Tweak Alt default to light gray 2014-05-18 11:15:41 +01:00
Mark Liversedge
62efd6fd15 Added Schoberer Color Scheme
.. mimic colors used by SRMWin and the scheme is named after
   the founder of SRM Ulrich Schoberer
2014-05-18 11:11:53 +01:00
Mark Liversedge
38925d82e7 Extend Theme color coverage
.. to include power, cadence etc

.. this is particularly relevant for colors that need to change
   if we have a light background (e.g. power in yellow on white
   is almost impossible to see for some people)
2014-05-18 10:44:47 +01:00
Mark Liversedge
351580ae60 Fixup default color to use theme colors
.. in the ride list, calendar and mini calendar we now
   use the default color from the theme when there is no
   match on the keyword.
2014-05-11 11:44:35 +01:00
Mark Liversedge
71ca1365de Basic Themes Support
.. no doubt we will extend and refine this but at least you
   can select some basic prebuilt themes.

.. will need to add more as its a limited list but the basics
   are in place for now.

Fixes #855.
2014-05-03 18:18:42 +01:00
Mark Liversedge
ffb7907376 Compare Pane honours color prefs 2014-04-16 17:39:45 +01:00
Mark Liversedge
110d41654d Interval Summary Sidebar Colors
.. now honours the color settings too
2014-04-16 14:38:13 +01:00
Mark Liversedge
cc70788085 Add Vector/Rotor TE and PS data series
.. Added the torque effectiveness and pedal smoothness
   data series to the RideFile structures.

.. The only file formats that support it at this stage
   are Fit and  GoldenCheetah JSON.

.. As more file formats support it we will add it here.

.. The charts/editor now need to be updated to support
   these new data series.
2014-04-11 13:46:10 +01:00