diff options
author | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2018-05-12 03:01:38 +0200 |
---|---|---|
committer | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2018-05-12 03:01:38 +0200 |
commit | d869201f06e02cc4bfc89c3b1765df2913396a12 (patch) | |
tree | 2aed10a02e9d9ac158fb1610a15d5ad9041a5201 | |
parent | 1a4f25133fae09492e001cc680f4bf3b866f8743 (diff) | |
parent | 213a9c307dfef2209d217cb539554535c78f5003 (diff) |
Merge remote-tracking branch 'origin/5.11' into dev
Change-Id: Ia74b6e93eedfdd9c14d3085cec696a5b2ce35a56
-rw-r--r-- | dist/changes-5.11.0 | 24 | ||||
-rw-r--r-- | src/charts/barchart/abstractbarchartitem.cpp | 5 | ||||
-rw-r--r-- | src/charts/barchart/abstractbarchartitem_p.h | 1 | ||||
-rw-r--r-- | src/charts/doc/src/index.qdoc | 6 |
4 files changed, 36 insertions, 0 deletions
diff --git a/dist/changes-5.11.0 b/dist/changes-5.11.0 new file mode 100644 index 00000000..28417194 --- /dev/null +++ b/dist/changes-5.11.0 @@ -0,0 +1,24 @@ +Qt 5.11 introduces many new features and improvements as well as bugfixes +over the 5.10.x series. For more details, refer to the online documentation +included in this distribution. The documentation is also available online: + +http://doc.qt.io/qt-5/index.html + +The Qt version 5.11 series is binary compatible with the 5.10.x series. +Applications compiled for 5.10 will continue to run with 5.11. + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* Qt 5.11.0 Changes * +**************************************************************************** + +- [QTBUG-64370] Add labelsPrecision property to bar charts +- [QTBUG-66319] Fix empty chart when using QHBoxPlotModelMapper +- [QTBUG-66712] Fix few cases of dividing by zero diff --git a/src/charts/barchart/abstractbarchartitem.cpp b/src/charts/barchart/abstractbarchartitem.cpp index 2d0d0e25..099079a6 100644 --- a/src/charts/barchart/abstractbarchartitem.cpp +++ b/src/charts/barchart/abstractbarchartitem.cpp @@ -726,6 +726,11 @@ void AbstractBarChartItem::calculateSeriesPositionAdjustmentAndWidth() } } +ChartAnimation *AbstractBarChartItem::animation() const +{ + return m_animation; +} + #include "moc_abstractbarchartitem_p.cpp" QT_CHARTS_END_NAMESPACE diff --git a/src/charts/barchart/abstractbarchartitem_p.h b/src/charts/barchart/abstractbarchartitem_p.h index 7cb96c77..7afd8ec8 100644 --- a/src/charts/barchart/abstractbarchartitem_p.h +++ b/src/charts/barchart/abstractbarchartitem_p.h @@ -71,6 +71,7 @@ public: virtual void initializeLayout(int set, int category, int layoutIndex, bool resetAnimation) = 0; virtual void applyLayout(const QVector<QRectF> &layout); virtual void setAnimation(BarAnimation *animation); + virtual ChartAnimation *animation() const; void setLayout(const QVector<QRectF> &layout); QRectF geometry() const { return m_rect;} void resetAnimation(); diff --git a/src/charts/doc/src/index.qdoc b/src/charts/doc/src/index.qdoc index 18d5cb0b..fa9b6ebb 100644 --- a/src/charts/doc/src/index.qdoc +++ b/src/charts/doc/src/index.qdoc @@ -57,6 +57,12 @@ \snippet doc_src_qtcharts.pro 0 + \section1 Licenses + + Qt Charts is available under commercial licenses from \l{The Qt Company}. + In addition, it is available under the \l{GNU General Public License, version 3}. + See \l{Qt Licensing} for further details. + \section1 Articles and Guides \list \li \l{Qt Charts Overview} |