Commit Graph

2495 Commits

Author SHA1 Message Date
Mark Liversedge
7b9a4744f6 Fix Histogram window custom date selection
.. it wasn't updated properly when fixing custom
date ranges in LTM.

Fixes #509.
2013-03-11 10:06:27 +00:00
Mark Liversedge
5e212f5bf0 Speed up sidebar painting
.. by setting the linear gradient up in advance rather than
on every repaint.
2013-03-11 09:49:34 +00:00
Mark Liversedge
ff94f95d65 Use QT file dialogs on Linux
.. cause native are borked on Ubuntu.
2013-03-11 09:49:34 +00:00
Mark Liversedge
a8262c2cd8 Explicit memory allocation for CLucene
.. clutching at straws, but more explicit type declaration and usage to
try and resolve Win7 64bit issues with cross-compiled 32bit binaries.
2013-03-09 16:29:51 +00:00
Mark Liversedge
6083ecbb97 Fix sidebar groupby column names error
The visual headings are not reset when the view is reset, for
example after startup. This means the wrong columns are offered
on the activity popup menu for group by.

The resetView() function needed to call columnsChanged() to get
the visual headings reset.
2013-03-09 11:38:04 +00:00
Mark Liversedge
c8e145592d Less right-click on Activity list
.. group by and field chooser now appear on the
popupMenu in the sidebar.
2013-03-09 11:25:32 +00:00
gcoco
6d817c8c28 Added notes on the build
Basically pointed out you need QT 4.8 minimum and that use newer
libs if they exist from Windows except for libusb (0.1.12 required)
2013-03-08 17:20:41 -05:00
Mark Liversedge
a4cd35002a Fix custom date range muddle when groupby weeks
.. the start date would progressively change as you selected a
date range in the sidebar. This is because the code to set the date
range to the start of a week looked at the wrong date variable when
using a custom date range.

Fixes #500.
2013-03-08 15:24:03 +00:00
Mark Liversedge
f4949df9ea LTM tooltip for groupby weeks is misleading
.. it lists start date for this week to start date for next week
.. now changed to say 'Week commencing <date>'.

Fixes #501.
2013-03-08 12:50:42 +00:00
Mark Liversedge
512232d3d6 Fix rename interval SEGV
.. when called from popupMenu.
2013-03-08 07:26:27 +00:00
Mark Liversedge
cb49d94a20 UI Nits: Splitter interval functions
.. final piece of the jigsaw, interval popup menu.
2013-03-07 20:54:40 +00:00
Mark Liversedge
bc191cc5fb Add support for deleting videos
.. but only deletes references and db entry
.. we do not delete from the filesystem -- need to add a dialog
   to ask the user to confirm deleting the file from disk.
2013-03-07 15:23:43 +00:00
Mark Liversedge
0104c32440 Add function to delete workouts
.. in train view we could add workouts but never delete.
2013-03-07 14:34:47 +00:00
Damien
d2e3be3bd3 LTMSidebar: store/use last selected date range 2013-03-05 22:49:42 +01:00
Mark Liversedge
453112693e Dumbass spelling mistake. 2013-03-05 20:13:19 +00:00
Mark Liversedge
0ae9e1f1ca UI Nits: LTMSidebar Splitter simplify to menu
.. remove the + and - options.
2013-03-05 20:00:54 +00:00
Mark Liversedge
3bac8cd4fc UI Nits: Simplify splitter to just one menu
.. instead of + and - and menu.
2013-03-05 19:47:54 +00:00
Damien
b8b32a568f Strava upload: Use TCX format to handle stationary trainer ride 2013-03-04 23:26:13 +01:00
Mark Liversedge
facde109e0 UI Nits: Analysis view menu only
.. need to fix up the event but at least got the code in.
.. still needs the menu implementing.
2013-03-04 22:10:12 +00:00
Mark Liversedge
95d84b4d7c UI Nits: TrainTool splitter shortcuts 2013-03-04 20:42:15 +00:00
Mark Liversedge
4db9a86ee5 UI Nits: Splitter actions for TrainTool Devices
.. add and delete devices.
2013-03-04 16:00:11 +00:00
Mark Liversedge
1a55714d44 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
c2f4136da3 Fix SEGV on edit event details
.. part of migration from right click to splitter.
2013-03-04 14:07:17 +00:00
Mark Liversedge
64f95350b4 Code Cleanup: Strava download Xcode warning
.. adding a number to a string.
2013-03-04 13:48:47 +00:00
Mark Liversedge
bb4cb0fdcd 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
d0c11692c4 UI Nits: Groove highlight line
Seriously OCD / attention to detail, adding the highlight line
on the scope bar, icon bar and splitter handle. Most folks wouldn't
even notice it.
2013-03-03 22:31:05 +00:00
Mark Liversedge
4d9264e034 UI Nits: Emboss Splitter + - menu icons
.. changed icons since they don't emboss well algorithmically
(yeah, the algorithm is very basic for now).
2013-03-03 20:03:12 +00:00
Mark Liversedge
0723d22dc7 UI Nits: Center Icon Bar 2013-03-03 15:23:05 +00:00
Mark Liversedge
37fd29c612 UI Nits: Images embossed
.. akin to the NSImage 'template' function we now pre-process
the GcSplitter icons to get a shaded and embossed look. Its a bit
clunky code, but its only run at startup.
2013-03-03 14:58:16 +00:00
Mark Liversedge
324cd9af3e UI Nits: Stop unhiding the sidebar
.. when switching views. It seemed like a good idea at the
time, but now it is really irritating. If I want the sidebar to
be shown I'll select it thanks.
2013-03-02 23:00:32 +00:00
Mark Liversedge
732c54957e 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
54600b6c1c 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
2f7c86bd2c UI Nits: QSplitter colors on Linux
.. just adjusted to be more Gnome friendly.
2013-03-02 18:15:35 +00:00
Mark Liversedge
c04ec45363 Fixup sidebar cosmetics for Linux
.. embossed offset is 2 there too.
2013-03-02 17:37:14 +00:00
Mark Liversedge
3457dd31b9 UI Nits: QSplitter cosmetics
.. prettified on a Mac.
.. still need to work on icons
2013-03-02 16:57:37 +00:00
Mark Liversedge
4aaa2aae4c Merge branch 'master' of github.com:/GoldenCheetah/GoldenCheetah 2013-03-02 09:27:05 +00:00
Mark Liversedge
b437abee32 LTMPlot fix baseline setting
.. it was lost when fixing bar style drawing.
.. maybe we should also allow fill under curves?
2013-03-02 09:26:11 +00:00
Mark Liversedge
82eecce8f9 Mac Sidebar button in toolbar
Button to toggle sidebar, also changes as we manually close
the sidebar by dragging, similar to behaviour in XCode.
2013-03-01 13:17:05 +00:00
Mark Liversedge
89f4d5adbb Mac sidebar button image
.. as template image for NSButton
2013-03-01 10:49:29 +00:00
Damien
6b4c88320f UI Nits: Sidebar, invisible root item for intervals 2013-02-28 22:49:28 +01:00
Mark Liversedge
9fbfcc51f8 Merge branch 'master' of github.com:GoldenCheetah/GoldenCheetah 2013-02-28 18:53:03 +00:00
Mark Liversedge
5b78cf62f4 Allow manual collapse sidebar
.. but need to add a toolbar button for Mac since the
old show/hide button on the scope bar has been removed
since it is now in the wrong place.
2013-02-28 18:51:47 +00:00
Mark Liversedge
2ab7ac9e04 Remove german translations for weekly summary 2013-02-28 09:50:26 +00:00
Mark Liversedge
8c5b2de715 Merge branch 'master' of github.com:/GoldenCheetah/GoldenCheetah 2013-02-28 07:18:30 +00:00
Mark Liversedge
12c8e29627 INSTALL-MAC libusb instructions
Now include the patch required to get a compilation
going. Thanks to Gareth for the link.
2013-02-28 07:16:10 +00:00
gcoco
d17197f3f8 Add Garmin Edge 810 2013-02-28 00:37:23 -05:00
Mark Liversedge
8f73340dee Splitter menu position and tooltips 2013-02-27 19:21:50 +00:00
Mark Liversedge
b3cfa84add New sidebar splitter on Analysis and Diary 2013-02-27 16:03:56 +00:00
Mark Liversedge
f56538d8b7 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
gcoco
7b7d69e264 Added Garmin Edge 510 2013-02-27 06:10:59 -05:00