aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6
Commit message (Collapse)AuthorAgeFilesLines
...
* Finance Manager - Part 3 - DocumentationShyamnath Premnadh2024-11-142-0/+206
| | | | | | | | | | - Expanding on part2 documentation to include detailed steps on creating a backend REST API using FastAPI and SQLite. Pick-to: 6.8 Task-number: PYSIDE-2850 Change-Id: Icfe2b9582e53b1fc59a67be661da1c5fe290fe6f Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Finance Manager - Part 2 - DocumentationShyamnath Premnadh2024-11-132-2/+119
| | | | | | | | | | - This tutorial expands on part1 by integrating SqlAlchemy with PySide6, by storing the data in a SQLite database. Pick-to: 6.8 Task-number: PYSIDE-2850 Change-Id: I195149bd861b1fb1a25623a9fe05e42f1e85054c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Finance Mananger - Part 1 - DocumentationShyamnath Premnadh2024-11-138-2/+478
| | | | | | | | | | | | - Detailed tutorial with instructions, explanaton of code concepts, gifs, steps to run and deploy the application. - Additionally, register a new role {deco} to be used in markdown. It is the same as :deco: in reStructuredText. Pick-to: 6.8 Task-number: PYSIDE-2850 Change-Id: Icb732e830948ee7ad1cb9dcf6bd07b5077c89497 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* doc: add titles for extra pagesCristián Maureira-Fredes2024-11-1316-0/+48
| | | | | | | | | | | | The custom pages that document specific classes/functions need a title to be properly displayed once searching in the documentation page. The extra module pages don't need a specific title. Change-Id: Icff3991cc1dee38a2072b49810b22a5bf228147e Pick-to: 6.8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* libpyside: Output refcount in debug operatorsFriedemann Kleint2024-11-121-1/+7
| | | | | | | | It is useful for leak checking. Pick-to: 6.8 Change-Id: Ida19cb863e8232e26c86fa82a64d0d3f741b4646 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Documentation: Update libclang versionEce Cinüçen2024-11-121-1/+1
| | | | | | | | libclang 16 was not working, and to have consistency it is changed to 18+ Pick-to: 6.8 Change-Id: I54e4db59f45ff90bc19916ca77434eb2541272b4 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* doc: reduce size of class headersCristián Maureira-Fredes2024-11-121-0/+12
| | | | | | Change-Id: I7d22571e97e9bbbca663783aaa480b21e1bc991c Pick-to: 6.8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* doc: Avoid same name for directory and main qml fileCristián Maureira-Fredes2024-11-1115-30/+32
| | | | | | | | | | | | | | | | | | Discovered while testing deployment on macOS, nuitka fails when the directory and file (e.g. Main/Main.qml) have the same name. This might be able to be fixed by other arguments or even upstream in Nuitka, this is a simple change that will encourage people not to use the same name in the meantime Pick-to: 6.8 Fixes: PYSIDE-2919 Task-number: PYSIDE-2910 Change-Id: I596d820e4a30996f9cf934a9f93e6436e51ad0d2 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* type hints: add __hash__, fix __copy__, __repr__ and __dir__Christian Tismer2024-11-081-1/+3
| | | | | | | | | | | | | | | The other missing things are sequence and mapping methods which need some more support from cppgenerator. Will be added later. typing.Self is only known since Python 3.11 . We emulate that by patching it into typing and adjusting the Python version for mypy. Task-number: PYSIDE-2846 Change-Id: Icb1060c7bba355061d8f134c8e76fb14369d7dda Pick-to: 6.8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix examples/spatialaudio/audiopanning to runFriedemann Kleint2024-11-081-2/+2
| | | | | | | | | | | | | | | The enum Loops provides constants ( Infinite = -1, Once = 1) to be passed to functions taking int. Change the type to IntEnum to enable this. Fixes: self._sound.setLoops(QSpatialSound.Infinite) TypeError: 'PySide6.QtSpatialAudio.QSpatialSound.setLoops' called with wrong argument types: PySide6.QtSpatialAudio.QSpatialSound.setLoops(Loops) Pick-to: 6.8 Change-Id: Ife4d7a6197220f13a2d59547d8a6b3a503eaff55 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* limited api: Remove PyBytes_AS_STRING and PyBytes_GET_SIZECristián Maureira-Fredes2024-11-085-22/+22
| | | | | | | | | Remove old macros usages for the Limited API compatibility, and doing some refactorings to their usages. Change-Id: I10d675a1831d26b3fc878151e3a6ec40c5caddb1 Pick-to: 6.8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* limited api: Remove PyTuple_GET_ITEM, PyTuple_SET_ITEM, and PyTuple_GET_SIZE ↵Cristián Maureira-Fredes2024-11-0831-160/+159
| | | | | | | | | | | macros Removing old macros for compatibility with the limited api, and refactoring some of their usages Change-Id: I33954199d2ef9884c64b963863b97aed851c440f Pick-to: 6.8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix building of QtWebViewFriedemann Kleint2024-11-081-2/+2
| | | | | | | | | | | Add missing find_package() statement and simplify condition. Amends 83603fed574fc7b0eed452b347170862b12a98f6. Task-number: PYSIDE-2910 Pick-to: 6.8 6.5 Change-Id: I9d899f141495c486002f01bf7e5db036244d009a Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* limited api: Remove PyList_GET_ITEM, PyList_SET_ITEM and PyList_GET_SIZE macrosCristián Maureira-Fredes2024-11-085-14/+6
| | | | | | | | | Removing old compatibility macros for the initial limited api implementation. Change-Id: Iced149450bd9bda18e43ac0acea0061cdcdb211e Pick-to: 6.8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* limited api: replace PySequence_Fast_GET_SIZE by PySequence_SizeCristián Maureira-Fredes2024-11-088-9/+9
| | | | | | | | | | | | | | | | PySequence_Fast_GET_SIZE is defined as: (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o)) and when using the Limited API we re-define the _GET_SIZE macro to be the _Size function, and considering this is our standard use case, the macro could be replaced directly by the function. Replacing also some cases were int was used instead of Py_ssize_t when using PySequence_Size. Pick-to: 6.8 Change-Id: I31aecd571a1d8ea82a3441f0b9e16ee19f026b05 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* limited api: replace PySequence_Fast_GET_ITEM by PySequence_GetItemCristián Maureira-Fredes2024-11-088-27/+42
| | | | | | | | | | | | | | | | | PySequence_Fast_GET_ITEM is defined as: (PyList_Check(o) ? PyList_GET_ITEM(o, i) : PyTuple_GET_ITEM(o, i)) and when using the Limited API we re-define the _GET_ITEM macro to be the _GetItem function, and considering this is our standard use case, the macro could be replaced directly by the function. However, the function returns a new reference, so we need to manually drecrease a reference after the usage, to avoid reference counting issues. Change-Id: If361e80b9e40b033e009ad46b2b9430e5b4c8eaa Pick-to: 6.8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix QQuick3DInstancing::getInstanceBuffer()Friedemann Kleint2024-11-072-0/+31
| | | | | | | | | | | | Modify virtual QByteArray QQuick3DInstancing::getInstanceBuffer(int*) to return a tuple of <QByteArray, int>. Pick-to: 6.8 Change-Id: I3a6c249e2e72c4a490aa34c6caa847528b1ceb62 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Remove traces of Python 2: tests and flake fixesCristián Maureira-Fredes2024-11-057-72/+58
| | | | | | | | | Addressing a few comments from tests that were related to the Python 2 compatibility. Pick-to: 6.8 Change-Id: I88c614549cfb91f879fe3e0d82a6988362e0ce19 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Add QWebEngineDesktopMediaRequestFriedemann Kleint2024-11-042-6/+6
| | | | | | | | | | | | | | | | | | It was still commented out due to not being present in the 6.7 snapshot used for adaption in a2486060f78a42739d88a460b47f23b0c75b4a79. Remove private class QWebEngineMediaSourceModel. It needs to be a value type since it is used in signal QWebEnginePage.desktopMediaRequested(const QWebEngineDesktopMediaRequest &), but has no default constructor. This is normally not supported but works due to it not being used in any other API. Task-number: PYSIDE-2497 Fixes: PYSIDE-2913 Pick-to: 6.8 Change-Id: Ifaf6bd11988e802b245b33724b1b0b071f7e098a Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* type hints: Make the mypy cache more permanent, amendedChristian Tismer2024-11-041-1/+9
| | | | | | | | | | | | | It turned out that mypy is not loaded by COIN tests when requirements_coin.txt is used. Also enforce mypy existence in COIN to prevent further configuration errors. As a drive-by, a new cache is used that is > 10% faster. Task-number: PYSIDE-2846 Change-Id: I75a27cfd0cb0fb0d7cd44c2a121291af052b0d8f Pick-to: 6.8 6.8.0 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* setup: fix PySide6.__all__ after the wheel split, amendment 3Christian Tismer2024-11-012-2/+27
| | | | | | | | | | | | | | | | | | | | The __all__ support for the PySide6 module works just fine. But there is a last incompatibility that might strike others as it did hit ourselves when using PySide6.__dict["__all__"]: Use a derived dict type and define a __missing__ attribute. Derive further a module type, then it works without problems. A little support function in Shiboken allows to replace the dict of PySide6 with this derived type. amends 703d975f16aff95bc9014a2689a3ae824b5a552f. Pick-to: 6.8 Task-number: PYSIDE-2895 Task-number: PYSIDE-1890 Change-Id: I018228116a5fdd1401c1ebd42ceb886f6829deeb Reviewed-by: Christian Tismer <tismer@stackless.com>
* type hints: Make the mypy cache more permanentChristian Tismer2024-11-011-1/+12
| | | | | | | | | | | | | | By default, mypy stores its cache data in $(pwd)/.mypy_cache . It is better to save it in the pyside_setup folder under a version specific name. This makes the cache survive full rebuilds. We tested that this folder is really writable. Task-number: PYSIDE-2846 Change-Id: I739e74cb24b5aaa1b2b457195e8a143b56a2bc44 Pick-to: 6.8 6.8.0 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* type hints: Add some mypy explanations to developer docsChristian Tismer2024-10-313-20/+224
| | | | | | | | | First attempt to explain a little how mypy errors were treated. Task-number: PYSIDE-2846 Change-Id: I13a0d2b8298d5fd1637d3bca9e2b979c7062b811 Pick-to: 6.8 6.8.0 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* shiboken6/Documentation: Nest inner classes' pages into outer classesFriedemann Kleint2024-10-256-6/+6
| | | | | | | | | | | | | | | | | | | Referencing inner classes like QByteArray::FromBase64Result did not properly work due to the inner classes being generated to separate documentation pages. Change this such that inner classes are nested into the documentation of the outer class. The problem though is that this causes excessively long pages for Qt modules with namespaces like Qt3D/QtDataVisualization (all deprecated). For them, a type system attribute is added to keep the old behavior. Pick-to: 6.8 Task-number: PYSIDE-1106 Change-Id: I51330afa739027c28930af3902b83b1e762b92ef Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Documentation: Fix build with module subset failing due to missing doc directoryFriedemann Kleint2024-10-252-83/+109
| | | | | | | | | | Extract longer QtCore documentation snippets to a separate file such that a minimum build also has doc snippets. This also makes maintenance easier. Pick-to: 6.8 Change-Id: I9fb0c93f52d3560e2e07cff076ae516ba96c90a4 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Fix extra class documentationFriedemann Kleint2024-10-2419-394/+392
| | | | | | | | | | | - Add indentation - Use refs for classes and decorators - Fix method/parameter listings Pick-to: 6.8 Change-Id: Iaada9d40e734935d5e56d75fc2a9b1a72da58e33 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Improve the Signal and Slots tutorialFriedemann Kleint2024-10-241-21/+31
| | | | | | | | | | Introduce references. Add a note pointing to the Qt.ConnectionType parameter. Pick-to: 6.8 Task-number: PYSIDE-2901 Change-Id: Ibed6d439ef536053dc00c1b941b6d0b02f626b95 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Reformat documentation of class SignalFriedemann Kleint2024-10-241-36/+39
| | | | | | | | | | Turn it into a proper class documentation, which can be referenced. Fix the tutorial link. Pick-to: 6.8 Task-number: PYSIDE-2901 Change-Id: Id09946fc8598ccc0eb9658ae1a8a5cbef102a2e5 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Documentation: Fix image URLFriedemann Kleint2024-10-241-1/+1
| | | | | | | | | Adapt to qtbase/482287debbecf0c4ee9057faed2c17f0e1126b56. Task-number: QTBUG-69988 Pick-to: 6.8 Change-Id: I9277b74fa9d7cb2029921432cda96bf552d7ccca Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* setup: fix PySide6.__all__ after the wheel split, amendment 2Christian Tismer2024-10-221-15/+16
| | | | | | | | | | | | | | | | | | When trying to write a module.__all__ variable without interference with different runtime folders, this version uses the __getattr__ support that Python 3.7 has introduced. This creates the __all__ variable on demand, when someone accesses that variable, for instance by "from PySide6 import *" which is the intended use. amends 703d975f16aff95bc9014a2689a3ae824b5a552f. Task-number: PYSIDE-1890 Change-Id: Ia4ead5bc7e499573d534ec7237b27ee737590a91 Fixes: PYSIDE-2895 Pick-to: 6.8 6.8.0 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Fix some flake8 warnings in configured Python filesFriedemann Kleint2024-10-212-13/+13
| | | | | | Pick-to: 6.8 Change-Id: Idd43e3263d27217f142b9f484d3053fb0b832677 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Lazy Init: Support Lazy Subtypes in star imports, amendment 2Christian Tismer2024-10-211-5/+9
| | | | | | | | | | | | | | After addition of subtypes support, filtering is necessary to exclude subtypes from resolving. Deleting the subtype was a bad idea with an unordered_map. Better is to use a list of names to resolve. Task-number: PYSIDE-2404 Change-Id: Ide5b13fbd37bab44881a25d4466ec30c89cd9918 Fixes: PYSIDE-2898 Pick-to: 6.8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix error handling in non-slot connection receiversFriedemann Kleint2024-10-213-0/+13
| | | | | | | | | | | | | | | Extract the error handling code which existed duplicated in GlobalReceiverV2::qt_metacall() and SignalManagerPrivate::handleMetaCallError() as a static helper of SignalManager and call that from the DynamicSlot functions. Amends 33bd61d13d8d9e3794b6049891be62f3351313d9. Pick-to: 6.8 6.8.0 Task-number: PYSIDE-2810 Fixes: PYSIDE-2900 Change-Id: Ife9f156e6752dde7002218d36d369ba68ad595b0 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Documentation: Add a note about @property and QMLFriedemann Kleint2024-10-181-0/+4
| | | | | | Pick-to: 6.8 Change-Id: I03fd38ffbae1a9a38b8d7efc130c0460da45534f Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* type hints: Install a permanent test for error-free pyi filesChristian Tismer2024-10-173-0/+50
| | | | | | | | | | | | | | | | | Testing Mypy on the whole project costs some time, about 33 s on a Mac Studio Max M1 in debug mode. On CI with release Windows, this is about 8 sec. An option "--skip-mypy-test" is added to save time. The mypy tool is only enforced to exist in COIN. Otherwise it is optional. Task-number: PYSIDE-2846 Change-Id: Ibbabbf6b893537ac923fbbaba9ff832ebd675a21 Fixes: PYSIDE-2672 Fixes: PYSIDE-2886 Pick-to: 6.8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* type hints: Evaluate multiple signatures and Union ExpressionsChristian Tismer2024-10-172-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | The multiple signatures suffer from the problem that many are reported as error, because one larger type is evaluated before another type. An Example: PySide6.QtCore.QCborSimpleType is shadowed by int when int is listed first. That is due to the mro: int.mro() [<class 'int'>, <class 'object'>] QCborSimpleType.mro() [<enum 'QCborSimpleType'>, <enum 'IntEnum'>, <class 'int'>, <enum 'ReprEnum'>, <enum 'Enum'>, <class 'object'>] We are implementing a topological sort by mro length that puts the list into the right order. Result is from 226 down to 30. Change-Id: I155e2169c3c8ab4afd5b7bb8f3411ccf6467d440 Task-number: PYSIDE-2846 Fixes: PYSIDE-2687 Fixes: PYSIDE-2886 Pick-to: 6.8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* type hints: Fix typing.Callable to include parametersChristian Tismer2024-10-173-12/+19
| | | | | | | | | | All callables have now arguments. Task-number: PYSIDE-2846 Fixes: PYSIDE-2884 Change-Id: Ibf6b1d93350304550addbc459c1440bd5cefc057 Pick-to: 6.8 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* PySide6-property: Improve error handlingFriedemann Kleint2024-10-161-1/+1
| | | | | | | | | | | PyArg_ParseTupleAndKeywords() can return Py_None for invalid types in the property decorator, for which getTypeName() returns "void". Set an error in this case. Pick-to: 6.8 Task-number: PYSIDE-2840 Change-Id: I98a497df445d9b543dddaa495d85042e00673e78 Reviewed-by: Christian Tismer <tismer@stackless.com>
* build: Install module doc snippet filesFriedemann Kleint2024-10-161-0/+9
| | | | | | | | | | Amends b55e221464c18053fa44f18132071ebdaee8f432. Task-number: PYSIDE-1106 Fixes: PYSIDE-2893 Pick-to: 6.8 Change-Id: I4a2688bfb5fcdddc5c6baea49d2fdc9c0f2381f1 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* PySide6/Documentation: Name the .rst doc files according to the module nameFriedemann Kleint2024-10-162-8/+8
| | | | | | | | | | | This makes installing them easier. Amends b55e221464c18053fa44f18132071ebdaee8f432. Task-number: PYSIDE-2893 Task-number: PYSIDE-1106 Pick-to: 6.8 Change-Id: Ic93a1db34ca778ba1df8065c87e51e64e01c5900 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Lazy Init: Support Lazy Subtypes, amendedChristian Tismer2024-10-142-4/+6
| | | | | | | | | | | | | | | The addition of nested types made it necessary to filter subtypes out of resolveLazyClasses because incarnateType should be called for toplevel types, only. Added a star test to pyenum_relax_options_test.py to test this case without using extra time. Task-number: PYSIDE-2404 Change-Id: I4b95c0f65c055376defb6a8e9ea888285c82a8e2 Fixes: PYSIDE-2888 Pick-to: 6.8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* PySide6: Add missing QAnimationCallback::FlagsFriedemann Kleint2024-10-141-1/+1
| | | | | | Pick-to: 6.8 Change-Id: Ib753505c12a489ad0db8c941817b6fb0d196ec7d Reviewed-by: Christian Tismer <tismer@stackless.com>
* Release Notes: Fix for full documentation buildShyamnath Premnadh2024-10-111-1/+15
| | | | | | | | | | - Fix for full documentation build by adding a new cli option for the output directory. Pick-to: 6.8 Task-number: PYSIDE-2853 Change-Id: I06d76567364a4fbc37cb3f8d03a2020d93b9e513 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix disconnecting from C functions (qobject_connect_notify_test flakyness)Friedemann Kleint2024-10-092-4/+12
| | | | | | | | | | | | | | | | | | | Callables wrapping C-function and their objects (as returned by "qobject.deleteLater()") may be temporary objects like methods. For the connection cache key, use self and the actual C-function as so that a disconnect succeeds. This did not show in the old design since the disconnect code did expensive checks to retrieve the slot index of the function and used the index code path. Amends 33bd61d13d8d9e3794b6049891be62f3351313d9. Pick-to: 6.8 Task-number: PYSIDE-2810 Task-number: PYSIDE-2221 Change-Id: Ic33af0d5da60589df16ca35c17824da592910a4d Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Android Deployment: Update the documentationShyamnath Premnadh2024-10-081-9/+95
| | | | | | | | | | | | - Add instructions to download Android SDK and NDK. - Add instructions to download the wheels. - Modified 'How to Use' section to include the new instructions. Pick-to: 6.8 Task-number: PYSIDE-1612 Task-number: PYSIDE-2620 Change-Id: I4d5e4ec634e149288a1f923fe506611dcd09af27 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Documentation: Fix API pageFriedemann Kleint2024-10-081-1/+1
| | | | | | | | | Amends 008853632d48752ff4604f6ac2f13fe351ff7139, bc87b5d3319d758827edcdff2798777bcf36ae6b. Pick-to: 6.8 Change-Id: Ic1d2cb5dc2b19995cd9dfab2311d761d411837e5 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* PySide6: Add QWebEngineFrameFriedemann Kleint2024-10-086-0/+117
| | | | | | | | | | | | QWebEngineFrame is used like a value type (stored in QList, etc), but does not have a default-constructor. Hack around by by adding a function returning a default-constructed instance using a struct with the same data members. Task-number: PYSIDE-2620 Pick-to: 6.8 Change-Id: Id792a47fa9cc3f3c55eb1e52c06d01e03a104a74 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* PySide6: Re-add QWebEnginePage::printToPdf()Friedemann Kleint2024-10-085-15/+44
| | | | | | | | It somehow got lost in the Qt 5 to 6 transition. Pick-to: 6.8 Change-Id: I53eb13b516d51a907cf9dd247a735103ec91375d Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* PySide6: Add QWebEnginePermissionFriedemann Kleint2024-10-072-0/+6
| | | | | | Task-number: PYSIDE-2620 Change-Id: I815941a65c9b96c21f98eab4ef671124d8f410bc Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* PySide6: Add documentation for QWebEnginePage's added functionsFriedemann Kleint2024-10-072-0/+64
| | | | | | Fixes: PYSIDE-2883 Change-Id: I56733c7b2bb3e573084ba0b281ad48e7fc6da5f7 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>