Commit Graph

37 Commits

Author SHA1 Message Date
Ale Martinez
7274268f47 Suppress deprecation warnings - will be fixed with Qwt 6.2 2020-06-11 15:10:41 -03:00
Ale Martinez
e1f9005cf5 Fix Qwt incompatibilities with Qt 5.15.0 2020-06-11 12:54:29 -03:00
Mark Liversedge
ad3024ac7f Add QChart to Python Chart (3f of 5)
Added hover code to line chart, so get legend values on hover
and marker points as you mouse over the series and an x-axis
label at the bottom to show current x value.

Also added Utils::removeDP() to remove decimal places from a
number string e.g. 24.000 becomes 24, 987.3440500 becomes
987.34405. This is a hack to avoid handling decimal places
in the user settings, but will keep as reduces the amount
of "digital ink" regardless.
2020-02-24 09:22:48 +00:00
Mark Liversedge
95901aa1e2 Curve fill colored zones (QWT) 1/2
.. updated the QwtPlotCurve to fill using zones.

.. next commit to update user data curves in AllPlot
   to let the user set zones and colors.

.. added as part of updates for Humon collaboration.
2019-03-12 18:20:32 +00:00
Pascal Obry
04b6bab3e5 Minor typo fixes in comment. 2019-01-27 10:25:21 +01:00
qheath
c8523a2716 various minor bugfixes + warningfixes (#2878)
* fix unclosed file descriptors

* remove various compiler warnings

sometimes it was only ambiguous indentation, sometimes bugs were fixed:

- forgotten `break;` instructions or `fallthrough` annotations:
  - src/ANT/ANTChannel.cpp
  - src/Charts/CriticalPowerWindow.cpp
  - src/Charts/MUPlot.cpp
  - src/Core/DataFilter.cpp
  - src/FileIO/RideFileCache.cpp
  - src/FileIO/RideFileCommand.cpp
  - src/Train/DialWindow.cpp
- forgotten braces:
  - lmfit/lmmin.c
  - src/FileIO/XDataDialog.cpp
- test on the wrong variables:
  - src/Gui/Pages.cpp
- wrong parenthesis
  - src/Charts/CPPlot.cpp
- missing macro argument
  - src/Cloud/WithingsDownload.cpp
- missing `return;` statement
  - src/Cloud/Xert.cpp
- unused variables
  - src/Gui/DiarySidebar.cpp
- unclear indentation
  - src/Core/RideItem.cpp
  - src/FileIO/BinRideFile.cpp
  - src/Metrics/PaceZones.cpp
  - src/Metrics/RideMetadata.cpp
  - src/Metrics/Zones.cpp

* remove unnecessary Leaf::Parameters enum value from data filters

lists of parameters don't exist as such outside of the parser, and have
no business using the same type `Leaf` as complete terms anyway

* remove unnecessary argument

`leaf1.print(leaf2,...)` would print `leaf2` and completely ignore
`leaf1`, so now `leaf2.print(...)` is used instead
2018-05-30 13:33:02 +01:00
Mark Liversedge
dbad5ac403 Shadow Build Support
The following will always be located in the
source directories so we can find them across
the different trees:

* ../lib/libqwt.a
* ../kqoauth/libkqoauth.a (linux only)
* ./Resources

The references are made via $${PWD} which is
the directory for the currently processed
.pro file.
2016-03-26 09:55:38 +00:00
Arto Jantunen
597adb28b1 QWT: Remove qwt_scale_map_table.h from SOURCES 2016-03-06 11:52:55 +02:00
Brian Bergstrand
e7badee075 Fix qwt 'comparison is always false'/true warnings 2016-01-07 21:18:50 -06:00
Brian Bergstrand
169a970868 Remove unused functions 2016-01-07 21:18:50 -06:00
Brian Bergstrand
36a0d63da1 Fix possible wrong QwtDate::ceil() values 2016-01-07 21:18:50 -06:00
Joern
f20c2b5389 QWT Build
... remove $$replace and use the latest src.pro code from QWT lib (which
allows in-source and out-of-source/shadow build)

($$replace - for unknown reasons - creates an empty string/fails if the
input string contains mixed Upper and Lower case characters - which it
happening in many file systems)
2015-01-15 18:03:15 +01:00
Mark Liversedge
f6dcc1711f Revert qwt/src/src.pro
.. will break out of source builds in QT Creator

.. means everyone else's builds will still work

.. happy to apply change if it doesn't break builds for others

Fixes #1247
2015-01-14 14:11:05 +00:00
Philip Graham Willoughby
ba339b978a Changes to build on OS X with spaces in path 2015-01-11 16:25:24 +00:00
Damien
b24ee97278 FitRideFile: Add new FIT fields
Especially for Vectors new metrics
	- Left and Righ Platform Center Offset - eg: -8mm and -11mm
	- Left and Right Top dead Center  - eg: 10° and 11°
	- Left and Right Bottom dead Center  - eg: 203° and 210°
	- Left and Right Peak Power Phase Start - eg: 83° and 76°
	- Left and Right Peak Power Phase End - eg: 115° and 125°
2015-01-05 08:01:33 +01:00
Joern
3b546b71d6 Allow "Out-Of-Source" Build (Original patch by yarrouye)
... separated the "out-of-source" patch from yves from original pull
request
... the patch allows to use e.g. QTCreators "Shadow-Build" feature so
that GC is build not in source, but in a different directory
.. this is useful when using QTCreator and switch between different QT
versions / 32/64 bit builds - since every build resides in a separate
directory from GC source

-- since the original commit (at least from GitHub view) is shown in a
mixed pull request with other commits - this is a seperated version of
the single commit
2014-12-20 17:38:14 +01:00
Mark Liversedge
83715ead91 Qwt support QT 5.4
.. we should think about removing our local version
   of QWT since we no longer need it.
2014-11-09 15:13:26 +00:00
Gareth Coco
3dc20bc4d6 Remove qwtconfig.pri 2013-12-16 21:04:21 -05:00
Gareth Coco
a0ad25e95c Move to qwtconfig.pri.in
Disable shared build (we need libqwt.a)
2013-12-16 21:02:00 -05:00
Mark Liversedge
a399bea470 Revert "QT5 -- QWT 6.1 canvas fixup"
This reverts commit 54234ceca4.
2013-12-11 16:37:50 +00:00
Mark Liversedge
38951ef38c Don't set frameworks in QWT
.. makes it possible to build the examples
.. but we still don't build them by default
2013-12-10 21:26:58 +00:00
Mark Liversedge
cbb5889113 QT5 -- Fixups for Mac build
Remember to make distclean too.

Mac currently looks terrible -- the unified toolbar
is gone and its all a bit of a mess!
2013-12-09 23:00:21 +00:00
Mark Liversedge
5a89eee24c QT5 -- QWT 6.1 canvas fixup 2013-12-09 12:26:49 +00:00
Mark Liversedge
5abf8776f1 QT5 -- Add Qwt 6.1-multiaxes 2013-12-09 10:02:47 +00:00
Mark Liversedge
03d3afdf53 QT5 -- remove old qwt 2013-12-09 10:00:50 +00:00
gcoco
7bc1493600 Get rid of qwt compile error about format string.
Author: KURASHIKI Satoru <lurdan@gmail.com>

Taken from Debian patches for GC 3.0.3
2013-11-01 17:08:40 +00:00
KURASHIKI Satoru
012703c9fb fix trivial mis-spelling. 2013-08-05 09:09:47 +09:00
Mark Liversedge
2908c7d8cf Performance Manager Date Labels
Linker error using different TimeScaleDraw::label but
also a memory leak with unneccesary calls to create a
new ScaleDraw object.

Also applied recent fixes from qwt6 for scale draws. We
should look to pick up some of the other recent fixes
-- especially QT5 support.

Fixes #363.
2012-12-03 12:00:12 +00:00
Damien
2f9130cd76 Qwt 6.0.1 Support
Upgrade to QWT 6.0.1, but still uses a locally patched copy
since support for 8 axes has not been included, despite it
being a relatively simple patch.

Fixes #634.
Fixes #567.
2012-02-12 10:43:15 +00:00
Mark Liversedge
56e6aa3e0e Revert "Qwt 6 support"
The patch that was applied was missing a number of critical changes
and needs to be recreated and retested. The majority of qwt was not
uplifted and remained at Qwt 5.

This reverts commit e97aac7919.
2012-02-05 22:21:55 +00:00
Damien
17a361fc82 Qwt 6 support
Fixes #634.
2012-02-05 18:30:55 +00:00
Gareth Coco
28d7780e65 Don't build QwtDesigner in qwt
We don't use it and it is commented out in master
2012-01-26 13:02:40 -05:00
Sean Rhea
02ccdb9a07 take qwtconfig.pri out of git
Provide a qwtconfig.pri.in that you copy to qwtconfig.pri, instead.
2009-10-03 17:57:22 -04:00
Sean Rhea
0dfed2c7b6 apply many axes patch 2009-09-20 11:09:19 -07:00
Sean Rhea
2c138edbc6 build static qwt lib 2009-09-20 11:09:19 -07:00
Sean Rhea
68fbe04441 add .gitignore files for qwt 2009-09-20 11:09:19 -07:00
Sean Rhea
13bd8a1f52 check qwt-5.2, r588 into repository 2009-09-20 11:07:49 -07:00