Commit Graph

15 Commits

Author SHA1 Message Date
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
0fcbbe1b77 Refactor MainWindow Part 2 of 5
Decoupled classes from MainWindow to reference Context
and Athlete (and introduced a couple of new headers).

We no longer pass around a MainWindow pointer to children
but pass a context instead.

There are still a few pieces left in MainWindow that need
to move to a better place;
    * Setting/clearing filter selection
    * Working with Intervals
    * Adding/Deleting Rides
    * Save on Exit

As mentioned previously there are lots of other parts to
this refactor left to do;
    * break MainWindow Gui elements into Toolbar and Views

    * migrate from RideItem and Ridelist to ActivityCollection
      and Activity classes that are not tied into gui elements.

    * introduce Application Context and AthleteCollection
2013-07-11 14:02:02 +01:00
Mark Liversedge
c56c5a9567 MainWindow Refactor Part 1 of 5
Breaking the MainWindow 'god object' into
separate classes for Athlete and Context.

Further updates will need to;
- break MainWindow Gui elements into Toolbar and Views

- migrate from RideItem and Ridelist to ActivityCollection
  and Activity classes that are not tied into gui elements.

- introduce Application Context and AthleteCollection

Once these are done we will be in a position to decouple
most classes from mainwindow and also introduce tabbed
athletes.
2013-07-07 15:50:28 +01:00
Alejandro Martinez
c7e6673e42 Enable translation of welcome text in BlankState.cpp and Wheelsize in Pages.cpp 2013-04-01 13:12:38 -03:00
Jaime
3984edb0e6 Icon Toolbar Memory Management
More minor fixups regarding memory leaks.
2013-02-11 13:50:01 +00:00
Mark Liversedge
0022140687 BlankState: Cosmetics
Just changed the icon for add device and tidied up
the icon sizing and button sizing a smidge. As ever,
tastes vary.
2013-02-06 12:35:27 +00:00
Mark Liversedge
1149d2327a BlankState basics completed
.. now closes train view blankstate when device added
and workouts have been imported.

.. and made the home and diary views have same buttons
as the analysis view. That may change in later releases
when we have planning functions.
2013-01-12 23:28:59 +00:00
Mark Liversedge
6f3f9cff10 Let user close blank state
The user can close the blank state screen and
can also click a checkbox to ensure it is not
shown again for this athlete.
2013-01-12 13:01:37 +00:00
Mark Liversedge
e63e113c4f Remove BlankState menu 2013-01-11 19:41:16 +00:00
Mark Liversedge
6b54c6a892 UI Nits: BlankState cosmetics
Just wordwrap the labels gives more screen estate to
the right side image making it less likely to be out
of proportion with the text size.

Also changed disc to disk in one of the narrative
texts. Maybe its a 'British English' thing tho ;)
2013-01-08 21:22:56 +00:00
Mark Liversedge
97fd43818a Linux fixup for BlankState
Nothing major, just setting no focus on buttons since
it gives them a salmon pink color, which is pretty nasty
on the 'img' button.

Did I mention that I love this new feature?
2013-01-07 19:37:08 +00:00
Mark Liversedge
afd298827f Add ErgDB to train view blank state
Allow the user to download workouts as well as
scan disk for workouts (they are not likely to
have any workouts of their own).
2013-01-07 13:37:37 +00:00
Mark Liversedge
05b75dbcc3 Blank state train view action
Changed the second action to search for videos and workouts
rather than import. It makes more sense to setup the library
rather than import a single file.

We still need to change the conditions for the train view blank
state to no devices or no videos/workouts.
2013-01-07 13:23:36 +00:00
Damien
d350a3ca8a Add images for BlankStatePages 2013-01-07 12:49:55 +01:00
Damien
7f44159107 Blank state
Add a blank state for analysis window
2013-01-06 22:21:22 +01:00