| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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: I99890e66ff29600072175185f471be0d7646c45b
Reviewed-by: Cristian Maureira-Fredes <[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]>
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
|
|
|
| |
Fixing issues related to deprecated methods, Enums,
and more.
Pick-to: 6.3
Change-Id: I07be29601f0ad257f5fcfb0a5bc4891cb7f9648c
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
| |
Change-Id: I0aad3aefb2f036bf4edc2d0942f007045d605e26
Reviewed-by: Adrian Herrmann <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
| |
Pick-to: 6.2
Change-Id: Ib53667e03a2dea2afea73a344d5749d37d59c52b
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After the new context manager is in place, most of
the examples benefit from moving QPainter into a
`with` statement.
The comments concerning PyPy could be removed, again.
[ChangeLog][PySide6] The examples are updated to use the new
context manager for QPainter.
Task-number: PYSIDE-535
Change-Id: Idf7e1f734d549ed663383ffbb2416297ebb1e0c7
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While testing the examples with PyPy, a number of examples
used QPainter without explicitly calling painter.end() and
crashed.
This works in standard Python, but leaves the painter open
in other implementations, because the implicit deletion of
objects when going out of scope does not work in the
wrapper when garbage collection is used.
Fixed by providing the missing painter.end() calls.
This problem should finally be fixed by making QPainter a
context manager. The same approach was taken by Python.org and
the file open/close functions. The context manager was needed
for implementations like IronPython, Jython and PyPy.
[ChangeLog][PySide6] The examples were adapted to PyPy's
need to close QPainter, explicitly. Eventually, we may turn
this into a context manager.
Change-Id: I18eeeff7df800bafce91a1e5c98c469aa3bcc41b
Pick-to: 6.2
Task-number: PYSIDE-535
Reviewed-by: Friedemann Kleint <[email protected]>
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Remove some star imports.
Pick-to: 6.2
Task-number: PYSIDE-1773
Change-Id: I42e3034ae91bdc5779b6ed632fe4f5d234f060b0
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
| |
Pick-to: 6.2
Change-Id: I6e92728d6208aad0c0d8871ef362da30a61e358e
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding screenshots to:
- declarative
- multimedia
- network
- widgets
Renaming examples to avoid conflict on images names.
Task-number: PYSIDE-841
Pick-to: 6.1
Change-Id: I21f403ee62b45c0cb2a45eca6c5c99f11901610e
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
- removing '\' from long lines,
- use f-strings instead of concatenating strings
- Use f-strings instead of the old '%' formatting
Task-number: PYSIDE-841
Change-Id: I4983c25a6272e10119d5d1a74c180828ca6f64e6
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
| |
Change-Id: I07dd4339093be8fcc80e63a2ff0448e998356203
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
| |
Task-number: PYSIDE-1112
Change-Id: Ib8991199e4822673d6a25cba0023dbe3b03f5938
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
| |
Task-number: PYSIDE-1112
Change-Id: Ifcb4da974bdcad7af536404fffdbffc585d3d167
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
| |
Task-number: PYSIDE-1112
Change-Id: I8534e911959d6eed2ed6d3f7741e99929ff0125e
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
| |
Task-number: PYSIDE-1112
Change-Id: Ia42e395a3c650f4c11f05cfe5c6f67d309c4a3d3
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove the resource file with the outdated Qt logo and use the
builtin PySide logo instead.
- Use enum for the line type.
- Make line type radio box exclusive.
- Use snake case.
- Use class imports.
Task-number: PYSIDE-1112
Change-Id: Ie3e690ab56f619ec95b36b9101b06fa1e4704e5e
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code was moved from QtCore into a separate library, QStateMachine,
within the qtscxml repository.
Re-add tests and fix examples.
Task-number: PYSIDE-904
Task-number: PYSIDE-1482
Change-Id: I977b4835b3345fb342c369e4fdd92646118f7fda
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
| |
Adapt CMake files, build scripts, tests and examples.
Task-number: PYSIDE-904
Change-Id: I845f7b006e9ad274fed5444ec4c1f9dbe176ff88
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Adapt to the Qt 6 API.
Task-number: PYSIDE-1339
Task-number: PYSIDE-904
Change-Id: Ia471ae8acc454dbbdd05700d08aee5bd6a265cee
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
| |
Change-Id: Iba52405551440659d60b11b3dfb9078d6066cec6
Reviewed-by: Christian Tismer <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
| |
Change-Id: I4dec66067aa2b0cc50d1ac3226537e4f09006132
Reviewed-by: Venugopal Shivashankar <[email protected]>
|
|\
| |
| |
| | |
Change-Id: Ia87a2e46bb051f1cccf3b7ba988aeb5eb32c0f0e
|
| |
| |
| |
| |
| |
| | |
Task-number: PYSIDE-797
Change-Id: I69904a6e104fc40ddb6e60e99761ffc30bcf717a
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|/
|
|
|
|
| |
Task-number: PYSIDE-855
Change-Id: Ib6f3989f1303f59c095cb12060f45388f0500b41
Reviewed-by: Alexandru Croitor <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
There was a mix of 644 and 755,
since we expect the users to execute:
python example.py
we do not need to have files with 755.
Change-Id: Iba9b2f5dbb57fe2a3503d8dfe971a4e92e764022
Reviewed-by: Friedemann Kleint <[email protected]>
Reviewed-by: Simo Fält <[email protected]>
|
|
|
|
|
|
| |
Task-number: PYSIDE-712
Change-Id: Ib91e4fec88bdb7146e54c285c7f4da60deecb6cf
Reviewed-by: Alexandru Croitor <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After correcting the QByteArray behavior, the available
constructors are constraint to bytes, bytearrays,
and others QByteArrays.
The modified lines are methods that use the modified
argument as a QByteArray (interally), that is why we now we
transform them:
"test value" -> b"test value"
Bytes are Python 2 and 3 compatible, so it does not affect
the version.
The only different change is inside `schema.py`
where a change was needed to encode a QByteArray into
utf-8.
Since this is outside our automated test, I manually test
it with Python 2.7.15 and 3.6.3 on Linux.
Task-number: PYSIDE-669
Change-Id: I8c12533b482150f4aee3d813dc127eb6b819549b
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removing the word 'project' from all the headers,
and changing the PySide reference from the examples
to Qt for Python:
The following line was used inside the source/ and
build_scripts/ directory:
for i in $(grep -r "the Qt for Python project" * |grep -v "pyside2-tools" | awk '{print $1}' | sed 's/:.*//g');do sed -i 's/the\ Qt\ for\ Python\ project/Qt\ for\ Python/g' $i;done
and the following line was used inside the examples/ directory:
for i in $(grep -r "of the PySide" * |grep -v "pyside2-tools" | awk '{print $1}' | sed 's/:.*//g');do sed -i 's/of\ the\ PySide/of\ the\ Qt\ for\ Python/g' $i;done
Change-Id: Ic480714686ad62ac4d81c670f87f1c2033d4ffa1
Reviewed-by: Friedemann Kleint <[email protected]>
Reviewed-by: Alex Blasche <[email protected]>
|
|
|
|
|
|
|
|
| |
Amends 9f2a9aba3aff73e31ea15eb4a7a04b0e50f4ee4e.
Task-number: PYSIDE-363
Change-Id: If22a5bf2705671cec7d75519030de73eaa8a391f
Reviewed-by: Alexandru Croitor <[email protected]>
|
|
Move PySide2 examples that are owned by the Qt Company
to a new examples directory.
Done-with: Venugopal Shivashankar <[email protected]>
Task-number: PYSIDE-363
Change-Id: I14099764d9eef2bc35e067086121427955862e3a
Reviewed-by: Alexandru Croitor <[email protected]>
|