| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Task-number: PYSIDE-3011
Change-Id: I36d115fd150419bc631e3ea4706e217500d00152
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
The module will be removed from Qt since it is not used there.
This effectively reverts 559fb65547236694dc04973f7fb6b39bac75d158.
Task-number: PYSIDE-2206
Task-number: QTBUG-110428
Change-Id: I149c1e6a2c3672050b4d1ba4633f07c7cdac5c1d
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-2862
Change-Id: I45f0cafa5276ed7c387b903962f2845a23c327e8
Reviewed-by: Ece Cinucen <[email protected]>
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
| |
Removed because it was one of the very old tutorials and currently there are many other examples that covers what this tutorial shows. Also there is not a corresponding example on the qt docs.
Pick-to: 6.8
Change-Id: I4be1ef3e27827a19d13d6cbe168fda5e7f8a01c5
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Complements 7189a4c5ec193d30c6bd4e68701038880cbc5982.
Pick-to: 6.8
Task-number: PYSIDE-1735
Change-Id: Ifbfd48e953e74c18c02fbe075ad51dfeb56b97c9
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
| |
Pick-to: 6.8
Task-number: PYSIDE-1735
Change-Id: Ic2c478ef363d73f65f366e21529c0429c86539aa
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
| |
Pick-to: 6.8
Task-number: PYSIDE-1735
Change-Id: I99890e66ff29600072175185f471be0d7646c45b
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The helper widget displaying the dialog options used int(0)
as default value when building the options flags, causing:
standarddialogs.py", line 274, in set_color
options_value = self._color_options.value()
File "examples/widgets/dialogs/standarddialogs/standarddialogs.py", line 33, in value
result |= value
TypeError: unsupported operand type(s) for |=: 'int' and 'ColorDialogOption'
options_value = self._color_options.value()
Fix this by passing a zero value of the correct options type.
Pick-to: 6.8
Task-number: PYSIDE-1735
Change-Id: Ia82edb2403a9b4580fe3202d75e77da86290fdfe
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Considering we are not compatible with Python 2 anymore,
we can drop the 'object' explicit inheritance in the class
declaration.
Pick-to: 6.8
Change-Id: Iac3a95aa9721c3ff1a755f457c0936ca157a8470
Reviewed-by: Shyamnath Premnadh <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I1a5964463f703ade0657816cb974206355a5ae5b
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Some examples did not have any documentation. This patch adds
the respective documentation.
Pick-to: 6.8
Change-Id: I9698752b654c2df29fd3572f6bc66a9df56f9903
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
| |
Load and save once so that fully qualified enumerations are used.
Task-number: PYSIDE-2846
Change-Id: I544467c1d9254533bf62e1344c26c90c7d17d118
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new enums still support old syntax by the forgiveness mode.
Nevertheless, when using mypy to check files, strict correctness
is enforced.
We correct a large number of forgiveness-induced errors,
but there is still a whole lot of other complaints to fix.
Task-number: PYSIDE-2846
Change-Id: If566187d268ef75bc09b8d86f73d2c7d19f284f9
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
| |
The example_gallery tools also adds anchors, use these instead.
Change-Id: I488250fae608cf50804c3edfe0ec12d4aa08194a
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
We can already use the modern typing syntax introduced with Python 3.10
in 3.9 via future statement definitions, even before we raise the
minimum Python version to 3.10.
Note that direct expressions with "|" don't work yet.
Task-number: PYSIDE-2786
Change-Id: Ie36c140fc960328322502ea29cf6868805a7c558
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
| |
Add a future statement to all Python source files.
Task-number: PYSIDE-2786
Change-Id: Icd6688c7795a9e16fdcaa829686d57792df27690
Reviewed-by: Adrian Herrmann <[email protected]>
|
|
|
|
|
|
|
|
| |
As a drive-by, fix the resource file name of the PDF viewer example.
Pick-to: 6.7
Change-Id: Ie86ee8d7ed538bc2e55018913b547add88f48efa
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
| |
Add some missing icons.
Task-number: PYSIDE-2206
Change-Id: I7763f3ad145427dd97084e6191fd4828c2432baa
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-113331
Task-number: PYSIDE-2497
Task-number: PYSIDE-2206
Change-Id: I69b69a761eb4485b8a0f6c14d92065b0699336ea
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Remove the use of the "translations" directory and make it
a resource prefix instead. Adapt the tutorial accordingly.
Pick-to: 6.6 6.5
Change-Id: I9b7da17b4aac6a1470f5105b33a6267c78e1c26b
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
| |
Pick-to: 6.6
Task-number: PYSIDE-1112
Change-Id: Ica9c369f488afae6206b30e17d3743e0f3772642
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Exception for:
- qApp and tr not being directly imported: F821
- *rc and qml modules being imported but not used: F401
Pick-to: 6.6 6.5 6.2
Change-Id: I5e40f3f54c1721ef3dc5d7f1e87d5fd8ec771b8e
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Examples that work on Android are tagged Android.
- Clicking the tag lists all PySide6 examples supported in Android.
- sphinx-tags package added to add blog like tags to examples.
[ChangeLog][PySide6] Examples supported on Android are tagged `Android`
in documentation
Pick-to: 6.6
Task-number: PYSIDE-1612
Change-Id: Ic4ea2c63756d060aeea85b0088da9ae248eda24e
Reviewed-by: Christian Tismer <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Fix unused variable errors and other miscellaneous errors not included
in parts 1 and 2.
Pick-to: 6.6
Change-Id: Ifb4336cd4ecdd62928042e1011d4430a461efc7c
Reviewed-by: Shyamnath Premnadh <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
| |
First batch, including low-hanging fruit like Alignments, whitespaces,
line length, indents, etc.
Pick-to: 6.6
Change-Id: I55966876077f7fddfdc82cbe376677af9995f329
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
| |
Mostly spacing related.
Pick-to: 6.6
Change-Id: If0d5b25e1c60b7b216f970d1e57613f00bd04a37
Reviewed-by: Adrian Herrmann <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When Tetrix example runs, a full line of blocks will remove itself and
any other lines below. The root cause is the code only removes the
lowest line as it would be the full line but a full line can be at not
only the bottom. And this lead to a continuous full-line-finding and
removes the lowest line again and again until the full line is removed.
This fix introduced a minor fix by changing the index of traversing
through the lines to be moved down. This modification allows removing
a line that is not at the bottom and fixes the bug.
Fixes: PYSIDE-2412
Pick-to: 6.5
Change-Id: I7b23bc82b9baac720152a1d93e242df29b82f768
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-110428
Task-number: PYSIDE-2206
Change-Id: I594c2ba4e60edeeaf5b8c3beaff4b995b1f74c78
Reviewed-by: Adrian Herrmann <[email protected]>
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
| |
Change-Id: I88a7bb2fe91abcfdef6e6014b088d08c4e613893
Pick-to: 6.5
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Remove the unused logo in the animation example.
Pick-to: 6.5
Task-number: PYSIDE-2206
Change-Id: I5726651f95b3abeb78b6ea422786b97b7a4aad4b
Reviewed-by: Adrian Herrmann <[email protected]>
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
| |
Pick-to: 6.5 6.2
Task-number: PYSIDE-1106
Change-Id: Ic198a3ff73a82f4ad490fdb90d0a1aa839f5ebb2
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The example follows bad and outdated practices:
- running time consuming and I/O heavy workload in the GUI thread
- calling processEvents to keep the UI responsive
- showing results only at the end of a search rather than continuously
Perhaps this example can be rewritten at some point to apply modern
practices (at least use a thread and emit signals), but it seems
to have low overall educational value.
Fixes: QTBUG-111002
Task-number: QTBUG-108751
Task-number: PYSIDE-2206
Change-Id: I6bd6a77e34fa59de548e2ba53483eda092165c33
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Following qtbase/48a1a5564f89e1e8f0b6f4a28398e4ae0b3f751c.
Task-number: PYSIDE-2206
Change-Id: I6aa4b84133bb3d1ebb030f5db098fe1f341b6029
Reviewed-by: Adrian Herrmann <[email protected]>
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Follow up qtbase/5789ffd9ccd67ffaa45f42fe3e96355ad7311eb4,
qtbase/83b31a3d99dd96fadd65c25dc6b2b5de1351e300.
Task-number: PYSIDE-2206
Change-Id: Ib51be975f9358c9d9f9d64505a2f175ce5769ab1
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Remove the duplicated signals and fix the signal emission.
Task-number: PYSIDE-2070
Pick-to: 6.3 6.2
Change-Id: I6020d0d3b971de699ace9da5332a5e173c1fba8f
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Fixing issues related to deprecated methods, Enums,
and more.
Pick-to: 6.3
Change-Id: I07be29601f0ad257f5fcfb0a5bc4891cb7f9648c
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
| |
It is useful for testing Drag and Drop operations.
Pick-to: 6.3 6.2
Task-number: PYSIDE-841
Change-Id: I5cd6fa20542676317223d6acfdc938d286b4347f
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
| |
This works after changing Enum to allow missing values.
Pick-to: 6.3 6.2
Task-number: PYSIDE-841
Change-Id: I29f145280a19a06a9586c4f240a22dc2a7b2fe19
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- widgets/systray -> widgets/desktop
- widgets/digitalclock -> widgets/widgets
- widgets/tetrix -> widgets/widgets
Amends cf32b66adbfb489cd6e5d5c0bf3f741b59ba204c.
Task-number: PYSIDE-841
Change-Id: I132a2334e545ea564a50da0088e0297db4a30437
Reviewed-by: Qt CI Bot <[email protected]>
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
| |
Change-Id: I0aad3aefb2f036bf4edc2d0942f007045d605e26
Reviewed-by: Adrian Herrmann <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
This is a port of the Digital Clock Example,
with a little modification to include seconds.
Pick-to: 6.2 6.3
Task-number: PYSIDE-841
Change-Id: I99c36dd4a542f4aa19af2bce90e08bc941a181e7
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
| |
Task-number: PYSIDE-841
Change-Id: I1aa30657b904d3814c21f16c2404e057e754a960
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Change the directory structure to closer match that of Qt.
Task-number: PYSIDE-841
Change-Id: I87aca346b6654aafe94dd1fb83c184c182ceb2e6
Reviewed-by: Qt CI Bot <[email protected]>
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Amends 89e5d35c0f002fcb1aac3b1205402ce306074255.
Task-number: PYSIDE-1984
Change-Id: I09e74d2c3494ea263f988492cc09b2270137ad6a
Pick-to: 6.3
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
As unearthed by the warnings added by the logging category.
As a drive-by, fix some imports.
Pick-to: 6.3 6.2
Task-number: PYSIDE-2033
Change-Id: I3812c705b60eb7be744c3532fcfb0e4024763885
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
examples/widgets/graphicsview/elasticnodes/elasticnodes.py", line 132, in __init__
self.setCacheMode(self.DeviceCoordinateCache)
AttributeError: 'Node' object has no attribute 'DeviceCoordinateCache'
examples/charts/chartthemes/main.py:137: DeprecationWarning: Function: 'QXYSeries.pointsVector() const' is marked as deprecated
points = lower_series.pointsVector()
examples/charts/chartthemes/main.py:148: DeprecationWarning: Function: 'QChart.axisX(QAbstractSeries * series) const' is marked as deprecated
chart.axisX().setRange(0, self.value_count - 1)
examples/charts/percentbarchart/percentbarchart.py:46: DeprecationWarning: Function: 'QChart.setAxisX(QAbstractAxis * axis, QAbstractSeries * series)' is marked as deprecated
chart.setAxisX(axis, series)
Pick-to: 6.3 6.2
Task-number: PYSIDE-841
Change-Id: Ifc7a539f547b5986055a56b98d59ca00c5b51e19
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Split a helper off the snippet extraction function taking the comment
pattern and let it return a dict by id to make it possible to replace
snippets by id.
Prototypically use it for the modelview tutorial.
Fixes: PYSIDE-1984
Task-number: PYSIDE-1952
Pick-to: 6.3 6.2
Change-Id: I05dbc3e36825761fe2968d6507880cd6f588682d
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-1984
Pick-to: 6.3 6.2
Change-Id: I91eadd56d87e95c7ff440d5625e41046c0a5341b
Reviewed-by: Adrian Herrmann <[email protected]>
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Planning to add a mechanism to extract snippets from them.
Task-number: PYSIDE-1984
Change-Id: I0277ec27cb1eea85af8a921395374fc30935c99c
Reviewed-by: Adrian Herrmann <[email protected]>
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
| |
Port pre-existing SpreadSheet example to PySide.
Pick-to: 6.2 6.3
Change-Id: I32d014fbd5e3e406672b6bec2465c6e41c3a6580
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|