Commit Graph

2319 Commits

Author SHA1 Message Date
Mark Liversedge
e322818d0e Update docs for build
.. to run qmake -recursive from the top level directory
to ensure subdirs Makefiles are regenerated.
2013-02-06 18:56:52 +00:00
Mark Liversedge
f2f22dbf1a replace tabs with spaces
.. in TrainTool.cpp
2013-02-06 16:03:40 +00:00
Mark Liversedge
5a32d0d472 Merge pull request #473 from jjofre/master
Restore load/gradient after done with calibration
2013-02-06 07:59:18 -08:00
Mark Liversedge
f527d8e5c2 Fix compiler warnings
All are harmless but for the sake of clarity have
fixed them all bar a couple;

- Lucene grumbles about signed/unsigned conversion which
  is/isn't valid depending upon the version of CLucene you
  compile with. Either way it is harmless.

- QxtScheduleView has a bunch of issues, but since it is a
  third party widget its better to leave it unchanged.
2013-02-06 15:54:32 +00:00
Jaime
68467d3988 Restore load/gradient after done with calibration 2013-02-06 10:51:23 -05: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
a73e1521fe BlankState: Analysis view more blanks
- Better handling of a NULL ride for most of the analysis charts
- Don't show activity editor if no data rows to edit
2013-02-06 11:48:52 +00:00
Damien
798a0b2888 PfPvWindow : Double Click
Update edit values for CP et CAD after double click
2013-02-05 23:37:46 +01:00
Damien
fa6eaa0601 UI Nits: PfPvWindow double click to change quarters (CP and cadence) 2013-02-05 23:20:11 +01:00
Mark Liversedge
0160abe9f2 BlankState: Minor cosmetics
.. changed the image to be fainter and smaller
.. the text to be larger and bolder
2013-02-05 21:55:32 +00:00
Mark Liversedge
44c0199259 Chart Settings menu is All Chart Settings
.. to differentiate from the reveal settings which
are just a small subset of the chart settings.
2013-02-05 15:59:54 +00:00
Mark Liversedge
5e5df7dc2b RideEditor: Stop hiding controls
The find dialog and anomalies list are now available
from the ride editor toolbar and not hidden in the
chart controls.

As a result the ride editor no longer has any chart
controls and so they are removed altogether.
2013-02-05 15:55:25 +00:00
Mark Liversedge
1945183ce3 Don't hide Histogram when in range mode
When plotting distribution for a date range instead of
for a specific activity we should not hide when the current
ride has no data (since we are plotting a range not the current
ride).
2013-02-05 13:35:34 +00:00
Mark Liversedge
791f84d51f Add reveal controls to LTM chart
Allows user to quickly change the settings for
- group by (week, month, year etc)
- shading (power / hr zones)
- show events (chart markers)
2013-02-05 13:23:23 +00:00
Damien
8cee30f9f7 BlankState : ScatterWindow
Blank state only if no ride or no data point
2013-02-04 22:37:46 +01:00
Damien
35ce51a583 BlankState: No data available for PfPvWindow
Use the default blank state in PfPvWindow when data not present
2013-02-04 22:22:49 +01:00
Damien
d91576ff5f BlankState: No data available for AllPlotWindow
Use the default blank state in AllPlotWindow when data not present
2013-02-04 22:12:40 +01:00
Damien
72aad14755 BlankState: No data available for HrPwWindow
Use the default blank state in HrPwWindow when data not present
2013-02-04 22:02:51 +01:00
Damien
7fbd88390a BlankState: No data available for HistogramWindow
Use the default blank state in HistogramWindow where data not present
2013-02-04 21:54:37 +01:00
Mark Liversedge
3f7cf132bb LTM Show Events Checkbox
Adds a checkbox to the LTM plot to enable and
disable the plot markers for season and events.
2013-02-04 12:51:30 +00:00
Damien
7910e07e51 Blank State : default image for no data available 2013-02-04 07:46:31 +01:00
Damien
d5bc0f4ce7 Blank state : no GPS image for Google Map
Add an image when no GPS data present
2013-02-03 23:11:56 +01:00
Damien
05a5d91036 Translation update
Use metric symbol insteed of name for summary metric data
2013-02-03 21:55:05 +01:00
Damien
9ff04bf9f8 Re-order seasons with drag drop
fixes #445
2013-02-02 23:28:31 +01:00
Mark Liversedge
3149287b12 Fix compile time error for WF API 2013-01-30 22:34:25 +00:00
Mark Liversedge
c4c490181b BT40 device discovery fixups
A few fixups for BT40 discovery, we now search for BT40
devices properly.

- delete BT40 properly
- scan for longer
- return count of total found
- a few fixups to logic in AddDeviceWizard

Now need to update the pair screen to let the user
select/deselect sensors that are part of this "device".

Then obviously update the BT40/Controller for runtime
activity (and filter out the RFLKT since it will have
its own device type.
2013-01-30 21:39:16 +00:00
Mark Liversedge
c599058930 BT40 AddDeviceWizard updates
Just a checkpoint before BT40 pair updates to connect with
each found sensor and display current data on the pair screen.

This is so the user can select the devices they want to be
included in this device definition (if they have lots of
BTLE devices).

I guess this is gonna mostly be dcrainmaker and wahoo employees!
2013-01-30 13:39:07 +00:00
Mark Liversedge
f67aca2ffb BT40 / Kickr device discovery
Ensure the Kickr and BT40 devices can co-exist by
ignoring subtypes.

Also introduced a deviceFound signal so we can get a
device pairing page for BT40 (non-Kickr) devices.
2013-01-30 10:47:01 +00:00
Mark Liversedge
9a4919a210 BT40 Skeleton code
To enable support of BTLE (BT 4.0 'smart') devices
as well as the Kickr.

Very basic skeleton code to get started. Will need
to;
- add a BTLE 'pair' in AddDeviceWizard
- use profile not portspec for the uuids
- filter out RFLKT and KICKR as they have their
  own device types
- fixup BT40.cpp which is KICKR code in this commit
2013-01-29 20:28:43 +00:00
Damien
daf4090a4d Show picker info in CriticalPowerWindow
Correct previous commit
2013-01-28 23:26:03 +01:00
Damien
aacaf134e6 UI Nits: GcChartWindow for CriticalPowerWindow and ModelWindow 2013-01-28 22:49:02 +01:00
Mark Liversedge
b58c30ba5c Merge branch 'master' of github.com:GoldenCheetah/GoldenCheetah 2013-01-28 21:42:13 +00:00
Mark Liversedge
7df0e21895 WF Api support multiple connections
Changed the WF API wrapper to return a sensor connection
descriptor (int) in the same way open/close system calls
return a file descriptor.

This means we will be able to setup multiple connections
at once .. but not neccessarily in separate threads.
2013-01-28 21:40:00 +00:00
Damien
8a09997b45 UI Nits: GcChartWindow for PfPvWindow and HrPwWindow 2013-01-28 21:40:22 +01:00
Mark Liversedge
5a1747c499 Kickr autorelease pool when scanning
.. in AddDeviceWizard we need an autorelease pool
when doing the scan.
2013-01-28 20:28:39 +00:00
Mark Liversedge
15e1ab5d79 Kickr BTLE connection fixup
No need to scan first, connect directly to
the previouslt paired device uuid.

By no longer scanning we can have multiple
threads connecting at once without conflicting
with each other.
2013-01-28 19:43:00 +00:00
Mark Liversedge
d934c39472 Fix all plot reveal size
My bad -- added padding at the top a while ago when
trying to fix another issue. Then forgot to remove it
afterwards.
2013-01-28 08:54:50 +00:00
Mark Liversedge
a9692aa1ea tabs to spaces
.. in Computrainer.cpp and TrainTool.cpp
2013-01-28 07:17:45 +00:00
Mark Liversedge
7d722ce733 Merge pull request #469 from jjofre/master
Computrainer fixes for Gradient/Slop Mode and Misc default
2013-01-27 23:16:26 -08:00
Damien
b19d8b0769 Hide reveal control after animation
Update HistogramWindow reveal controls
2013-01-28 08:04:29 +01:00
Jaime
3c942ccc9f Fixes in CT support to ensure Gradient/Slope is being defaulted and updated properly between the CTConroller and TrainTool.
Fix to preselect ERG mode in workoutTree.
2013-01-27 22:02:52 -05:00
Jaime
938b94f995 Noticed that slope was not being initialized to 0.0, so reworked the constructor ro initialize the variables in the order they are listed in RealtimeData.h 2013-01-27 21:57:00 -05:00
Damien
e2cf82e5ac UI Nits: Reveal controls for GcChartWindow
Add a new Class GcChartWindow with reveal widget and animations
2013-01-27 23:11:18 +01:00
Mark Liversedge
44bb468d59 Merge pull request #468 from jjofre/master
Added removal of double quotes from Racermate TXT data files
2013-01-27 13:00:22 -08:00
Jaime
fabdfa2257 Racermate test TXT file with double quoted data 2013-01-27 15:50:06 -05:00
Jaime
7bb034e678 Added removal of double quotes from Racermate TXT data files 2013-01-27 15:48:26 -05:00
Mark Liversedge
ca5ce1541a Kickr load setting fixups
The load setting was not working properly, this update
ensures the load is set 10 times a second, but will
generate errors even though the device claims to be
connected.

Also added a few new methods to get/singal connection
status in the code.
2013-01-27 19:17:04 +00:00
Mark Liversedge
18a7260d36 Kickr: Load setting fixup
Fixed up the Kickr code to resend the load if the
user is generating more than 50% over the load or
is only generating 50% of the load.

This is in case the last message was not processed
for some reason (connection being established, or
noise).
2013-01-27 15:49:55 +00:00
Mark Liversedge
0e4ccc2e4a Kickr: Clean WF API
Just cleaning up the WF API code before adjustments to
the recent BTLE support or Kickr to also support other
BTLE devices (e.g. Speed/Cadence and HR straps).

This will mean adjusting the WF API code to use 'handles' to
reference multiple parallel connections since the existing code
assumes a single connection to the Kickr.
2013-01-26 23:03:13 +00:00
Mark Liversedge
914544bb7a Reveal experiment, faster and in-sync. 2013-01-26 17:25:09 +00:00