Commit Graph

37 Commits

Author SHA1 Message Date
Mark Liversedge
d9eb2aec8c 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
a5b1058145 Fix delete/add ride bugs
.. fix a few SEGV!
2015-01-01 09:58:11 +00:00
Mark Liversedge
255f69c1ad 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
9cf024f946 Deprecate SQL metricDB
.. removes across the code base

.. need to fixup RideFileCache and Lucene refresh
   within the RideItem/RideCache framework, they will
   NOT be refreshed at present

.. need to look at how charts get refreshed on data
   changes now RideItem provides a more granular
   mechanism (look for XXXREFRESH in code)

.. New Intervals code will definitely NOT compile
   and needs to be redesigned/reimplemented to fit
   in with the ride cache
2014-12-24 20:24:34 +00:00
Damien
e3c23999e8 IntervalSidebar: Add bests navigator 2014-11-16 12:33:44 +01:00
Damien
534ef98a01 IntervalView: Add a new intervals View 2014-11-12 22:29:40 +01:00
Mark Liversedge
98f25553cb Fix Column Widths Nit
.. in ride navigator for new athlete
2014-07-29 23:24:28 +01:00
Mark Liversedge
5a88a7b74c Fixup QTextEdit stylesheet
.. different on metadata to everywhere else !
2014-06-15 15:04:32 +01:00
Mark Liversedge
e858af7aeb CPLOTGRID used for Metadata Borders
.. starting to see a pattern now of which colors are
   meaningful .. should look at rationalising this
   in v3.2
2014-06-15 12:19:55 +01:00
Mark Liversedge
6173f5dac7 Apply stylesheet to ride metadata
.. and tidy up a few nits here and there
2014-06-15 11:49:43 +01:00
Mark Liversedge
9dc9a68753 Slightly wider scrollbars
.. 4px is too small.
2014-06-01 20:47:39 +01:00
Mark Liversedge
bafeb42b97 Scrollbar hover highlight
.. on Non-Mac.
2014-06-01 20:38:43 +01:00
Mark Liversedge
d1048afe81 Fix RideNvigator coloring
.. first one goes invisible
.. hover didn't highlight
2014-06-01 19:30:10 +01:00
Mark Liversedge
72c4c9fe4a RideEditor Cosmetics
.. scrollbars tidied up
.. ugly grid lines removed altogether
2014-06-01 10:04:31 +01:00
Mark Liversedge
3f22ed3a36 Sidebar RideNavigator show/hide glitch
.. we needed to manually tell it to adjust columns
   since we turned off adjusting on window resize
2014-05-27 21:40:09 +01:00
Mark Liversedge
32fe7e09cd Fixup Ride List Background Scroller
.. when change colors
2014-05-26 15:13:19 +01:00
Mark Liversedge
9072cf345c Fixup RideNavigator heading glitch
.. the headings get resized as the mainwindow is
   resized, when they shouldn't -- the sidebar is
   getting resized twice - once on mainwindow
   being resized and then our code fixing it back.

.. we now only set those widths on the mainwindow
   when we are told to by TabView::splitterMoved()
2014-05-26 12:52:39 +01:00
Mark Liversedge
cb953b348f Fix Sidebar width resize
.. a regression from the mainwindow refactoring
   earlier this year.

.. when the mainwindow resizes the splitter should
   stay at the same size on the left.
2014-05-26 12:00:43 +01:00
Mark Liversedge
6fafb922df More modest scrollbar handles
.. and making it easier to apply globally with a new
   static member of TabView to return the style sheet.

.. we may extend this to cover the application more
   broadly.
2014-05-26 11:01:49 +01:00
Mark Liversedge
9432c012d2 Prettify Scrollbars for Windows
.. as well as for Linux as done earlier today.
2014-05-25 15:54:00 +01:00
Mark Liversedge
739baf024a Oh. Only Linux for Scrollbars
.. Windows looks HORRIBLE.
2014-05-24 14:16:08 +01:00
Mark Liversedge
e6f933b431 Less Intrusive Sidebar Scrollers
.. but still want an 'on hover' scrollbar
   for the ride list.
2014-05-24 13:55:19 +01:00
Mark Liversedge
fb70e89f33 Compare Intervals now Compare Rides and Intervals
.. changed the title of the compare pane to reflect the
   fact you can drop rides or intervals and compare both.
2014-02-20 09:48:31 +00:00
Mark Liversedge
00360afb10 Fix sidebar sizing bugs
.. part of the refactor of mainwindow saw the sidebar
   sizes independently set and therefore using different
   settings.

.. we now use the old setting if first time through, or
   if first time run for athlete set a sensible default.
2013-12-05 18:23:53 +00:00
Mark Liversedge
c700d7b3d9 Toolbar/Menu update when Compare Pane Show/Hide
.. if the compare pane is automatically shown or hidden
   due to the user dragging and dropping the menu and toolbar
   got out of sync with the status of the widget.
2013-12-02 17:48:48 +01:00
Mark Liversedge
6d791f84a8 Compare Pane Mechanics
.. compare pane now appears and disappears on both
   the analysis view and home view

.. it also is notified of drag/drop events and can
   accept the objects dropped

.. it is now time to write the widget for collecting
   and managing compare sets
2013-12-01 10:28:27 +00:00
Mark Liversedge
f3450e92b7 Fix auto show/hide compare pane on drag/drop
.. now the compare pane will appear and disapear
   when the user drags and interval / season into
   the view.

By fixing the way we handle QDragLeaveEvents in the
code in TabView.h ViewSplitter.
2013-12-01 00:19:59 +01:00
Mark Liversedge
d16b86ba68 Compare Show Animation
.. need to fix hide timeout animation but do that
   later tonight.
2013-11-29 07:20:35 +01:00
Mark Liversedge
c10b9c89c1 Compare Pane 'hpos' property
Introduce an hpos property on TabView::mainSplitter so we can use
an animation to make the compare pane slide up and down when
arriving and leaving.

Will add the animation shortly, just pushing to save updates.
2013-11-29 06:40:44 +01:00
Mark Liversedge
b5ac7d0068 Basic Compare Pane Hide/Show
.. just committing before adding animation and the compare pane content.
2013-11-28 21:07:43 +01:00
Mark Liversedge
cbad504c86 Remove MainWindow from TabView.cpp 2013-08-19 21:47:57 +01:00
Mark Liversedge
55996463ac Train Controls Temporary hack
.. to at least be able to start/stop a workout
   will fixup over the next few days to make a
   more professional controls overlay.
2013-07-28 20:34:09 +01:00
Mark Liversedge
12b9792426 BlankState fixup for MainWindow refactor
.. reintroduced it whilst moving the logic to
   TabView and BlankStatePage.
2013-07-28 17:33:49 +01:00
Mark Liversedge
dd966ded71 Refactor fixup resize
.. it was not possibe to resize the window because
   the blankstate page was too big.

.. blankstatepage is hidden for now until we fix the
   logic for it in TabView
2013-07-28 10:04:19 +01:00
Mark Liversedge
ed2bdc5d3a 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
a5a13668cd 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
c65aa66276 Checkpoint TabView commit
Part 4 of the MainWindow refactor is moving the code for the
4 views (Analysis, Train, Home, Diary) out of MainWindow and
into a separate set of classes.

TabView is the base class for the 4 views and the basic code
is in this commit, but now need to work on the 4 derived
classes for Analysis, Home etc and the controller class 'Tab'.
2013-07-27 10:29:26 +01:00