| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There was no reason for enforcing the 200x200 minimum size for the
chart, as the minimum size already took into account various chart
element minimum sizes. Legend and chart title also no longer
contribute to the minimum size if they are not visible.
Some autotests that simulated mouse events were relying on this
minimum size, so added explicit resizes to some of them.
Task-number: QTBUG-56238
Change-Id: I515b4992a39acbc02bfbc81f225d6b6939adcf91
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Mika Salmela <mika.salmela@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now charts properly positions bars if there are more than one bar
series in the chart. Theming was changed to account for more than
one bar series in the chart.
This patch also fixes various animation errors that were exposed
by adding/removing the series to/from an existing chart.
Task-number: QTBUG-52379
Change-Id: I4a8bc7e1675191ff87966ec4ca3d01e2b7cb815d
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It is now possible to choose between rectangular, circular, and
"from series" shapes for legend markers. The "from series" shape uses
scatter dot items as legend markers in case of scatter series and
a line segment for line and spline series.
Task-number: QTBUG-50682
Change-Id: I58977ead88e1274e1f163516d32c4d290f4410f9
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
|
|\| | |
| | | |
| | | |
| | | | |
Change-Id: Id0483d67f009462255ef380c7ffc9f9445c10e28
|
| |\| |
| | | |
| | | |
| | | | |
Change-Id: I06b73dca7aa1ef30f126a64f305dcad546679d4e
|
| | |\|
| | | |
| | | |
| | | | |
Change-Id: I65ebe53c4eac112d7e124c19efe7273b6cde3657
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Category axis test was failing randomly because labels position was
not explicitly initialized.
Pieseries tests failed randomly because Math.random() returned zero
or a value very close to zero, causing the fuzzy compare to not
register the series sum as changed.
Change-Id: Ie7ffa517aad40aaed1282375b35174fb880d5fe6
Reviewed-by: Mika Salmela <mika.salmela@qt.io>
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
|
| | |\|
| | | |
| | | |
| | | | |
Change-Id: Ibf7679696d7b659621cf511fd5e1d5eda244a810
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now AreaChartItem properly updates its lower and upper series
when they are changed at QAreaSeries.
Task-number: QTBUG-55431
Change-Id: I379005e44128f06e5ff42e2aa12a563e5f8ac21c
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We need to do the define check after QtTest include, or otherwise the
affected tests are always skipped.
Change-Id: I472c1222a8c4f98cd722b9190c94412f7cf4808a
Reviewed-by: Mika Salmela <mika.salmela@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
note that debug build != developer build.
Change-Id: Ia3e4b4d2f80e7126ad9a2461642c93321099cc27
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously, bar charts used to recreate the bar chart visuals from
scratch whenever any change to the bar data occurred.
The following changes were made:
- Graphics items are generated only for visible bars and labels
- Graphics items are reused if layout or data changes
- Labels are not generated unless they are visible
- Only newly added bars are animated from scratch; existing bars
will retain their size, making things more visually pleasing.
With these optimizations, the size of the bar series is irrelevant
to the painting performance, only thing that matters is how many
bars and labels are actually within visible range.
Task-number: QTBUG-52442
Change-Id: If3199a86e6819ef6219d2eb5f06d729c0bdbd2ae
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|