| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It looks like top and bottom was accidentally swapped when the dynamic
tickmarks feature was added. This resulted in the minor tickmarks being
drawn on the opposite edge of the canvas from the axis and the major
tickmarks.
Also modified the manual test to make drawing the grid optional, so the
position of the tick marks can be seen more easily.
Fixes: QTBUG-79349
Change-Id: Ia25c656d3d66ee0e6dd908504ec5c81cd2555bde
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
| |
It is being deprecated.
Change-Id: I1eafbce147e05028c93830bb882611d9eea58586
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|\
| |
| |
| | |
Change-Id: I2570b3c739857b2fc4ffb26e9ccf1101f2803d87
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There is no guarantee removed rows are in correct order or that they
are sequential, so don't assume so.
Fixes: QTBUG-79188
Change-Id: I6ee6851ce881872d01486c600d4204faeb162d87
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I6a227dfd1762f3c551c373cceb0d8b66bd061cde
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-77240
Change-Id: I2bbfa696db6528257d911b94e6c56759dd32beb3
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
These tests have not failed on the removed platforms for at least 60 days
Task-number: QTBUG-76608
Change-Id: I5e084eca4b723cbf63b35dbb4546d57135dc8f59
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I4d0a887c45dbeb23f7bd826d1e90c823323eb198
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use new API, fixing warnings like:
tst_qchart.cpp:343:34: warning: 'void QtCharts::QChart::setAxisX(QtCharts::QAbstractAxis*, QtCharts::QAbstractSeries*)' is deprecated [-Wdeprecated-declarations]
...
tst_qchart.cpp:361:34: warning: 'void QtCharts::QChart::setAxisY(QtCharts::QAbstractAxis*, QtCharts::QAbstractSeries*)' is deprecated [-Wdeprecated-declarations]
...
Some test appear to be relying on the axes being removed in a certain
order.
Change-Id: I86fab08d661afcd1087a55f847133a9e90d758f9
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use new API, fixing warnings like:
tst_qchart.cpp:254:73: warning: 'QtCharts::QAbstractAxis* QtCharts::QChart::axisX(Q
Charts::QAbstractSeries*) const' is deprecated [-Wdeprecated-declarations]
tst_qchart.cpp:256:74: warning: 'QtCharts::QAbstractAxis* QtCharts::QChart::axisY(Q
Charts::QAbstractSeries*) const' is deprecated [-Wdeprecated-declarations]
Change-Id: I794c1460638c27fa7d44fc083cd7a6b4ee2e0987
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QML engine expects that children of QML element are deleted through
parent/child relationship, but deferring breaks this assumption and
leads to crash later in destruction process.
Fixes: QTBUG-70987
Change-Id: I9ae3cefc6ee158582d17709272d7d33f45c57cdf
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QPainter::HighQualityAntialiasing is deprecated and should be replaced
by QPainter::Antialiasing
Change-Id: Ib4eeea6c17d82d87fb4270f146a6604ce5c8d5fb
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|/
|
|
|
|
|
|
|
|
|
| |
Fix warnings:
animations/axisanimation.cpp:117:51: warning: 'QVariant qVariantFromValue(const T&) [with T = QVector<double>]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations]
...
axis/chartaxiselement.cpp:385:64: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
...
Change-Id: Ib36d7e09b737110323b816442b36ca2b2e79d6a5
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
| |
Pass a proper array to the append function that expects an array.
Task-number: QTBUG-73942
Change-Id: Id93ea3281f68537b83fc314e9426fa8969f52191
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
|
|\
| |
| |
| | |
Change-Id: Ib0ce93137bb1ddc61de77d82c28e25a238f544a0
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch updates the manual test ChartViewer class to use
QRegularExpression in place of QRegExp which is to be
considered deprecated.
Change-Id: I111c6caedea0e95f87c785ecb57cdc2211dedc51
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Iaa5cee58382b8290a7e36fd744a8af8bc29515b9
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|\|
| |
| |
| | |
Change-Id: Ifaec4b83757b31a28650f72e308529edd786b4eb
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change tst_QAbstractAxis::init(QAbstractAxis* axis,QAbstractSeries* series)
to a protected non-virtual, non-slot helper function initAxes().
Remove overridden functions that are empty or identical to the
base implementation (cleanupTestCase()). Add override.
Fixes:
tst_qvalueaxis.cpp(41,10): warning: 'tst_QValueAxis::init' hides overloaded virtual function [-Woverloaded-virtual]
tst_qlogvalueaxis.cpp(42,10): warning: 'tst_QLogValueAxis::init' hides overloaded virtual function [-Woverloaded-virtual]
tst_qcategoryaxis.cpp(41,10): warning: 'tst_QCategoryAxis::init' hides overloaded virtual function [-Woverloaded-virtual]
tst_qbarcategoryaxis.cpp(42,10): warning: 'tst_QBarCategoriesAxis::init' hides overloaded virtual function [-Woverloaded-virtual]
Task-number: QTBUG-63512
Change-Id: Ieb5fae83a43b6ca6ff4211db980a56c10c02c015
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|\|
| |
| |
| | |
Change-Id: Ib7c1f07ccaf6eac51303984b39c21d099ca0706a
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rewrite QLegendPrivate::handleCountChanged() so that the order
of the markers is preserved. Split out helper functions for
insertion/removal that leave the m_markers list untouched and
add helpers for finding markers by series and related objects.
In QLegendPrivate::handleCountChanged(), remove the markers
of the series from m_markers and replace the existing ones
in the createdMarkers. Finally re-insert createdMarkers into
m_markers, preserving the order.
Task-number: QTBUG-62082
Change-Id: I03c81dcf5dfd5a5883377630cad16c943503a1be
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|/
|
|
|
|
|
| |
Adds properties to define dynamic tick positioning for ValueAxis.
Change-Id: Ife2ff3032492e063604adba9bd63eed72c0e0a16
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
| |
Use QTest::qWaitForWindowExposed() instead. Also wrap it in QVERIFY, so that
failed waits fail immediately.
Change-Id: I658d2faa89c42bd190de4bf53179b26b8f5d1b6c
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I03085b7c604cda9c4a173ca8f6dd34d522e59b16
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: I02fb1d17385bfb520e7f6dd2d7c69d79a2890bcd
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This ensures that the QML and widgets side both behave in the same way
as the QML side handled an empty string as reverting back to the
default. Whereas the widget side did not, now it will ensure that it is
consistent.
Change-Id: Ibc3f149f1761586e5fa04420e3b78bed169304d1
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Allow choosing the number of significant digits in the value labels for the
bars. Before this this has been hardcoded to 6, so the default value stays as 6
for backward compatibility.
Task-number: QTBUG-64370
Change-Id: I022bdad21aca7a7750ed46181b4ec97726bd9dc5
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|\ \
| | |
| | |
| | | |
refs/staging/5.10
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
tests/manual/chartwidgettest/mainwidget.cpp
tests/manual/wavechart/wavechart.cpp
Change-Id: I18962ddc37a91daa23571eb04e35eec828aceef8
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is necessary to use math functions with and without the std::
namespace qualifier.
Change-Id: I2f404d0e57a71758ee070b8b752ebcc41c4e292c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When using qFuzzyCompare it would not allow for very small numbers so
we remove that need and do a straight compare instead. This also
includes a test to check that zooming and then resetting gets us back
to the original range.
Task-number: QTBUG-56097
Change-Id: I722be55f602c936e03fe3cc57c30ba15c0e0bed0
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|/ /
| |
| |
| |
| | |
Change-Id: I69f37f9304f24709a823fffd14e676c097712329
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This directory does not contain a unit test, but a file that is part of
other unit tests. And the .pro file that was here did not compile
anyway.
Change-Id: Icaa86fc7b54d4b368c0efffd14f0b2178af7b0d2
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|\|
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
examples/charts/dynamicspline/chart.cpp
examples/charts/piechartdrilldown/main.cpp
Change-Id: I839e97bf377c7823f2f464c097656d58f279ed77
|
| |
| |
| |
| |
| | |
Change-Id: I8ef7bf79bd7e573016ec0e969e4dbca9dc2fba74
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If you hover over a label then it will send a hoverLeaveEvent() because
the label is not accounted for. So we set the labels to not accept
hover events to ensure they don't interfere with the bar.
Task-number: QTBUG-62137
Change-Id: I59097d14a7ce73948eda7a8332f927d1d465b273
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The tests for boot2qt were disabled with commit
25e51976c3324630525346ccb785fafe48ea5ed9. The tests can
be enabled since qtdeclarative now fallbacks to software
renderer if OpenGL is not supported.
Also fixed tst_QChart::zoomOut which was doing direct comparison
of qreal variables. Changed it to use QCompare which internally
uses qFuzzyCompare and does not suffer from float precision
problems.
Task-number: QTBUG-60268
Change-Id: I9e9de2e3c5cdbe725587e522be852d6cc5f7fd00
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Icd0e0d4b27cb4e5eb892fffd14b5285d43f4afbf
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|/
|
|
|
|
|
|
|
| |
Use M_PI in C++ and Math.PI in JavaScript (including QML).
Use qmath.h's value for M_PI where we can't avoid an explicit value.
Task-number: QTBUG-58083
Change-Id: I80c81444c1867f8f0c07f192fa68de933f48bbc4
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
tst_qareaseries.cpp still had commercial only license, replaced it with
similar license as all the other tests had.
Task-number: QTBUG-61126
Change-Id: Ide96f43e8321a94e1c142beebcb242989c58fb62
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Currently boot2qt is tested with QEMU and the test crashes. Disabling
for now to make it possible to enable qt5 tests for Coin.
Task-number: QTBUG-60266
Change-Id: Ic11740de638b4783add72ee0bb19a5fbba086a68
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
| |
It's going to be deprecated.
Change-Id: I9d176c802f27abf5c817dba8bedf9e5fcd911eca
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|\
| |
| |
| | |
Change-Id: I18a4da7bddb4c48ab85f33e2bd674e49cb9671a0
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We needed to add SKIP_IF_FLAKY_MOUSE_MOVE(); line to
tst_QCandlestickSeries::mouseHovered() test case in this
merge, as SKIP_IF_FLAKY_MOUSE_MOVE was added by the merged
content and candlestick series is was introduced in 5.8,
so a separate commit in neither branch will work.
Conflicts:
src/charts/piechart/piechartitem.cpp
tests/auto/qcandlestickseries/tst_qcandlestickseries.cpp
Change-Id: I444306814678a9843460ec2e7fba78b616c7d8bd
|
| | |\
| | | |
| | | |
| | | | |
Change-Id: I45103a81acb60cbc0d2f5aeb786ab0de0b99f7d2
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I2434a0b8c862997dd1ffc1ac2556a766d45417b8
Reviewed-by: Mika Salmela <mika.salmela@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Hover signal tests:
Hover signals are randomly failing on various platforms when
run on virtual machines, so we skip them for now.
When tested manually with an actual mouse, hover signals work
just fine, but synthetic mouse move generation doesn't seem
to be reliable.
QAreaSeries:
Hide axes so they don't confuse pixel color checks.
QPieSeries:
Removed unnecessary window activation check that had nothing
to do with the test case and was causing it to fail on some
systems.
Changed the button size in mouse event skip test to get rid
of a warning of minimum size in Windows. Also added processEvents
calls to the skip test to minimize impact on the test case.
Change-Id: Ia5914c547cbe58facb3a96c448cbbf3998d4a757
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously, only the qml-qtquicktest would be run when 'make check'
was executed, because the C++ tests were not identified as test cases.
Change-Id: Ic263bcc8f13bdf154d6e8a93c8126ce3cb3b005c
Reviewed-by: Mika Salmela <mika.salmela@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If domain type changes when attaching an axis, the domain range in the
orientation other than the attached axis would be reset to default
range determined from series data.
Task-number: QTBUG-57351
Change-Id: I7e810e468478c93b002718c00adf8a6721a368f8
Reviewed-by: Mika Salmela <mika.salmela@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Axis updateGeometry() expects there to always be at least one arrow
item for the main axis arrow, but the arrow never got created if
there were no ticks on the axis before axis was shown. Ensure that
createItems() is called at least once for axis even if there are no
ticks.
Task-number: QTBUG-57328
Change-Id: I7847e2f0d4ee1c3e4546dca05df6078b4a4e81c8
Reviewed-by: Mika Salmela <mika.salmela@qt.io>
Reviewed-by: Alexander Mishin <apmishin@yandex.com>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|