Commit Graph

30 Commits

Author SHA1 Message Date
Mark Liversedge
b1db3dbe93 DataFilters: Summary should have a filter
Missed off by accident when filtering was added.

Fixes #536.
2013-03-30 09:54:58 +00:00
Mark Liversedge
3d7cf5303e Calendar sidebars now show multiple months
.. if you resize them they will show as many months
as they can fit vertically.

.. also removed the scrollbars in the summarys shown
in the diary and LTM sidebar

Fixes #503.
2013-03-11 19:44:45 +00:00
Damien
87d4630231 LTMSidebar: store/use last selected date range 2013-03-05 22:49:42 +01:00
Mark Liversedge
f266533e1b UI Nits: LTMSidebar Splitter simplify to menu
.. remove the + and - options.
2013-03-05 20:00:54 +00:00
Mark Liversedge
b41589da42 Fix Home Sidebar Season Editing
.. it broke when we moved from right click to splitter buttons.
2013-03-04 14:25:09 +00:00
Mark Liversedge
2a212878ec Fix SEGV on edit event details
.. part of migration from right click to splitter.
2013-03-04 14:07:17 +00:00
Mark Liversedge
f7f143270e Fix SEGV on add/delete event in LTMSidebar
.. need to use selected items, since its not always called via a
right click - there is a button on the handle for that now.
2013-03-04 09:23:41 +00:00
Mark Liversedge
dbd21d35e4 UI Nits: Sidebar remember their state
Rather than relying on the parent to maintain the splitter sizes
and states, the GcSplitter remembers its own state and sizing.

This includes remembering if the children have been hidden via the
icon bar at the bottom of the splitter.
2013-03-02 22:52:41 +00:00
Mark Liversedge
25121f515f UI Nits: Splitter icons adjust
The icons are adjusted via utility function iconFromPNG()
which currently just adjusts the icon color to be a muted
gray as opposed to black.

This is the first pass at recreating the 'template' function
used by the cocoa image functions. Will add an emboss feature
later, but at least now they are less vibrant and when clicked
turn black giving a visual clue that they are clickable.
2013-03-02 20:57:56 +00:00
Mark Liversedge
68cd0fb40e Splitter menu position and tooltips 2013-02-27 19:21:50 +00:00
Mark Liversedge
81f7e92316 UI Nits: Splitter decor
Moved icon bar back to the bottom and made Splitter handle
same size as scope bar.

The splitter handle paint artefacts were caused by splitter
size restore from before the "new" splitter. We will need to
rename all the settings to ensure we don't get incorrect sizes
for them in future.
2013-02-27 12:38:18 +00:00
Damien
e39412a984 UI Nits: Sidebar WIP
Move extra menu
2013-02-26 23:12:56 +01:00
Damien
8722d5fd2f UI Nits: Sidebar WIP 2013-02-25 23:33:22 +01:00
Mark Liversedge
30259af494 UI Nits: Sidebar WIP
.. some cosmetic and tidy ups for the recent sidebar WIP update
from Damien. Just trying to get clean look before making the icon
bar look more like the one in XCode and make the icons use the
Cocoa "template" look.
2013-02-25 13:19:50 +00:00
Damien
9a0b87ce7c UI Nits : Add a splitter control 2013-02-24 22:20:57 +01:00
Damien
ab53c581fc Sidebar : Use QSplitterhandle 2013-02-18 22:55:21 +01:00
Mark Liversedge
b9ee4a743c UI Nits: Sidebar cosmetics
.. MainWindow splitter color to bring in line with the new work
from Damien.
2013-02-18 19:37:05 +00:00
Mark Liversedge
e1ac0e8ce0 UI Nits: Seriously OCD 2013-02-18 17:36:09 +00:00
Damien
9426f11fde UI Nits: Add titlebar for splitters 2013-02-16 23:48:00 +01:00
Mark Liversedge
a40389fbc0 Fix metric/imperial in LTMSidebar
The code uses the old global metric/imperial selector rather than the
new athlete specific setting.

Fixes #483.
2013-02-13 11:01:14 +00:00
Mark Liversedge
e191b46205 Code Cleaning: LTM sources
Addressing or removing 'XXX' code alerts across the Long Term
Metrics source files.

This is part of a code cleanup prior to V3.0 release.
2013-02-07 12:04:44 +00:00
Damien
52567f0732 Re-order seasons with drag drop
fixes #445
2013-02-02 23:28:31 +01:00
Mark Liversedge
a0f117d6a0 LTM Sidebar add season
It wasn't possible to add a season until a user
defined season was available!! This fixes that.

We need to make the sidebar Splitter have titled
handles with actions like this on it (ala QtCreator).
There is a feature request open for this.
2012-12-25 12:03:18 +00:00
Alejandro Martinez
3afc4228af Enable PerfPlot and PfPvPlot translations
Also includes a minor change in LTMSidebar
2012-12-07 13:40:34 -03:00
Mark Liversedge
1ab0d147d5 LTMSidebar: Add season
Makes sense to let the users create seasons in the LTM sidebar
rather than have to go into preferences to do it.
2012-12-06 11:52:40 +00:00
Mark Liversedge
cf8d3b4bd8 UI Nits: LTM add chart use a default date range
When adding a chart to the home view no date range is set.
This update ensures that the last selected date range is
used, so when a chart is selected/configured some data
will be shown.
2012-12-02 18:10:26 +00:00
Mark Liversedge
5da877e305 Merge branch 'master' of github.com:/GoldenCheetah/GoldenCheetah 2012-11-29 14:52:05 +00:00
Mark Liversedge
273c4dde1a Mainain Events in LTM Sidebar
Add the ability to create and maintain events in
the LTMSidebar. This is a follow up to adding
support for Events in seasons.xml.

The last step is now to add support for annotating
charts to show the events for the date range selected
and possibly for the seasons within that date range.
2012-11-29 14:49:21 +00:00
Mark Liversedge
246c65312a Concise metric names in sidebars 2012-11-28 17:11:24 +00:00
Mark Liversedge
2dea77e1ae UI Nits: LTM Sidebar (Part 1 of 3)
We now have a date range selector in the sidebar.  The
sidebar has a date range selector and summary. It is
used to set the date range for the charts in the view.

As a result we can now add summary charts to the home view
and LTM/CP/Histogram charts to the Diary view. The weekly
summary chart is now deprecated.

Creating seasons has also been disabled on metric charts. We
will need to decide what clicking on an LTM chart should do,
and look at whether we want to keep the popup bubble or
adjust it.

There are some unfortunate performance degradations as a result
of this patch when selecting date ranges and switching between
charts in tab view. This needs to be addressed as a priority.

Follow up patches, part 2 and 3 will need to;
1. address performance degradations & cache results
2. introduce events in sidebar and as annotations on charts
3. implement click functionality on LTM charts (annotate vs
  define a new season/range)

NOTE: existing HOME, ANALYSIS and DIARY chart setups will need
      to be rebuilt since chart ids and properties have changed
      in this patch -- do not raise a bug until you have deleted
      and re-added the offending chart.
2012-11-26 20:20:36 +00:00