| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Fix a number of miscellaneous flake8 and typing issues exposed after
updating to the modern typing syntax from 3.10 onwards.
Task-number: PYSIDE-2786
Change-Id: I5476d1208dd1da3fa93bdec02bc6124a80b247fc
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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 <tismer@stackless.com>
|
| |
|
|
|
|
|
|
| |
Add a future statement to all Python source files.
Task-number: PYSIDE-2786
Change-Id: Icd6688c7795a9e16fdcaa829686d57792df27690
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.6 6.5
Change-Id: Ia940796bd129522e703ae35ffa2963bf21d9680f
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
We are only interested in Qt decorators.
Pick-to: 6.6 6.5
Change-Id: Idb9737f5151e6fe4db383e8682b0c6019c3cb61d
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Extract helper functions from the Signal handling code to parse @Slot.
Pick-to: 6.5
Fixes: PYSIDE-2347
Change-Id: I1c12becad43e7915a63bd3068c7ec71d498c380f
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.5
Task-number: PYSIDE-2224
Change-Id: I7e83bf9b1e4138436e159c6dbb75bfb1fe20af66
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code caused an error when encountering
from PySide6 import QtCore
since it was expecting from PySide6.QtCore
Fix this to handle this case as well. Turn the module list into
a set to suppress duplicated modules.
Pick-to: 6.5
Change-Id: I4ec40c28f5a8cc03c7985869597bb2315500a604
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
| |
Fixes: PYSIDE-2202
Pick-to: 6.4
Change-Id: I9187925491696a6ecbff9c13add787fbd5420e36
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
The 'func' member of a call node can be an attribute;
use the _name() helper to get the name.
Fixes: PYSIDE-2203
Pick-to: 6.4
Change-Id: I931f747ae3d4251a697e2661d02dd603d467d84d
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
[ChangeLog][PySide6] The QmlAttached decorator has been added.
Task-number: PYSIDE-1709
Change-Id: I0301ecc7a9bc7a1b798095e8972b2fe4addf2eaf
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
| |
[ChangeLog][PySide6] The QmlExtended decorator has been added.
Task-number: PYSIDE-1709
Change-Id: I56d1c75f281f37e9d23c64362ce89c5f1f49723a
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
| |
[ChangeLog][PySide6] The @QmlForeign decorator has been added.
Task-number: PYSIDE-1709
Change-Id: I7dbba47923efb6a1c3ac4accb2b3adcd3fb6fd9b
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
Add the decorator and split the registration functions
in order to be able to pass a different type name.
[ChangeLog][PySide6] The @QmlNamedElement decorator has been added.
Task-number: PYSIDE-1709
Change-Id: I081cd33313d7b9c19cb6403ee56ac9d8b1d9e606
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
| |
Add a tool to print out the metatype information in JSON to be used
as input for qmltyperegistrar.
Task-number: PYSIDE-1709
Change-Id: Ie57feeeecc09b1a01aadcc08f7e529a16609b3a4
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| | |
|
| | |
|
| |
|