| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
tqtc/lts-5.15-opensource
Change-Id: Ia2a1c70299a7bf156285bc35364d0f654390ab36
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove unused variable, which is populated by calls to QXYSeries points()
in a loop.
Additionally add variables for column() and row() to avoid repeated
calls to those.
Fixes: QTBUG-99190
Change-Id: I3659a571ff7ef57c3db693c599f35f15227201ea
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
(cherry picked from commit bf1eae298e30822dbace46ae126f462368abe791)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|\|
| |
| |
| |
| |
| | |
tqtc/lts-5.15-opensource
Change-Id: I94a191b6b72d34172cdb2e55280f4b057520d4f2
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* The detailed description for these two types were swapped
* Clarify the data model used for the mapper, and suggest a
table model as a good fit
* Link to the example that makes use of a mapper
Fixes: QTBUG-80828
Change-Id: If45dce47e74c28eb76d248133bbbfd2e44555750
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
(cherry picked from commit ef331c506ab960d2a6e22c17c4af199b1079ef73)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|/
|
|
|
|
|
|
|
|
|
| |
This reverts commit 9ac57c36d42d083d1767353c7eb817d96817d22e.
Revert of commercial license headers is required for Qt 5.15.3
opensource release.
Task-number: QTBUG-91108
Change-Id: Ib7588e49cc9322bd72e02ef7cf49c8577191b0ec
Reviewed-by: Antti Kokko <antti.kokko@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The commercial license header header.COMM was updated to
the tqtc-qtcharts files.
The commercial license header may contain some
additional lines so that its line count equals
with the earlier license header. Reason for this
is that some autotests use hard coded line numbers
and a change in the line count causes failures in
tests.
Task-number: QTQAINFRA-4144
Change-Id: I87f9848863d619d3fa0f3b8d94f21c14a87fe869
Reviewed-by: Antti Kokko <antti.kokko@qt.io>
Reviewed-by: Tuukka Turunen <tuukka.turunen@qt.io>
|
|
|
|
|
| |
Change-Id: I6330fb72e9d003475227096cdcaeb46cbcba73c2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
... and of QLinkedList.
Unfortunately, the module contains more than 330 uses of Q_FOREACH,
even though, according to my sources, its use was banned in Qt
implementation from the get-go. So QT_NO_FOREACH is currently not an
option.
Java-style iterators are going to be deprecated, or at the very least
banned from use in Qt code. Ditto QLinkedList.
Change-Id: I505e3472b708fc18a3254dc742e46d14d095fcc1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
| |
Qt expects the export macros to have Q_ prefixes, otherwise the symbol
versioning script won't find them and mark them.
Task-number: QTBUG-73752
Change-Id: I4ee654eadbbfc6f5c25f3bb0a8123c8c17235c12
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
xychart/qxyseries.cpp:1025:50: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
areachart/areachartitem.cpp:281:58: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
areachart/areachartitem.cpp:299:58: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
declarativecategoryaxis.cpp:86:57: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList<QPair<QString, double> >::iterator; LessThan = bool (*)(const QPair<QString, double>&, const QPair<QString, double>&)]’ is deprecated: Use std::sort [-Wdeprecated-declarations]
Change-Id: I0d7705be8690405a439e18ea0ddbfaef433037a4
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|\
| |
| |
| | |
Change-Id: I06e56c1c924c7239aba60404bdfcb3d39cd9ce44
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The labels ended up getting way to big on the printer, because
they didn't respect the transform set by the PDF engine when
setting the font size.
Fix the same problem in AreaChartItem::paint().
Change-Id: I18fd6ebb4c4031c7b2df423cf842b39ff9891135
Fixes: QTBUG-67981
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|/
|
|
|
|
|
|
|
|
|
| |
It is not allowed to include files within Qt namespace.
This amends a93849d0.
See 5b99f3a3 in qtbase dev.
Task-number: QTBUG-70907
Change-Id: I37f0924429313f2251f656bcd5b6b248a22ccfbb
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/chartsqml2/declarativechart_p.h
src/chartsqml2/plugins.qmltypes
Change-Id: Ib61ca7ee3c40e02cb346c6b8cc9642f8358bf3e9
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
qmlplugindump otherwise cannot make the connection between the
type of the property and the QMetaObject. This fixes an issue where
Qt Creator was not handling some properties for the QML types
properly.
Ideally we also would do this for arguments in signals, slots,
Q_INVOKABLES. Anyhow, this can be an incompatible change (e.g.
if you use string-based connect).
Fixes: QTBUG-51704
Change-Id: I3a3b5fc7f7539ff15974be9c2e268df7e1ad7f30
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|\|
| |
| |
| | |
Change-Id: If1c0e127a27ab2cd954da6fdf6b9f5e214fd01ae
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is the convention for documentating Qt C++ modules. It has no
effect on the user-visible output except for the html file name,
while avoiding certain problem for external tools such as
PySide/Shiboken.
Change-Id: Ibaec4f8a05ef34bf8a8aff2c9695f859f24858db
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GLXYSeriesDataManager::setPoints() has an optimized path when it detects
a regular XY chart, which skips calculateGeometryPoints() and sets up
a shader-based transform instead of normalizing vertex data. However,
for some series data containing values far away from the origin, which are
represented with less absolute precision as floating-point values, by the
time the transform is used, precision was already lost in the conversion
from double to float, destroying the chart. This change performs proper
normalization inside the optimized path, while keeping the same level of
performance as before.
Task-number: QTBUG-59674
Change-Id: Idc57481815a409c19ca364e1721153483cbc2993
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|\
| |
| |
| | |
Change-Id: I90e4a4f377c2a70a87ae59eb72ba7432b6b0cdef
|
| |
| |
| |
| |
| |
| |
| |
| | |
Export declarations were missing in the private headers.
Task-number: QTBUG-65774
Change-Id: I933c2cd151563747d0159c78bca70a768dc82835
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I82091207292204b025b7cf3dcc30d38d24ff5455
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On QXYSeriesPrivate::drawSeriesPointLabels the loop is based on
m_points.size(), but points vector may have less items because of
animation. This patch takes the min of vectors.
Task-number: QTBUG-63123
Change-Id: I940fd5557abd3a28d064ab2c2737fae650fd7183
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|/
|
|
|
| |
Change-Id: I991b606cab434d02546173778eb3fbf755ea7727
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
|
| |
- QXYModelMapper was not handling the model's layoutChanged() signal, which could leave points out of order
- QXYModelMapper handled dataChanged() by replacing points by value rather than index, which could cause the wrong point to be replaced. This was fixed.
Change-Id: I77a49acc5fc6982dabf976a3811c644843d18bb2
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
| |
The link should lead to the QML type, not Qt class.
Change-Id: Ibf4d69cd795ea92f6eef1da5ec00a3c5350e7cbc
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
| |
Change-Id: I25ba26222da3fdc3abcf4aca40b8f1a574c3c25f
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
| |
Change-Id: Ie454a9bfb0b0f59d6ef9e1fe7bd871e8037a5632
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|\
| |
| |
| | |
Change-Id: Ied447b707d607ff7e2d004adcb15a346776a0645
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In some common QML use cases, presenter can be null in
XYChart::refreshGlChart(), leading to a crash.
Task-number: QTBUG-57680
Change-Id: I41c7980adfe097039f09d75acfcb213740d50f72
Reviewed-by: Mika Salmela <mika.salmela@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|/
|
|
|
| |
Change-Id: I46585f8374fd3f697d2a5741530605febe782aee
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
examples/charts/charts.pro
src/charts/glwidget.cpp
src/chartsqml2/declarativechart.cpp
src/chartsqml2/declarativeopenglrendernode.cpp
tests/auto/auto.pro
Change-Id: If909b4b13844c474bf4898a66ee01ac111d0a248
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
README
src/charts/qchartglobal.h
tests/auto/chartdataset/tst_chartdataset.cpp
tests/auto/domain/tst_domain.cpp
Change-Id: Ib4e01f2646d87b691c7b2f8bee4ed1f5521e4f6d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The warnings are relevant only if model has values. It is expected
that initializing data from an empty model will not result in any
values.
Change-Id: Id696f8ccaf5efa0c577e6832a52c6f8e7b0c6cd8
Reviewed-by: Mika Salmela <mika.salmela@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Moved the reverse axis handling to domains instead of simply mirroring
the painter. This fixes the following issues with reverse axes:
- QChart mapping functions returned unreversed values
- Bounding regions of series were incorrect
- Mouse events gave wrong positions
- Chart scrolling and zooming didn't account for reversed axes
Task-number: QTBUG-54401
Change-Id: I6aed9e13c0d1d956a389dfe70f36f630d79d1ddf
Reviewed-by: Janne Koskinen <janne.p.koskinen@theqtcompany.com>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/charts/glwidget.cpp
src/charts/xychart/glxyseriesdata_p.h
src/chartsqml2/declarativerendernode.cpp
Change-Id: I611ff3a7874ceb7dddcf0f4d069927a9899a986d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-52654
Change-Id: I37fac883307409da349c1923c0e295caa9cf6f8a
Reviewed-by: Mika Salmela <mika.salmela@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Incorrectly documented columnCount instead of rowCount.
Task-number: QTBUG-53073
Change-Id: I54791d59c5bbc61a3fa4f8d45747c7331ad96554
Reviewed-by: Mika Salmela <mika.salmela@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-54914
Change-Id: Ia55274aee13e3d700f75a1521be26ed78bddba8d
Reviewed-by: Janne Koskinen <janne.p.koskinen@theqtcompany.com>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On QML side, the mouse events for accelerated series work
asynchronously, as the rendering is typically done in
a different thread.
Change-Id: I08c478768b40ed90b34b0904b7a3e74e315c3caa
Reviewed-by: Mika Salmela <mika.salmela@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/charts/charts.pro
src/charts/qchartglobal.h
src/chartsqml2/chartsqml2.pro
tests/auto/chartdataset/tst_chartdataset.cpp
tests/auto/domain/tst_domain.cpp
Change-Id: I9bfc63f6e93f9a3b86e53aca218dd3a48bb2ffc1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
in the c++ module, the .pri files add their directories, so there is
no point in a centralized common.pri doing it again.
the qml plugin doesn't need to add any paths from the c++ module
explicitly, as the QT+=charts-private implies that already.
Change-Id: I263dd702e9874e4d6188ca7251a482d0df4e570b
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
qt5 has depend_includepath enabled by default.
Change-Id: I10ffcc9ff83a8b3c2252abe3dbdf7d0d40fcd4f2
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
|
|\|
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
README
src/charts/qchartglobal.h
Change-Id: I20497b20947f589f9f73239a09ba6ea013b3597a
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
... or equivalent.
QtBase 5.6 headers already compile that way, so let the other
modules follow suit.
Change-Id: I79c74046eaf224235cc80a4323fefd2c083b007f
Task-number: QTBUG-45291
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
sync.profile
Change-Id: Icdf61d347a6d0b3624867ceb8c1e4220c6c78a76
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QOpenGLWidget was modified to not trigger some extra paint calls,
which charts used to rely on, so now we do explicit updates instead.
Change-Id: Ibe06c2f88ac7efe4e61351d582f2eff9d350f073
Task-number: QTBUG-51000
Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
|
| |
| |
| |
| |
| | |
Change-Id: If8b6690585c767b65eaa4a43e179c86183903637
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
|
|/
|
|
|
|
| |
Change-Id: I7ad9838039b56b9e3a7fe2c42a2d8ff818f393fb
Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ic72ee3c9723c2b3f3368c79219b7468f5d95aa84
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I1f88f913affd72d3bf374793f9ad60a626f52645
Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
|