summaryrefslogtreecommitdiffstats
path: root/examples/datavisualization/qmlbars
Commit message (Collapse)AuthorAgeFilesLines
* Correct license for snippets and examples filesLucie Gérard2024-03-151-1/+1
| | | | | | | | | | | | According to QUIP-18 [1], all examples and snippets file should be LicenseRef-Qt-Commercial OR BSD-3-Clause [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: Iad147b8191e42a18137378f315bd18182784acaa Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Revert "Add \examplecategory to Qt DataVis examples"Kai Köhne2023-08-281-1/+0
| | | | | | | | | | This reverts commit cbc46f80976324101dc920de62e3c720feb2a597. Reason for revert: It was decided to _not_ classify Qt DataVis examples in a previous patch (commit 98dfdc8351b75). Therefore revert this patch, and leave the Qt Data Visualization examples in the implicit 'Other' category. Change-Id: Ib1c52832e301f3e21bd0af1a8c49c5fe30a1efca Pick-to: 6.5 6.6 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* Add \examplecategory to Qt DataVis examplesVenugopal Shivashankar2023-08-071-0/+1
| | | | | | | | Task-number: QTBUG-115245 Pick-to: 6.5 6.6 Change-Id: I7ce4ad8630960430cf656d991f72230d6316fe82 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Doc: Remove 'Graphics' category from examplesTopi Reinio2023-05-091-1/+0
| | | | | | | | | | In Qt 6.6, the Qt Graphs module will replace Qt Data Visualization. Stop promoting examples from this module, as Qt Graphs provides a similar set. Change-Id: If0d50df6bb0cd1046a3c877815639902edd1ba8b Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Doc: Use the \examplecategory macro to tag examplesTopi Reinio2023-04-111-1/+1
| | | | | | | | | | | | | | | | The '\meta category' command was used for tagging examples with a specific category, used in Qt Creators Welcome mode. As we want to also generate lists of examples belonging to a category elsewhere in the documentation, replace the command with a macro that expands to the original \meta command and also adds the example to a group using the \ingroup command. This way, the category names can be used as arguments to the \generatelist or \annotatedlist commands. Pick-to: 6.5 Task-number: QTBUG-112731 Change-Id: Ibfd1179923b898259a5c96417aba8f7711e9c5ee Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Fix the example licensesFriedemann Kleint2023-03-164-4/+4
| | | | | | | | Examples are BSD licensed Pick-to: 6.5 Change-Id: Ib2136fd1e09c0cb366b224558b36ab6808cf7b8e Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Revamp qmlbars example visuals and documentationTomi Korpipaa2023-02-025-204/+278
| | | | | | | | Pick-to: 6.5 Fixes: QTBUG-110801 Change-Id: I31ee31ab29cb230a7eadd9641bd817249e2e41c7 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix example naming and categoriesTomi Korpipaa2023-01-271-4/+6
| | | | | | | | | | Remove 2 more irrelevant examples Pick-to: 6.5 Fixes: QTBUG-110463 Change-Id: I9597f311d36fb79db45f6f64fb97bc5376372980 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Bundle application resources in QML examplesTomi Korpipaa2023-01-203-12/+11
| | | | | | | | | Pick-to: 6.5 Task-number: QTBUG-110329 Change-Id: I91dc271398464336e4fda1279554ce899f6319b2 Reviewed-by: Dilek Akcay <dilek.akcay@qt.io> Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix qmllint warnings in qmlbarsTomi Korpipaa2023-01-181-18/+22
| | | | | | | | Pick-to: 6.5 Task-number: QTBUG-110274 Change-Id: I3d429b92777720054f8e3f4691b201d61ea2b780 Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix qmlbars example for portrait modeTomi Korpipaa2023-01-131-12/+5
| | | | | | | | | Pick-to: 6.2 6.4 6.5 Fixes: QTBUG-110038 Change-Id: I008827e96c7a090568689652a81e32e0bf80f67c Reviewed-by: Amr Elsayed <amr.elsayed@qt.io> Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-231-1/+1
| | | | | | | Task-number: QTBUG-105718 Change-Id: Id14ba04aaa0724ea734339b96437853065874e3a Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Use QT_DISABLE_DEPRECATED_UP_TO instead of QT_DISABLE_DEPRECATED_BEFOREIvan Solovev2022-08-221-1/+1
| | | | | | Task-number: QTBUG-104944 Change-Id: I1034d24273c073cff39f8944c782699bfb25f725 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add license headers to cmake filesLucie Gérard2022-08-031-0/+3
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: I829aeda2bda017b7d5bf39795b79dbaee143cb60 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-135-138/+10
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I3b3112f5a36673b90fff0010f973d020886cf08d Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add: Margin between series columns in Bars3DSami Varanka2021-08-242-0/+20
| | | | | | | | | | | | | | Added a new property to Bars3D. The property controls the margin between the columns of series. It can be used to show bars belonging to same column, but different series side by side. Also added autotest for qml and cpp. Fixes: QTBUG-69036 Change-Id: I3c353e9097a8be8cafc05f8f5120e4266baa4a5c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Raise cmake_minimum_required to VERSION 3.16 in examplesJoerg Bornemann2021-08-171-1/+1
| | | | | | | Pick-to: 6.2 Task-number: QTBUG-95636 Change-Id: I2ae5ba6164cb5ed450c8924d484d30167461c10d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix direct rendering doesn't show anythingSami Varanka2021-06-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | Rendering a graph directly to background didn't work in Qt 6 since it uses RHI and there is no way to not clear the color buffer before rendering. The graph uses direct OpenGL calls to render directly to background. Enabled direct rendering to qml3doscilloscope example. In addition, RenderDirectToBackground_NoClear got deprecated. When rendering directly to background, using non-transparent qml item as a background will hide the graph. This was already mentioned in the documentation but not clearly enough. Updated documentation for AbstractGraph3D. Pick-to: 6.1 Fixes: QTBUG-90665 Change-Id: I53081bac382ab89573359886e4f5c4b41be8e86d Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix warnings in datavisualization examplesSami Varanka2021-05-251-2/+2
| | | | | | | | | | | | | | Injection of parameters into signal handlers is deprecated. So those signal handlers using parameters needed to be changed to use formal parameters instead. Uncommented the theme in qmlperf manual test. Added missing space to qmlgradient manual test. Pick-to: 6.1 Fixes: QTBUG-92995 Change-Id: I5999df841c077be63a9f01d71188c07574b2669e Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Add find_package to allow standalone example buildsTomi Korpipaa2021-04-291-0/+1
| | | | | | | | Fixes: QTBUG-93263 Change-Id: Ia80b6dc30c0797d2d17a349ffaad01ee5d057444 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> (cherry picked from commit 32c7d9b71e2857bf0859b28860fe45ce5c80b47c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Fix documentation issuesTopi Reinio2021-04-271-0/+2
| | | | | | | | | | * Restore removed example snippet tags * Fix issues in the .qdocconf file Pick-to: 6.1 Task-number: QTBUG-91875 Change-Id: Iff7068204b5713fbf9f9f568834b55c5c282abba Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Add CMake buildTuomo Pelkonen2021-01-271-0/+57
| | | | | | | Task-number: QTBUG-89299 Change-Id: I5becbf39605e566c3d32cb5e210d974df9de27da Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Force OpenGL backend for RHITuomo Pelkonen2021-01-273-2/+3
| | | | | | | | Set QSG_RHI_BACKEND environment variable to "opengl" to force RHI to use OpenGL backend. Change-Id: Ie1fa0ffe466f97b1bbcc5281c49bbdf6e6d053c0 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix qmlbars example for Qt 6.0Tuomo Pelkonen2021-01-273-71/+114
| | | | | | | | Remove API versions from imports, using standard Button and adapted to new TableView Task-number: QTBUG-89298 Change-Id: Ic41c53a6c6d2c0b0542464e78395f5347bdb4e74 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Use FDL license for all .qdoc filesKai Koehne2018-05-301-11/+9
| | | | | Change-Id: I732a95d5adbd7579b05e8cb2b1afd586d5b5bc58 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Merge remote-tracking branch 'origin/5.7' into 5.8Liang Qi2016-11-081-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: examples/datavisualization/bars/doc/src/bars.qdoc examples/datavisualization/custominput/doc/src/custominput.qdoc examples/datavisualization/customitems/doc/src/customitems.qdoc examples/datavisualization/draggableaxes/doc/src/draggableaxes.qdoc examples/datavisualization/itemmodel/doc/src/itemmodel.qdoc examples/datavisualization/qmlaxisdrag/doc/src/qmlaxisdrag.qdoc examples/datavisualization/qmlaxisformatter/doc/src/qmlaxisformatter.qdoc examples/datavisualization/qmlcustominput/doc/src/qmlcustominput.qdoc examples/datavisualization/qmloscilloscope/doc/src/qmloscilloscope.qdoc examples/datavisualization/qmlscatter/doc/src/qmlscatter.qdoc examples/datavisualization/qmlspectrogram/doc/src/qmlspectrogram.qdoc examples/datavisualization/qmlsurface/doc/src/qmlsurface.qdoc examples/datavisualization/qmlsurfacelayers/doc/src/qmlsurfacelayers.qdoc examples/datavisualization/rotations/doc/src/rotations.qdoc examples/datavisualization/scatter/doc/src/scatter.qdoc examples/datavisualization/surface/doc/src/surface.qdoc examples/datavisualization/texturesurface/doc/src/texturesurface.qdoc examples/datavisualization/volumetric/doc/src/volumetric.qdoc src/datavisualization/doc/src/qtdatavisualization.qdoc Change-Id: Ic15e77b1fee0708a235bf21815f72b854981537a
| * Doc: Use capitalization in section titlesTopi Reinio2016-11-021-2/+2
| | | | | | | | | | Change-Id: I3ea9dde5f98813716d754d292af1f005d33ba98e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | Doc: Add section on running examples to example docsLeena Miettinen2016-11-021-0/+2
|/ | | | | | | | | | - Include examples-run.qdocinc from qtbase/doc/global. - Add section title to Audiolevels example docs. - Remove unnecessary leading paragraph from Custom Proxy example docs. - Remove information about running examples from Getting Started topic. Change-Id: I33e8189fa20bad38e52f424b0143b4031ad7872f Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Copyright file update to GPLMiikka Heikkinen2016-01-125-45/+85
| | | | | Change-Id: Ib264fe1f2cd1589e2ba1ef2dc7d8f3951e125708 Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
* Update license headersMiikka Heikkinen2015-10-205-55/+70
| | | | | Change-Id: I0581aefcf9dabc64b05eb8c97b5b92da1fb26299 Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
* Copyright header changesMika Salmela2015-04-145-15/+15
| | | | | | | Copyright header changes for 5.5. Change-Id: I0361cfe1ebdb28955cb927700f14cf7b72694421 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Change copyright headers.Miikka Heikkinen2014-11-075-35/+35
| | | | | | Change-Id: I453438fee92f18c983c1bef04c68b24a7ff72cf9 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
* Misc fixes for bugs found during examples testingMiikka Heikkinen2014-06-031-9/+13
| | | | | | | | | | | | - qmlbars TableView year/month display got messed up when scrolled. - qmllegend black background on transparent item bug was back due to some changes in 5.3. Worked around the issue differently. - qmloscilloscope displayed warnings about circular property binding. - Incorrect count was used to determine amount of labels for rows in bar charts. Change-Id: Id5851019af258c256a92648561bb8ce766993b5c Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* New snapshots for changed examples Tomi Korpipää2014-06-021-0/+0
| | | | | | | Task-number: QTRD-3158 Change-Id: Ib192e8b470bdb4bad431918fc586157b787fe79f Change-Id: Ib192e8b470bdb4bad431918fc586157b787fe79f Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Fix qmlbars example table delegateMiikka Heikkinen2014-05-221-5/+8
| | | | | | | | | Order of some signals seems to have changed between 5.2.1 and 5.3.0, so delegate behavior changed. Task-number: QTRD-3125 Change-Id: I5486e2e80f51089eaeef3c2d7ae05e29a81e116a Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Implement axis label autorotationMiikka Heikkinen2014-05-193-4/+15
| | | | | | Task-number: QTRD-2857 Change-Id: I158abb75272813cf7eb5d4b419e24325389d940e Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Add bar combining to qmlbars exampleMiikka Heikkinen2014-05-144-139/+181
| | | | | Change-Id: Ie2a566e2ceb4dabcd7a0e2a2f034a49add34f1b8 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Enable mapping single role to multiple properties for barsMiikka Heikkinen2014-05-093-102/+144
| | | | | | | | Surface and scatter to follow in separate task Task-number: QTRD-3074 Change-Id: I790078446cd1b805a83da2e3760eaf27c586aaab Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Enable querying shadow support from graphsMiikka Heikkinen2014-03-031-1/+2
| | | | | | | Also some example tweaking. Change-Id: If69e9d3617afc37b88fed4fd0e02ae19f0af7f78 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Misc fixesMiikka Heikkinen2014-02-211-1/+1
| | | | | | | | | + Rectangle used as main item in qml examples to make ui consistent + Surface autoaxis adjustment fixes for multiseries case + Qmlsurface example UI tweaks Change-Id: Ie75b0efc08f9a56ca709f079b28865e34caa8641 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Document the rendering changesMiikka Heikkinen2014-02-201-5/+0
| | | | | | Change-Id: I100a516f6f5d8047b88f6d81cd8794979211df20 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com> Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Fix docs build after recent reordering of examplesMiikka Heikkinen2014-02-131-7/+7
| | | | | Change-Id: I6aef7c7f0857606a035f1302000408cb7d4a11c1 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Get rid of applicationviewer generated filesMiikka Heikkinen2014-02-137-320/+8
| | | | | | | | These tamper with examples installation, which we do not want. Change-Id: Ibc81a5fe3323c2c831f21cdea94d941704abc641 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com> Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Fix examples installationMiikka Heikkinen2014-02-1313-0/+950
Had to add one folder to the examples structure so installation works correctly. Change-Id: Ic92dfe9997413a6243abcf5eeba12744ba9e938c Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>