aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/glue/qtdatavisualization.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix QScatterDataProxy::resetArray() crashFriedemann Kleint2023-03-031-0/+4
| | | | | | | | | | | | | | Pass an allocated array to the function, similar to 00228b7605f63c58ab979362ecaa2bef96c7dc67 for QSurfaceDataProxy. A specific code snippet is used since it needs to operate on a pointer (QList* instead of the custom type for the 2-dimensional types of surface/bar). Task-number: PYSIDE-1438 Task-number: PYSIDE-2206 Pick-to: 6.4 6.2 Change-Id: I20b0f67ace4090e21c13995f94e22e37fb5fa940 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Fix QBarDataProxy::resetArray() crashFriedemann Kleint2023-03-011-1/+6
| | | | | | | | | | | Pass an allocated array to the functions, similar to 00228b7605f63c58ab979362ecaa2bef96c7dc67 for QSurfaceDataProxy. Task-number: PYSIDE-1438 Task-number: PYSIDE-2206 Pick-to: 6.4 6.2 Change-Id: Ic3dd05b014b04425846889feb5e4df6cbe9d7675 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Add setters for the the lists in QValue3DAxisFormatterFriedemann Kleint2022-09-071-0/+27
| | | | | | | | | | | QValue3DAxisFormatter::gridPositions(), QValue3DAxisFormatter::labelPositions(), and QValue3DAxisFormatter::labelStrings() return non-const-references to lists for modifications. In PySide, add setters for them. Task-number: PYSIDE-2025 Change-Id: I90f788962380eb2ff95736b33533c1c09b59fdce Reviewed-by: Christian Tismer <tismer@stackless.com>
* Use SPDX license identifiersLucie Gérard2022-05-271-38/+2
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Task-number: QTBUG-67283 Change-Id: I065150015bdb84a3096b5b39c061cf0a20ab637d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Add a numpy overload for QSurfaceDataProxy.resetArray()Friedemann Kleint2022-05-051-0/+6
| | | | | | Fixes: PYSIDE-1880 Change-Id: I67ab9b3d0f6132f14ef4e21d4b2f85c43242de5f Reviewed-by: Christian Tismer <tismer@stackless.com>
* Fix QSurfaceDataProxy::resetArray() crashCristián Maureira-Fredes2021-09-211-0/+5
| | | | | | | | | | Pass an allocated array to the function. Complements dd4d4fe1ee74cc6dae370a8a9dcced53dc9a3898. Task-number: PYSIDE-1438 Change-Id: I4120a0dbeb3a4a4a740125ba9c27f78e61875457 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix crash in QCustom3DVolume::setTextureData()Friedemann Kleint2021-05-131-0/+5
| | | | | | | | | | | | | Similar to 3a18da91353a71e801658329c55b170c18bcd824, pass an allocated list to the function. [ChangeLog][PySide6] A crash in QCustom3DVolume::setTextureData() has been fixed. Pick-to: 6.1 5.15 Fixes: PYSIDE-1362 Change-Id: I7dddaf7be33b84b89d66378ec61f6a065f6d71be Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Qt Datavisualization: Fix crashes in QBar/SurfaceDataProxy add/set/insertRow()Friedemann Kleint2021-03-171-0/+32
| | | | | | | | | | These function take an allocated array. Replace them by functions that take the list by const-ref and pass the allocated copy. Pick-to: 5.15 Fixes: PYSIDE-1438 Change-Id: Id58cdbc4b939713b71724f5d4a67f0448c74f33f Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Rename PySide2 to PySide6Friedemann Kleint2020-11-021-0/+42
Adapt CMake files, build scripts, tests and examples. Task-number: PYSIDE-904 Change-Id: I845f7b006e9ad274fed5444ec4c1f9dbe176ff88 Reviewed-by: Christian Tismer <tismer@stackless.com>