Commit Graph

24 Commits

Author SHA1 Message Date
Mark Liversedge
4b271749a0 Diary Sidebar highlight current month
.. signpost what we've selected
2015-01-23 17:46:25 +00:00
Mark Liversedge
24500c3700 Diary Sidebar refresh during background update
.. colors change on sidebar calendar as the rides
   are processed.
2014-12-30 10:39:59 +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
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
Mark Liversedge
31c9f6151e Migrate DiarySidebar to use RideCache
.. in the month/week summary.
2014-12-17 15:53:01 +00:00
Joern
0610575a7c Enable Context Help (Shift+F1) using "QT's - What's This"
... adds "What's this" to (hopefully) most of the widgets (please report
on missing ones)
... defines draft "Whats' this" texts including a
context specific WikiLink

.. Help Key for all platforms is <Shift>+<F1> + in some widgets
"RightMouse - Click"

... Tested on Win and Mac (On Mac QtMacButton seems not supporting
"What's this") - so here <Shift>+<F1> has no result.

... ToDo: Create final texts and links based on the to be updated 3.11
Wiki
2014-12-14 18:55:42 +01:00
Mark Liversedge
9b5065dc34 Migrate getAllDates()
.. from DBAccess to RideCache
2014-12-12 10:24:15 +00:00
Mark Liversedge
d7e8a23794 Sidebar summary honor color changes
.. was not being redrawn when the color preferences changed.
2014-06-19 13:17:05 +01:00
Mark Liversedge
f8d9ce31dc Fix calendar colors
.. broke in last commit
2014-06-06 16:26:27 +01:00
Mark Liversedge
8d071338ef Better handling of dark chrome
.. if you have flat style and choose a dark color the
   chartbar and sidebars now use colors that make it
   possible to actually read the text
2014-06-06 15:43:59 +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
Joern
cc098229b2 Translation Enablement + some small changes
...ConfigDialog.cpp
- -Increase overall size of window (for NON Mac only so far) - this
eases the translation as in non EN languages

... Pages.CCP
- Changed 2 fixed button sizes (to allow proper translation)
- Correction: if Directoy Browsing was Aborted without selection - the
previous value was deleted
- Chooses the 2nd column to search for "New" text in case of 2 text
colums (short and long)
- All the rest Translation enablement

...DiarySidebar.cpp
- enable translation of date formats

(cherry picked from commit 3bbc68a277e743e610630795bb60dc515ced0355)
2014-05-19 19:42:14 +02: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
ecf44d16c5 MultiCalendar Sidebar honors color prefs
.. phew .. that was tricky !
2014-04-16 23:07:51 +01:00
Mark Liversedge
078f0e0a14 Train Sidebar / Diary Summary Colors
.. now honour user preferences

.. just the calendar to fix
2014-04-16 15:57:31 +01:00
Mark Liversedge
fe44157dec Diary View Defaults
.. default to summary of the month

.. so now group by week
2014-01-31 17:33:03 +00:00
Mark Liversedge
06242db844 Revert "Fixup Mac toolbar for Qt5 and Qt4 build"
This reverts commit 20739ebb29.

Qt5 has a number of issues that cannot easily be resolved.

An alternative strategy of developing a custom cocoa control
for the mac toolbar is probably a better way forward.
2013-12-21 22:29:24 +00:00
Mark Liversedge
20739ebb29 Fixup Mac toolbar for Qt5 and Qt4 build
.. should be a bit better now.
2013-12-21 21:08:21 +00:00
Mark Liversedge
9473e28200 MainWindow Refactor Part 4 of 5
Split the views in MainWindow into separate classes;

* Tab is a collection of the 4 main views

* TabView is a base class for all of the 4 view types

* {Analysis,Train,Diary,Home}View are all derived from
  TabView and deal with specifics of those views (e.g.
  Diary/Home worry about date ranges).

We should be ready to move to tabbed athletes soon.

There are a few nits left for this part of the refactor
that will need to be resolved in some fixups over the
next few days;

* tile mode segment selector has wrong segment selected
  when the view is in tile mode.

* Minimum height/width of MainWindow is large for some
  reason

* the Train view controls (play, ffwd etc) have nowhere
  to go at present -- need to fix that !!!

* When you resize the mainwindow width the sidebars expand
  and should remain a fixed width

* not sure if it will build on Windows or Mac!
2013-07-27 21:41:03 +01:00
Mark Liversedge
0a51fdebb5 Move filters from MainWindow to Context
.. we notify search/filter updates via context rather
   than MainWindow
2013-07-27 13:51:09 +01:00
Mark Liversedge
bc4a6d978e Introduce AnalysisSidebar widget
Moving the code intertwined into MainWindow for
the analysis view sidebar; activity list, intervals
and calendar into a new AnalysisSidebar class.

                WARNING!

This is a work in progress checkpoint commit
as the sidebar menus and context menus have
not yet been migrated out -- this will be done
in the next commit or two.
2013-07-15 22:24:31 +01:00
Mark Liversedge
7f1a6dafef Deprecate the Bubble
.. its hideous and really annoying.
2013-07-14 21:18:10 +01:00
Mark Liversedge
d21ca376be MainWindow Refactor Part 3 of 5
Slowly migrating code  and data from the MainWindow
class to Athlete and Context classes.

This update moves the ride and interval lists and
data structures from MainWindow to Athlete.
2013-07-13 19:46:03 +01:00
Mark Liversedge
ac463538c1 Rename GcCalendar as DiarySidebar
.. as we tidy up the views and decouple them from MainWindow
2013-07-13 09:38:54 +01:00