| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Task-number: PYSIDE-3011
Change-Id: I64048d9263c529ccb41ee70eb6766f5e02507011
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
| |
Task-number: PYSIDE-3011
Change-Id: I0c09b222e68ee0563dc4b0bf07f798f800a63371
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][PySide6] Bindings for QNativeInterface.QWaylandApplication
have been added.
Initial-patch-by: Mark Harfouche <[email protected]>
Fixes: PYSIDE-2787
Change-Id: I3484fbd37cb4cd0ae70fde770eb9195a78f4b061
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is bound to grow as more interfaces with more modifications
are added.
Rename the code snippet used for int conversion.
Also add a test for X11.
Task-number: PYSIDE-2787
Change-Id: Ia5f5cf7f0fbb551c38367d80e9fdb4b004db9085
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
| |
Adapt to qtbase/82eb0fc09e048b6074a9205e371a8c17576b421a.
Task-number: PYSIDE-3011
Change-Id: Id6aeab28948c54572069bca676c944327282a7ba
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use Optional[...] to reflect that these functions may return None for functions QGuiApplication.screenAt, QGuiApplication.modalWindow and QCompleter.popup
mapping.py file had already a list for functions missing optional return, the function names added to the this list and removed from typesystem.
Amends da0f2625bf368e7d8ebd643cc303c8b7e6a6805d.
Task-number: PYSIDE-3139
Pick-to: 6.8 6.9
Change-Id: Id6331862d7b0894a3e97b95e2e825533eca1896f
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Shiboken::AutoDecRef must not be used for return values, it causes a
missing reference.
Amends e3631c3322d28447068de3a874055ff937b237c4.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3147
Task-number: PYSIDE-3002
Change-Id: Ib011b35562947d45b997e35ca45a2f55d16348b3
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
| |
No longer add a parent-child relationship in functions that return
QStandardItem (non-owning wrappers).
Task-number: PYSIDE-3143
Change-Id: I7d48d9fbd149010fde0f42347af5b47c84855657
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Use Optional[...] to reflect that these functions may return None.
Fixes: PYSIDE-3139
Pick-to: 6.8 6.9
Change-Id: Iea6da03b7f39ce0090804c58f0906863266fc87a
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
| |
QMediaDevices needs allow-threads for the query functions.
Pick-to: 6.9 6.8
Change-Id: Ieff9e9191491e6294232a0509d675ffa5a93d386
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
| |
Initial-patch-by: Christian Tismer <[email protected]>
Task-number: PYSIDE-769
Change-Id: I7b89d4dea9024b1b926d320a2464821eca5af748
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
| |
Initial-patch-by: Christian Tismer <[email protected]>
Task-number: PYSIDE-769
Change-Id: I3e7bf645a2b55249685f7aac58eb93342bdb6eb7
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, the headers are installed as ${CMAKE_INSTALL_PREFIX}/include/cmake_package_name,
where cmake_package_name is the CMake package name, e.g., PySide6. In
the wheels, the headers were included as package_name/include. Since
the level of the include directory is different, this caused issues
when importing the CMake package in a downstream project.
- This change modifies the installation of the headers so that the
CMake install prefix and the wheels are consistent.
- Additionally
- this change adds the libpyside6 headers to the wheels.
- The include headers for libshiboken were shipped with
shiboken6-generator and not with shiboken6, which has the
libshiboken binary.
Change-Id: I96e3280799da169836e24551b906274f5b0fc962
Reviewed-by: Alexandru Croitor <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use "add" instead of "set" as a refcount modification since the latter
dec-refs the previously set delegates. Amends
676a89fcfc2190ffa50bcb4f011ca4a96a9dd653.
Pick-to: 6.9
Fixes: PYSIDE-3132
Task-number: PYSIDE-226
Change-Id: I9e9b472dfbd62c9945c021be59bec688f9c9a840
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the delayed creation of QMetaEnum's in MetaObjectBuilder, when
parsing QEnum-decorated values, check for large quint64 values and add
them correctly.
For class QMetaEnum, instead of exposing the newly added functions
"std::optional<quint64> value64()" and similar, inject code handling
large values into the existing bindings since Python's int type is
able to represent the type.
Adapt to qtbase/d41b87e06742b491c4e36aeae32e03f85b078d69.
[ChangeLog][PySide6] @QEnum, @QFlag and QMetaEnum now support unsigned
64 bit values for QML usage (with the exception of Qt Widgets Designer).
Task-number: QTBUG-27451
Task-number: QTBUG-111926
Task-number: PYSIDE-1735
Change-Id: Ib0b26dbc350c404d354c8f53afee946e29f2adb3
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Add PyPy, disable-GIL and report if the runtime version differs.
Pick-to: 6.9
Task-number: PYSIDE-2221
Change-Id: I6aa2b45cbd9d579f242ffca5180333c3a7c5a53f
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The hard-coded ENABLE_ and Q_OS_ do not work for cross-compiling. They
are in fact a left-over from the pre-clang code parser. Clang is
actually able to set the right defines when parsing qsystemdetection.h
if the correct target is set.
pyside6_global.h then no longer needs to be configured by CMake.
Task-number: PYSIDE-3105
Change-Id: I640ab9e254b9ba35d5b7194001f5700911a8d421
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The config keys were added to the type system files for Web Assembly
in the assumption that its build system would handle it. For CMake,
the handling needs to be added. Also add key to nested
class UnixProcessParameters.
Complements 4a3f337d0154105f924e2e076d8f2cb63b3aca8e.
Task-number: PYSIDE-2352
Task-number: PYSIDE-962
Change-Id: Ib037fc24756df9a63d8df43caa5d6ecd8bc8473c
Reviewed-by: Shyamnath Premnadh <[email protected]>
Reviewed-by: Ece Cinucen <[email protected]>
|
|
|
|
|
|
|
|
| |
- Updated type system to add the missing overloaded function with QByteArray and ParseOptions.
- Deprecated use of QDomDocument.setContent fixed on QtXml test cases and dombookmarks example.
Change-Id: I78b5c2f3be44362c0b871009bcf6c305b3a77798
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Iron out some issues in the code:
- The old code created a fast list from the list passed
in but then did not use the fast API (PySequence_Fast_GET_ITEM(), etc)
since it does not work with the limited API. Remove it.
- For empty lists, an empty QStringList was returned since
the helper isStringList() returned true. Change
it to return an empty QVariantList.
- Add a new function pyListToVariantList() which converts each
item using the QVariant converter for use by QGenericItemModel
Change-Id: If0b5cdf4055f8d586df56a8c98bc042f4bab6427
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
| |
Change-Id: Iea443b9e541935bb904b6ad9d533909c313a7b81
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
QInputDialog.get* methods should accept None as parent
Fixes: PYSIDE-3078
Pick-to: 6.8 6.9
Change-Id: I5e6889800040a44649f99e1e7f95ab07e127c550
Reviewed-by: Shyamnath Premnadh <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the default-superclass specification QGraphicsItem for
QGraphicsObject since it causes the type discovery to directly cast
from QGraphicsObject* to QGraphicsItem*. This crashes
since QGraphicsObject inherits from QObject as first base class.
The intention of the class attribute was to ensure that any
QGraphicsObject class is stored as a QGraphicsItem. To preserve this,
hardcode it in QVariant_resolveMetaType().
Pick-to: 6.9
Fixes: PYSIDE-3069
Task-number: PYSIDE-86
Task-number: PYSIDE-1887
Change-Id: I3704988f105b118b1e4ef8d078b68c01ba89386c
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
| |
It encapsulates fetching/restoring errors and uses the old or new
exception API depending on version.
Task-number: PYSIDE-3067
Change-Id: I6e39d92c7e79fed864b364a90c5bd5b474a41ed6
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
| |
Amends caa9d339c3ba96879ae5972b08787506ec36d92b.
Task-number: PYSIDE-3084
Change-Id: I17c70441e050b713edca8f3f31ebc8c6bf251bba
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
| |
Pick-to: 6.9
Change-Id: I184a939af6814a04f76f1047217bc9736143bd74
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Make sure to store QtEnums in QVariant when the enum has a metatype.
Fixes: PYSIDE-3084
Change-Id: I94b89f89e6fb3c58560325f2a6843a5260d86557
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Stash and restore the Python errors in the message handler.
Fixes: PYSIDE-3067
Pick-to: 6.9 6.8 6.5
Change-Id: If0d8ec08f939dae6c4d6bd33a0b15f9a21d740af
Reviewed-by: Ece Cinucen <[email protected]>
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Port an incomprehensible list comprehension to pathlib and strip the
"_d" debug prefix from the file name.
Amends 3d9e42f33fad5b2eeee62d3eced1c69aa7f35fff.
Fixes: PYSIDE-3061
Task-number: PYSIDE-1890
Task-number: PYSIDE-2895
Pick-to: 6.9 6.8
Change-Id: I2989ec411ae73790515ac282a2c3eccc7d222c97
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
| |
These operators were missing.
Change based on QPolygon fix
Change-Id: I8d0a4846f91aac1e2dfa1817ec6d15903519e819
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Also add documentation with a minimal example showing the use
case of QMessageLogger in Python.
[ChangeLog][PySide6] Added QMessageLogger class to handle debug, info,
warning, critical, and fatal messages, including support for
QLoggingCategory.
Task-number: PYSIDE-3052
Pick-to: 6.9 6.8
Change-Id: Iaaf586288de4aaccf01d1e6547df9a2f478a7c8c
Reviewed-by: Ece Cinucen <[email protected]>
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
A few places were still using the double negation on a couple of
Qt configuration options.
Pick-to: 6.9
Change-Id: Id182e7a3958af21368cb890e645dc4a2902f8260
Reviewed-by: Ece Cinucen <[email protected]>
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Considering we still support old Python versions,
we cannot have the same quotation mark for f-string and for
variables within the f-string.
Fixes: PYSIDE-3068
Pick-to: 6.8 6.9 6.9.0
Change-Id: Ie9f1ed91f1a1965631bc71f35600780bb4f00603
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
|
| |
parent parameter of about, aboutQt, critical, information, question, and warning changed to Optional[QWidget].
Fixes: PYSIDE-3021
Pick-to: 6.8 6.9
Change-Id: I31e556933f25f6c21e18debb274db6a13ffbe2ed
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
| |
Fixes: PYSIDE-3057
Pick-to: 6.8 6.9
Change-Id: Iceced6c84fbfabfb484663a71ccdf13c2f69ab0a
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
| |
Fixes: PYSIDE-3050
Pick-to: 6.8 6.9
Change-Id: Ic200e75717518b2363e0aca6fe4cfc31e5fe6256
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
| |
Fixes: PYSIDE-3055
Pick-to: 6.8 6.9
Change-Id: I5b3ee124b57643991afcb70cd9293f0cd30ff83d
Reviewed-by: Christian Tismer <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Introduced by qtnetworkauth/58c92af6e870fde2718a2aa9a6631a9c7ab40fad.
Complements 2c3c5c0db5f1dbaafd23befc07633382b86e890d.
Task-number: QTBUG-124332
Task-number: PYSIDE-2862
Pick-to: 6.9
Change-Id: I9857e2ee5cabde02469f8c3a32d8a12ba05971a3
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The PlaceholderType is needed to make the type parameter
concrete. This led to further generalization of the
supported constructs in the XML specs.
Change-Id: Ic5ae4416a187f7f8527c86349f731e1b4e36b964
Fixes: PYSIDE-3045
Pick-to: 6.8 6.9
Reviewed-by: Friedemann Kleint <[email protected]>
Reviewed-by: Ece Cinucen <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of typing.Iterable, typing.List must be used in
the return type of QtCore.findchildren.
As a drive-by, the name "PlaceholderType" was corrected
because "placeholder" is only one word.
The new calculation of Optional replacement was also
fixed to handle return types.
Note: The Optional[PlaholderType] is special, and typing
refuses to use "|" here.
Change-Id: I9f7d89027496f3cae58710595d7bcaafb0e51915
Fixes: PYSIDE-3045
Pick-to: 6.8 6.9
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
| |
This is matched by a fallback mechanism at the moment.
Pick-to: 6.9 6.8
Change-Id: I9247fc512eb26007a88172d9c2a66b10e916d423
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
| |
Change-Id: I0565751f0189fea3e59cea7aa953d205527dd8b2
Pick-to: 6.8
Fixes: PYSIDE-3041
Reviewed-by: Christian Tismer <[email protected]>
|
|
|
|
|
|
|
|
| |
Change-Id: I9d14b23d9fe2e084ffdacd66560c84c8c0d54764
Fixes: PYSIDE-3042
Pick-to: 6.8
Reviewed-by: Ece Cinucen <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
| |
Change-Id: I204fe9a3716de359a5d75629c6757d2045e78f43
Fixes: PYSIDE-3036
Pick-to: 6.8
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
While present, the Qt Remote Objects bindings to Python have not been
very useful. The only usable components were those based on
QAbstractItemModel, due to the lack of a way to interpret .rep files
from Python. This addresses that limitation.
Fixes: PYSIDE-862
Change-Id: Ice57c0c64f11c3c7e74d50ce3c48617bd9b422a3
Reviewed-by: Friedemann Kleint <[email protected]>
Reviewed-by: Brett Stottlemyer <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
All classes are in a namespace Qt3DAnimation, which produces an overly
long page. Fixes an oversight in a8b0954cae4b4322ee8a206875f942977174b826.
Pick-to: 6.8
Change-Id: I61b7d703f260ac9cbe09170a32580ef5ba635720
Reviewed-by: Christian Tismer <[email protected]>
Reviewed-by: Ece Cinucen <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
When an exception occurs in a task, the logging is not helpful since it prints out nothing specific about the error that occurred. Catching the traceback and printing it out with the task in which it happened brings a lot of details to resolve the exception faster.
Task-number: PYSIDE-3001
Pick-to: 6.8
Change-Id: If199da28a37406779ac5bec178fe756d1757b08c
Reviewed-by: Shyamnath Premnadh <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
parameter
When retrieving the function groups, check if there overloads that
differ in one parameter and remove them based on rules specified in
the type system. For example, when QByteArray::number(qint64) and
QByteArray::number(int) exist, it does not make sense to generate an
overload for int with parameter checking.
[ChangeLog][shiboken6] It is now possible to specify rules
to remove redundant overloads that differ in one parameter.
Task-number: PYSIDE-2701
Change-Id: I8e1ccbccfe7b5ad76486dc197e8d9c36f1809fbe
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
|
|
| |
Add it as an integer-type. A follow-up change is needed to remove the
resulting redundant overloads with int.
Change-Id: Iba6eb399d218d5116c8030144c1e4984d11218a7
Reviewed-by: Shyamnath Premnadh <[email protected]>
|
|
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I0780ee2f7f5f42a9281f4add3818109628df8332
Reviewed-by: Shyamnath Premnadh <[email protected]>
|