summaryrefslogtreecommitdiffstats
path: root/tests/auto/qpercentbarseries
Commit message (Collapse)AuthorAgeFilesLines
* Avoid initializing QFlags with 0 or nullptrFriedemann Kleint2019-11-251-19/+19
| | | | | | | It is being deprecated. Change-Id: I1eafbce147e05028c93830bb882611d9eea58586 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Don't use deprecated QTest::qWaitForWindowShown()Kari Oikarinen2018-02-281-6/+6
| | | | | | | | 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>
* Merge remote-tracking branch 'origin/5.8' into devLiang Qi2016-12-121-0/+1
|\ | | | | | | Change-Id: I18a4da7bddb4c48ab85f33e2bd674e49cb9671a0
| * Merge remote-tracking branch 'origin/5.6' into 5.75.7Liang Qi2016-11-251-0/+1
| |\ | | | | | | | | | Change-Id: I45103a81acb60cbc0d2f5aeb786ab0de0b99f7d2
| | * Fix autotestsMiikka Heikkinen2016-10-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Remove 200x200 minimum size from chartMiikka Heikkinen2016-10-041-0/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* / Updated licenseMiikka Heikkinen2016-01-131-9/+17
|/ | | | | | Change-Id: I7ad9838039b56b9e3a7fe2c42a2d8ff818f393fb Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Updated license headersTitta Heikkala2015-10-201-11/+14
| | | | | Change-Id: Ic72ee3c9723c2b3f3368c79219b7468f5d95aa84 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Added support for bar series value label angleMiikka Heikkinen2015-09-101-0/+14
| | | | | | Task-number: QTRD-3249 Change-Id: I98f670f631ec85d58122fab97283802834995b4d Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
* Copyright header changesTitta Heikkala2015-04-231-3/+3
| | | | | | | Copyright header changes for Qt 5.5. Change-Id: I2b8e9356997de2c87a7436bcefd4d0948d566259 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Updated license headersTitta Heikkala2014-11-121-9/+7
| | | | | | | Updated new license headers and added missing ones to qdoc files. Change-Id: I9f2af2a8b44c3ebf19fd494628dfaa8775a47b06 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Add pressed, released and doubleClicked signalsTitta Heikkala2014-11-121-0/+413
| | | | | | | | | Added pressed, released and doubleClicked signals for all series. The signals are also added to QPieSlice and QBoxPlotSet. Change-Id: If94948be439a3b53ed48c02d0092091e836222a4 Task-number: QTRD-2384 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Plugged some memory leaks.Miikka Heikkinen2014-11-111-0/+2
| | | | | | | | | | | Autotests were also made Valgrind friendly by adding a final one millisecond wait to the end of the test to allow pending deleteLaters to run. Also some minor cosmetic cleanup done to autotests. Change-Id: Ic3719167a22949f243eaf54614e174a681dbe34a Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
* Removed the old hovered signal from bar chartTitta Heikkala2014-10-241-71/+0
| | | | | | | | | | A new hovered signal that provides index information has been added for bar chart (QTRD-2161). The old hovered signal has now been removed. Change-Id: Ia65be1c363cbfda942d48bceb5326bd54a3c35ec Task-number: QTRD-2199 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
* Fix include syntaxTitta Heikkala2014-10-201-4/+4
| | | | | | | | | The includes for the whole project are changed to syntax: '#include <module/class> Change-Id: If32f8b6c3f47516ad6bc30ed40789ea9042d5664 Task-number: QTRD-3373 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Qt Charts project file structure changeTitta Heikkala2014-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Charts repository structure is changed to follow the structure of a Qt Add-On module. The task includes following changes: - All macros and definitions named 'commercial' have been renamed. - Compile errors related to QString and qSort usage have been fixed. - Old demos are moved under examples. The QML examples now support only Qt Quick 2.0, the support for Qt Quick 1 is removed. - The QML examples with multiple views are updated so that they are usable also with touch devices. - Unnecessary version checks are removed from examples. - The build stamp has been removed as it was only meant for Charts development purposes and it's no longer needed. Also development build related debug prints are removed as __DATE__ can't be used for all OS thus it doesn't make much sense. - Documentation structure has been updated based on the new module structure. The raw HTML files have been removed. Demos are combined to examples. - Unnecessary .qdocinc files are no longer needed. The content is moved to the corresponding .cpp files. - The Charts widget designer plugin is updated according to the module change. - The test cases updated according to the project structure change. Tests are added also for version 2.0. - cmake modules generation is not needed with Qt 5.4 and Qt Charts so it's disabled. - The new module name and version are updated to the plugin.qmltypes file. Task-number: QTRD-2844, QTRD-3217, QTRD-3218, QTRD-3277, QTRD-3228, QTRD-2526, QTRD-3233, QTRD-3222 Change-Id: Ib7fb26057cde710ffaf6bc780c8bf52a16f45160 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Fix assert failure with percent bar seriesTitta Heikkala2014-05-271-0/+20
| | | | | | | | Category groups with zero values are not drawn. Task-number: QTRD-3087 Change-Id: Ie6f85e48398e751213b11d88c0c6a8de2ce8247a Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Added possibility to show series valueTitta Heikkala2014-05-271-0/+58
| | | | | | | | | | | For line, spline and scatter series it is possible to show the point values above the point. The format, color and the font of the label can be set. For bar series the format and position of the value label can be set. Task-number: QTRD-2808 Change-Id: I0488d98c4d9060eaa8331e5b3c97dc83d86aeb0c Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Update copyright yearTitta Heikkala2014-05-131-1/+1
| | | | | | Task-number: QTRD-3083 Change-Id: Ide516e5299d2363953d46bf9dc5e2f9ec277154e Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Add hovered signal with index for bar chartsTitta Heikkala2013-08-191-0/+261
| | | | | | | | | | | Added hovered signal for bar charts including the hovered bar inside the set. The hovered bar is identified by the index. Documentation and tests are updated accordingly. Task-number: QTRD-2161 Change-Id: I96c9d86975441274a697dec794b22e906fb44243 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Qt Commercial -> Qt EnterpriseMiikka Heikkinen2013-06-131-3/+3
| | | | | | | Also updated licenses. Change-Id: Ie14327305207e14879c1f1223219fcdfa1669dc0 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* More copyright year changesMiikka Heikkinen2013-03-051-1/+1
|
* normalize signal/slot signaturesJani Honkonen2012-09-261-2/+2
|
* bar test update. Tests now calculate expected layout from charts plot area ↵sauimone2012-09-171-16/+86
| | | | and use that instead of precalculated QPointF magic numbers
* added SKIP_IF_CANNOT_TEST_MOUSE_EVENTS macro to barseries testssauimone2012-09-171-0/+4
|
* updated barseries clicked & hovered tests, because of changed layoutsauimone2012-09-171-10/+10
|
* removed double signal emitting from barseries/setsauimone2012-06-281-32/+32
|
* autotests: try to fix bar hover failures in bambooJani Honkonen2012-06-151-8/+6
|
* OSX install name tool now executed only on QtCommercialChart library during ↵Tero Ahola2012-06-071-2/+0
| | | | build
* removed categories from barseries. categories are now only on axissauimone2012-05-311-13/+13
|
* barseries autotest updatesauimone2012-05-291-94/+22
|
* Qt name convetion: move test to testsMichal Klocek2012-05-212-0/+350