Updated qwt to 6.3 (qwt-multiaxes branch) (#4497)

Using qwt from https://sourceforge.net/p/qwt/git/ci/qwt-multiaxes/tree/

Applied the following changes to qwt 6.3:
* Added QwtZone to qwt_plot_curve.cpp
* Disabled the emitting of Layout Requests on geometry changes of
  QwtScaleWidget - without this, CPU utilization was up to 100% on
  one core

Fixes #4495
This commit is contained in:
Joachim Kohlhammer
2024-05-30 20:32:43 +02:00
committed by GitHub
parent 2b23d6adf0
commit 2681536c68
77 changed files with 1301 additions and 848 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,106 +1,6 @@
/*!
\page qwtchangelog What's new in Qwt 6.2
\page qwtchangelog What's new in Qwt 6.8
\tableofcontents
\section PLATFORM Qt >= 4.8
Support for Qt < Qt 4.8 has been dropped, support for Qt6 has been added.
\section Class Includes
Include files, that match the class names are available now. So
it is possible to write "#include <QwtPlot>" now instead of "include qwt_plot.h"
\section POLAR QwtPolar has become part of Qwt
The QwtPolar project ( https://qwtpolar.sourceforge.io ) has been integrated
into Qwt.
\section MATHML MathML Text Renderer has become its own project
The code can be found at https://github.com/uwerat/qwt-mml-dev now and is intended
to become a standalone lib.
\section SPLINES Spline
The broken implementation of QwtSpline has been replaced by a bunch of classes
offering all sort of functionalities around splines.
The most popular spline approximation/interpolation algos have been implemented:
- Basis
- Cardinal
- ParabolicBlending
- Akima
- The one used in a proprietory office package
- Cubic
\section OPENGL Better OpenGL support
QwtPlotOpenGLCanvas added to support rendering to a QOpenGLWidget
\section ITEMS New plot items
- QwtPlotVectorField
A new type of plot item for vector fields
- QwtPlotGraphicItem
An item displaying a QwtGraphic image ( f.e used by QwtPlotSvgItem )
\section CURVE QwtPlotCurve
- QwtPlotCurve::FilterPointsAggressive
A fast weeding algo for huge datasets with increasing x or y values
- QwtPlotCurve::closestPoint
Is virtual now
- Line Clipping
Includes the painter clip now
- QwtValuePointData
A new type of data added, where the x values are the index
- QwtPlotCurve::setSamples
more type of setters
\section SPECTROGRAM QwtPlotSpectrogram
- QwtPlotSpectrogram::setColorTableSize
Using individual RGB tables
- QwtRasterData::setInterval/interval
API cleanup
- QwtHueColorMap, QwtSaturationValueColorMap
New type of color maps
- QwtMatrixRasterData::BicubicInterpolation
Implementation of bicubic interpolation added
- Handling of NaN values
NaN values are interpreted as gaps, when QwtRasterData::WithoutGaps
is not set
\section OTHERS Other changes
- QwtPlotRenderer
Using QPdfWriter instead of QPrinter, where possible
- Handling of Unknown Paint Engines
Not aligning unknown paint engines ( f.e EMF ), QwtNullPaintDevice is not using
QPaintEngine::User anymore
- QwtTransform::LogMin/LogMax
LOG_MIN/LOG_MAX have been reomed ( values differ !
- qwt_compat.h
Removed
- qwtFuzzyGreaterOrEqual/qwtFuzzyLessOrEqual
Removed
- qwtGetMin/qwtGetMax
Removed
*/

View File

@@ -36,9 +36,8 @@ to control or display values, arrays, or ranges of type double.
\section platforms Platforms
Qwt 6.2 might be usable in all environments where you find
<a href="https://www.qt.io">Qt</a>.
It is compatible with Qt 4.8 and all Qt5 versions.
Qwt 6.4 might be usable in all environments where you find
<a href="https://www.qt.io">Qt</a>. It is compatible with Qt >= Qt 5.6
\section changelogonmainpage What's new
Read the \ref qwtchangelog "summary" of the most important changes.
@@ -54,10 +53,6 @@ to control or display values, arrays, or ranges of type double.
\section downloads Downloads
Stable releases or prereleases are available at the Qwt <a href="http://sourceforge.net/projects/qwt/files">project page</a>, or from the <a href="https://sourceforge.net/p/qwt/git">git repository</a>.
Active development will happen in the develop branch supporting Qt >= 5.6 and relying
on at least C++11. However all versions >= Qt 4.8 will actively be supported in the
6.x branches.\n The popular multiaxes branch is derived from develop.
\section installonmainpage Installation
Qwt doesn't distribute binary packages, but today all major Linux distributors
@@ -69,7 +64,6 @@ to control or display values, arrays, or ranges of type double.
\section support Support
- Mailing list\n
For all kind of Qwt related questions use the Qwt <a href="http://sourceforge.net/mail/?group_id=13693">mailing list</a>.\n
If you prefer newsgroups use the mail to news gateway of <a href="http://dir.gmane.org/gmane.comp.graphics.qwt.general">Gmane</a>.
- Forum\n
<a href="http://www.qtcentre.org">Qt Centre</a> is a great resource for Qt

View File

@@ -30,7 +30,7 @@
\color[rgb]{1,1,1}
\fill(68.0188pt,328.57pt) -- (129.236pt,328.57pt) -- (129.236pt,113.441pt) -- (68.0188pt,113.441pt) -- (68.0188pt,328.57pt);
\color[rgb]{0,0,0}
\pgftext[center, base, at={\pgfpoint{80.7724pt}{220.586pt}},rotate=90]{\fontsize{12}{0}\selectfont{\textbf{Axis: YLeft}}}
\pgftext[center, base, at={\pgfpoint{80.7724pt}{220.586pt}},rotate=90]{\fontsize{12}{0}\selectfont{\textbf{Axis: yLeft}}}
\pgftext[center, base, at={\pgfpoint{101.603pt}{113.861pt}}]{\fontsize{10}{0}\selectfont{-1,000}}
\pgftext[center, base, at={\pgfpoint{105.854pt}{165.333pt}}]{\fontsize{10}{0}\selectfont{-500}}
\pgftext[center, base, at={\pgfpoint{113.506pt}{216.804pt}}]{\fontsize{10}{0}\selectfont{0}}
@@ -61,7 +61,7 @@
\color[rgb]{1,1,1}
\fill(354.548pt,328.57pt) -- (415.765pt,328.57pt) -- (415.765pt,113.441pt) -- (354.548pt,113.441pt) -- (354.548pt,328.57pt);
\color[rgb]{0,0,0}
\pgftext[center, base, at={\pgfpoint{403.862pt}{220.586pt}},rotate=-90]{\fontsize{12}{0}\selectfont{\textbf{Axis: YRight}}}
\pgftext[center, base, at={\pgfpoint{403.862pt}{220.586pt}},rotate=-90]{\fontsize{12}{0}\selectfont{\textbf{Axis: yRight}}}
\pgftext[center, base, at={\pgfpoint{382.181pt}{113.861pt}}]{\fontsize{10}{0}\selectfont{-1,000}}
\pgftext[center, base, at={\pgfpoint{377.93pt}{165.333pt}}]{\fontsize{10}{0}\selectfont{-500}}
\pgftext[center, base, at={\pgfpoint{370.277pt}{216.804pt}}]{\fontsize{10}{0}\selectfont{0}}
@@ -92,7 +92,7 @@
\color[rgb]{1,1,1}
\fill(118.183pt,113.441pt) -- (363.05pt,113.441pt) -- (363.05pt,73.1043pt) -- (118.183pt,73.1043pt) -- (118.183pt,113.441pt);
\color[rgb]{0,0,0}
\pgftext[center, base, at={\pgfpoint{241.042pt}{76.4657pt}}]{\fontsize{12}{0}\selectfont{\textbf{Axis: XBottom}}}
\pgftext[center, base, at={\pgfpoint{241.042pt}{76.4657pt}}]{\fontsize{12}{0}\selectfont{\textbf{Axis: xBottom}}}
\pgftext[center, base, at={\pgfpoint{133.487pt}{92.4323pt}}]{\fontsize{10}{0}\selectfont{-1,000}}
\pgftext[center, base, at={\pgfpoint{187.689pt}{92.4323pt}}]{\fontsize{10}{0}\selectfont{-500}}
\pgftext[center, base, at={\pgfpoint{241.892pt}{92.4323pt}}]{\fontsize{10}{0}\selectfont{0}}