aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-07-03 14:41:11 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-07-03 14:51:45 +0200
commitd850748283698596327653ec30decdbd6c964af8 (patch)
tree6efc71e7877294fb616f88f1f17f089d4dce1b84
parent46ff21ee14e00b992b49562943274d62f2b5b456 (diff)
parentffae5fe2f3312fdad7ef5880308dae4fd31fec94 (diff)
Merge remote-tracking branch 'origin/5.11' into dev
-rw-r--r--LICENSE.COMMERCIAL914
-rw-r--r--LICENSE.GPLv3 (renamed from LICENSE.GPL3)12
-rw-r--r--LICENSE.GPLv3-EXCEPT (renamed from LICENSE.GPL3-EXCEPT)0
-rw-r--r--LICENSE.LGPLv3 (renamed from LICENSE.LGPL3)12
-rw-r--r--LICENSE.PREVIEW.COMMERCIAL626
-rw-r--r--build_scripts/main.py16
-rw-r--r--build_scripts/options.py1
-rw-r--r--build_scripts/platforms/windows_desktop.py23
-rw-r--r--build_scripts/utils.py13
-rw-r--r--build_scripts/wheel_override.py262
-rw-r--r--coin_build_instructions.py20
-rw-r--r--coin_test_instructions.py14
-rw-r--r--examples/3d/simple3d.py4
-rw-r--r--examples/charts/callout.py4
-rw-r--r--examples/charts/memoryusage.py10
-rw-r--r--examples/datavisualization/bars3d.py10
-rw-r--r--examples/declarative/extending/chapter4-customPropertyTypes/customPropertyTypes.py15
-rw-r--r--examples/declarative/extending/chapter5-listproperties/listproperties.py16
-rw-r--r--examples/declarative/usingmodel.py8
-rwxr-xr-xexamples/macextras/macpasteboardmime.py2
-rw-r--r--examples/multimedia/player.py8
-rw-r--r--examples/multimedia/shutter.svg21
-rw-r--r--examples/opengl/contextinfo.py52
-rw-r--r--examples/script/README.md9
-rw-r--r--examples/scriptableapplication/pythonutils.cpp27
-rw-r--r--examples/tutorial/t10.py4
-rw-r--r--examples/tutorial/t11.py6
-rw-r--r--examples/tutorial/t12.py6
-rw-r--r--examples/tutorial/t13.py6
-rw-r--r--examples/tutorial/t14.py8
-rw-r--r--examples/tutorial/t5.py8
-rw-r--r--examples/tutorial/t8.py2
-rw-r--r--examples/tutorial/t9.py2
-rw-r--r--examples/webenginequick/browser.qml53
-rw-r--r--examples/webenginequick/quicknanobrowser.py59
-rw-r--r--examples/webenginewidgets/tabbedbrowser/bookmarkwidget.py1
-rw-r--r--examples/webenginewidgets/tabbedbrowser/browsertabwidget.py1
-rw-r--r--examples/webenginewidgets/tabbedbrowser/downloadwidget.py2
-rw-r--r--examples/webenginewidgets/tabbedbrowser/main.py6
-rwxr-xr-xexamples/widgets/animation/animatedtiles/animatedtiles.py2
-rwxr-xr-xexamples/widgets/animation/appchooser/appchooser.py2
-rw-r--r--examples/widgets/animation/easing/easing.py4
-rwxr-xr-xexamples/widgets/animation/states/states.py120
-rwxr-xr-xexamples/widgets/draganddrop/draggabletext/draggabletext.py2
-rw-r--r--examples/widgets/graphicsview/collidingmice/collidingmice.py4
-rwxr-xr-xexamples/widgets/graphicsview/elasticnodes.py2
-rw-r--r--examples/widgets/layouts/dynamiclayouts.py12
-rwxr-xr-xexamples/widgets/mainwindows/application/application.py4
-rwxr-xr-xexamples/widgets/richtext/syntaxhighlighter.py2
-rw-r--r--examples/widgets/richtext/syntaxhighlighter/syntaxhighlighter.py2
-rwxr-xr-xexamples/xmlpatterns/schema/schema.py2
-rw-r--r--setup.py24
m---------sources/pyside2-tools0
-rw-r--r--sources/pyside2/CMakeLists.txt17
-rw-r--r--sources/pyside2/PySide2/QtCore/glue/qbytearray_msetitem.cpp158
-rw-r--r--sources/pyside2/PySide2/QtCore/typesystem_core_common.xml204
-rw-r--r--sources/pyside2/PySide2/QtQml/typesystem_qml.xml5
-rw-r--r--sources/pyside2/PySide2/QtWebEngine/CMakeLists.txt32
-rw-r--r--sources/pyside2/PySide2/QtWebEngine/typesystem_webengine.xml45
-rw-r--r--sources/pyside2/PySide2/__init__.py.in6
-rw-r--r--sources/pyside2/PySide2/_config.py.in2
-rw-r--r--sources/pyside2/PySide2/pysideqtesttouch.h2
-rw-r--r--sources/pyside2/PySide2/support/signature/mapping.py1
-rw-r--r--sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtcore.cpp53
-rw-r--r--sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtnetwork.cpp53
-rw-r--r--sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtopengl.cpp53
-rw-r--r--sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtprintsupport.cpp53
-rw-r--r--sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtqml.cpp53
-rw-r--r--sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtquick.cpp53
-rw-r--r--sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtsql.cpp52
-rw-r--r--sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qttest.cpp53
-rw-r--r--sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtwidgets.cpp53
-rw-r--r--sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtxml.cpp53
-rw-r--r--sources/pyside2/doc/codesnippets/doc/src/snippets/doc_src_qtcharts.cpp43
-rw-r--r--sources/pyside2/doc/codesnippets/doc/src/snippets/doc_src_qtgui.cpp53
-rw-r--r--sources/pyside2/doc/codesnippets/doc/src/snippets/doc_src_qtmultimedia.cpp53
-rw-r--r--sources/pyside2/doc/codesnippets/doc/src/snippets/doc_src_qtxmlpatterns.cpp54
-rw-r--r--sources/pyside2/doc/codesnippets/doc/src/snippets/quiloader/doc_src_qtuiloader.cpp53
-rw-r--r--sources/pyside2/doc/codesnippets/examples/imageprovider/imageprovider.cpp2
-rw-r--r--sources/pyside2/doc/conf.py.in6
-rw-r--r--sources/pyside2/doc/gettingstarted.rst2
-rw-r--r--sources/pyside2/doc/index.rst4
-rw-r--r--sources/pyside2/doc/pyside-config.qdocconf.in3
-rw-r--r--sources/pyside2/doc/qtmodules/pyside-qtwebenginecore.qdocconf.in3
-rw-r--r--sources/pyside2/doc/qtmodules/pyside-qtwebenginewidgets.qdocconf.in3
-rw-r--r--sources/pyside2/doc/tutorials/examples/images/tabbedbrowser.pngbin0 -> 37147 bytes
-rw-r--r--sources/pyside2/doc/tutorials/examples/tabbedbrowser.rst57
-rw-r--r--sources/pyside2/doc/tutorials/index.rst21
-rw-r--r--sources/pyside2/libpyside/pyside.cpp18
-rw-r--r--sources/pyside2/libpyside/pyside.h1
-rw-r--r--sources/pyside2/tests/CMakeLists.txt4
-rw-r--r--sources/pyside2/tests/QtCore/bug_938.py3
-rw-r--r--sources/pyside2/tests/QtCore/deepcopy_test.py3
-rw-r--r--sources/pyside2/tests/QtCore/qbytearray_concatenation_operator_test.py31
-rw-r--r--sources/pyside2/tests/QtCore/qbytearray_operator_iadd_test.py23
-rw-r--r--sources/pyside2/tests/QtCore/qbytearray_operator_test.py29
-rw-r--r--sources/pyside2/tests/QtCore/qbytearray_test.py195
-rw-r--r--sources/pyside2/tests/QtCore/qdatastream_test.py48
-rw-r--r--sources/pyside2/tests/QtCore/qfile_test.py2
-rw-r--r--sources/pyside2/tests/QtCore/qfileread_test.py5
-rw-r--r--sources/pyside2/tests/QtCore/qmessageauthenticationcode_test.py3
-rw-r--r--sources/pyside2/tests/QtCore/qtextstream_test.py12
-rw-r--r--sources/pyside2/tests/QtCore/qtimezone_test.py3
-rw-r--r--sources/pyside2/tests/QtCore/repr_test.py3
-rw-r--r--sources/pyside2/tests/QtCore/unicode_test.py1
-rw-r--r--sources/pyside2/tests/QtCore/versioninfo_test.py2
-rw-r--r--sources/pyside2/tests/QtGui/bug_660.py2
-rw-r--r--sources/pyside2/tests/QtGui/qtextdocumentwriter_test.py3
-rw-r--r--sources/pyside2/tests/QtNetwork/bug_1084.py2
-rw-r--r--sources/pyside2/tests/QtNetwork/bug_446.py5
-rw-r--r--sources/pyside2/tests/QtNetwork/udpsocket_test.py3
-rw-r--r--sources/pyside2/tests/QtOpenGL/qglbuffer_test.py2
-rwxr-xr-xsources/pyside2/tests/QtQml/bug_814.py2
-rw-r--r--sources/pyside2/tests/QtWebEngine/CMakeLists.txt30
-rw-r--r--sources/pyside2/tests/QtWebEngine/web_engine_initialize.py46
-rw-r--r--sources/pyside2/tests/QtWebEngineCore/web_engine_custom_scheme.py7
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_668.py2
-rw-r--r--sources/pyside2/tests/QtXml/qdomdocument_test.py10
-rw-r--r--sources/pyside2/tests/QtXmlPatterns/import_test.py5
-rw-r--r--sources/pyside2/tests/registry/existence_test.py14
-rw-r--r--sources/pyside2/tests/registry/exists_darwin_5_11_1_ci.py18733
-rw-r--r--sources/pyside2/tests/registry/exists_darwin_5_6_4_ci.py2
-rw-r--r--sources/pyside2/tests/registry/exists_darwin_5_9_4_ci.py2
-rw-r--r--sources/pyside2/tests/registry/exists_linux_5_11_1_ci.py18408
-rw-r--r--sources/pyside2/tests/registry/exists_linux_5_6_4_ci.py2
-rw-r--r--sources/pyside2/tests/registry/exists_linux_5_9_4_ci.py2
-rw-r--r--sources/pyside2/tests/registry/exists_win32_5_11_1_ci.py18619
-rw-r--r--sources/pyside2/tests/registry/exists_win32_5_6_4_ci.py2
-rw-r--r--sources/pyside2/tests/registry/exists_win32_5_9_4_ci.py2
-rw-r--r--sources/pyside2/tests/support/CMakeLists.txt1
-rw-r--r--sources/pyside2/tests/support/voidptr_test.py47
-rw-r--r--sources/shiboken2/ApiExtractor/CMakeLists.txt7
-rw-r--r--sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp242
-rw-r--r--sources/shiboken2/ApiExtractor/abstractmetabuilder.h8
-rw-r--r--sources/shiboken2/ApiExtractor/abstractmetabuilder_p.h12
-rw-r--r--sources/shiboken2/ApiExtractor/apiextractor.cpp21
-rw-r--r--sources/shiboken2/ApiExtractor/apiextractor.h5
-rw-r--r--sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp23
-rw-r--r--sources/shiboken2/ApiExtractor/clangparser/clangparser.cpp5
-rw-r--r--sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp152
-rw-r--r--sources/shiboken2/ApiExtractor/clangparser/compilersupport.h15
-rw-r--r--sources/shiboken2/ApiExtractor/header_paths.h38
-rw-r--r--sources/shiboken2/ApiExtractor/parser/codemodel.cpp14
-rw-r--r--sources/shiboken2/ApiExtractor/parser/codemodel.h3
-rw-r--r--sources/shiboken2/ApiExtractor/tests/testtemplates.cpp388
-rw-r--r--sources/shiboken2/ApiExtractor/tests/testutil.h2
-rw-r--r--sources/shiboken2/ApiExtractor/typeparser.cpp126
-rw-r--r--sources/shiboken2/ApiExtractor/typeparser.h25
-rw-r--r--sources/shiboken2/ApiExtractor/typesystem.cpp10
-rw-r--r--sources/shiboken2/ApiExtractor/typesystem.h4
-rw-r--r--sources/shiboken2/CMakeLists.txt40
-rw-r--r--sources/shiboken2/generator/generator.cpp13
-rw-r--r--sources/shiboken2/generator/generator.h52
-rw-r--r--sources/shiboken2/generator/main.cpp80
-rw-r--r--sources/shiboken2/generator/qtdoc/qtdocgenerator.cpp8
-rw-r--r--sources/shiboken2/generator/shiboken2/cppgenerator.cpp15
-rw-r--r--sources/shiboken2/generator/shiboken2/cppgenerator.h3
-rw-r--r--sources/shiboken2/generator/shiboken2/shibokengenerator.cpp111
-rw-r--r--sources/shiboken2/generator/shiboken2/shibokengenerator.h27
-rw-r--r--sources/shiboken2/libshiboken/basewrapper.cpp11
-rw-r--r--sources/shiboken2/libshiboken/pep384_issue33738.cpp121
-rw-r--r--sources/shiboken2/libshiboken/pep384impl.cpp93
-rw-r--r--sources/shiboken2/libshiboken/pep384impl.h16
-rw-r--r--sources/shiboken2/libshiboken/sbkconverter.cpp5
-rw-r--r--sources/shiboken2/libshiboken/sbkpython.h1
-rw-r--r--sources/shiboken2/libshiboken/sbkstring.cpp10
-rw-r--r--sources/shiboken2/libshiboken/sbkstring.h4
-rw-r--r--sources/shiboken2/libshiboken/voidptr.cpp9
-rw-r--r--sources/shiboken2/tests/dumpcodemodel/main.cpp26
169 files changed, 59769 insertions, 2118 deletions
diff --git a/LICENSE.COMMERCIAL b/LICENSE.COMMERCIAL
new file mode 100644
index 00000000..5dcd1f6f
--- /dev/null
+++ b/LICENSE.COMMERCIAL
@@ -0,0 +1,914 @@
+QT LICENSE AGREEMENT Agreement version 4.0
+
+This License Agreement (“Agreement”) is a legal agreement between The Qt
+Company (as defined below) and the Licensee (as defined below) for the license
+of Licensed Software (as defined below). Capitalized terms used herein are
+defined in Section 1.
+
+WHEREAS:
+
+(A). Licensee wishes to use the Licensed Software for the purpose of developing
+and distributing Applications and/or Devices; and
+
+(B). The Qt Company is willing to grant the Licensee a right to use Licensed
+Software for such purpose pursuant to term and conditions of this Agreement.
+
+NOW, THEREFORE, THE PARTIES HEREBY AGREE AS FOLLOWS:
+
+1. DEFINITIONS
+
+“Affiliate” of a Party shall mean an entity (i) which is directly or indirectly
+controlling such Party; (ii) which is under the same direct or indirect
+ownership or control as such Party; or (iii) which is directly or indirectly
+owned or controlled by such Party. For these purposes, an entity shall be
+treated as being controlled by another if that other entity has fifty percent
+(50 %) or more of the votes in such entity, is able to direct its affairs
+and/or to control the composition of its board of directors or equivalent body.
+
+“Applications” shall mean Licensee's software products created using the
+Licensed Software, which may include the Redistributables, or part
+thereof.
+
+“Contractor(s)” shall mean third party consultants, distributors and
+contractors performing services to a Party under applicable contractual
+arrangement.
+
+“Customer(s)” shall mean Licensee’s end users to whom Licensee, directly or
+indirectly, distributes copies of the Redistributables.
+
+“Deployment Platforms” shall mean operating systems specified in the License
+Certificate, in which the Redistributables can be distributed pursuant to the
+terms and conditions of this Agreement.
+
+“Designated User(s)” shall mean the employee(s) of Licensee or Licensee’s
+Affiliates acting within the scope of their employment or Licensee's
+Contractors acting within the scope of their services for Licensee and on
+behalf of Licensee. Designated Users shall be named in the License Certificate.
+
+“Development License” shall mean the license needed by the Licensee for each
+Designated User to use the Licensed Software under the license grant described
+in Section 3.1 of this Agreement.
+
+“Development Platforms” shall mean those operating systems specified in the
+License Certificate, in which the Licensed Software can be used under the
+Development License, but not distributed in any form or used for any other
+purpose.
+
+“Devices” shall mean hardware devices or products that 1) are manufactured
+and/or distributed by the Licensee or its Affiliates or Contractors, and
+(2)(i) incorporate or integrate the Redistributables or parts thereof; or (ii)
+do not incorporate or integrate the Redistributables at the time of
+distribution, but where, when used by a Customer, the main user interface or
+substantial functionality of such device is provided by Application(s) or
+otherwise depends on the Licensed Software.
+
+“Distribution License(s)” shall mean the license required for distribution of
+Redistributables in connection with Devices pursuant to license grant described
+in Section 3.3 of this Agreement.
+
+“Distribution License Packs” shall mean set of prepaid Distribution Licenses
+for distribution of Redistributables, as defined in The Qt Company’s standard
+price list, quote, Purchase Order confirmation or in an appendix hereto,
+as the case may be.
+
+“Intellectual Property Rights” shall mean patents (including utility models),
+design patents, and designs (whether or not capable of registration), chip
+topography rights and other like protection, copyrights, trademarks, service
+marks, trade names, logos or other words or symbols and any other form of
+statutory protection of any kind and applications for any of the foregoing as
+well as any trade secrets.
+
+“License Certificate” shall mean a certificate generated by The Qt Company for
+each Designated User respectively upon them downloading the licensed Software.
+License Certificate will be available under respective Designated User’s Qt
+Account at account.qt.io and it will specify the Designated User, the
+Development Platforms, Deployment Platforms and the License Term. The terms of
+the License Certificate are considered part of this Agreement and shall be
+updated from time to time to reflect any agreed changes to the foregoing terms
+relating to Designated User’s rights to the Licensed Software.
+
+“License Fee” shall mean the fee charged to the Licensee for rights granted
+under the terms of this Agreement.
+
+“License Term” shall mean the agreed validity period of the Development
+License of the respective Designated User, during which time the
+Designated User is entitled to use the Licensed Software, as set forth in the
+respective License Certificate.
+
+“Licensed Software” shall mean all versions of the
+
+(i) Qt Toolkit (including Qt Essentials, Qt Add-Ons and Value-Add modules) as
+described in http://doc.qt.io/qt-5/qtmodules.html,
+
+(ii). Qt Creator (including Creator IDE tool) as described in
+http://doc.qt.io/qtcreator/index.html,
+
+(iii). Qt 3D Studio as described in http://doc.qt.io/qt3dstudio/index.html, and
+
+as well as corresponding online or electronic documentation, associated media
+and printed materials, including the source code, example programs and the
+documentation, licensed to the Licensee under this Agreement. Licensed Software
+does not include Third Party Software (as defined in Section 4), Open Source
+Qt, or other software products of The Qt Company (for example Qt Safe Renderer
+and Qt for Automation), unless such other software products of The Qt Company
+are separately agreed in writing to be included in scope of the Licensed
+Software.
+
+“Licensee” shall mean the individual or legal entity that is party to this
+Agreement, as identified on the signature page hereof.
+
+“Licensee’s Records” shall mean books and records that are likely to contain
+information bearing on Licensee’s compliance with this Agreement or the
+payments due to The Qt Company under this Agreement, including, but not limited
+to: assembly logs, sales records and distribution records.
+
+“Modified Software” shall have the meaning as set forth in Section 2.3.
+
+“Online Services” shall mean any services or access to systems made available
+by The Qt Company to the Licensee over the Internet relating to the Licensed
+Software or for the purpose of use by the Licensee of the Licensed Software or
+Support. Use of any such Online Services is discretionary for the Licensee and
+some of them may be subject to additional fees.
+
+“Open Source Qt” shall mean the non-commercial Qt computer software products,
+licensed under the terms of the GNU Lesser General Public License, version
+2.1 or later (“LGPL”) or the GNU General Public License, version 2.0 or later
+(“GPL”). For clarity, Open Source Qt shall not be provided nor governed under
+this Agreement.
+
+”Party” or “Parties” shall mean Licensee and/or The Qt Company.
+
+"Redistributables" shall mean the portions of the Licensed Software set forth
+in Appendix 1, Section 1 that may be distributed pursuant to the terms of this
+Agreement in object code form only, including any relevant documentation.
+Where relevant, any reference to Licensed Software in this Agreement shall
+include and refer also to Redistributables.
+
+“Renewal Term” shall mean an extension of previous License Term as agreed
+between the Parties.
+
+“Submitted Modified Software” shall have the meaning as set forth in
+Section 2.3.
+
+“Support” shall mean standard developer support that is provided by The Qt
+Company to assist Designated Users in using the Licensed Software in
+accordance with The Qt Company’s standard support terms and as further
+defined in Section 8 hereunder.
+
+“Taxes” shall have the meaning set forth in Section 10.5.
+
+“Term” shall have the meaning set forth in Section 12.
+
+ “The Qt Company” shall mean:
+
+(i) in the event Licensee is an individual residing in the United States or a
+legal entity incorporated in the United States or having its headquarters in
+the United States, The Qt Company Inc., a Delaware corporation with its office
+at 2350 Mission College Blvd., Suite 1020, Santa Clara, CA 95054, USA.; or
+
+(ii) in the event the Licensee is an individual residing outside of the United
+States or a legal entity incorporated outside of the United States or having
+its registered office outside of the United States, The Qt Company Ltd., a
+Finnish company with its registered office at Bertel Jungin aukio D3A, 02600
+Espoo, Finland.
+
+"Third Party Software " shall have the meaning set forth in Section 4.
+
+“Updates” shall mean a release or version of the Licensed Software containing
+bug fixes, error corrections and other changes that are generally made
+available to users of the Licensed Software that have contracted for Support.
+Updates are generally depicted as a change to the digits following the decimal
+in the Licensed Software version number. The Qt Company shall make Updates
+available to the Licensee under the Support. Updates shall be considered as
+part of the Licensed Software hereunder.
+
+“Upgrades” shall mean a release or version of the Licensed Software containing
+enhancements and new features and are generally depicted as a change to the
+first digit of the Licensed Software version number. In the event Upgrades are
+provided to the Licensee under this Agreement, they shall be considered as
+part of the Licensed Software hereunder.
+
+2. OWNERSHIP
+
+2.1 Ownership of The Qt Company
+
+The Licensed Software is protected by copyright laws and international
+copyright treaties, as well as other intellectual property laws and treaties.
+The Licensed Software is licensed, not sold.
+
+All The Qt Company's Intellectual Property Rights are and shall remain the
+exclusive property of The Qt Company or its licensors respectively.
+
+2.2 Ownership of Licensee
+
+All the Licensee's Intellectual Property Rights are and shall remain the
+exclusive property of the Licensee or its licensors respectively.
+
+All Intellectual Property Rights to the Modified Software, Applications and
+Devices shall remain with the Licensee and no rights thereto shall be granted
+by the Licensee to The Qt Company under this Agreement (except as set forth in
+Section 2.3 below).
+
+2.3 Modified Software
+
+Licensee may create bug-fixes, error corrections, patches or modifications to
+the Licensed Software (“Modified Software”). Such Modified Software may break
+the source or binary compatibility with the Licensed Software (including
+without limitation through changing the application programming interfaces
+("API") or by adding, changing or deleting any variable, method, or class
+signature in the Licensed Software and/or any inter-process protocols, services
+or standards in the Licensed Software libraries). To the extent that Licensee’s
+Modified Software so breaks source or binary compatibility with the Licensed
+Software, Licensee acknowledges that The Qt Company's ability to provide
+Support may be prevented or limited and Licensee's ability to make use of
+Updates may be restricted.
+
+Licensee may, at its sole and absolute discretion, choose to submit Modified
+Software to The Qt Company (“Submitted Modified Software”) in connection with
+Licensee’s Support request, service request or otherwise. In the event Licensee
+does so, then, Licensee hereby grants The Qt Company a sublicensable,
+assignable, irrevocable, perpetual, worldwide, non-exclusive, royalty-free and
+fully paid-up license, under all of Licensee’s Intellectual Property Rights, to
+reproduce, adapt, translate, modify, and prepare derivative works of, publicly
+display, publicly perform, sublicense, make available and distribute such
+Submitted Modified Software as The Qt Company sees fit at its free and absolute
+discretion.
+
+3. LICENSES GRANTED
+
+3.1 Development with Licensed Software
+
+Subject to the terms of this Agreement, The Qt Company grants to Licensee a
+personal, worldwide, non-exclusive, non-transferable license, valid for the
+License Term, to use, modify and copy the Licensed Software by Designated Users
+on the Development Platforms for the sole purposes of designing, developing,
+demonstrating and testing Application(s) and/or Devices, and to provide thereto
+related support and other related services to end-user Customers.
+
+Licensee may install copies of the Licensed Software on an unlimited number of
+computers provided that (i) only the Designated Users may use the Licensed
+Software, and (ii) all Designated Users must have a valid Development License
+to use Licensed Software.
+
+Licensee may at any time designate another Designated User to replace a then-
+current Designated User by notifying The Qt Company in writing, provided that
+any Designated User may be replaced only once during any six-month period.
+
+Upon expiry of the initially agreed License Term, the respective License Terms
+shall be automatically extended to one or more Renewal Term(s), unless and
+until either Party notifies the other Party in writing that it does not wish to
+continue the License Term, such notification to be provided to the other Party
+no less than ninety (90) days before expiry of the respective License Term.
+Unless otherwise agreed between the Parties, Renewal Term shall be of equal
+length with the initial Term.
+
+Any such Renewal Term shall be subject to License Fees agreed between the
+Parties or, if no advance agreement exists, subject to The Qt Company’s
+standard pricing applicable at the commencement date of any such Renewal Term.
+
+3.2 Distribution of Applications
+
+Subject to the terms of this Agreement, The Qt Company grants to Licensee a
+personal, worldwide, non-exclusive, non-transferable, revocable (for cause
+pursuant to this Agreement) right and license, valid for the Term, to
+
+(i) distribute, by itself or through its Contractors, Redistributables as
+installed, incorporated or integrated into Applications for execution on the
+Deployment Platforms, and
+
+(ii) grant sublicenses to Redistributables, as distributed hereunder, for
+Customers solely for Customer’s internal use and to the extent necessary in
+order for the Customers to use the Applications for their respective intended
+purposes.
+
+Right to distribute the Redistributables as part of an Application as provided
+herein is not royalty-bearing but is conditional upon the Licensee having paid
+the agreed Development Licenses from The Qt Company before distributing any
+Redistributables to Customers.
+
+3.3 Distribution of Devices
+
+Subject to the terms of this Agreement, The Qt Company grants to Licensee a
+personal, worldwide, non-exclusive, non-transferable, revocable (for cause
+pursuant to this Agreement) right and license, valid for the Term, to
+
+(i) distribute, by itself or through one or more tiers of Contractors,
+Redistributables as installed, incorporated or integrated, or intended to be
+installed, incorporated or integrated into Devices for execution on the
+Deployment Platforms, and
+
+(ii) grant sublicenses to Redistributables, as distributed hereunder, for
+Customers solely for Customer’s internal use and to the extent necessary in
+order for the Customers to use the Devices for their respective intended
+purposes.
+
+Right to distribute the Redistributables with Devices as provided herein is
+conditional upon the Licensee having purchased and paid the appropriate amount
+of Development and Distribution Licenses from The Qt Company before
+distributing any Redistributables to Customers.
+
+3.4 Further Requirements
+
+The licenses granted above in this Section 3 by The Qt Company to Licensee are
+conditional and subject to Licensee's compliance with the following terms:
+
+(i) Licensee shall not remove or alter any copyright, trademark or other
+proprietary rights notice contained in any portion of the Licensed Software;
+
+(ii) Applications must add primary and substantial functionality to the
+Licensed Software;
+
+(iii) Applications may not pass on functionality which in any way makes it
+possible for others to create software with the Licensed Software; provided
+however that Licensee may use the Licensed Software's scripting and QML ("Qt
+Quick") functionality solely in order to enable scripting, themes and styles
+that augment the functionality and appearance of the Application(s) without
+adding primary and substantial functionality to the Application(s);
+
+(iv) Applications must not compete with the Licensed Software;
+
+(v) Licensee shall not use The Qt Company's or any of its suppliers' names,
+logos, or trademarks to market Applications, except that Licensee may use
+“Built with Qt” logo to indicate that Application(s) was developed using the
+Licensed Software;
+
+(vi) Licensee shall not distribute, sublicense or disclose source code of
+Licensed Software to any third party (provided however that Licensee may
+appoint employee(s) of Contractors as Designated Users to use Licensed
+Software pursuant to this Agreement). Such right may be available for the
+Licensee subject to a separate software development kit (“SDK”) license
+agreement to be concluded with The Qt Company;
+
+(vii) Licensee shall not grant the Customers a right to (i) make copies of the
+Redistributables except when and to the extent required to use the Applications
+and/or Devices for their intended purpose, (ii) modify the Redistributables or
+create derivative works thereof, (iii) decompile, disassemble or otherwise
+reverse engineer Redistributables, or (iv) redistribute any copy or portion of
+the Redistributables to any third party, except as part of the onward sale of
+the Device on which the Redistributables are installed;
+
+(viii) Licensee shall not and shall cause that its Affiliates or Contractors
+shall not a) in any way combine, incorporate or integrate Licensed Software
+with, or use Licensed Software for creation of, any software created with or
+incorporating Open Source Qt, or b) incorporate or integrate Applications
+into a hardware device or product other than a Device, unless Licensee has
+received an advance written permission from The Qt Company to do so. Absent
+such written permission, any and all distribution by the Licensee during the
+Term of a hardware device or product a) which incorporate or integrate any
+part of Licensed Software or Open Source Qt; or b) where the main user
+interface or substantial functionality is provided by software build with
+Licensed Software or Open Source Qt or otherwise depends on the Licensed
+Software or Open Source Qt, shall be considered as a Device distribution under
+this Agreement and dependent on compliance thereof (including but not limited
+to obligation to pay applicable License Fees for such distribution);
+
+(ix) Licensee shall cause all of its Affiliates and Contractors entitled to
+make use of the licenses granted under this Agreement, to be contractually
+bound to comply with the relevant terms of this Agreement and not to use the
+Licensed Software beyond the terms hereof and for any purposes other than
+operating within the scope of their services for Licensee. Licensee shall be
+responsible for any and all actions and omissions of its Affiliates and
+Contractors relating to the Licensed Software and use thereof (including but
+not limited to payment of all applicable License Fees);
+
+(x) Except when and to the extent explicitly provided in this Section 3,
+Licensee shall not transfer, publish, disclose, display or otherwise make
+available the Licensed Software;
+
+; and
+
+(xi) Licensee shall not attempt or enlist a third party to conduct or attempt
+to conduct any of the above.
+
+Above terms shall not be applicable if and to the extent they conflict with any
+mandatory provisions of any applicable laws.
+
+Any use of Licensed Software beyond the provisions of this Agreement is
+strictly prohibited and requires an additional license from The Qt Company.
+
+4. THIRD PARTY SOFTWARE
+
+The Licensed Software may provide links to third party libraries or code
+(collectively "Third Party Software") to implement various functions. Third
+Party Software does not comprise part of the Licensed Software. In some cases,
+access to Third Party Software may be included in the Licensed Software. Such
+Third Party Software will be listed in the ".../src/3rdparty" source tree
+delivered with the Licensed Software or documented in the Licensed Software, as
+such may be amended from time to time. Licensee acknowledges that use or
+distribution of Third Party Software is in all respects subject to applicable
+license terms of applicable third party right holders.
+
+ 5. PRE-RELEASE CODE
+
+The Licensed Software may contain pre-release code and functionality marked or
+otherwise stated as “Technology Preview”, “Alpha”, “Beta” or similar
+designation. Such pre-release code may be present in order to provide
+experimental support for new platforms or preliminary versions of one or more
+new functionalities. The pre-release code may not be at the level of
+performance and compatibility of a final, generally available, product
+offering of the Licensed Software. The pre-release parts of the Licensed
+Software may not operate correctly, may contain errors and may be substantially
+modified by The Qt Company prior to the first commercial product release, if
+any. The Qt Company is under no obligation to make pre-release code
+commercially available, or provide any Support or Updates relating thereto. The
+Qt Company assumes no liability whatsoever regarding any pre-release code, but
+any use thereof is exclusively at Licensee’s own risk and expense.
+
+6. LIMITED WARRANTY AND WARRANTY DISCLAIMER
+
+The Qt Company hereby represents and warrants that it has the power and
+authority to grant the rights and licenses granted to Licensee under this
+Agreement.
+
+Except as set forth above, the Licensed Software is licensed to Licensee
+"as is" and Licensee’s exclusive remedy and The Qt Company’s entire liability
+for errors in the Licensed Software shall be limited, at The Qt Company’s
+option, to correction of the error, replacement of the Licensed Software or
+return of the applicable fees paid for the defective Licensed Software for the
+time period during which the License is not able to utilize the Licensed
+Software under the terms of this Agreement.
+
+TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE QT COMPANY ON BEHALF OF
+ITSELF AND ITS LICENSORS, SUPPLIERS AND AFFILIATES, DISCLAIMS ALL OTHER
+WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED
+WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-
+INFRINGEMENT WITH REGARD TO THE LICENSED SOFTWARE. THE QT COMPANY DOES NOT
+WARRANT THAT THE LICENSED SOFTWARE WILL SATISFY LICENSEE’S REQUIREMENTS OR THAT
+IT WILL OPERATE WITHOUT DEFECT OR ERROR OR THAT THE OPERATION THEREOF WILL BE
+UNINTERRUPTED. ALL USE OF AND RELIANCE ON THE LICENSED SOFTWARE IS AT THE SOLE
+RISK OF AND RESPONSIBILITY OF LICENSEE.
+
+7. INDEMNIFICATION AND LIMITATION OF LIABILITY
+
+7.1 Limitation of Liability
+
+EXCEPT FOR (I) CASES OF GROSS NEGLIGENCE OR INTENTIONAL MISCONDUCT, AND (II)
+BREACH OF CONFIDENTIALITY, AND TO THE EXTENT PERMITTED BY APPLICABLE LAW, IN NO
+EVENT SHALL EITHER PARTY BE LIABLE TO THE OTHER PARTY FOR ANY LOSS OF PROFIT,
+LOSS OF DATA, LOSS OF BUSINESS OR GOODWILL OR ANY OTHER INDIRECT, SPECIAL,
+CONSEQUENTIAL, INCIDENTAL OR PUNITIVE COST, DAMAGES OR EXPENSE OF ANY KIND,
+HOWSOEVER ARISING UNDER OR IN CONNECTION WITH THIS AGREEMENT. PARTIES
+SPECIFICALLY AGREE THAT LICENSEE’S OBLIGATION TO PAY LICENSE AND OTHER FEES
+CORRESPONDING TO ACTUAL USAGE OF LICENSED SOFTWARE HEREUNDER SHALL BE
+CONSIDERED AS A DIRECT DAMAGE.
+
+EXCEPT FOR (I) CASES OF GROSS NEGLIGENCE OR INTENTIONAL MISCONDUCT, AND (II)
+BREACH OF CONFIDENTIALITY, AND TO THE EXTENT PERMITTED BY APPLICABLE LAW, IN
+NO EVENT SHALL EITHER PARTY’S TOTAL AGGREGATE LIABILITY UNDER THIS AGREEMENT
+EXCEED THE AGGREGATE LICENSE FEES PAID OR PAYABLE TO THE QT COMPANY FROM
+LICENSEE DURING THE PERIOD OF TWELVE (12) MONTHS IMMEDIATELY PRECEDING THE
+EVENT RESULTING IN SUCH LIABILITY.
+
+THE PROVISIONS OF THIS SECTION 7 ALLOCATE THE RISKS UNDER THIS AGREEMENT
+BETWEEN THE QT COMPANY AND LICENSEE AND THE PARTIES HAVE RELIED UPON THE
+LIMITATIONS SET FORTH HEREIN IN DETERMINING WHETHER TO ENTER INTO THIS AGREEMENT.
+
+7.2 Licensee´s Indemnification
+
+Licensee shall indemnify and hold harmless The Qt Company from and against any
+claim, injury, judgment, settlement, loss or expense, including attorneys' fees
+related to: (a) Licensee’s misrepresentation in connection with The Qt Company
+or the Licensed Software or breach of this Agreement, (b) the Application or
+Device (except where such cause of liability is solely attributable to the
+Licensed Software).
+
+8. SUPPORT, UPDATES AND ONLINE SERVICES
+
+Upon due payment of the agreed License Fees the Licensee will be eligible to
+receive Support and Updates and to use the Online Services during the License
+Term, provided, however, that in the event the License Term is longer than 36
+months, Support is provided only for the first 12 months, unless the Parties
+specifically otherwise agree.
+
+Unless otherwise decided by The Company at its free and absolute discretion,
+Upgrades will not be included in the Support but may be available subject to
+additional fees.
+
+From time to time The Qt Company may change the Support terms, provided that
+during the respective ongoing License Term the level of Support provided by The
+Qt Company may not be reduced without the consent of the Licensee.
+
+Unless otherwise agreed, The Qt Company shall not be responsible for providing
+any service or support to Customers.
+
+9. CONFIDENTIALITY
+
+Each Party acknowledges that during the Term of this Agreement each Party may
+receive information about the other Party's business, business methods,
+business plans, customers, business relations, technology, and other
+information, including the terms of this Agreement, that is confidential and
+of great value to the other Party, and the value of which would be
+significantly reduced if disclosed to third parties (“Confidential
+Information”). Accordingly, when a Party (the “Receiving Party”) receives
+Confidential Information from the other Party (the “Disclosing Party”), the
+Receiving Party shall only disclose such information to employees and
+Contractors on a need to know basis, and shall cause its employees and
+employees of its Affiliates to: (i) maintain any and all Confidential
+Information in confidence; (ii) not disclose the Confidential Information to a
+third party without the Disclosing Party's prior written approval; and (iii)
+not, directly or indirectly, use the Confidential Information for any purpose
+other than for exercising its rights and fulfilling its responsibilities
+pursuant to this Agreement. Each Party shall take reasonable measures to
+protect the Confidential Information of the other Party, which measures shall
+not be less than the measures taken by such Party to protect its own
+confidential and proprietary information.
+
+Obligation of confidentiality shall not apply to information that (i) is or
+becomes generally known to the public through no act or omission of the
+Receiving Party; (ii) was in the Receiving Party's lawful possession prior to
+the disclosure hereunder and was not subject to limitations on disclosure or
+use; (iii) is developed independently by employees or Contractors of the
+Receiving Party or other persons working for the Receiving Party who have not
+had access to the Confidential Information of the Disclosing Party, as proven
+by the written records of the Receiving Party; (iv) is lawfully disclosed to
+the Receiving Party without restrictions, by a third party not under an
+obligation of confidentiality; or (v) the Receiving Party is legally compelled
+to disclose, in which case the Receiving Party shall notify the Disclosing
+Party of such compelled disclosure and assert the privileged and confidential
+nature of the information and cooperate fully with the Disclosing Party to
+limit the scope of disclosure and the dissemination of disclosed Confidential
+Information to the minimum extent necessary.
+
+The obligations under this Section 9 shall continue to remain in force for a
+period of five (5) years after the last disclosure, and, with respect to trade
+secrets, for so long as such trade secrets are protected under applicable trade
+secret laws.
+
+10. FEES, DELIVERY AND PAYMENT
+
+10.1 License Fees
+
+License Fees are described in The Qt Company’s standard price list, quote or
+Purchase Order confirmation or in an appendix hereto, as the case may be.
+
+The License Fees shall not be refunded or claimed as a credit in any event or
+for any reason whatsoever.
+
+10.2 Ordering Licenses
+
+Licensee may purchase Development Licenses and Distribution Licenses pursuant
+to agreed pricing terms or, if no specific pricing terms have been agreed upon,
+at The Qt Company's standard pricing terms applicable at the time of purchase.
+
+Licensee shall submit all purchase orders for Development Licenses and
+Distribution Licenses to The Qt Company by email or any other method acceptable
+to The Qt Company (each such order is referred to herein as a “Purchase Order”)
+for confirmation, whereupon the Purchase Order shall become binding between the
+Parties.
+
+10.3 Distribution License Packs
+
+Unless otherwise agreed, Distribution Licenses shall be purchased by way of
+Distribution License Packs.
+
+Upon due payment of the ordered Distribution License Pack(s), the Licensee will
+have an account of Distribution Licenses available for installing, bundling or
+integrating (all jointly “installing”) the Redistributables with the Devices or
+for otherwise distributing the Redistributables in accordance with this
+Agreement.
+
+Each time Licensee “installs” or distributes a copy of Redistributables, then
+one Distribution License is used, and Licensee’s account of available
+Distribution Licenses is decreased accordingly.
+
+Licensee may “install” copies of the Redistributables so long as Licensee has
+Distribution Licenses remaining on its account.
+
+Redistributables will be deemed to have been “installed” into a Device when one
+of the following circumstances shall have occurred: a) the Redistributables
+have been loaded onto the Device and used outside of the Licensee’s premises or
+b) the Device has been fully tested and placed into Licensee's inventory
+(or sold) for the first time (i.e., Licensee will not be required to use
+(or pay for) more than one Distribution License for each individual Device,
+e.g. in a situation where a Device is returned to Licensee's inventory after
+delivery to a distributor or sale to a Customer). In addition, if Licensee
+includes a back-up copy of the Redistributables on a CD-ROM or other storage
+medium along with the product, that backup copy of the Redistributables will
+not be deemed to have been “installed” and will not require an additional
+Distribution License.
+
+10.4 Payment Terms
+
+License Fees and any other charges under this Agreement shall be paid by
+Licensee no later than thirty (30) days from the date of the applicable invoice
+from The Qt Company.
+
+The Qt Company will submit an invoice to Licensee after the date of this
+Agreement and/or after The Qt Company receives a Purchase Order from
+Licensee.
+
+A late payment charge of the lower of (a) one percent per month; or (b) the
+interest rate stipulated by applicable law, shall be charged on any unpaid
+balances that remain past due.
+
+The Qt Company shall have the right to suspend, terminate or withhold grants
+of all rights to the Licensed Software hereunder, including but not limited to
+the Developer License, Distribution License, and Support, should Licensee fail
+to make payment in timely fashion.
+
+10.5 Taxes
+
+All License Fees and other charges payable hereunder are gross amounts but
+exclusive of any value added tax, use tax, sales tax and other taxes, duties or
+tariffs (“Taxes”). Such applicable Taxes shall be paid by Licensee, or, where
+applicable, in lieu of payment of such Taxes, Licensee shall provide an
+exemption certificate to The Qt Company and any applicable authority.
+
+11 RECORD-KEEPING AND REPORTING OBLIGATIONS; AUDIT RIGHTS
+
+11.1 Licensee’s Record-keeping
+
+Licensee shall at all times maintain accurate and up-to-date written records of
+Licensee’s activities related to the use of Licensed Software and distribution
+of Redistributables. The records shall be adequate to determine Licensee’s
+compliance with the provisions of this Agreement and to demonstrate the number
+of Designated Users and Redistributables distributed by Licensee. The records
+shall conform to good accounting practices reasonably acceptable to The Qt
+Company.
+
+Licensee shall, within thirty (30) days from receiving The Qt Company’s request
+to that effect, deliver to The Qt Company a report on Licensee’s usage of
+Licensed Software, such report to copies of Redistributables distributed by
+Licensee during that calendar quarter, and also detailing the number of
+undistributed copies of Redistributables made by Licensee and remaining in its
+account contain information, in sufficient detail, on (i) amount of users
+working with Licensed Software, (ii) copies of Redistributables distributed by
+Licensee during that calendar quarter, (iii) number of undistributed copies of
+Redistributables and corresponding number of unused Distribution Licenses
+remaining on Licensee’s account, and (iv) any other information as The Qt
+Company may reasonably require from time to time.
+
+11.2. The Qt Company’s Audit Rights
+
+The Qt Company or an independent auditor acting on behalf of The Qt Company’s,
+may, upon at least five (5) business days’ prior written notice and at its
+expense, audit Licensee with respect to the use of the Redistributables, but
+not more frequently than once during each 6-month period. Such audit may be
+conducted by mail, electronic means or through an in-person visit to Licensee’s
+place of business. Any such in-person audit shall be conducted during regular
+business hours at Licensee's facilities and shall not unreasonably interfere
+with Licensee's business activities. The Qt Company or the independent auditor
+acting on behalf of The Qt Company shall be entitled to inspect Licensee’s
+Records. All such Licensee’s Records and use thereof shall be subject to an
+obligation of confidentiality under this Agreement.
+
+If an audit reveals that Licensee is using the Licensed Software beyond scope
+of the licenses Licensee has paid for, Licensee agrees to immediately pay The
+Qt Company any amounts owed for such unauthorized use.
+
+In addition, in the event the audit reveals a material violation of the terms
+of this Agreement (underpayment of more than 5% of License Fees shall always be
+deemed a material violation for purposes of this section), then the Licensee
+shall pay The Qt Company's reasonable cost of conducting such audit.
+
+12 TERM AND TERMINATION
+
+12.1 Term
+
+This Agreement shall enter into force upon due acceptance by both Parties and
+remain in force for as long as there is any Development License(s) in force
+(“Term”), unless and until terminated pursuant to the terms of this Section 12.
+
+12.2 Termination by The Qt Company
+
+The Qt Company shall have the right to terminate this Agreement upon thirty
+(30) days prior written notice if the Licensee is in material breach of any
+obligation of this Agreement and fails to remedy such breach within such notice
+period.
+
+12.3 Mutual Right to Terminate
+
+Either Party shall have the right to terminate this Agreement immediately upon
+written notice in the event that the other Party becomes insolvent, files for
+any form of bankruptcy, makes any assignment for the benefit of creditors, has
+a receiver, administrative receiver or officer appointed over the whole or a
+substantial part of its assets, ceases to conduct business, or an act
+equivalent to any of the above occurs under the laws of the jurisdiction of the
+other Party.
+
+12.4 Parties´ Rights and Duties upon Termination
+
+Upon expiry or termination of the Agreement Licensee shall cease and shall
+cause all Designated Users (including those of its Affiliates’ and
+Contractors’) to cease using the Licensed Software and distribution of the
+Redistributables under this Agreement.
+
+Notwithstanding the above, in the event the Agreement expires or is terminated:
+
+(i) as a result of The Qt Company choosing not to renew the Development
+License(s) as set forth in Section 3.1, then all valid licenses possessed by
+the Licensee at such date shall be extended to be valid in perpetuity under the
+terms of this Agreement and Licensee is entitled to purchase additional
+licenses as set forth in Section 10.2; or
+
+(ii) for reason other than by The Qt Company pursuant to item (i) above or
+pursuant to Section 12.2, then the Licensee is entitled, for a period of six
+(6) months after the effective date of termination, to continue distribution of
+Devices under the Distribution Licenses paid but unused at such effective date
+of termination.
+
+Upon any such termination the Licensee shall destroy or return to The Qt
+Company all copies of the Licensed Software and all related materials and will
+certify the same to The Qt Company upon its request, provided however that
+Licensee may retain and exploit such copies of the Licensed Software as it may
+reasonably require in providing continued support to Customers.
+
+Expiry or termination of this Agreement for any reason whatsoever shall not
+relieve Licensee of its obligation to pay any License Fees accrued or payable
+to The Qt Company prior to the effective date of termination, and Licensee
+shall immediately pay to The Qt Company all such fees upon the effective date
+of termination. Termination of this Agreement shall not affect any rights of
+Customers to continue use of Applications and Devices (and therein incorporated
+Redistributables).
+
+12.5 Extension in case of bankruptcy
+
+In the event The Qt Company is declared bankrupt under a final, non-cancellable
+decision by relevant court of law, and this Agreement is not, at the date of
+expiry of the Development License(s) pursuant to Section 3.1, assigned to
+party, who has assumed The Qt Company’s position as a legitimate licensor of
+Licensed Software under this Agreement, then all valid licenses possessed by
+the Licensee at such date of expiry, and which the Licensee has not notified
+for expiry, shall be extended to be valid in perpetuity under the terms of
+this Agreement.
+
+13. GOVERNING LAW AND LEGAL VENUE
+
+In the event this Agreement is in the name of The Qt Company Inc., a Delaware
+Corporation, then:
+
+(i) this Agreement shall be construed and interpreted in accordance with the
+laws of the State of California, USA, excluding its choice of law provisions;
+
+(ii) the United Nations Convention on Contracts for the International Sale of
+Goods will not apply to this Agreement; and
+
+(iii) any dispute, claim or controversy arising out of or relating to this
+Agreement or the breach, termination, enforcement, interpretation or validity
+thereof, including the determination of the scope or applicability of this
+Agreement to arbitrate, shall be determined by arbitration in San Francisco,
+USA, before one arbitrator. The arbitration shall be administered by JAMS
+pursuant to JAMS' Streamlined Arbitration Rules and Procedures. Judgment on the
+Award may be entered in any court having jurisdiction. This Section shall not
+preclude parties from seeking provisional remedies in aid of arbitration from a
+court of appropriate jurisdiction.
+
+In the event this Agreement is in the name of The Qt Company Ltd., a Finnish
+Company, then:
+
+(i) this Agreement shall be construed and interpreted in accordance with the
+laws of Finland, excluding its choice of law provisions;
+
+(ii) the United Nations Convention on Contracts for the International Sale of
+Goods will not apply to this Agreement; and
+
+(iii) any disputes, controversy or claim arising out of or relating to this
+Agreement, or the breach, termination or validity thereof shall be shall be
+finally settled by arbitration in accordance with the Arbitration Rules of
+Finland Chamber of Commerce. The arbitration tribunal shall consist of one (1),
+or if either Party so requires, of three (3), arbitrators. The award shall be
+final and binding and enforceable in any court of competent jurisdiction. The
+arbitration shall be held in Helsinki, Finland and the process shall be
+conducted in the English language. This Section shall not preclude parties from
+seeking provisional remedies in aid of arbitration from a court of appropriate
+jurisdiction.
+
+14. GENERAL PROVISIONS
+
+14.1 No Assignment
+
+Except in the case of a merger or sale of substantially all of its corporate
+assets, Licensee shall not be entitled to assign or transfer all or any of its
+rights, benefits and obligations under this Agreement without the prior written
+consent of The Qt Company, which shall not be unreasonably withheld or delayed.
+The Qt Company shall be entitled to freely assign or transfer any of its
+rights, benefits or obligations under this Agreement.
+
+14.2 No Third Party Representations
+
+Licensee shall make no representations or warranties concerning the Licensed
+Software on behalf of The Qt Company. Any representation or warranty Licensee
+makes or purports to make on The Qt Company’s behalf shall be void as to The
+Qt Company.
+
+14.3 Surviving Sections
+
+Any terms and conditions that by their nature or otherwise reasonably should
+survive termination of this Agreement shall so be deemed to survive.
+
+14.4 Entire Agreement
+
+This Agreement, the exhibits hereto, the License Certificate and any applicable
+Purchase Order constitute the complete agreement between the Parties and
+supersedes all prior or contemporaneous discussions, representations, and
+proposals, written or oral, with respect to the subject matters discussed
+herein.
+
+In the event of any conflict or inconsistency between this Agreement and any
+Purchase Order, the terms of this Agreement will prevail over the terms of the
+Purchase Order with respect to such conflict or inconsistency.
+
+Parties specifically acknowledge and agree that this Agreement prevails over
+any click-to-accept or similar agreements the Designated Users may need to
+accept online upon download of the Licensed Software, as may be required by
+The Qt Company’s applicable processes relating to Licensed Software.
+
+14.5 Modifications
+
+No modification of this Agreement shall be effective unless contained in a
+writing executed by an authorized representative of each Party. No term or
+condition contained in Licensee's Purchase Order shall apply unless expressly
+accepted by The Qt Company in writing.
+
+14.6 Force Majeure
+
+Except for the payment obligations hereunder, neither Party shall be liable to
+the other for any delay or non-performance of its obligations hereunder in the
+event and to the extent that such delay or non-performance is due to an event
+of act of God, terrorist attack or other similar unforeseeable catastrophic
+event that prevents either Party for fulfilling its obligations under this
+Agreement and which such Party cannot avoid or circumvent (“Force Majeure
+Event”). If the Force Majeure Event results in a delay or non-performance of a
+Party for a period of three (3) months or longer, then either Party shall have
+the right to terminate this Agreement with immediate effect without any
+liability (except for the obligations of payment arising prior to the event of
+Force Majeure) towards the other Party.
+
+14.7 Notices
+
+Any notice given by one Party to the other shall be deemed properly given and
+deemed received if specifically acknowledged by the receiving Party in writing
+or when successfully delivered to the recipient by hand, fax, or special
+courier during normal business hours on a business day to the addresses
+specified for each Party on the signature page. Each communication and document
+made or delivered by one Party to the other Party pursuant to this Agreement
+shall be in the English language.
+
+14.8 Export Control
+
+Licensee acknowledges that the Redistributables may be subject to export
+control restrictions under the applicable laws of respective countries.
+Licensee shall fully comply with all applicable export license restrictions
+and requirements as well as with all laws and regulations relating to the
+Redistributables and exercise of licenses hereunder and shall procure all
+necessary governmental authorizations, including without limitation, all
+necessary licenses, approvals, permissions or consents, where necessary for the
+re-exportation of the Redistributables, Applications and/or Devices.
+
+14.9 No Implied License
+
+There are no implied licenses or other implied rights granted under this
+Agreement, and all rights, save for those expressly granted hereunder, shall
+remain with The Qt Company and its licensors. In addition, no licenses or
+immunities are granted to the combination of the Licensed Software with any
+other software or hardware not delivered by The Qt Company under this Agreement.
+
+14.10 Attorney Fees
+
+The prevailing Party in any action to enforce this Agreement shall be entitled
+to recover its attorney’s fees and costs in connection with such action.
+
+14.11 Severability
+
+If any provision of this Agreement shall be adjudged by any court of competent
+jurisdiction to be unenforceable or invalid, that provision shall be limited or
+eliminated to the minimum extent necessary so that this Agreement shall
+otherwise remain in full force and effect and enforceable.
+
+
+IN WITNESS WHEREOF, the Parties hereto, intending to be legally bound hereby,
+have caused this Agreement to be executed by Licensee's authorized
+representative installing the Licensed Software and accepting the terms
+hereof in connection therewith.
+
+
+Appendix 1
+
+1. Parts of the Licensed Software that are permitted for distribution in
+object code form only (“Redistributables”) under this Agreement:
+
+- The Licensed Software's Qt Essentials and Qt Add-on libraries
+- The Licensed Software's configuration tool (“qtconfig”)
+- The Licensed Software's help tool (“Qt Assistant”)
+- The Licensed Software's internationalization tools (“Qt Linguist”, “lupdate”,
+“lrelease”)
+- The Licensed Software's QML (“Qt Quick”) launcher tool (“qmlscene” or
+“qmlviewer”)
+- The Licensed Software's installer framework
+- Qt for Python (PySide2)
+
+2. Parts of the Licensed Software that are not permitted for distribution
+include, but are not limited to:
+
+- The Licensed Software's source code and header files
+- The Licensed Software's documentation
+- The Licensed Software’s documentation generation tool (“qdoc”)
+- The Licensed Software's tool for writing makefiles (“qmake”)
+- The Licensed Software's Meta Object Compiler (“moc”)
+- The Licensed Software's User Interface Compiler (“uic”)
+- The Licensed Software's Resource Compiler (“rcc”)
+- The Licensed Software's parts of the IDE tool (“Qt Creator”)
+- The Licensed Software’s parts of the Design tools (“Qt 3D Studio” or “Qt
+Quick Designer”)
+- The Licensed Software's Emulator
+
diff --git a/LICENSE.GPL3 b/LICENSE.GPLv3
index 94a9ed02..71c4ad49 100644
--- a/LICENSE.GPL3
+++ b/LICENSE.GPLv3
@@ -1,3 +1,15 @@
+ GNU GENERAL PUBLIC LICENSE
+
+ The Qt Toolkit is Copyright (C) 2015 The Qt Company Ltd.
+ Contact: http://www.qt.io/licensing/
+
+ You may use, distribute and copy the Qt Toolkit under the terms of
+ GNU Lesser General Public License version 3. That license references
+ the General Public License version 3, that is displayed below. Other
+ portions of the Qt Toolkit may be licensed directly under this license.
+
+-------------------------------------------------------------------------
+
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
diff --git a/LICENSE.GPL3-EXCEPT b/LICENSE.GPLv3-EXCEPT
index b1cb1bec..b1cb1bec 100644
--- a/LICENSE.GPL3-EXCEPT
+++ b/LICENSE.GPLv3-EXCEPT
diff --git a/LICENSE.LGPL3 b/LICENSE.LGPLv3
index 65c5ca88..1f78e050 100644
--- a/LICENSE.LGPL3
+++ b/LICENSE.LGPLv3
@@ -1,3 +1,15 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+
+ The Qt Toolkit is Copyright (C) 2015 The Qt Company Ltd.
+ Contact: http://www.qt.io/licensing/
+
+ You may use, distribute and copy the Qt Toolkit under the terms of
+ GNU Lesser General Public License version 3, which is displayed below.
+ This license makes reference to the version 3 of the GNU General
+ Public License, which you can find in the LICENSE.GPLv3 file.
+
+-------------------------------------------------------------------------
+
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
diff --git a/LICENSE.PREVIEW.COMMERCIAL b/LICENSE.PREVIEW.COMMERCIAL
deleted file mode 100644
index 5e5aeb69..00000000
--- a/LICENSE.PREVIEW.COMMERCIAL
+++ /dev/null
@@ -1,626 +0,0 @@
-TECHNOLOGY PREVIEW LICENSE AGREEMENT
-
-For individuals and/or legal entities resident in the Americas (North
-America, Central America and South America), the applicable licensing
-terms are specified under the heading "Technology Preview License
-Agreement: The Americas".
-
-For individuals and/or legal entities not resident in The Americas, the
-applicable licensing terms are specified under the heading "Technology
-Preview License Agreement: Rest of the World".
-
-
-TECHNOLOGY PREVIEW LICENSE AGREEMENT: The Americas
-Agreement version 2.4
-
-This Technology Preview License Agreement ("Agreement")is a legal agreement
-between The Qt Company USA, Inc. ("The Qt Company"), with its registered
-office at 2350 Mission College Blvd., Suite 1020, Santa Clara, California
-95054, U.S.A. and you (either an individual or a legal entity) ("Licensee")
-for the Licensed Software (as defined below).
-
-1. DEFINITIONS
-
-"Affiliate" of a Party shall mean an entity (i) which is directly or
-indirectly controlling such Party; (ii) which is under the same direct
-or indirect ownership or control as such Party; or (iii) which is
-directly or indirectly owned or controlled by such Party. For these
-purposes, an entity shall be treated as being controlled by another if
-that other entity has fifty percent (50 %) or more of the votes in such
-entity, is able to direct its affairs and/or to control the composition
-of its board of directors or equivalent body.
-
-"Applications" shall mean Licensee's software products created using the
-Licensed Software which may include portions of the Licensed Software.
-
-"Term" shall mean the period of time six (6) months from the later of
-(a) the Effective Date; or (b) the date the Licensed Software was
-initially delivered to Licensee by The Qt Company. If no specific Effective
-Date is set forth in the Agreement, the Effective Date shall be deemed to be
-the date the Licensed Software was initially delivered to Licensee.
-
-"Licensed Software" shall mean the computer software, "online" or
-electronic documentation, associated media and printed materials,
-including the source code, example programs and the documentation
-delivered by The Qt Company to Licensee in conjunction with this Agreement.
-
-"Party" or "Parties" shall mean Licensee and/or The Qt Company.
-
-
-2. OWNERSHIP
-
-The Licensed Software is protected by copyright laws and international
-copyright treaties, as well as other intellectual property laws and
-treaties. The Licensed Software is licensed, not sold.
-
-If Licensee provides any findings, proposals, suggestions or other
-feedback ("Feedback") to The Qt Company regarding the Licensed Software,
-The Qt Company shall own all right, title and interest including the
-intellectual property rights in and to such Feedback, excluding however any
-existing patent rights of Licensee. To the extent Licensee owns or controls
-any patents for such Feedback Licensee hereby grants to The Qt Company and its
-Affiliates, a worldwide, perpetual, non-transferable, sublicensable,
-royalty-free license to (i) use, copy and modify Feedback and to create
-derivative works thereof, (ii) to make (and have made), use, import,
-sell, offer for sale, lease, dispose, offer for disposal or otherwise
-exploit any products or services of The Qt Company containing Feedback, and
-(iii) sublicense all the foregoing rights to third party licensees and
-customers of The Qt Company and/or its Affiliates.
-
-
-3. VALIDITY OF THE AGREEMENT
-
-By installing, copying, or otherwise using the Licensed Software,
-Licensee agrees to be bound by the terms of this Agreement. If Licensee
-does not agree to the terms of this Agreement, Licensee may not install,
-copy, or otherwise use the Licensed Software. Upon Licensee's acceptance
-of the terms and conditions of this Agreement, The Qt Company grants Licensee
-the right to use the Licensed Software in the manner provided below.
-
-
-4. LICENSES
-
-4.1. Using and Copying
-
-The Qt Company grants to Licensee a non-exclusive, non-transferable,
-time-limited license to use and copy the Licensed Software for sole purpose
-of designing, developing and testing Applications, and evaluating and the
-Licensed Software during the Term.
-
-Licensee may install copies of the Licensed Software on an unlimited
-number of computers provided that (a) if an individual, only such
-individual; or (b) if a legal entity only its employees; use the
-Licensed Software for the authorized purposes.
-
-4.2 No Distribution or Modifications
-
-Licensee may not disclose, modify, sell, market, commercialise,
-distribute, loan, rent, lease, or license the Licensed Software or any
-copy of it or use the Licensed Software for any purpose that is not
-expressly granted in this Section 4. Licensee may not alter or remove
-any details of ownership, copyright, trademark or other property right
-connected with the Licensed Software. Licensee may not distribute any
-software statically or dynamically linked with the Licensed Software.
-
-4.3 No Technical Support
-
-The Qt Company has no obligation to furnish Licensee with any technical
-support whatsoever. Any such support is subject to separate agreement between
-the Parties.
-
-
-5. PRE-RELEASE CODE
-The Licensed Software contains pre-release code that is not at the level
-of performance and compatibility of a final, generally available,
-product offering. The Licensed Software may not operate correctly and
-may be substantially modified prior to the first commercial product
-release, if any. The Qt Company is not obligated to make this or any later
-version of the Licensed Software commercially available. The License
-Software is "Not for Commercial Use" and may only be used for the
-purposes described in Section 4. The Licensed Software may not be used
-in a live operating environment where it may be relied upon to perform
-in the same manner as a commercially released product or with data that
-has not been sufficiently backed up.
-
-6. THIRD PARTY SOFTWARE
-
-The Licensed Software may provide links to third party libraries or code
-(collectively "Third Party Software") to implement various functions.
-Third Party Software does not comprise part of the Licensed Software. In
-some cases, access to Third Party Software may be included along with
-the Licensed Software delivery as a convenience for development and
-testing only. Such source code and libraries may be listed in the
-".../src/3rdparty" source tree delivered with the Licensed Software or
-documented in the Licensed Software where the Third Party Software is
-used, as may be amended from time to time, do not comprise the Licensed
-Software. Licensee acknowledges (1) that some part of Third Party
-Software may require additional licensing of copyright and patents from
-the owners of such, and (2) that distribution of any of the Licensed
-Software referencing any portion of a Third Party Software may require
-appropriate licensing from such third parties.
-
-
-7. LIMITED WARRANTY AND WARRANTY DISCLAIMER
-
-The Licensed Software is licensed to Licensee "as is". To the maximum
-extent permitted by applicable law, The Qt Company on behalf of itself and
-its suppliers, disclaims all warranties and conditions, either express or
-implied, including, but not limited to, implied warranties of
-merchantability, fitness for a particular purpose, title and
-non-infringement with regard to the Licensed Software.
-
-
-8. LIMITATION OF LIABILITY
-
-If, The Qt Company's warranty disclaimer notwithstanding, The Qt Company is
-held liable to Licensee, whether in contract, tort or any other legal theory,
-based on the Licensed Software, The Qt Company's entire liability to Licensee
-and Licensee's exclusive remedy shall be, at The Qt Company's option, either
-(A) return of the price Licensee paid for the Licensed Software, or (B)
-repair or replacement of the Licensed Software, provided Licensee
-returns to The Qt Company all copies of the Licensed Software as originally
-delivered to Licensee. The Qt Company shall not under any circumstances be
-liable to Licensee based on failure of the Licensed Software if the failure
-resulted from accident, abuse or misapplication, nor shall The Qt Company
-under any circumstances be liable for special damages, punitive or exemplary
-damages, damages for loss of profits or interruption of business or for
-loss or corruption of data. Any award of damages from The Qt Company to
-Licensee shall not exceed the total amount Licensee has paid to The Qt
-Company in connection with this Agreement.
-
-
-9. CONFIDENTIALITY
-
-Each party acknowledges that during the Term of this Agreement it shall
-have access to information about the other party's business, business
-methods, business plans, customers, business relations, technology, and
-other information, including the terms of this Agreement, that is
-confidential and of great value to the other party, and the value of
-which would be significantly reduced if disclosed to third parties (the
-"Confidential Information"). Accordingly, when a party (the "Receiving
-Party") receives Confidential Information from another party (the
-"Disclosing Party"), the Receiving Party shall, and shall obligate its
-employees and agents and employees and agents of its Affiliates to: (i)
-maintain the Confidential Information in strict confidence; (ii) not
-disclose the Confidential Information to a third party without the
-Disclosing Party's prior written approval; and (iii) not, directly or
-indirectly, use the Confidential Information for any purpose other than
-for exercising its rights and fulfilling its responsibilities pursuant
-to this Agreement. Each party shall take reasonable measures to protect
-the Confidential Information of the other party, which measures shall
-not be less than the measures taken by such party to protect its own
-confidential and proprietary information.
-
-"Confidential Information" shall not include information that (a) is or
-becomes generally known to the public through no act or omission of the
-Receiving Party; (b) was in the Receiving Party's lawful possession
-prior to the disclosure hereunder and was not subject to limitations on
-disclosure or use; (c) is developed by the Receiving Party without
-access to the Confidential Information of the Disclosing Party or by
-persons who have not had access to the Confidential Information of the
-Disclosing Party as proven by the written records of the Receiving
-Party; (d) is lawfully disclosed to the Receiving Party without
-restrictions, by a third party not under an obligation of
-confidentiality; or (e) the Receiving Party is legally compelled to
-disclose the information, in which case the Receiving Party shall assert
-the privileged and confidential nature of the information and cooperate
-fully with the Disclosing Party to protect against and prevent
-disclosure of any Confidential Information and to limit the scope of
-disclosure and the dissemination of disclosed Confidential Information
-by all legally available means.
-
-The obligations of the Receiving Party under this Section shall continue
-during the Initial Term and for a period of five (5) years after
-expiration or termination of this Agreement. To the extent that the
-terms of the Non-Disclosure Agreement between The Qt Company and Licensee
-conflict with the terms of this Section 9, this Section 9 shall be
-controlling over the terms of the Non-Disclosure Agreement.
-
-
-10. GENERAL PROVISIONS
-
-10.1 No Assignment
-
-Licensee shall not be entitled to assign or transfer all or any of its
-rights, benefits and obligations under this Agreement without the prior
-written consent of The Qt Company, which shall not be unreasonably withheld.
-
-10.2 Termination
-
-The Qt Company may terminate the Agreement at any time immediately upon
-written notice by The Qt Company to Licensee if Licensee breaches this
-Agreement.
-
-Upon termination of this Agreement, Licensee shall return to The Qt Company
-all copies of Licensed Software that were supplied by The Qt Company. All
-other copies of Licensed Software in the possession or control of Licensee
-must be erased or destroyed. An officer of Licensee must promptly
-deliver to The Qt Company a written confirmation that this has occurred.
-
-10.3 Surviving Sections
-
-Any terms and conditions that by their nature or otherwise reasonably
-should survive a cancellation or termination of this Agreement shall
-also be deemed to survive. Such terms and conditions include, but are
-not limited to the following Sections: 2, 5, 6, 7, 8, 9, 10.2, 10.3, 10.4,
-10.5, 10.6, 10.7, and 10.8 of this Agreement.
-
-10.4 Entire Agreement
-
-This Agreement constitutes the complete agreement between the parties
-and supersedes all prior or contemporaneous discussions,
-representations, and proposals, written or oral, with respect to the
-subject matters discussed herein, with the exception of the
-non-disclosure agreement executed by the parties in connection with this
-Agreement ("Non-Disclosure Agreement"), if any, shall be subject to
-Section 9. No modification of this Agreement shall be effective unless
-contained in a writing executed by an authorized representative of each
-party. No term or condition contained in Licensee's purchase order shall
-apply unless expressly accepted by The Qt Company in writing. If any
-provision of the Agreement is found void or unenforceable, the remainder
-shall remain valid and enforceable according to its terms. If any remedy
-provided is determined to have failed for its essential purpose, all
-limitations of liability and exclusions of damages set forth in this
-Agreement shall remain in effect.
-
-10.5 Export Control
-
-Licensee acknowledges that the Licensed Software may be subject to
-export control restrictions of various countries. Licensee shall fully
-comply with all applicable export license restrictions and requirements
-as well as with all laws and regulations relating to the importation of
-the Licensed Software and shall procure all necessary governmental
-authorizations, including without limitation, all necessary licenses,
-approvals, permissions or consents, where necessary for the
-re-exportation of the Licensed Software.,
-
-10.6 Governing Law and Legal Venue
-
-This Agreement shall be governed by and construed in accordance with the
-federal laws of the United States of America and the internal laws of
-the State of New York without given effect to any choice of law rule
-that would result in the application of the laws of any other
-jurisdiction. The United Nations Convention on Contracts for the
-International Sale of Goods (CISG) shall not apply. Each Party (a)
-hereby irrevocably submits itself to and consents to the jurisdiction of
-the United States District Court for the Southern District of New York
-(or if such court lacks jurisdiction, the state courts of the State of
-New York) for the purposes of any action, claim, suit or proceeding
-between the Parties in connection with any controversy, claim, or
-dispute arising out of or relating to this Agreement; and (b) hereby
-waives, and agrees not to assert by way of motion, as a defense or
-otherwise, in any such action, claim, suit or proceeding, any claim that
-is not personally subject to the jurisdiction of such court(s), that the
-action, claim, suit or proceeding is brought in an inconvenient forum or
-that the venue of the action, claim, suit or proceeding is improper.
-Notwithstanding the foregoing, nothing in this Section 9.6 is intended
-to, or shall be deemed to, constitute a submission or consent to, or
-selection of, jurisdiction, forum or venue for any action for patent
-infringement, whether or not such action relates to this Agreement.
-
-10.7 No Implied License
-
-There are no implied licenses or other implied rights granted under this
-Agreement, and all rights, save for those expressly granted hereunder,
-shall remain with The Qt Company and its licensors. In addition, no licenses
-or immunities are granted to the combination of the Licensed Software with
-any other software or hardware not delivered by The Qt Company under this
-Agreement.
-
-10.8 Government End Users
-
-A "U.S. Government End User" shall mean any agency or entity of the
-government of the United States. The following shall apply if Licensee
-is a U.S. Government End User. The Licensed Software is a "commercial
-item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995),
-consisting of "commercial computer software" and "commercial computer
-software documentation," as such terms are used in 48 C.F.R. 12.212
-(Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
-through 227.7202-4 (June 1995), all U.S. Government End Users acquire
-the Licensed Software with only those rights set forth herein. The
-Licensed Software (including related documentation) is provided to U.S.
-Government End Users: (a) only as a commercial end item; and (b) only
-pursuant to this Agreement.
-
-
-
-
-
-TECHNOLOGY PREVIEW LICENSE AGREEMENT: Rest of the World
-Agreement version 2.4
-
-This Technology Preview License Agreement ("Agreement") is a legal
-agreement between The Qt Company Ltd ("The Qt Company"), with its registered
-office at Valimotie 21,FI-00380 Helsinki, Finland and you (either an
-individual or a legal entity) ("Licensee") for the Licensed Software.
-
-1. DEFINITIONS
-
-"Affiliate" of a Party shall mean an entity (i) which is directly or
-indirectly controlling such Party; (ii) which is under the same direct
-or indirect ownership or control as such Party; or (iii) which is
-directly or indirectly owned or controlled by such Party. For these
-purposes, an entity shall be treated as being controlled by another if
-that other entity has fifty percent (50 %) or more of the votes in such
-entity, is able to direct its affairs and/or to control the composition
-of its board of directors or equivalent body.
-
-"Applications" shall mean Licensee's software products created using the
-Licensed Software which may include portions of the Licensed Software.
-
-"Term" shall mean the period of time six (6) months from the later of
-(a) the Effective Date; or (b) the date the Licensed Software was
-initially delivered to Licensee by The Qt Company. If no specific Effective
-Date is set forth in the Agreement, the Effective Date shall be deemed to be
-the date the Licensed Software was initially delivered to Licensee.
-
-"Licensed Software" shall mean the computer software, "online" or
-electronic documentation, associated media and printed materials,
-including the source code, example programs and the documentation
-delivered by The Qt Company to Licensee in conjunction with this Agreement.
-
-"Party" or "Parties" shall mean Licensee and/or The Qt Company.
-
-
-2. OWNERSHIP
-
-The Licensed Software is protected by copyright laws and international
-copyright treaties, as well as other intellectual property laws and
-treaties. The Licensed Software is licensed, not sold.
-
-If Licensee provides any findings, proposals, suggestions or other
-feedback ("Feedback") to The Qt Company regarding the Licensed Software,
-The Qt Companyshall own all right, title and interest including the
-intellectual property rights in and to such Feedback, excluding however any
-existing patent rights of Licensee. To the extent Licensee owns or controls
-any patents for such Feedback Licensee hereby grants to The Qt Company and
-its Affiliates, a worldwide, perpetual, non-transferable, sublicensable,
-royalty-free license to (i) use, copy and modify Feedback and to create
-derivative works thereof, (ii) to make (and have made), use, import,
-sell, offer for sale, lease, dispose, offer for disposal or otherwise
-exploit any products or services of The Qt Company containing Feedback, and
-(iii) sublicense all the foregoing rights to third party licensees and
-customers of The Qt Company and/or its Affiliates.
-
-3. VALIDITY OF THE AGREEMENT
-
-By installing, copying, or otherwise using the Licensed Software,
-Licensee agrees to be bound by the terms of this Agreement. If Licensee
-does not agree to the terms of this Agreement, Licensee may not install,
-copy, or otherwise use the Licensed Software. Upon Licensee's acceptance
-of the terms and conditions of this Agreement, The Qt Company grants Licensee
-the right to use the Licensed Software in the manner provided below.
-
-
-4. LICENSES
-
-4.1. Using and Copying
-
-The Qt Company grants to Licensee a non-exclusive, non-transferable,
-time-limited license to use and copy the Licensed Software for sole purpose
-of designing, developing and testing Applications, and evaluating and the
-Licensed Software during the Term.
-
-Licensee may install copies of the Licensed Software on an unlimited
-number of computers provided that (a) if an individual, only such
-individual; or (b) if a legal entity only its employees; use the
-Licensed Software for the authorized purposes.
-
-4.2 No Distribution or Modifications
-
-Licensee may not disclose, modify, sell, market, commercialise,
-distribute, loan, rent, lease, or license the Licensed Software or any
-copy of it or use the Licensed Software for any purpose that is not
-expressly granted in this Section 4. Licensee may not alter or remove
-any details of ownership, copyright, trademark or other property right
-connected with the Licensed Software. Licensee may not distribute any
-software statically or dynamically linked with the Licensed Software.
-
-4.3 No Technical Support
-
-The Qt Company has no obligation to furnish Licensee with any technical
-support whatsoever. Any such support is subject to separate agreement
-between the Parties.
-
-
-5. PRE-RELEASE CODE
-
-The Licensed Software contains pre-release code that is not at the level
-of performance and compatibility of a final, generally available,
-product offering. The Licensed Software may not operate correctly and
-may be substantially modified prior to the first commercial product
-release, if any. The Qt Company is not obligated to make this or any later
-version of the Licensed Software commercially available. The License
-Software is "Not for Commercial Use" and may only be used for the
-purposes described in Section 4. The Licensed Software may not be used
-in a live operating environment where it may be relied upon to perform
-in the same manner as a commercially released product or with data that
-has not been sufficiently backed up.
-
-6. THIRD PARTY SOFTWARE
-
-The Licensed Software may provide links to third party libraries or code
-(collectively "Third Party Software") to implement various functions.
-Third Party Software does not comprise part of the Licensed Software. In
-some cases, access to Third Party Software may be included along with
-the Licensed Software delivery as a convenience for development and
-testing only. Such source code and libraries may be listed in the
-".../src/3rdparty" source tree delivered with the Licensed Software or
-documented in the Licensed Software where the Third Party Software is
-used, as may be amended from time to time, do not comprise the Licensed
-Software. Licensee acknowledges (1) that some part of Third Party
-Software may require additional licensing of copyright and patents from
-the owners of such, and (2) that distribution of any of the Licensed
-Software referencing any portion of a Third Party Software may require
-appropriate licensing from such third parties.
-
-
-7. LIMITED WARRANTY AND WARRANTY DISCLAIMER
-
-The Licensed Software is licensed to Licensee "as is". To the maximum
-extent permitted by applicable law, The Qt Company on behalf of itself and
-its suppliers, disclaims all warranties and conditions, either express or
-implied, including, but not limited to, implied warranties of
-merchantability, fitness for a particular purpose, title and
-non-infringement with regard to the Licensed Software.
-
-
-8. LIMITATION OF LIABILITY
-
-If, The Qt Company's warranty disclaimer notwithstanding, The Qt Company is
-held liable to Licensee, whether in contract, tort or any other legal theory,
-based on the Licensed Software, The Qt Company's entire liability to Licensee
-and Licensee's exclusive remedy shall be, at The Qt Company's option, either
-(A) return of the price Licensee paid for the Licensed Software, or (B)
-repair or replacement of the Licensed Software, provided Licensee
-returns to The Qt Company all copies of the Licensed Software as originally
-delivered to Licensee. The Qt Company shall not under any circumstances be
-liable to Licensee based on failure of the Licensed Software if the failure
-resulted from accident, abuse or misapplication, nor shall The Qt Company
-under any circumstances be liable for special damages, punitive or exemplary
-damages, damages for loss of profits or interruption of business or for
-loss or corruption of data. Any award of damages from The Qt Company to
-Licensee shall not exceed the total amount Licensee has paid to
-The Qt Company in connection with this Agreement.
-
-
-9. CONFIDENTIALITY
-
-Each party acknowledges that during the Term of this Agreement it shall
-have access to information about the other party's business, business
-methods, business plans, customers, business relations, technology, and
-other information, including the terms of this Agreement, that is
-confidential and of great value to the other party, and the value of
-which would be significantly reduced if disclosed to third parties (the
-"Confidential Information"). Accordingly, when a party (the "Receiving
-Party") receives Confidential Information from another party (the
-"Disclosing Party"), the Receiving Party shall, and shall obligate its
-employees and agents and employees and agents of its Affiliates to: (i)
-maintain the Confidential Information in strict confidence; (ii) not
-disclose the Confidential Information to a third party without the
-Disclosing Party's prior written approval; and (iii) not, directly or
-indirectly, use the Confidential Information for any purpose other than
-for exercising its rights and fulfilling its responsibilities pursuant
-to this Agreement. Each party shall take reasonable measures to protect
-the Confidential Information of the other party, which measures shall
-not be less than the measures taken by such party to protect its own
-confidential and proprietary information.
-
-"Confidential Information" shall not include information that (a) is or
-becomes generally known to the public through no act or omission of the
-Receiving Party; (b) was in the Receiving Party's lawful possession
-prior to the disclosure hereunder and was not subject to limitations on
-disclosure or use; (c) is developed by the Receiving Party without
-access to the Confidential Information of the Disclosing Party or by
-persons who have not had access to the Confidential Information of the
-Disclosing Party as proven by the written records of the Receiving
-Party; (d) is lawfully disclosed to the Receiving Party without
-restrictions, by a third party not under an obligation of
-confidentiality; or (e) the Receiving Party is legally compelled to
-disclose the information, in which case the Receiving Party shall assert
-the privileged and confidential nature of the information and cooperate
-fully with the Disclosing Party to protect against and prevent
-disclosure of any Confidential Information and to limit the scope of
-disclosure and the dissemination of disclosed Confidential Information
-by all legally available means.
-
-The obligations of the Receiving Party under this Section shall continue
-during the Initial Term and for a period of five (5) years after
-expiration or termination of this Agreement. To the extent that the
-terms of the Non-Disclosure Agreement between The Qt Company and Licensee
-conflict with the terms of this Section 9, this Section 9 shall be
-controlling over the terms of the Non-Disclosure Agreement.
-
-
-10. GENERAL PROVISIONS
-
-10.1 No Assignment
-
-Licensee shall not be entitled to assign or transfer all or any of its
-rights, benefits and obligations under this Agreement without the prior
-written consent of The Qt Company, which shall not be unreasonably withheld.
-
-10.2 Termination
-
-The Qt Company may terminate the Agreement at any time immediately upon
-written notice by The Qt Company to Licensee if Licensee breaches this
-Agreement.
-
-Upon termination of this Agreement, Licensee shall return to The Qt Company
-all copies of Licensed Software that were supplied by The Qt Company. All
-other copies of Licensed Software in the possession or control of Licensee
-must be erased or destroyed. An officer of Licensee must promptly
-deliver to The Qt Company a written confirmation that this has occurred.
-
-10.3 Surviving Sections
-
-Any terms and conditions that by their nature or otherwise reasonably
-should survive a cancellation or termination of this Agreement shall
-also be deemed to survive. Such terms and conditions include, but are
-not limited to the following Sections: 2, 5, 6, 7, 8, 9, 10.2, 10.3, 10.4,
-10.5, 10.6, 10.7, and 10.8 of this Agreement.
-
-10.4 Entire Agreement
-
-This Agreement constitutes the complete agreement between the parties
-and supersedes all prior or contemporaneous discussions,
-representations, and proposals, written or oral, with respect to the
-subject matters discussed herein, with the exception of the
-non-disclosure agreement executed by the parties in connection with this
-Agreement ("Non-Disclosure Agreement"), if any, shall be subject to
-Section 9. No modification of this Agreement shall be effective unless
-contained in a writing executed by an authorized representative of each
-party. No term or condition contained in Licensee's purchase order shall
-apply unless expressly accepted by The Qt Company in writing. If any provision
-of the Agreement is found void or unenforceable, the remainder shall remain
-valid and enforceable according to its terms. If any remedy provided is
-determined to have failed for its essential purpose, all limitations of
-liability and exclusions of damages set forth in this Agreement shall
-remain in effect.
-
-10.5 Export Control
-
-Licensee acknowledges that the Licensed Software may be subject to
-export control restrictions of various countries. Licensee shall fully
-comply with all applicable export license restrictions and requirements
-as well as with all laws and regulations relating to the importation of
-the Licensed Software and shall procure all necessary governmental
-authorizations, including without limitation, all necessary licenses,
-approvals, permissions or consents, where necessary for the
-re-exportation of the Licensed Software.,
-
-10.6 Governing Law and Legal Venue
-
-This Agreement shall be construed and interpreted in accordance with the laws
-of Finland, excluding its choice of law provisions. Any disputes arising out
-of or relating to this Agreement shall be resolved in arbitration in accordance
-with the Arbitration Rules of the Finland Chamber of Commerce. The arbitration
-tribunal shall consist of one (1), or if either Party so requires, of three
-(3), arbitrators. The award shall be final and binding and enforceable in any
-court of competent jurisdiction. The arbitration shall be held in Helsinki,
-Finland and the process shall be conducted in the English language.
-
-10.7 No Implied License
-
-There are no implied licenses or other implied rights granted under this
-Agreement, and all rights, save for those expressly granted hereunder,
-shall remain with The Qt Company and its licensors. In addition, no licenses
-or immunities are granted to the combination of the Licensed Software with
-any other software or hardware not delivered by The Qt Company under this
-Agreement.
-
-10.8 Government End Users
-
-A "U.S. Government End User" shall mean any agency or entity of the
-government of the United States. The following shall apply if Licensee
-is a U.S. Government End User. The Licensed Software is a "commercial
-item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995),
-consisting of "commercial computer software" and "commercial computer
-software documentation," as such terms are used in 48 C.F.R. 12.212
-(Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
-through 227.7202-4 (June 1995), all U.S. Government End Users acquire
-the Licensed Software with only those rights set forth herein. The
-Licensed Software (including related documentation) is provided to U.S.
-Government End Users: (a) only as a commercial end item; and (b) only
-pursuant to this Agreement.
-
diff --git a/build_scripts/main.py b/build_scripts/main.py
index f288756c..8d3a58eb 100644
--- a/build_scripts/main.py
+++ b/build_scripts/main.py
@@ -51,6 +51,11 @@ setup_py_path = os.path.join(setup_script_dir, "setup.py")
@memoize
def get_package_timestamp():
+ """ In a Coin CI build the returned timestamp will be the
+ Coin integration id timestamp. For regular builds it's
+ just the current timestamp or a user provided one."""
+ if OPTION_PACKAGE_TIMESTAMP:
+ return OPTION_PACKAGE_TIMESTAMP
return int(time.time())
@memoize
@@ -461,6 +466,7 @@ class PysideBuild(_build):
self.py_include_dir = None
self.py_library = None
self.py_version = None
+ self.py_arch = None
self.build_type = "Release"
self.qtinfo = None
self.build_tests = False
@@ -469,6 +475,7 @@ class PysideBuild(_build):
prepare_build()
platform_arch = platform.architecture()[0]
log.info("Python architecture is {}".format(platform_arch))
+ self.py_arch = platform_arch[:-3]
build_type = "Debug" if OPTION_DEBUG else "Release"
if OPTION_RELWITHDEBINFO:
@@ -499,6 +506,9 @@ class PysideBuild(_build):
log.info("nmake was found in {}".format(nmake_path))
make_name = "nmake"
make_generator = "NMake Makefiles"
+ if OPTION_JOBS:
+ msg = "Option --jobs can only be used with 'jom' on Windows."
+ raise DistutilsSetupError(msg)
elif OPTION_MAKESPEC == "mingw":
make_name = "mingw32-make"
make_generator = "MinGW Makefiles"
@@ -1011,7 +1021,7 @@ class PysideBuild(_build):
cmake_cmd.append("-DPYSIDE_SETUP_PY_PACKAGE_TIMESTAMP={}".format(
timestamp))
- if extension.lower() == "shiboken2":
+ if extension.lower() in ["shiboken2", "pyside2-tools"]:
cmake_cmd.append("-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=yes")
if sys.version_info[0] > 2:
cmake_cmd.append("-DUSE_PYTHON_VERSION=3.3")
@@ -1131,6 +1141,7 @@ class PysideBuild(_build):
"qt_prefix_dir": self.qtinfo.prefix_dir,
"qt_translations_dir": self.qtinfo.translations_dir,
"qt_qml_dir": self.qtinfo.qml_dir,
+ "target_arch": self.py_arch,
}
os.chdir(self.script_dir)
@@ -1157,7 +1168,8 @@ class PysideBuild(_build):
return config
def is_webengine_built(self, built_modules):
- return 'WebEngineWidgets' in built_modules or 'WebEngineCore' in built_modules
+ return ('WebEngineWidgets' in built_modules or 'WebEngineCore' in built_modules
+ or 'WebEngine' in built_modules)
def prepare_standalone_clang(self, is_win = False):
"""
diff --git a/build_scripts/options.py b/build_scripts/options.py
index d7174fef..fd8b0718 100644
--- a/build_scripts/options.py
+++ b/build_scripts/options.py
@@ -81,3 +81,4 @@ OPTION_VERBOSE_BUILD = has_option("verbose-build")
OPTION_SANITIZE_ADDRESS = has_option("sanitize-address")
OPTION_SNAPSHOT_BUILD = has_option("snapshot-build")
OPTION_LIMITED_API = option_value("limited-api")
+OPTION_PACKAGE_TIMESTAMP = option_value("package-timestamp")
diff --git a/build_scripts/platforms/windows_desktop.py b/build_scripts/platforms/windows_desktop.py
index f4b4aed6..3bf386a1 100644
--- a/build_scripts/platforms/windows_desktop.py
+++ b/build_scripts/platforms/windows_desktop.py
@@ -42,6 +42,8 @@ import os, re, sys
from ..options import *
from ..utils import copydir, copyfile, rmtree, makefile
from ..utils import regenerate_qt_resources, filter_match
+from ..utils import download_and_extract_7z
+
def prepare_packages_win32(self, vars):
# For now, debug symbols will not be shipped into the package.
copy_pdbs = False
@@ -187,6 +189,16 @@ def prepare_packages_win32(self, vars):
"lconvert.exe",
"qtdiag.exe"
]
+ # MSVC redistributable
+ msvc_redist = [
+ "concrt140.dll",
+ "msvcp140.dll",
+ "ucrtbase.dll",
+ "vcamp140.dll",
+ "vccorlib140.dll",
+ "vcomp140.dll" ,
+ "vcruntime140.dll"
+ ]
# Choose which EGL library variants to copy.
qt_artifacts_egl = [
@@ -201,6 +213,17 @@ def prepare_packages_win32(self, vars):
egl_suffix = ''
qt_artifacts_egl = [a.format(egl_suffix) for a in qt_artifacts_egl]
qt_artifacts_permanent += qt_artifacts_egl
+ qt_artifacts_permanent += msvc_redist
+
+ # Extract Qt dependency dll's when building on Qt CI
+ # There is no proper CI env variable, so using agent launch params
+ in_coin = os.environ.get('COIN_LAUNCH_PARAMETERS', None)
+ if in_coin is not None:
+ redist_url = "http://download.qt.io/development_releases/prebuilt/vcredist//"
+ zip_file = "pyside_qt_deps_64.7z"
+ if "{target_arch}".format(**vars) == "32":
+ zip_file = "pyside_qt_deps_32.7z"
+ download_and_extract_7z(redist_url + zip_file, "{qt_bin_dir}".format(**vars))
copydir("{qt_bin_dir}", "{pyside_package_dir}/PySide2",
filter=qt_artifacts_permanent,
diff --git a/build_scripts/utils.py b/build_scripts/utils.py
index cca93d09..1a622aad 100644
--- a/build_scripts/utils.py
+++ b/build_scripts/utils.py
@@ -1117,3 +1117,16 @@ def run_instruction(instruction, error):
if result != 0:
print("ERROR : " + error)
exit(result)
+
+def acceptCITestConfiguration(hostOS, hostOSVer, targetArch, compiler):
+ # Disable unsupported CI configs for now
+ # NOTE: String must match with QT CI's storagesturct thrift
+ if hostOSVer in ["WinRT_10", "MacOS_10_13"]:
+ print("Disabled " + hostOSVer + " from Coin configuration")
+ return False
+ # With 5.11 CI will create two sets of release binaries, one with msvc 2015 and one with msvc 2017
+ # we shouldn't release the 2015 version. BUT, 32 bit build is done only on msvc 2015...
+ if compiler in ["MSVC2015"] and targetArch in ["X86_64"]:
+ print("Disabled " + compiler + " to " + targetArch + " from Coin configuration")
+ return False
+ return True
diff --git a/build_scripts/wheel_override.py b/build_scripts/wheel_override.py
index ee8bd838..838de1af 100644
--- a/build_scripts/wheel_override.py
+++ b/build_scripts/wheel_override.py
@@ -43,7 +43,7 @@ wheel_module_exists = False
try:
import os, sys
- from distutils import log
+ from distutils import log as logger
from wheel import pep425tags
from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
from wheel.bdist_wheel import safer_name as _safer_name
@@ -56,7 +56,9 @@ try:
wheel_module_exists = True
except Exception as e:
- print('***** Exception while trying to prepare bdist_wheel override class: {}. Skipping wheel overriding.'.format(e))
+ _bdist_wheel, wheel_version = type, '' # dummy to make class statement happy
+ print('***** Exception while trying to prepare bdist_wheel override class: {}. '
+ 'Skipping wheel overriding.'.format(e))
def get_bdist_wheel_override(params):
if wheel_module_exists:
@@ -68,133 +70,133 @@ def get_bdist_wheel_override(params):
else:
return None
-if wheel_module_exists:
- class PysideBuildWheel(_bdist_wheel):
- def __init__(self, *args, **kwargs):
- self.pyside_params = None
- _bdist_wheel.__init__(self, *args, **kwargs)
-
- @property
- def wheel_dist_name(self):
- # Slightly modified version of wheel's wheel_dist_name
- # method, to add the Qt version as well.
- # Example:
- # PySide2-5.6-5.6.4-cp27-cp27m-macosx_10_10_intel.whl
- # The PySide2 version is "5.6".
- # The Qt version built against is "5.6.4".
- qt_version = self.params['qt_version']
- package_version = self.params['package_version']
- wheel_version = "{}-{}".format(package_version, qt_version)
- components = (_safer_name(self.distribution.get_name()),
- wheel_version)
- if self.build_number:
- components += (self.build_number,)
- return '-'.join(components)
-
- # Copy of get_tag from bdist_wheel.py, to allow setting a
- # multi-python impl tag, by removing an assert. Otherwise we
- # would have to rename wheels manually for limited api
- # packages. Also we set "none" abi tag on Windows, because
- # pip does not yet support "abi3" tag, leading to
- # installation failure when tried.
- def get_tag(self):
- # bdist sets self.plat_name if unset, we should only use
- # it for purepy wheels if the user supplied it.
- if self.plat_name_supplied:
- plat_name = self.plat_name
- elif self.root_is_pure:
- plat_name = 'any'
+class PysideBuildWheel(_bdist_wheel):
+ def __init__(self, *args, **kwargs):
+ self.pyside_params = None
+ _bdist_wheel.__init__(self, *args, **kwargs)
+
+ def finalize_options(self):
+ if sys.platform == 'darwin':
+ # Override the platform name to contain the correct
+ # minimum deployment target.
+ # This is used in the final wheel name.
+ self.plat_name = self.params['macos_plat_name']
+
+ # When limited API is requested, notify bdist_wheel to
+ # create a properly named package.
+ limited_api_enabled = OPTION_LIMITED_API and sys.version_info[0] >= 3
+ if limited_api_enabled:
+ self.py_limited_api = "cp35.cp36.cp37"
+
+ _bdist_wheel.finalize_options(self)
+
+ @property
+ def wheel_dist_name(self):
+ # Slightly modified version of wheel's wheel_dist_name
+ # method, to add the Qt version as well.
+ # Example:
+ # PySide2-5.6-5.6.4-cp27-cp27m-macosx_10_10_intel.whl
+ # The PySide2 version is "5.6".
+ # The Qt version built against is "5.6.4".
+ qt_version = self.params['qt_version']
+ package_version = self.params['package_version']
+ wheel_version = "{}-{}".format(package_version, qt_version)
+ components = (_safer_name(self.distribution.get_name()),
+ wheel_version)
+ if self.build_number:
+ components += (self.build_number,)
+ return '-'.join(components)
+
+ # Copy of get_tag from bdist_wheel.py, to allow setting a
+ # multi-python impl tag, by removing an assert. Otherwise we
+ # would have to rename wheels manually for limited api
+ # packages. Also we set "none" abi tag on Windows, because
+ # pip does not yet support "abi3" tag, leading to
+ # installation failure when tried.
+ def get_tag(self):
+ # bdist sets self.plat_name if unset, we should only use it for purepy
+ # wheels if the user supplied it.
+ if self.plat_name_supplied:
+ plat_name = self.plat_name
+ elif self.root_is_pure:
+ plat_name = 'any'
+ else:
+ plat_name = self.plat_name or wheel_get_platform()
+ if plat_name in ('linux-x86_64', 'linux_x86_64') and sys.maxsize == 2147483647:
+ plat_name = 'linux_i686'
+
+ # To allow uploading to pypi, we need the wheel name
+ # to contain 'manylinux1'.
+ # The wheel which will be uploaded to pypi will be
+ # built on RHEL7, so it doesn't completely qualify for
+ # manylinux1 support, but it's the minimum requirement
+ # for building Qt. We only enable this for x64 limited
+ # api builds (which are the only ones uploaded to
+ # pypi).
+ # TODO: Add actual distro detection, instead of
+ # relying on limited_api option.
+ if plat_name in ('linux-x86_64', 'linux_x86_64') and sys.maxsize > 2147483647 \
+ and self.py_limited_api:
+ plat_name = 'manylinux1_x86_64'
+ plat_name = plat_name.replace('-', '_').replace('.', '_')
+
+ if self.root_is_pure:
+ if self.universal:
+ impl = 'py2.py3'
else:
- plat_name = self.plat_name or wheel_get_platform()
- if plat_name in ('linux-x86_64', 'linux_x86_64') and sys.maxsize == 2147483647:
- plat_name = 'linux_i686'
-
- # To allow uploading to pypi, we need the wheel name
- # to contain 'manylinux1'.
- # The wheel which will be uploaded to pypi will be
- # built on RHEL7, so it doesn't completely qualify for
- # manylinux1 support, but it's the minimum requirement
- # for building Qt. We only enable this for x64 limited
- # api builds (which are the only ones uploaded to
- # pypi).
- # TODO: Add actual distro detection, instead of
- # relying on limited_api option.
- if plat_name in ('linux-x86_64', 'linux_x86_64') and sys.maxsize > 2147483647 \
- and self.py_limited_api:
- plat_name = 'manylinux1_x86_64'
- plat_name = plat_name.replace('-', '_').replace('.', '_')
-
- if self.root_is_pure:
- if self.universal:
- impl = 'py2.py3'
- else:
- impl = self.python_tag
- tag = (impl, 'none', plat_name)
+ impl = self.python_tag
+ tag = (impl, 'none', plat_name)
+ else:
+ impl_name = get_abbr_impl()
+ impl_ver = get_impl_ver()
+ impl = impl_name + impl_ver
+ # We don't work on CPython 3.1, 3.0.
+ if self.py_limited_api and (impl_name + impl_ver).startswith('cp3'):
+ impl = self.py_limited_api
+ abi_tag = "abi3" if sys.platform != "win32" else "none"
else:
- impl_name = get_abbr_impl()
- impl_ver = get_impl_ver()
- impl = impl_name + impl_ver
- # We don't work on CPython 3.1, 3.0.
- if self.py_limited_api and (impl_name + impl_ver).startswith('cp3'):
- impl = self.py_limited_api
- if sys.platform == "win32":
- abi_tag = 'none'
- else:
- abi_tag = 'abi3'
- else:
- abi_tag = str(get_abi_tag()).lower()
- tag = (impl, abi_tag, plat_name)
- supported_tags = pep425tags.get_supported(
- supplied_platform=plat_name if self.plat_name_supplied else None)
- # XXX switch to this alternate implementation for
- # non-pure:
- if not self.py_limited_api:
- assert tag == supported_tags[0], "%s != %s" % (tag, supported_tags[0])
- assert tag in supported_tags, \
- "would build wheel with unsupported tag {}".format(tag)
- return tag
-
- # Copy of get_tag from bdist_wheel.py, to write a triplet Tag
- # only once for the limited_api case.
- def write_wheelfile(self, wheelfile_base, generator='bdist_wheel (' + wheel_version + ')'):
- from email.message import Message
- msg = Message()
- msg['Wheel-Version'] = '1.0' # of the spec
- msg['Generator'] = generator
- msg['Root-Is-Purelib'] = str(self.root_is_pure).lower()
- if self.build_number is not None:
- msg['Build'] = self.build_number
-
- # Doesn't work for bdist_wininst
- impl_tag, abi_tag, plat_tag = self.get_tag()
- limited_api_enabled = OPTION_LIMITED_API and sys.version_info[0] >= 3
-
- def writeTag(impl):
- for abi in abi_tag.split('.'):
- for plat in plat_tag.split('.'):
- msg['Tag'] = '-'.join((impl, abi, plat))
- if limited_api_enabled:
- writeTag(impl_tag)
- else:
- for impl in impl_tag.split('.'):
- writeTag(impl)
-
- wheelfile_path = os.path.join(wheelfile_base, 'WHEEL')
- log.info('creating %s', wheelfile_path)
- with open(wheelfile_path, 'w') as f:
- Generator(f, maxheaderlen=0).flatten(msg)
-
- def finalize_options(self):
- if sys.platform == 'darwin':
- # Override the platform name to contain the correct
- # minimum deployment target.
- # This is used in the final wheel name.
- self.plat_name = self.params['macos_plat_name']
-
- # When limited API is requested, notify bdist_wheel to
- # create a properly named package.
- limited_api_enabled = OPTION_LIMITED_API and sys.version_info[0] >= 3
- if limited_api_enabled:
- self.py_limited_api = "cp35.cp36.cp37.cp38"
-
- _bdist_wheel.finalize_options(self)
+ abi_tag = str(get_abi_tag()).lower()
+ tag = (impl, abi_tag, plat_name)
+ supported_tags = pep425tags.get_supported(
+ supplied_platform=plat_name if self.plat_name_supplied else None)
+ # XXX switch to this alternate implementation for non-pure:
+ if not self.py_limited_api:
+ assert tag == supported_tags[0], "%s != %s" % (tag, supported_tags[0])
+ assert tag in supported_tags, (
+ "would build wheel with unsupported tag {}".format(tag))
+ return tag
+
+ # Copy of get_tag from bdist_wheel.py, to write a triplet Tag
+ # only once for the limited_api case.
+ def write_wheelfile(self, wheelfile_base, generator='bdist_wheel (' + wheel_version + ')'):
+ from email.message import Message
+ msg = Message()
+ msg['Wheel-Version'] = '1.0' # of the spec
+ msg['Generator'] = generator
+ msg['Root-Is-Purelib'] = str(self.root_is_pure).lower()
+ if self.build_number is not None:
+ msg['Build'] = self.build_number
+
+ # Doesn't work for bdist_wininst
+ impl_tag, abi_tag, plat_tag = self.get_tag()
+ limited_api_enabled = OPTION_LIMITED_API and sys.version_info[0] >= 3
+
+ def writeTag(impl):
+ for abi in abi_tag.split('.'):
+ for plat in plat_tag.split('.'):
+ msg['Tag'] = '-'.join((impl, abi, plat))
+ if limited_api_enabled:
+ writeTag(impl_tag)
+ else:
+ for impl in impl_tag.split('.'):
+ writeTag(impl)
+
+ wheelfile_path = os.path.join(wheelfile_base, 'WHEEL')
+ logger.info('creating %s', wheelfile_path)
+ with open(wheelfile_path, 'w') as f:
+ Generator(f, maxheaderlen=0).flatten(msg)
+
+
+if not wheel_module_exists:
+ del PysideBuildWheel
+
diff --git a/coin_build_instructions.py b/coin_build_instructions.py
index 78e7976f..9f9a74bc 100644
--- a/coin_build_instructions.py
+++ b/coin_build_instructions.py
@@ -43,6 +43,7 @@ from build_scripts.utils import get_qtci_virtualEnv
from build_scripts.utils import run_instruction
from build_scripts.utils import rmtree
from build_scripts.utils import get_python_dict
+from build_scripts.utils import acceptCITestConfiguration
import os
# Values must match COIN thrift
@@ -54,6 +55,7 @@ CI_HOST_OS_VER = option_value("osVer")
CI_ENV_INSTALL_DIR = option_value("instdir")
CI_ENV_AGENT_DIR = option_value("agentdir")
CI_COMPILER = option_value("compiler")
+CI_INTEGRATION_ID = option_value("coinIntegrationId")
CI_FEATURES = []
_ci_features = option_value("features")
if _ci_features is not None:
@@ -98,9 +100,7 @@ def call_setup(python_ver):
run_instruction(["virtualenv", "-p", _pExe, _env], "Failed to create virtualenv")
install_pip_dependencies(env_pip, ["six", "wheel"])
cmd = [env_python, "setup.py"]
- # With 5.11 CI will create two sets of release binaries, one with msvc 2015 and one with msvc 2017
- # we shouldn't release the 2015 version.
- if CI_RELEASE_CONF and CI_COMPILER not in ["MSVC2015"]:
+ if CI_RELEASE_CONF:
cmd += ["bdist_wheel", "--standalone"]
else:
cmd += ["build"]
@@ -108,8 +108,7 @@ def call_setup(python_ver):
cmd += ["--qmake=" + CI_ENV_INSTALL_DIR + "/bin/qmake"]
elif CI_HOST_OS == "Windows":
- cmd += ["--qmake=" + CI_ENV_INSTALL_DIR + "\\bin\\qmake.exe",
- "--openssl=C:\\openssl\\bin"]
+ cmd += ["--qmake=" + CI_ENV_INSTALL_DIR + "\\bin\\qmake.exe"]
else:
cmd += ["--qmake=" + CI_ENV_INSTALL_DIR + "/bin/qmake"]
cmd += ["--build-tests",
@@ -120,19 +119,22 @@ def call_setup(python_ver):
if is_snapshot_build():
cmd += ["--snapshot-build"]
+ cmd += ["--package-timestamp=" + CI_INTEGRATION_ID]
+
run_instruction(cmd, "Failed to run setup.py")
def run_build_instructions():
- # Disable unsupported configs for now
- if CI_HOST_OS_VER in ["WinRT_10", "MacOS_10_13"]:
- print("Disabled " + CI_HOST_OS_VER + " from Coin configuration")
+ if not acceptCITestConfiguration(CI_HOST_OS, CI_HOST_OS_VER, CI_TARGET_ARCH, CI_COMPILER):
exit()
+
if CI_HOST_ARCH == "X86_64" and CI_TARGET_ARCH == "X86":
print("Disabled 32 bit build on 64 bit from Coin configuration, until toolchains provisioned")
exit()
# Uses default python, hopefully we have python2 installed on all hosts
- call_setup("")
+ # Skip building using Python 2 on Windows, because of different MSVC C runtimes (VS2008 vs VS2015+)
+ if CI_HOST_OS != "Windows":
+ call_setup("")
# In case of packaging build, we have to build also python3 wheel
if CI_RELEASE_CONF and CI_HOST_OS_VER not in ["RHEL_6_6"]:
diff --git a/coin_test_instructions.py b/coin_test_instructions.py
index 6b5007b9..c2c5c07e 100644
--- a/coin_test_instructions.py
+++ b/coin_test_instructions.py
@@ -42,6 +42,7 @@ from build_scripts.utils import install_pip_dependencies
from build_scripts.utils import get_qtci_virtualEnv
from build_scripts.utils import run_instruction
from build_scripts.utils import rmtree
+from build_scripts.utils import acceptCITestConfiguration
import os
# Values must match COIN thrift
@@ -72,19 +73,22 @@ def call_testrunner(python_ver, buildnro):
run_instruction(cmd, "Failed to run testrunner.py")
def run_test_instructions():
- # Disable unsupported configs for now
- if CI_HOST_OS_VER in ["WinRT_10", "MacOS_10_13"]:
- print("Disabled " + CI_HOST_OS_VER + " from Coin configuration")
+ if not acceptCITestConfiguration(CI_HOST_OS, CI_HOST_OS_VER, CI_TARGET_ARCH, CI_COMPILER):
exit()
+
if CI_HOST_ARCH == "X86_64" and CI_TARGET_ARCH == "X86":
print("Disabled 32 bit build on 64 bit from Coin configuration, until toolchains provisioned")
exit()
os.chdir(CI_ENV_AGENT_DIR)
- call_testrunner("", "0")
+ testRun = 0
+ # We didn't build for Python 2 in win
+ if CI_HOST_OS != "Windows":
+ call_testrunner("", str(testRun))
+ testRun =+ 1
# We know that second build was with python3
if CI_RELEASE_CONF and CI_HOST_OS_VER not in ["RHEL_6_6"]:
- call_testrunner("3", "1")
+ call_testrunner("3", str(testRun))
if __name__ == "__main__":
run_test_instructions()
diff --git a/examples/3d/simple3d.py b/examples/3d/simple3d.py
index 3cfa39a0..b97ee79d 100644
--- a/examples/3d/simple3d.py
+++ b/examples/3d/simple3d.py
@@ -82,7 +82,7 @@ class OrbitTransformController(QObject):
return self._angle
def updateMatrix(self):
- self._matrix.setToIdentity();
+ self._matrix.setToIdentity()
self._matrix.rotate(self._angle, QVector3D(0, 1, 0))
self._matrix.translate(self._radius, 0, 0)
if self._target is not None:
@@ -146,7 +146,7 @@ class Window(Qt3DExtras.Qt3DWindow):
self.sphereRotateTransformAnimation = QPropertyAnimation(self.sphereTransform)
self.sphereRotateTransformAnimation.setTargetObject(self.controller)
- self.sphereRotateTransformAnimation.setPropertyName("angle")
+ self.sphereRotateTransformAnimation.setPropertyName(b"angle")
self.sphereRotateTransformAnimation.setStartValue(0)
self.sphereRotateTransformAnimation.setEndValue(360)
self.sphereRotateTransformAnimation.setDuration(10000)
diff --git a/examples/charts/callout.py b/examples/charts/callout.py
index 2b2a4cbb..4b18b649 100644
--- a/examples/charts/callout.py
+++ b/examples/charts/callout.py
@@ -75,7 +75,7 @@ class Callout(QGraphicsItem):
path = QPainterPath()
path.addRoundedRect(self._rect, 5, 5)
anchor = self.mapFromParent(self._chart.mapToPosition(self._anchor))
- if not self._rect.contains(anchor):
+ if not self._rect.contains(anchor) and not self._anchor.isNull():
point1 = QPointF()
point2 = QPointF()
@@ -131,7 +131,7 @@ class Callout(QGraphicsItem):
if event.buttons() & Qt.LeftButton:
self.setPos(mapToParent(
event.pos() - event.buttonDownPos(Qt.LeftButton)))
- event.setAccepted(Ttrue)
+ event.setAccepted(True)
else:
event.setAccepted(False)
diff --git a/examples/charts/memoryusage.py b/examples/charts/memoryusage.py
index ac4d3c4e..b2c8ed15 100644
--- a/examples/charts/memoryusage.py
+++ b/examples/charts/memoryusage.py
@@ -52,10 +52,8 @@ def runProcess(command, arguments):
process = QProcess()
process.start(command, arguments)
process.waitForFinished()
- result = []
- for line in str(process.readAllStandardOutput()).split(os.linesep):
- result.append(line)
- return result
+ std_output = process.readAllStandardOutput().data().decode('utf-8')
+ return std_output.split('\n')
def getMemoryUsage():
result = []
@@ -82,9 +80,9 @@ def getMemoryUsage():
psOptions = ['-e', '-v']
memoryColumn = 11
commandColumn = 12
- for line in runProcess('ps', psOptions)[1:]:
+ for line in runProcess('ps', psOptions):
tokens = line.split(None)
- if len(tokens) > commandColumn: # Percentage and command
+ if len(tokens) > commandColumn and "PID" not in tokens: # Percentage and command
command = tokens[commandColumn]
if not command.startswith('['):
command = os.path.basename(command)
diff --git a/examples/datavisualization/bars3d.py b/examples/datavisualization/bars3d.py
index e8b568f2..e2fa7320 100644
--- a/examples/datavisualization/bars3d.py
+++ b/examples/datavisualization/bars3d.py
@@ -68,18 +68,18 @@ class MainWindow(QMainWindow):
self.columnAxis.setTitle('Columns')
self.columnAxis.setTitleVisible(True)
self.columnAxis.setLabels(['Column1', 'Column2'])
- self.columnAxis.setLabelAutoRotation(30);
+ self.columnAxis.setLabelAutoRotation(30)
self.rowAxis = QtDataVisualization.QCategory3DAxis()
self.rowAxis.setTitle('Rows')
self.rowAxis.setTitleVisible(True)
self.rowAxis.setLabels(['Row1', 'Row2'])
- self.rowAxis.setLabelAutoRotation(30);
+ self.rowAxis.setLabelAutoRotation(30)
self.valueAxis = QtDataVisualization.QValue3DAxis()
self.valueAxis.setTitle('Values')
self.valueAxis.setTitleVisible(True)
- self.valueAxis.setRange(0, 5);
+ self.valueAxis.setRange(0, 5)
self.bars.setRowAxis(self.rowAxis)
self.bars.setColumnAxis(self.columnAxis)
@@ -104,8 +104,8 @@ class MainWindow(QMainWindow):
size = geometry.height() * 3 / 4
self.container.setMinimumSize(size, size)
- self.container.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding);
- self.container.setFocusPolicy(Qt.StrongFocus);
+ self.container.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
+ self.container.setFocusPolicy(Qt.StrongFocus)
self.setCentralWidget(self.container)
if __name__ == '__main__':
diff --git a/examples/declarative/extending/chapter4-customPropertyTypes/customPropertyTypes.py b/examples/declarative/extending/chapter4-customPropertyTypes/customPropertyTypes.py
index 024efbf1..9bd9f1e7 100644
--- a/examples/declarative/extending/chapter4-customPropertyTypes/customPropertyTypes.py
+++ b/examples/declarative/extending/chapter4-customPropertyTypes/customPropertyTypes.py
@@ -51,9 +51,10 @@ from utils import text_type
from PySide2.QtCore import Property, QUrl
from PySide2.QtGui import QGuiApplication, QPen, QPainter, QColor
from PySide2.QtQml import qmlRegisterType
-from PySide2.QtQuick import QQuickPaintedItem, QQuickView
+from PySide2.QtQuick import QQuickPaintedItem, QQuickView, QQuickItem
class PieSlice (QQuickPaintedItem):
+
def __init__(self, parent = None):
QQuickPaintedItem.__init__(self, parent)
self._color = QColor()
@@ -68,14 +69,14 @@ class PieSlice (QQuickPaintedItem):
def paint(self, painter):
pen = QPen(self._color, 2)
- painter.setPen(pen);
- painter.setRenderHints(QPainter.Antialiasing, True);
- painter.drawPie(self.boundingRect().adjusted(1,1,-1,-1), 90 * 16, 290 * 16);
+ painter.setPen(pen)
+ painter.setRenderHints(QPainter.Antialiasing, True)
+ painter.drawPie(self.boundingRect().adjusted(1,1,-1,-1), 90 * 16, 290 * 16)
-class PieChart (QQuickPaintedItem):
+class PieChart (QQuickItem):
def __init__(self, parent = None):
- QQuickPaintedItem.__init__(self, parent)
- self._name = u''
+ QQuickItem.__init__(self, parent)
+ self._name = None
self._pieSlice = None
def getName(self):
diff --git a/examples/declarative/extending/chapter5-listproperties/listproperties.py b/examples/declarative/extending/chapter5-listproperties/listproperties.py
index c06e11ca..1aec7275 100644
--- a/examples/declarative/extending/chapter5-listproperties/listproperties.py
+++ b/examples/declarative/extending/chapter5-listproperties/listproperties.py
@@ -51,7 +51,7 @@ from utils import text_type
from PySide2.QtCore import Property, QUrl
from PySide2.QtGui import QGuiApplication, QPen, QPainter, QColor
from PySide2.QtQml import qmlRegisterType, ListProperty
-from PySide2.QtQuick import QQuickPaintedItem, QQuickView
+from PySide2.QtQuick import QQuickPaintedItem, QQuickView, QQuickItem
class PieSlice (QQuickPaintedItem):
def __init__(self, parent = None):
@@ -84,13 +84,13 @@ class PieSlice (QQuickPaintedItem):
def paint(self, painter):
pen = QPen(self._color, 2)
- painter.setPen(pen);
- painter.setRenderHints(QPainter.Antialiasing, True);
- painter.drawPie(self.boundingRect().adjusted(1,1,-1,-1), self._fromAngle * 16, self._angleSpan * 16);
+ painter.setPen(pen)
+ painter.setRenderHints(QPainter.Antialiasing, True)
+ painter.drawPie(self.boundingRect().adjusted(1,1,-1,-1), self._fromAngle * 16, self._angleSpan * 16)
-class PieChart (QQuickPaintedItem):
+class PieChart (QQuickItem):
def __init__(self, parent = None):
- QQuickPaintedItem.__init__(self, parent)
+ QQuickItem.__init__(self, parent)
self._name = u''
self._slices = []
@@ -111,8 +111,8 @@ class PieChart (QQuickPaintedItem):
if __name__ == '__main__':
app = QGuiApplication(sys.argv)
- qmlRegisterType(PieChart, 'Charts', 1, 0, 'PieChart');
- qmlRegisterType(PieSlice, "Charts", 1, 0, "PieSlice");
+ qmlRegisterType(PieChart, 'Charts', 1, 0, 'PieChart')
+ qmlRegisterType(PieSlice, "Charts", 1, 0, "PieSlice")
view = QQuickView()
view.setResizeMode(QQuickView.SizeRootObjectToView)
diff --git a/examples/declarative/usingmodel.py b/examples/declarative/usingmodel.py
index 494647c1..4b438711 100644
--- a/examples/declarative/usingmodel.py
+++ b/examples/declarative/usingmodel.py
@@ -44,9 +44,9 @@ from __future__ import print_function
import os
import sys
-from PySide2.QtCore import QAbstractListModel, Qt, QUrl
-from PySide2.QtGui import QGuiApplication
import PySide2.QtQml
+from PySide2.QtCore import QAbstractListModel, Qt, QUrl, QByteArray
+from PySide2.QtGui import QGuiApplication
from PySide2.QtQuick import QQuickView
class PersonModel (QAbstractListModel):
@@ -58,8 +58,8 @@ class PersonModel (QAbstractListModel):
def roleNames(self):
roles = {
- PersonModel.MyRole : 'modelData',
- Qt.DisplayRole : 'display'
+ PersonModel.MyRole : QByteArray(b'modelData'),
+ Qt.DisplayRole : QByteArray(b'display')
}
return roles
diff --git a/examples/macextras/macpasteboardmime.py b/examples/macextras/macpasteboardmime.py
index 41271427..2e0995a2 100755
--- a/examples/macextras/macpasteboardmime.py
+++ b/examples/macextras/macpasteboardmime.py
@@ -116,7 +116,7 @@ class TestWidget(QtWidgets.QWidget):
if e.mimeData().hasFormat("application/x-mycompany-VCard"):
s = e.mimeData().data( "application/x-mycompany-VCard" )
# s now contains text of vcard
- self.label2.setText(str(s));
+ self.label2.setText(str(s))
e.acceptProposedAction()
if __name__ == '__main__':
diff --git a/examples/multimedia/player.py b/examples/multimedia/player.py
index 71604f41..3e7d9f2c 100644
--- a/examples/multimedia/player.py
+++ b/examples/multimedia/player.py
@@ -114,9 +114,9 @@ class MainWindow(QMainWindow):
self.videoWidget = QVideoWidget()
self.setCentralWidget(self.videoWidget)
- self.player.setPlaylist(self.playlist);
+ self.player.setPlaylist(self.playlist)
self.player.stateChanged.connect(self.updateButtons)
- self.player.setVideoOutput(self.videoWidget);
+ self.player.setVideoOutput(self.videoWidget)
self.updateButtons(self.player.state())
@@ -136,9 +136,9 @@ class MainWindow(QMainWindow):
# Go to previous track if we are within the first 5 seconds of playback
# Otherwise, seek to the beginning.
if self.player.position() <= 5000:
- self.playlist.previous();
+ self.playlist.previous()
else:
- player.setPosition(0);
+ player.setPosition(0)
def updateButtons(self, state):
mediaCount = self.playlist.mediaCount()
diff --git a/examples/multimedia/shutter.svg b/examples/multimedia/shutter.svg
new file mode 100644
index 00000000..18493361
--- /dev/null
+++ b/examples/multimedia/shutter.svg
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 20.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ viewBox="0 0 23.3 19.4" style="enable-background:new 0 0 23.3 19.4;" xml:space="preserve">
+<style type="text/css">
+ .st0{fill:none;}
+</style>
+<g>
+ <path class="st0" d="M6.2,4.8H2.4c-0.2,0-0.1-0.1-0.1,0.1V17c0,0.2-0.1,0.8,0.1,0.8h3.9V4.8z"/>
+ <circle class="st0" cx="14" cy="11" r="4.5"/>
+ <path class="st0" d="M20.9,4.8h-1.8c-0.3,0-0.6-0.4-0.8-0.6l-1.7-2.4h-5.3L9.7,4.2C9.5,4.4,9.2,4.8,8.9,4.8H7.2v13h13.7
+ c0.2,0,0.3-0.6,0.3-0.8V4.9C21.2,4.7,21.1,4.8,20.9,4.8z M14,16.4c-3,0-5.5-2.4-5.5-5.5c0-3,2.4-5.5,5.5-5.5c3,0,5.5,2.4,5.5,5.5
+ C19.5,14,17,16.4,14,16.4z"/>
+ <path d="M14,5.5C11,5.5,8.6,8,8.6,11c0,3,2.4,5.5,5.5,5.5c3,0,5.5-2.4,5.5-5.5C19.5,8,17,5.5,14,5.5z M14,15.4
+ c-2.5,0-4.5-2-4.5-4.5c0-2.5,2-4.5,4.5-4.5c2.5,0,4.5,2,4.5,4.5C18.5,13.4,16.5,15.4,14,15.4z"/>
+ <path d="M20.9,2.8h-1.3l-1.7-2.4c-0.2-0.2-0.5-0.6-0.8-0.6h-6.3c-0.3,0-0.6,0.4-0.8,0.6L8.4,2.8h-6c-1.3,0-2.1,0.8-2.1,2.1V17
+ c0,1.3,0.8,2.8,2.1,2.8h18.5c1.3,0,2.3-1.5,2.3-2.8V4.9C23.2,3.6,22.2,2.8,20.9,2.8z M2.2,17V4.9c0-0.2-0.1-0.1,0.1-0.1h3.9v13H2.4
+ C2.2,17.8,2.2,17.2,2.2,17z M21.2,17c0,0.2-0.1,0.8-0.3,0.8H7.2v-13h1.7c0.3,0,0.6-0.4,0.8-0.6l1.7-2.4h5.3l1.7,2.4
+ c0.2,0.2,0.5,0.6,0.8,0.6h1.8c0.2,0,0.3-0.1,0.3,0.1V17z"/>
+</g>
+</svg>
diff --git a/examples/opengl/contextinfo.py b/examples/opengl/contextinfo.py
index ef100560..9cd22965 100644
--- a/examples/opengl/contextinfo.py
+++ b/examples/opengl/contextinfo.py
@@ -109,10 +109,10 @@ colors = numpy.array([1, 0, 0, 0, 1, 0, 0, 0, 1], dtype = numpy.float32)
class RenderWindow(QWindow):
def __init__(self, format):
super(RenderWindow, self).__init__()
- self.setSurfaceType(QWindow.OpenGLSurface);
- self.setFormat(format);
- self.context = QOpenGLContext(self);
- self.context.setFormat(self.requestedFormat());
+ self.setSurfaceType(QWindow.OpenGLSurface)
+ self.setFormat(format)
+ self.context = QOpenGLContext(self)
+ self.context.setFormat(self.requestedFormat())
if not self.context.create():
raise Exception("Unable to create GL context")
self.program = None
@@ -120,12 +120,12 @@ class RenderWindow(QWindow):
self.angle = 0
def initGl(self):
- self.program = QOpenGLShaderProgram(self);
+ self.program = QOpenGLShaderProgram(self)
self.vao = QOpenGLVertexArrayObject()
self.vbo = QOpenGLBuffer()
- format = self.context.format();
- useNewStyleShader = format.profile() == QSurfaceFormat.CoreProfile;
+ format = self.context.format()
+ useNewStyleShader = format.profile() == QSurfaceFormat.CoreProfile
# Try to handle 3.0 & 3.1 that do not have the core/compatibility profile
# concept 3.2+ has. This may still fail since version 150 (3.2) is
# specified in the sources but it's worth a try.
@@ -142,31 +142,31 @@ class RenderWindow(QWindow):
if not self.program.link():
raise Exception("Could not link shaders: {}".format(self.program.log()))
- self.posAttr = self.program.attributeLocation("posAttr");
- self.colAttr = self.program.attributeLocation("colAttr");
- self.matrixUniform = self.program.uniformLocation("matrix");
+ self.posAttr = self.program.attributeLocation("posAttr")
+ self.colAttr = self.program.attributeLocation("colAttr")
+ self.matrixUniform = self.program.uniformLocation("matrix")
- self.vbo.create();
- self.vbo.bind();
+ self.vbo.create()
+ self.vbo.bind()
self.verticesData = vertices.tobytes()
self.colorsData = colors.tobytes()
verticesSize = 4 * vertices.size
colorsSize = 4 * colors.size
- self.vbo.allocate(VoidPtr(self.verticesData), verticesSize + colorsSize);
+ self.vbo.allocate(VoidPtr(self.verticesData), verticesSize + colorsSize)
self.vbo.write(verticesSize, VoidPtr(self.colorsData), colorsSize)
- self.vbo.release();
+ self.vbo.release()
vaoBinder = QOpenGLVertexArrayObject.Binder(self.vao)
if self.vao.isCreated(): # have VAO support, use it
self.setupVertexAttribs()
def setupVertexAttribs(self):
- self.vbo.bind();
- self.program.setAttributeBuffer(self.posAttr, GL.GL_FLOAT, 0, 2);
- self.program.setAttributeBuffer(self.colAttr, GL.GL_FLOAT, 4 * vertices.size, 3);
- self.program.enableAttributeArray(self.posAttr);
- self.program.enableAttributeArray(self.colAttr);
- self.vbo.release();
+ self.vbo.bind()
+ self.program.setAttributeBuffer(self.posAttr, GL.GL_FLOAT, 0, 2)
+ self.program.setAttributeBuffer(self.colAttr, GL.GL_FLOAT, 4 * vertices.size, 3)
+ self.program.enableAttributeArray(self.posAttr)
+ self.program.enableAttributeArray(self.colAttr)
+ self.vbo.release()
def exposeEvent(self, event):
if self.isExposed():
@@ -185,22 +185,22 @@ class RenderWindow(QWindow):
functions.glClearColor(0, 0, 0, 1)
self.initGl()
- functions.glViewport(0, 0, self.width(), self.height());
- functions.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT);
+ functions.glViewport(0, 0, self.width(), self.height())
+ functions.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT)
- self.program.bind();
+ self.program.bind()
matrix = QMatrix4x4()
matrix.perspective(60, 4 / 3, 0.1, 100)
matrix.translate(0, 0, -2)
matrix.rotate(self.angle, 0, 1, 0)
- self.program.setUniformValue(self.matrixUniform, matrix);
+ self.program.setUniformValue(self.matrixUniform, matrix)
if self.vao.isCreated():
- self.vao.bind();
+ self.vao.bind()
else: # no VAO support, set the vertex attribute arrays now
self.setupVertexAttribs()
- functions.glDrawArrays(GL.GL_TRIANGLES, 0, 3);
+ functions.glDrawArrays(GL.GL_TRIANGLES, 0, 3)
self.vao.release()
self.program.release()
diff --git a/examples/script/README.md b/examples/script/README.md
new file mode 100644
index 00000000..6133f430
--- /dev/null
+++ b/examples/script/README.md
@@ -0,0 +1,9 @@
+# About QtScript
+
+The QtScript module is deprecated since Qt 5.5,
+and hence is not being distributed through our wheels.
+
+However, it is possible to access the module
+when using a local build of PySide2 which was built
+against a Qt installation containing the Qt Script module
+(ALL_OPTIONAL_MODULES in `sources/pyside2/CMakeLists.txt`).
diff --git a/examples/scriptableapplication/pythonutils.cpp b/examples/scriptableapplication/pythonutils.cpp
index 2f7d2c2a..f546a5a6 100644
--- a/examples/scriptableapplication/pythonutils.cpp
+++ b/examples/scriptableapplication/pythonutils.cpp
@@ -54,6 +54,8 @@
#include <QtCore/QCoreApplication>
#include <QtCore/QDebug>
#include <QtCore/QStringList>
+#include <QtCore/QTemporaryFile>
+#include <QtCore/QDir>
#include <sbkpython.h>
#include <sbkconverter.h>
@@ -122,7 +124,7 @@ bool bindAppObject(const QString &moduleName, const QString &name,
return false;
PyTypeObject *typeObject = SbkAppLibTypes[index];
- PyObject *po = Shiboken::Conversions::pointerToPython(reinterpret_cast<const SbkObjectType *>(typeObject), o);
+ PyObject *po = Shiboken::Conversions::pointerToPython(reinterpret_cast<SbkObjectType *>(typeObject), o);
if (!po) {
qWarning() << __FUNCTION__ << "Failed to create wrapper for" << o;
return false;
@@ -152,17 +154,22 @@ bool runScript(const QStringList &script)
{
if (init() == PythonUninitialized)
return false;
+
+ // Concatenating all the lines
+ QString content;
+ QTextStream ss(&content);
+ for (const QString &line: script)
+ ss << line << "\n";
+
+ // Executing the whole script as one line
bool result = true;
- for (const QString& lineS : script) {
- const QByteArray line = lineS.toUtf8();
- if (PyRun_SimpleString(line.constData()) == -1) {
- if (PyErr_Occurred())
- PyErr_Print();
- qWarning() << __FUNCTION__ << "Error at" << line;
- result = false;
- break;
- }
+ const QByteArray line = content.toUtf8();
+ if (PyRun_SimpleString(line.constData()) == -1) {
+ if (PyErr_Occurred())
+ PyErr_Print();
+ result = false;
}
+
return result;
}
diff --git a/examples/tutorial/t10.py b/examples/tutorial/t10.py
index f49faa1b..baf3884a 100644
--- a/examples/tutorial/t10.py
+++ b/examples/tutorial/t10.py
@@ -105,7 +105,7 @@ class CannonField(QtWidgets.QWidget):
if angle < 5:
angle = 5
if angle > 70:
- angle = 70;
+ angle = 70
if self.currentAngle == angle:
return
self.currentAngle = angle
@@ -121,7 +121,7 @@ class CannonField(QtWidgets.QWidget):
force = 0
if self.currentForce == force:
return
- self.currentForce = force;
+ self.currentForce = force
self.emit(QtCore.SIGNAL("forceChanged(int)"), self.currentForce)
def paintEvent(self, event):
diff --git a/examples/tutorial/t11.py b/examples/tutorial/t11.py
index 46e24e0d..b028fc22 100644
--- a/examples/tutorial/t11.py
+++ b/examples/tutorial/t11.py
@@ -112,7 +112,7 @@ class CannonField(QtWidgets.QWidget):
if angle < 5:
angle = 5
if angle > 70:
- angle = 70;
+ angle = 70
if self.currentAngle == angle:
return
self.currentAngle = angle
@@ -128,7 +128,7 @@ class CannonField(QtWidgets.QWidget):
force = 0
if self.currentForce == force:
return
- self.currentForce = force;
+ self.currentForce = force
self.emit(QtCore.SIGNAL("forceChanged(int)"), self.currentForce)
@QtCore.Slot()
@@ -162,7 +162,7 @@ class CannonField(QtWidgets.QWidget):
self.paintShot(painter)
def paintShot(self, painter):
- painter.setPen(QtCore.Qt.NoPen);
+ painter.setPen(QtCore.Qt.NoPen)
painter.setBrush(QtCore.Qt.black)
painter.drawRect(self.shotRect())
diff --git a/examples/tutorial/t12.py b/examples/tutorial/t12.py
index a3e1a6cf..945edbd8 100644
--- a/examples/tutorial/t12.py
+++ b/examples/tutorial/t12.py
@@ -134,7 +134,7 @@ class CannonField(QtWidgets.QWidget):
if angle < 5:
angle = 5
if angle > 70:
- angle = 70;
+ angle = 70
if self.currentAngle == angle:
return
self.currentAngle = angle
@@ -150,7 +150,7 @@ class CannonField(QtWidgets.QWidget):
force = 0
if self.currentForce == force:
return
- self.currentForce = force;
+ self.currentForce = force
self.emit(QtCore.SIGNAL("forceChanged(int)"), self.currentForce)
@QtCore.Slot()
@@ -201,7 +201,7 @@ class CannonField(QtWidgets.QWidget):
self.paintTarget(painter)
def paintShot(self, painter):
- painter.setPen(QtCore.Qt.NoPen);
+ painter.setPen(QtCore.Qt.NoPen)
painter.setBrush(QtCore.Qt.black)
painter.drawRect(self.shotRect())
diff --git a/examples/tutorial/t13.py b/examples/tutorial/t13.py
index a26db073..706b8a52 100644
--- a/examples/tutorial/t13.py
+++ b/examples/tutorial/t13.py
@@ -139,7 +139,7 @@ class CannonField(QtWidgets.QWidget):
if angle < 5:
angle = 5
if angle > 70:
- angle = 70;
+ angle = 70
if self.currentAngle == angle:
return
self.currentAngle = angle
@@ -155,7 +155,7 @@ class CannonField(QtWidgets.QWidget):
force = 0
if self.currentForce == force:
return
- self.currentForce = force;
+ self.currentForce = force
self.emit(QtCore.SIGNAL("forceChanged(int)"), self.currentForce)
@QtCore.Slot()
@@ -229,7 +229,7 @@ class CannonField(QtWidgets.QWidget):
self.paintTarget(painter)
def paintShot(self, painter):
- painter.setPen(QtCore.Qt.NoPen);
+ painter.setPen(QtCore.Qt.NoPen)
painter.setBrush(QtCore.Qt.black)
painter.drawRect(self.shotRect())
diff --git a/examples/tutorial/t14.py b/examples/tutorial/t14.py
index caf6d183..a7a4a059 100644
--- a/examples/tutorial/t14.py
+++ b/examples/tutorial/t14.py
@@ -140,7 +140,7 @@ class CannonField(QtWidgets.QWidget):
if angle < 5:
angle = 5
if angle > 70:
- angle = 70;
+ angle = 70
if self.currentAngle == angle:
return
self.currentAngle = angle
@@ -156,7 +156,7 @@ class CannonField(QtWidgets.QWidget):
force = 0
if self.currentForce == force:
return
- self.currentForce = force;
+ self.currentForce = force
self.emit(QtCore.SIGNAL("forceChanged(int)"), self.currentForce)
@QtCore.Slot()
@@ -234,7 +234,7 @@ class CannonField(QtWidgets.QWidget):
def mouseReleaseEvent(self, event):
if event.button() == QtCore.Qt.LeftButton:
- self.barrelPressed = False;
+ self.barrelPressed = False
def paintEvent(self, event):
painter = QtGui.QPainter(self)
@@ -252,7 +252,7 @@ class CannonField(QtWidgets.QWidget):
self.paintTarget(painter)
def paintShot(self, painter):
- painter.setPen(QtCore.Qt.NoPen);
+ painter.setPen(QtCore.Qt.NoPen)
painter.setBrush(QtCore.Qt.black)
painter.drawRect(self.shotRect())
diff --git a/examples/tutorial/t5.py b/examples/tutorial/t5.py
index f9f657fa..783fa73d 100644
--- a/examples/tutorial/t5.py
+++ b/examples/tutorial/t5.py
@@ -66,10 +66,10 @@ class MyWidget(QtWidgets.QWidget):
lcd, QtCore.SLOT("display(int)"))
layout = QtWidgets.QVBoxLayout()
- layout.addWidget(quit);
- layout.addWidget(lcd);
- layout.addWidget(slider);
- self.setLayout(layout);
+ layout.addWidget(quit)
+ layout.addWidget(lcd)
+ layout.addWidget(slider)
+ self.setLayout(layout)
app = QtWidgets.QApplication(sys.argv)
diff --git a/examples/tutorial/t8.py b/examples/tutorial/t8.py
index 0c682df1..e203ed8a 100644
--- a/examples/tutorial/t8.py
+++ b/examples/tutorial/t8.py
@@ -103,7 +103,7 @@ class CannonField(QtWidgets.QWidget):
if angle < 5:
angle = 5
if angle > 70:
- angle = 70;
+ angle = 70
if self.currentAngle == angle:
return
self.currentAngle = angle
diff --git a/examples/tutorial/t9.py b/examples/tutorial/t9.py
index dc2106d9..d4640744 100644
--- a/examples/tutorial/t9.py
+++ b/examples/tutorial/t9.py
@@ -103,7 +103,7 @@ class CannonField(QtWidgets.QWidget):
if angle < 5:
angle = 5
if angle > 70:
- angle = 70;
+ angle = 70
if self.currentAngle == angle:
return
self.currentAngle = angle
diff --git a/examples/webenginequick/browser.qml b/examples/webenginequick/browser.qml
new file mode 100644
index 00000000..78145386
--- /dev/null
+++ b/examples/webenginequick/browser.qml
@@ -0,0 +1,53 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: http://www.qt.io/licensing/
+**
+** This file is part of the Qt for Python examples of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:BSD$
+** You may use this file under the terms of the BSD license as follows:
+**
+** "Redistribution and use in source and binary forms, with or without
+** modification, are permitted provided that the following conditions are
+** met:
+** * Redistributions of source code must retain the above copyright
+** notice, this list of conditions and the following disclaimer.
+** * Redistributions in binary form must reproduce the above copyright
+** notice, this list of conditions and the following disclaimer in
+** the documentation and/or other materials provided with the
+** distribution.
+** * Neither the name of The Qt Company Ltd nor the names of its
+** contributors may be used to endorse or promote products derived
+** from this software without specific prior written permission.
+**
+**
+** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import QtQuick.Window 2.0
+import QtWebEngine 1.0
+
+Window {
+ width: 1024
+ height: 768
+ visible: true
+ WebEngineView {
+ anchors.fill: parent
+ url: "https://www.qt.io"
+ }
+}
diff --git a/examples/webenginequick/quicknanobrowser.py b/examples/webenginequick/quicknanobrowser.py
new file mode 100644
index 00000000..24e58ead
--- /dev/null
+++ b/examples/webenginequick/quicknanobrowser.py
@@ -0,0 +1,59 @@
+#############################################################################
+##
+## Copyright (C) 2017 The Qt Company Ltd.
+## Contact: http://www.qt.io/licensing/
+##
+## This file is part of the Qt for Python examples of the Qt Toolkit.
+##
+## $QT_BEGIN_LICENSE:BSD$
+## You may use this file under the terms of the BSD license as follows:
+##
+## "Redistribution and use in source and binary forms, with or without
+## modification, are permitted provided that the following conditions are
+## met:
+## * Redistributions of source code must retain the above copyright
+## notice, this list of conditions and the following disclaimer.
+## * Redistributions in binary form must reproduce the above copyright
+## notice, this list of conditions and the following disclaimer in
+## the documentation and/or other materials provided with the
+## distribution.
+## * Neither the name of The Qt Company Ltd nor the names of its
+## contributors may be used to endorse or promote products derived
+## from this software without specific prior written permission.
+##
+##
+## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+##
+## $QT_END_LICENSE$
+##
+#############################################################################
+
+"""PySide2 WebEngine QtQuick 2 Example"""
+
+import os
+from PySide2.QtCore import QUrl
+from PySide2.QtQml import QQmlApplicationEngine
+from PySide2.QtWidgets import QApplication
+from PySide2.QtWebEngine import QtWebEngine
+
+def main():
+ app = QApplication([])
+ QtWebEngine.initialize()
+ engine = QQmlApplicationEngine()
+ qml_file_path = os.path.join(os.path.dirname(__file__), 'browser.qml')
+ qml_url = QUrl.fromLocalFile(os.path.abspath(qml_file_path))
+ engine.load(qml_url)
+ app.exec_()
+
+if __name__ == '__main__':
+ main()
diff --git a/examples/webenginewidgets/tabbedbrowser/bookmarkwidget.py b/examples/webenginewidgets/tabbedbrowser/bookmarkwidget.py
index 01a69b92..6bd2b458 100644
--- a/examples/webenginewidgets/tabbedbrowser/bookmarkwidget.py
+++ b/examples/webenginewidgets/tabbedbrowser/bookmarkwidget.py
@@ -122,6 +122,7 @@ def _serialize_model(model, directory):
# Bookmarks as a tree view to be used in a dock widget with
# functionality to persist and populate tool bars and menus.
class BookmarkWidget(QTreeView):
+ """Provides a tree view to manage the bookmarks."""
open_bookmark = QtCore.Signal(QUrl)
open_bookmark_in_new_tab = QtCore.Signal(QUrl)
diff --git a/examples/webenginewidgets/tabbedbrowser/browsertabwidget.py b/examples/webenginewidgets/tabbedbrowser/browsertabwidget.py
index d9263be0..d85b8ad3 100644
--- a/examples/webenginewidgets/tabbedbrowser/browsertabwidget.py
+++ b/examples/webenginewidgets/tabbedbrowser/browsertabwidget.py
@@ -50,6 +50,7 @@ from PySide2.QtWebEngineWidgets import (QWebEngineDownloadItem,
QWebEnginePage, QWebEngineProfile)
class BrowserTabWidget(QTabWidget):
+ """Enables having several tabs with QWebEngineView."""
url_changed = QtCore.Signal(QUrl)
enabled_changed = QtCore.Signal(QWebEnginePage.WebAction, bool)
diff --git a/examples/webenginewidgets/tabbedbrowser/downloadwidget.py b/examples/webenginewidgets/tabbedbrowser/downloadwidget.py
index 030dfc14..437c534e 100644
--- a/examples/webenginewidgets/tabbedbrowser/downloadwidget.py
+++ b/examples/webenginewidgets/tabbedbrowser/downloadwidget.py
@@ -48,7 +48,7 @@ from PySide2.QtWebEngineWidgets import QWebEngineDownloadItem
# A QProgressBar with context menu for displaying downloads in a QStatusBar.
class DownloadWidget(QProgressBar):
-
+ """Lets you track progress of a QWebEngineDownloadItem."""
finished = QtCore.Signal()
remove_requested = QtCore.Signal()
diff --git a/examples/webenginewidgets/tabbedbrowser/main.py b/examples/webenginewidgets/tabbedbrowser/main.py
index 12efdcd5..9fe98da6 100644
--- a/examples/webenginewidgets/tabbedbrowser/main.py
+++ b/examples/webenginewidgets/tabbedbrowser/main.py
@@ -60,6 +60,7 @@ from PySide2.QtWebEngineWidgets import (QWebEngineDownloadItem, QWebEnginePage,
main_windows = []
def create_main_window():
+ """Creates a MainWindow using 75% of the available screen resolution."""
main_win = MainWindow()
main_windows.append(main_win)
available_geometry = app.desktop().availableGeometry(main_win)
@@ -68,11 +69,14 @@ def create_main_window():
return main_win
def create_main_window_with_browser():
+ """Creates a MainWindow with a BrowserTabWidget."""
main_win = create_main_window()
return main_win.add_browser_tab()
class MainWindow(QMainWindow):
-
+ """Provides the parent window that includes the BookmarkWidget,
+ BrowserTabWidget, and a DownloadWidget, to offer the complete
+ web browsing experience."""
def __init__(self):
super(MainWindow, self).__init__()
diff --git a/examples/widgets/animation/animatedtiles/animatedtiles.py b/examples/widgets/animation/animatedtiles/animatedtiles.py
index f50c9937..e390cfce 100755
--- a/examples/widgets/animation/animatedtiles/animatedtiles.py
+++ b/examples/widgets/animation/animatedtiles/animatedtiles.py
@@ -229,7 +229,7 @@ if __name__ == '__main__':
group = QtCore.QParallelAnimationGroup()
for i, item in enumerate(items):
- anim = QtCore.QPropertyAnimation(item, 'pos')
+ anim = QtCore.QPropertyAnimation(item, b'pos')
anim.setDuration(750 + i * 25)
anim.setEasingCurve(QtCore.QEasingCurve.InOutBack)
group.addAnimation(anim)
diff --git a/examples/widgets/animation/appchooser/appchooser.py b/examples/widgets/animation/appchooser/appchooser.py
index 67550ab4..862e2bef 100755
--- a/examples/widgets/animation/appchooser/appchooser.py
+++ b/examples/widgets/animation/appchooser/appchooser.py
@@ -79,7 +79,7 @@ def createStates(objects, selectedRect, parent):
def createAnimations(objects, machine):
for obj in objects:
- animation = QtCore.QPropertyAnimation(obj, 'geometry', obj)
+ animation = QtCore.QPropertyAnimation(obj, b'geometry', obj)
machine.addDefaultAnimation(animation)
diff --git a/examples/widgets/animation/easing/easing.py b/examples/widgets/animation/easing/easing.py
index 17377e83..8bb74254 100644
--- a/examples/widgets/animation/easing/easing.py
+++ b/examples/widgets/animation/easing/easing.py
@@ -135,7 +135,7 @@ class Window(QtWidgets.QWidget):
self.m_scene.addItem(self.m_item.pixmap_item)
self.m_ui.graphicsView.setScene(self.m_scene)
- self.m_anim = Animation(self.m_item, 'pos')
+ self.m_anim = Animation(self.m_item, b'pos')
self.m_anim.setEasingCurve(QtCore.QEasingCurve.OutBounce)
self.m_ui.easingCurvePicker.setCurrentRow(int(QtCore.QEasingCurve.OutBounce))
@@ -173,7 +173,7 @@ class Window(QtWidgets.QWidget):
painter.drawLine(0, xAxis, self.m_iconSize.width(), xAxis)
painter.drawLine(yAxis, 0, yAxis, self.m_iconSize.height())
- curveScale = self.m_iconSize.height() / 2.0;
+ curveScale = self.m_iconSize.height() / 2.0
painter.setPen(QtCore.Qt.NoPen)
diff --git a/examples/widgets/animation/states/states.py b/examples/widgets/animation/states/states.py
index 6b31922c..6cf1597d 100755
--- a/examples/widgets/animation/states/states.py
+++ b/examples/widgets/animation/states/states.py
@@ -191,71 +191,71 @@ if __name__ == '__main__':
t1 = state1.addTransition(button.clicked, state2)
animation1SubGroup = QtCore.QSequentialAnimationGroup()
animation1SubGroup.addPause(250)
- animation1SubGroup.addAnimation(QtCore.QPropertyAnimation(box, 'geometry', state1))
+ animation1SubGroup.addAnimation(QtCore.QPropertyAnimation(box, b'geometry', state1))
t1.addAnimation(animation1SubGroup)
- t1.addAnimation(QtCore.QPropertyAnimation(widget, 'geometry', state1))
- t1.addAnimation(QtCore.QPropertyAnimation(p1, 'pos', state1))
- t1.addAnimation(QtCore.QPropertyAnimation(p2, 'pos', state1))
- t1.addAnimation(QtCore.QPropertyAnimation(p3, 'pos', state1))
- t1.addAnimation(QtCore.QPropertyAnimation(p4, 'pos', state1))
- t1.addAnimation(QtCore.QPropertyAnimation(p5, 'pos', state1))
- t1.addAnimation(QtCore.QPropertyAnimation(p6, 'pos', state1))
- t1.addAnimation(QtCore.QPropertyAnimation(p1, 'rotation', state1))
- t1.addAnimation(QtCore.QPropertyAnimation(p2, 'rotation', state1))
- t1.addAnimation(QtCore.QPropertyAnimation(p3, 'rotation', state1))
- t1.addAnimation(QtCore.QPropertyAnimation(p4, 'rotation', state1))
- t1.addAnimation(QtCore.QPropertyAnimation(p5, 'rotation', state1))
- t1.addAnimation(QtCore.QPropertyAnimation(p6, 'rotation', state1))
- t1.addAnimation(QtCore.QPropertyAnimation(p1, 'opacity', state1))
- t1.addAnimation(QtCore.QPropertyAnimation(p2, 'opacity', state1))
- t1.addAnimation(QtCore.QPropertyAnimation(p3, 'opacity', state1))
- t1.addAnimation(QtCore.QPropertyAnimation(p4, 'opacity', state1))
- t1.addAnimation(QtCore.QPropertyAnimation(p5, 'opacity', state1))
- t1.addAnimation(QtCore.QPropertyAnimation(p6, 'opacity', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(widget, b'geometry', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(p1, b'pos', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(p2, b'pos', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(p3, b'pos', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(p4, b'pos', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(p5, b'pos', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(p6, b'pos', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(p1, b'rotation', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(p2, b'rotation', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(p3, b'rotation', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(p4, b'rotation', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(p5, b'rotation', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(p6, b'rotation', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(p1, b'opacity', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(p2, b'opacity', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(p3, b'opacity', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(p4, b'opacity', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(p5, b'opacity', state1))
+ t1.addAnimation(QtCore.QPropertyAnimation(p6, b'opacity', state1))
t2 = state2.addTransition(button.clicked, state3)
- t2.addAnimation(QtCore.QPropertyAnimation(box, 'geometry', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(widget, 'geometry', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(p1, 'pos', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(p2, 'pos', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(p3, 'pos', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(p4, 'pos', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(p5, 'pos', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(p6, 'pos', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(p1, 'rotation', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(p2, 'rotation', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(p3, 'rotation', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(p4, 'rotation', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(p5, 'rotation', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(p6, 'rotation', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(p1, 'opacity', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(p2, 'opacity', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(p3, 'opacity', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(p4, 'opacity', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(p5, 'opacity', state2))
- t2.addAnimation(QtCore.QPropertyAnimation(p6, 'opacity', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(box, b'geometry', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(widget, b'geometry', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(p1, b'pos', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(p2, b'pos', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(p3, b'pos', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(p4, b'pos', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(p5, b'pos', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(p6, b'pos', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(p1, b'rotation', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(p2, b'rotation', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(p3, b'rotation', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(p4, b'rotation', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(p5, b'rotation', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(p6, b'rotation', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(p1, b'opacity', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(p2, b'opacity', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(p3, b'opacity', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(p4, b'opacity', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(p5, b'opacity', state2))
+ t2.addAnimation(QtCore.QPropertyAnimation(p6, b'opacity', state2))
t3 = state3.addTransition(button.clicked, state1)
- t3.addAnimation(QtCore.QPropertyAnimation(box, 'geometry', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(widget, 'geometry', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(p1, 'pos', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(p2, 'pos', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(p3, 'pos', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(p4, 'pos', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(p5, 'pos', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(p6, 'pos', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(p1, 'rotation', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(p2, 'rotation', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(p3, 'rotation', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(p4, 'rotation', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(p5, 'rotation', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(p6, 'rotation', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(p1, 'opacity', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(p2, 'opacity', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(p3, 'opacity', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(p4, 'opacity', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(p5, 'opacity', state3))
- t3.addAnimation(QtCore.QPropertyAnimation(p6, 'opacity', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(box, b'geometry', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(widget, b'geometry', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(p1, b'pos', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(p2, b'pos', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(p3, b'pos', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(p4, b'pos', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(p5, b'pos', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(p6, b'pos', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(p1, b'rotation', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(p2, b'rotation', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(p3, b'rotation', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(p4, b'rotation', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(p5, b'rotation', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(p6, b'rotation', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(p1, b'opacity', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(p2, b'opacity', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(p3, b'opacity', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(p4, b'opacity', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(p5, b'opacity', state3))
+ t3.addAnimation(QtCore.QPropertyAnimation(p6, b'opacity', state3))
machine.start()
diff --git a/examples/widgets/draganddrop/draggabletext/draggabletext.py b/examples/widgets/draganddrop/draggabletext/draggabletext.py
index 67e98871..d2bcdf5a 100755
--- a/examples/widgets/draganddrop/draggabletext/draggabletext.py
+++ b/examples/widgets/draganddrop/draggabletext/draggabletext.py
@@ -64,7 +64,7 @@ class DragLabel(QLabel):
mimeData = QMimeData()
mimeData.setText(self.text())
mimeData.setData('application/x-hotspot',
- '%d %d' % (hotSpot.x(), hotSpot.y()))
+ b'%d %d' % (hotSpot.x(), hotSpot.y()))
pixmap = QPixmap(self.size())
self.render(pixmap)
diff --git a/examples/widgets/graphicsview/collidingmice/collidingmice.py b/examples/widgets/graphicsview/collidingmice/collidingmice.py
index 575ecc1f..8bff64bc 100644
--- a/examples/widgets/graphicsview/collidingmice/collidingmice.py
+++ b/examples/widgets/graphicsview/collidingmice/collidingmice.py
@@ -90,7 +90,7 @@ class Mouse(QtWidgets.QGraphicsItem):
def shape(self):
path = QtGui.QPainterPath()
path.addRect(-10, -20, 20, 40)
- return path;
+ return path
def paint(self, painter, option, widget):
# Body.
@@ -133,7 +133,7 @@ class Mouse(QtWidgets.QGraphicsItem):
if lineToCenter.length() > 150:
angleToCenter = math.acos(lineToCenter.dx() / lineToCenter.length())
if lineToCenter.dy() < 0:
- angleToCenter = Mouse.TwoPi - angleToCenter;
+ angleToCenter = Mouse.TwoPi - angleToCenter
angleToCenter = Mouse.normalizeAngle((Mouse.Pi - angleToCenter) + Mouse.Pi / 2)
if angleToCenter < Mouse.Pi and angleToCenter > Mouse.Pi / 4:
diff --git a/examples/widgets/graphicsview/elasticnodes.py b/examples/widgets/graphicsview/elasticnodes.py
index f013156d..f640ab60 100755
--- a/examples/widgets/graphicsview/elasticnodes.py
+++ b/examples/widgets/graphicsview/elasticnodes.py
@@ -131,7 +131,7 @@ class Edge(QtWidgets.QGraphicsItem):
sourceArrowP1 = self.sourcePoint + QtCore.QPointF(math.sin(angle + Edge.Pi / 3) * self.arrowSize,
math.cos(angle + Edge.Pi / 3) * self.arrowSize)
sourceArrowP2 = self.sourcePoint + QtCore.QPointF(math.sin(angle + Edge.Pi - Edge.Pi / 3) * self.arrowSize,
- math.cos(angle + Edge.Pi - Edge.Pi / 3) * self.arrowSize);
+ math.cos(angle + Edge.Pi - Edge.Pi / 3) * self.arrowSize)
destArrowP1 = self.destPoint + QtCore.QPointF(math.sin(angle - Edge.Pi / 3) * self.arrowSize,
math.cos(angle - Edge.Pi / 3) * self.arrowSize)
destArrowP2 = self.destPoint + QtCore.QPointF(math.sin(angle - Edge.Pi + Edge.Pi / 3) * self.arrowSize,
diff --git a/examples/widgets/layouts/dynamiclayouts.py b/examples/widgets/layouts/dynamiclayouts.py
index fe46c053..77750ee1 100644
--- a/examples/widgets/layouts/dynamiclayouts.py
+++ b/examples/widgets/layouts/dynamiclayouts.py
@@ -86,27 +86,27 @@ class Dialog(QDialog):
def buttonsOrientationChanged(self, index):
- self.mainLayout.setSizeConstraint(QLayout.SetNoConstraint);
- self.setMinimumSize(0, 0);
+ self.mainLayout.setSizeConstraint(QLayout.SetNoConstraint)
+ self.setMinimumSize(0, 0)
orientation = Qt.Orientation(int(self.buttonsOrientationComboBox.itemData(index)))
if orientation == self.buttonBox.orientation():
return
- self.mainLayout.removeWidget(self.buttonBox);
+ self.mainLayout.removeWidget(self.buttonBox)
spacing = self.mainLayout.spacing()
- oldSizeHint = self.buttonBox.sizeHint() + QSize(spacing, spacing);
+ oldSizeHint = self.buttonBox.sizeHint() + QSize(spacing, spacing)
self.buttonBox.setOrientation(orientation)
newSizeHint = self.buttonBox.sizeHint() + QSize(spacing, spacing)
if orientation == Qt.Horizontal:
- self.mainLayout.addWidget(self.buttonBox, 2, 0);
+ self.mainLayout.addWidget(self.buttonBox, 2, 0)
self.resize(self.size() + QSize(-oldSizeHint.width(), newSizeHint.height()))
else:
- self.mainLayout.addWidget(self.buttonBox, 0, 3, 2, 1);
+ self.mainLayout.addWidget(self.buttonBox, 0, 3, 2, 1)
self.resize(self.size() + QSize(newSizeHint.width(), -oldSizeHint.height()))
self.mainLayout.setSizeConstraint(QLayout.SetDefaultConstraint)
diff --git a/examples/widgets/mainwindows/application/application.py b/examples/widgets/mainwindows/application/application.py
index be0dc992..78a1f994 100755
--- a/examples/widgets/mainwindows/application/application.py
+++ b/examples/widgets/mainwindows/application/application.py
@@ -161,7 +161,7 @@ class MainWindow(QtWidgets.QMainWindow):
self.fileMenu.addAction(self.openAct)
self.fileMenu.addAction(self.saveAct)
self.fileMenu.addAction(self.saveAsAct)
- self.fileMenu.addSeparator();
+ self.fileMenu.addSeparator()
self.fileMenu.addAction(self.exitAct)
self.editMenu = self.menuBar().addMenu("&Edit")
@@ -243,7 +243,7 @@ class MainWindow(QtWidgets.QMainWindow):
outf << self.textEdit.toPlainText()
QtWidgets.QApplication.restoreOverrideCursor()
- self.setCurrentFile(fileName);
+ self.setCurrentFile(fileName)
self.statusBar().showMessage("File saved", 2000)
return True
diff --git a/examples/widgets/richtext/syntaxhighlighter.py b/examples/widgets/richtext/syntaxhighlighter.py
index 6a431c3f..83621ca8 100755
--- a/examples/widgets/richtext/syntaxhighlighter.py
+++ b/examples/widgets/richtext/syntaxhighlighter.py
@@ -189,7 +189,7 @@ class Highlighter(QtGui.QSyntaxHighlighter):
self.setFormat(startIndex, commentLength,
self.multiLineCommentFormat)
startIndex = self.commentStartExpression.indexIn(text,
- startIndex + commentLength);
+ startIndex + commentLength)
if __name__ == '__main__':
diff --git a/examples/widgets/richtext/syntaxhighlighter/syntaxhighlighter.py b/examples/widgets/richtext/syntaxhighlighter/syntaxhighlighter.py
index 84194329..32adb70c 100644
--- a/examples/widgets/richtext/syntaxhighlighter/syntaxhighlighter.py
+++ b/examples/widgets/richtext/syntaxhighlighter/syntaxhighlighter.py
@@ -75,7 +75,7 @@ class MainWindow(QtWidgets.QMainWindow):
if fileName!="":
inFile = QtCore.QFile(fileName)
if inFile.open(QtCore.QFile.ReadOnly | QtCore.QFile.Text):
- self.editor.setPlainText(unicode(inFile.readAll()))
+ self.editor.setPlainText(str(inFile.readAll()))
def setupEditor(self):
variableFormat = QtGui.QTextCharFormat()
diff --git a/examples/xmlpatterns/schema/schema.py b/examples/xmlpatterns/schema/schema.py
index a10cc32c..4a24e4f3 100755
--- a/examples/xmlpatterns/schema/schema.py
+++ b/examples/xmlpatterns/schema/schema.py
@@ -61,7 +61,7 @@ except NameError:
# Python v3.
def encode_utf8(ba):
- return str(ba, encoding='utf8')
+ return str(ba.data(), encoding='utf8')
def decode_utf8(qs):
return QtCore.QByteArray(bytes(qs, encoding='utf8'))
diff --git a/setup.py b/setup.py
index ca26084d..9ab77af4 100644
--- a/setup.py
+++ b/setup.py
@@ -60,6 +60,8 @@ For Windows, if OpenSSL support is required, it's necessary to specify
the directory path that contains the OpenSSL shared libraries
"libeay32.dll" and "ssleay32.dll", for example:
--openssl=C:\OpenSSL-Win64\bin
+This will make sure that the libraries are copied into the PySide2
+package and are found by the QtNetwork module.
ADDITIONAL OPTIONS:
@@ -138,6 +140,10 @@ using `setup.py build`:
--skip-docs skip the documentation generation.
--limited-api=yes|no default yes if applicable
Set or clear the limited API flag. Ignored for Python 2.
+ --package-timestamp allows specifying the timestamp that will be
+ used as part of the version number for a snapshot package.
+ For example given --package-timestamp=1529646276
+ the package version will be 5.x.y.dev1529646276.
REQUIREMENTS:
@@ -150,9 +156,14 @@ REQUIREMENTS:
OPTIONAL:
* OpenSSL:
- Specifying the --openssl option is only required on Windows.
+ Specifying the --openssl option only affects Windows.
It is a no-op for other platforms.
+ Please note that official Windows packages do not ship the
+ OpenSSL libraries due to import / export restrictions as
+ described in
+ http://doc.qt.io/qt-5/ssl.html#import-and-export-restrictions
+
You can specify the location of the OpenSSL DLLs with the
following option:
--openssl=</path/to/openssl/bin-directory>.
@@ -177,7 +188,7 @@ OPTIONAL:
shared libraries, are not currently compatible with
standalone PySide2 packages.
- (*) Revised on 23.03.2018
+ (*) Revised on 21.06.2018
* macOS SDK:
You can specify which macOS SDK should be used for compilation with
@@ -259,6 +270,7 @@ setup(
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7',
'Topic :: Database',
'Topic :: Software Development',
'Topic :: Software Development :: Code Generators',
@@ -267,10 +279,10 @@ setup(
'Topic :: Software Development :: Widget Sets',
],
keywords = 'Qt',
- author = 'PySide2 Team',
- author_email = 'contact@pyside.org',
- url = 'http://www.pyside.org',
- download_url = 'https://download.qt-project.org/official_releases/pyside2/',
+ author = 'Qt for Python Team',
+ author_email = 'pyside@qt-project.org',
+ url = 'https://www.pyside.org',
+ download_url = 'https://download.qt.io/official_releases/QtForPython/',
license = 'LGPL',
packages = ['PySide2', 'pyside2uic',
'pyside2uic.Compiler',
diff --git a/sources/pyside2-tools b/sources/pyside2-tools
-Subproject 413ecc73fbe6d6717ae2132e86648ac8b6da9d3
+Subproject f1b775537e7fbd718516749583b2abf1cb6adbc
diff --git a/sources/pyside2/CMakeLists.txt b/sources/pyside2/CMakeLists.txt
index d5cf2661..358c119a 100644
--- a/sources/pyside2/CMakeLists.txt
+++ b/sources/pyside2/CMakeLists.txt
@@ -395,7 +395,7 @@ endif()
# Disabling WebKit by default
# If WebKit support is needed add the following elements
# to the list: WebKit WebKitWidgets
-list(APPEND ALL_OPTIONAL_MODULES WebChannel WebEngineCore WebEngineWidgets WebSockets)
+list(APPEND ALL_OPTIONAL_MODULES WebChannel WebEngineCore WebEngine WebEngineWidgets WebSockets)
if (Qt5Core_VERSION VERSION_GREATER 5.9.3) # Depending on fixes in Qt3D
list(APPEND ALL_OPTIONAL_MODULES 3DCore 3DRender 3DInput 3DLogic 3DAnimation 3DExtras)
endif()
@@ -405,6 +405,9 @@ if (NOT MODULES)
set(MODULES "${ALL_ESSENTIAL_MODULES};${ALL_OPTIONAL_MODULES}")
endif()
+# This will contain the set of modules for which bindings are not built.
+set(DISABLED_MODULES "${ALL_ESSENTIAL_MODULES};${ALL_OPTIONAL_MODULES}")
+
# Removing from the MODULES list the items that were defined with
# -DSKIP_MODULES on command line
if (SKIP_MODULES)
@@ -415,8 +418,20 @@ endif()
foreach(m ${MODULES})
COLLECT_MODULE_IF_FOUND(${m})
+ list(FIND all_module_shortnames ${m} is_module_collected)
+ # If the module was collected, remove it from disabled modules list.
+ if (NOT is_module_collected EQUAL -1)
+ list(REMOVE_ITEM DISABLED_MODULES ${m})
+ endif()
endforeach()
+# Mark all non-collected modules as disabled. This is used for disabling tests
+# that depend on the disabled modules.
+foreach(m ${DISABLED_MODULES})
+ set(DISABLE_Qt${m} 1)
+endforeach()
+
+
string(REGEX MATCHALL "[0-9]+" qt_version_helper "${Qt5Core_VERSION}")
list(GET qt_version_helper 0 QT_VERSION_MAJOR)
diff --git a/sources/pyside2/PySide2/QtCore/glue/qbytearray_msetitem.cpp b/sources/pyside2/PySide2/QtCore/glue/qbytearray_msetitem.cpp
new file mode 100644
index 00000000..6745fc96
--- /dev/null
+++ b/sources/pyside2/PySide2/QtCore/glue/qbytearray_msetitem.cpp
@@ -0,0 +1,158 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt for Python.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 3 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL3 included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU Lesser General Public License version 3 requirements
+** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 2.0 or (at your option) the GNU General
+** Public license version 3 or any later version approved by the KDE Free
+** Qt Foundation. The licenses are as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-2.0.html and
+** https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+if (PyIndex_Check(_key)) {
+ Py_ssize_t _i = PyNumber_AsSsize_t(_key, PyExc_IndexError);
+ if (_i == -1 && PyErr_Occurred())
+ return -1;
+
+ if (_i < 0)
+ _i += %CPPSELF.count();
+
+ if (_i < 0 || _i >= %CPPSELF.size()) {
+ PyErr_SetString(PyExc_IndexError, "QByteArray index out of range");
+ return -1;
+ }
+
+ // Provide more specific error message for bytes/str, bytearray, QByteArray respectively
+#ifdef IS_PY3K
+ if (PyBytes_Check(_value)) {
+ if (Py_SIZE(_value) != 1) {
+ PyErr_SetString(PyExc_ValueError, "bytes must be of size 1");
+#else
+ if (PyString_CheckExact(_value)) {
+ if (Py_SIZE(_value) != 1) {
+ PyErr_SetString(PyExc_ValueError, "str must be of size 1");
+#endif
+ return -1;
+ }
+ } else if (PyByteArray_Check(_value)) {
+ if (Py_SIZE(_value) != 1) {
+ PyErr_SetString(PyExc_ValueError, "bytearray must be of size 1");
+ return -1;
+ }
+ } else if (PepType(Py_TYPE(_value)) == PepType(SbkPySide2_QtCoreTypes[SBK_QBYTEARRAY_IDX])) {
+ if (PyObject_Length(_value) != 1) {
+ PyErr_SetString(PyExc_ValueError, "QByteArray must be of size 1");
+ return -1;
+ }
+ } else {
+#ifdef IS_PY3K
+ PyErr_SetString(PyExc_ValueError, "a bytes, bytearray, QByteArray of size 1 is required");
+#else
+ PyErr_SetString(PyExc_ValueError, "a str, bytearray, QByteArray of size 1 is required");
+#endif
+ return -1;
+ }
+
+ // Not support int or long.
+ %CPPSELF.remove(_i, 1);
+ PyObject *args = Py_BuildValue("(nO)", _i, _value);
+ PyObject *result = Sbk_QByteArrayFunc_insert(self, args);
+ Py_DECREF(args);
+ Py_XDECREF(result);
+ return !result ? -1 : 0;
+} else if (PySlice_Check(_key)) {
+ Py_ssize_t start, stop, step, slicelength, value_length;
+
+#ifdef IS_PY3K
+ PyObject *key = _key;
+#else
+ PySliceObject *key = reinterpret_cast<PySliceObject *>(_key);
+#endif
+ if (PySlice_GetIndicesEx(key, %CPPSELF.count(), &start, &stop, &step, &slicelength) < 0) {
+ return -1;
+ }
+ // The parameter candidates are: bytes/str, bytearray, QByteArray itself.
+ // Not support iterable which contains ints between 0~255
+
+ // case 1: value is NULL, means delete the items within the range
+ // case 2: step is 1, means shrink or expanse
+ // case 3: step is not 1, then the number of slots have to equal the number of items in _value
+ QByteArray ba;
+ if (_value == NULL || _value == Py_None) {
+ ba = QByteArray();
+ value_length = 0;
+ } else if (!(PyBytes_Check(_value) || PyByteArray_Check(_value) || PepType(Py_TYPE(_value)) == PepType(SbkPySide2_QtCoreTypes[SBK_QBYTEARRAY_IDX]))) {
+ PyErr_Format(PyExc_TypeError, "bytes, bytearray or QByteArray is required, not %.200s", PepType(Py_TYPE(_value))->tp_name);
+ return -1;
+ } else {
+ value_length = PyObject_Length(_value);
+ }
+
+ if (step != 1 && value_length != slicelength) {
+ PyErr_Format(PyExc_ValueError, "attempt to assign %s of size %d to extended slice of size %d",PepType(Py_TYPE(_value))->tp_name, value_length, slicelength);
+ return -1;
+ }
+
+ if (step != 1) {
+ int i = start;
+ for (int j = 0; j < slicelength; j++) {
+ PyObject *item = PyObject_GetItem(_value, PyLong_FromLong(j));
+ QByteArray temp;
+#ifdef IS_PY3K
+ if (PyLong_Check(item)) {
+#else
+ if (PyLong_Check(item) || PyInt_Check(item)) {
+#endif
+ int overflow;
+ long ival = PyLong_AsLongAndOverflow(item, &overflow);
+ // Not suppose to bigger than 255 because only bytes, bytearray, QByteArray were accept
+ const char *el = reinterpret_cast<const char*>(&ival);
+ temp = QByteArray(el);
+ } else {
+ temp = %CONVERTTOCPP[QByteArray](item);
+ }
+
+ %CPPSELF.replace(i, 1, temp);
+ i += step;
+ }
+ return 0;
+ } else {
+ ba = %CONVERTTOCPP[QByteArray](_value);
+ %CPPSELF.replace(start, slicelength, ba);
+ return 0;
+ }
+} else {
+ PyErr_Format(PyExc_TypeError, "QBytearray indices must be integers or slices, not %.200s",
+ PepType(Py_TYPE(_key))->tp_name);
+ return -1;
+}
+
+
diff --git a/sources/pyside2/PySide2/QtCore/typesystem_core_common.xml b/sources/pyside2/PySide2/QtCore/typesystem_core_common.xml
index ed577b09..cc63c0b7 100644
--- a/sources/pyside2/PySide2/QtCore/typesystem_core_common.xml
+++ b/sources/pyside2/PySide2/QtCore/typesystem_core_common.xml
@@ -44,6 +44,7 @@
<custom-type name="str" />
<custom-type name="PyBytes" />
+ <custom-type name="PyByteArray" />
<custom-type name="PyCallable" />
<custom-type name="PyObject" />
<custom-type name="PySequence" />
@@ -282,11 +283,8 @@
<include file-name="QString" location="global"/>
<conversion-rule>
<native-to-target>
- const int N = %in.length();
- wchar_t *str = new wchar_t[N];
- %in.toWCharArray(str);
- PyObject *%out = PyUnicode_FromWideChar(str, N);
- delete[] str;
+ QByteArray ba = %in.toUtf8();
+ PyObject *%out = PyUnicode_FromStringAndSize(ba.constData(), ba.size());
return %out;
</native-to-target>
<target-to-native>
@@ -429,7 +427,8 @@
%out = ret.isValid() ? ret : QVariant::fromValue&lt;PySide::PyObjectWrapper&gt;(%in);
</add-conversion>
<add-conversion type="PySequence">
- %out = QVariant_convertToVariantList(%in);
+ QVariant ret = QVariant_convertToVariantList(%in);
+ %out = ret.isValid() ? ret : QVariant::fromValue&lt;PySide::PyObjectWrapper&gt;(%in);
</add-conversion>
<add-conversion type="PyObject">
// Is a shiboken type not known by Qt
@@ -479,8 +478,12 @@
}
static QVariant QVariant_convertToValueList(PyObject *list)
{
- if (PySequence_Size(list) &lt; 1)
- return QVariant();
+ if (PySequence_Size(list) &lt; 0) {
+ // clear the error if &lt; 0 which means no length at all
+ PyErr_Clear();
+ return QVariant();
+ }
+
Shiboken::AutoDecRef element(PySequence_GetItem(list, 0));
int typeId;
const char *typeName = QVariant_resolveMetaType(element.cast&lt;PyTypeObject*&gt;(), &amp;typeId);
@@ -504,14 +507,26 @@
static bool QVariant_isStringList(PyObject *list)
{
bool allString = true;
- Shiboken::AutoDecRef fast(PySequence_Fast(list, "Failed to convert QVariantList"));
- Py_ssize_t size = PySequence_Fast_GET_SIZE(fast.object());
- for (int i = 0; i &lt; size; ++i) {
- PyObject *item = PySequence_Fast_GET_ITEM(fast.object(), i);
- if (!%CHECKTYPE[QString](item)) {
- allString = false;
- break;
+
+ if (PySequence_Check(list)) {
+ if (PySequence_Size(list) &lt; 0) {
+ // clear the error if &lt; 0 which means no length at all
+ PyErr_Clear();
+ return false;
+ }
+ Shiboken::AutoDecRef fast(PySequence_Fast(list, "Failed to convert QVariantList"));
+ Py_ssize_t size = PySequence_Fast_GET_SIZE(fast.object());
+ for (int i = 0; i &lt; size; ++i) {
+ PyObject *item = PySequence_Fast_GET_ITEM(fast.object(), i);
+ if (!%CHECKTYPE[QString](item)) {
+ allString = false;
+ break;
+ }
}
+ } else {
+ // If it is not a list or a derived list class
+ // we assume that will not be a String list neither.
+ allString = false;
}
return allString;
}
@@ -540,6 +555,13 @@
QVariant valueList = QVariant_convertToValueList(list);
if (valueList.isValid())
return valueList;
+
+ if (PySequence_Size(list) &lt; 0) {
+ // clear the error if &lt; 0 which means no length at all
+ PyErr_Clear();
+ return QVariant();
+ }
+
QList&lt;QVariant&gt; lst;
Shiboken::AutoDecRef fast(PySequence_Fast(list, "Failed to convert QVariantList"));
Py_ssize_t size = PySequence_Fast_GET_SIZE(fast.object());
@@ -2501,14 +2523,19 @@
<add-conversion type="Py_None">
%out = %OUTTYPE();
</add-conversion>
- <add-conversion type="PyString" check="Shiboken::String::check(%in)">
- %out = %OUTTYPE(Shiboken::String::toCString(%in), Shiboken::String::len(%in));
- </add-conversion>
<add-conversion type="PyBytes">
#ifdef IS_PY3K
%out = %OUTTYPE(PyBytes_AS_STRING(%in), PyBytes_GET_SIZE(%in));
+ #else
+ %out = %OUTTYPE(Shiboken::String::toCString(%in), Shiboken::String::len(%in));
#endif
</add-conversion>
+ <add-conversion type="PyByteArray">
+ %out = %OUTTYPE(PyByteArray_AsString(%in), PyByteArray_Size(%in));
+ </add-conversion>
+ <add-conversion type="PyString" check="Shiboken::String::check(%in) &amp;&amp; !PyUnicode_Check(%in)">
+ %out = %OUTTYPE(Shiboken::String::toCString(%in), Shiboken::String::len(%in));
+ </add-conversion>
</target-to-native>
</conversion-rule>
@@ -2569,47 +2596,108 @@
<modify-function signature="operator+(QByteArray,const char*)" remove="all" />
<modify-function signature="operator+(QString,QByteArray)" remove="all" />
<modify-function signature="operator+(QByteArray,QString)" remove="all" />
- <add-function signature="operator+(PyUnicode)">
+ <add-function signature="operator+(PyBytes,QByteArray)">
<inject-code>
- Shiboken::AutoDecRef str(PyUnicode_AsASCIIString(%PYARG_1));
- if (!str.isNull()) {
- QByteArray b(PyBytes_AS_STRING(str.object()), PyBytes_GET_SIZE (str.object()));
- b.prepend(*%CPPSELF);
- %PYARG_0 = %CONVERTTOPYTHON[QByteArray](b);
- }
+ QByteArray ba = QByteArray(PyBytes_AS_STRING(%PYARG_1), PyBytes_GET_SIZE(%PYARG_1)) + *%CPPSELF;
+ %PYARG_0 = %CONVERTTOPYTHON[QByteArray](ba);
</inject-code>
</add-function>
- <add-function signature="operator+(PyUnicode,QByteArray)">
+ <add-function signature="operator+(PyByteArray, QByteArray)" return-type="QByteArray">
<inject-code>
- Shiboken::AutoDecRef str(PyUnicode_AsASCIIString(%PYARG_1));
- if (!str.isNull()) {
- QByteArray b(PyBytes_AS_STRING(str.object()), PyBytes_GET_SIZE(str.object()));
- b.append(*%CPPSELF);
- %PYARG_0 = %CONVERTTOPYTHON[QByteArray](b);
- }
+ QByteArray ba = QByteArray(PyByteArray_AsString(%PYARG_1), PyByteArray_Size(%PYARG_1)) + *%CPPSELF;
+ %PYARG_0 = %CONVERTTOPYTHON[QByteArray](ba);
</inject-code>
</add-function>
- <add-function signature="operator+(PyBytes,QByteArray)">
+ <add-function signature="operator+(PyByteArray)" return-type="QByteArray">
<inject-code>
- QByteArray ba = QByteArray(PyBytes_AS_STRING(%PYARG_1), PyBytes_GET_SIZE(%PYARG_1)) + *%CPPSELF;
+ QByteArray ba = *%CPPSELF + QByteArray(PyByteArray_AsString(%PYARG_1), PyByteArray_Size(%PYARG_1));
%PYARG_0 = %CONVERTTOPYTHON[QByteArray](ba);
</inject-code>
</add-function>
+ <add-function signature="operator+=(PyByteArray)" return-type="QByteArray">
+ <inject-code>
+ *%CPPSELF += QByteArray(PyByteArray_AsString(%PYARG_1), PyByteArray_Size(%PYARG_1));
+ </inject-code>
+ </add-function>
+ <add-function signature="operator==(PyUnicode)">
+ <inject-code>
+ if (PyUnicode_CheckExact(%PYARG_1)) {
+ Shiboken::AutoDecRef data(PyUnicode_AsASCIIString(%PYARG_1));
+ QByteArray ba = QByteArray(PyBytes_AsString(data.object()), PyBytes_GET_SIZE(data.object()));
+ bool cppResult = %CPPSELF == ba;
+ %PYARG_0 = %CONVERTTOPYTHON[bool](cppResult);
+ }
+ </inject-code>
+ </add-function>
+ <add-function signature="operator!=(PyUnicode)">
+ <inject-code>
+ if (PyUnicode_CheckExact(%PYARG_1)) {
+ Shiboken::AutoDecRef data(PyUnicode_AsASCIIString(%PYARG_1));
+ QByteArray ba = QByteArray(PyBytes_AsString(data.object()), PyBytes_GET_SIZE(data.object()));
+ bool cppResult = %CPPSELF != ba;
+ %PYARG_0 = %CONVERTTOPYTHON[bool](cppResult);
+ }
+ </inject-code>
+ </add-function>
+ <add-function signature="operator&gt;(PyUnicode)">
+ <inject-code>
+ if (PyUnicode_CheckExact(%PYARG_1)) {
+ Shiboken::AutoDecRef data(PyUnicode_AsASCIIString(%PYARG_1));
+ QByteArray ba = QByteArray(PyBytes_AsString(data.object()), PyBytes_GET_SIZE(data.object()));
+ bool cppResult = %CPPSELF &gt; ba;
+ %PYARG_0 = %CONVERTTOPYTHON[bool](cppResult);
+ }
+ </inject-code>
+ </add-function>
+ <add-function signature="operator&gt;=(PyUnicode)">
+ <inject-code>
+ if (PyUnicode_CheckExact(%PYARG_1)) {
+ Shiboken::AutoDecRef data(PyUnicode_AsASCIIString(%PYARG_1));
+ QByteArray ba = QByteArray(PyBytes_AsString(data.object()), PyBytes_GET_SIZE(data.object()));
+ bool cppResult = %CPPSELF &gt;= ba;
+ %PYARG_0 = %CONVERTTOPYTHON[bool](cppResult);
+ }
+ </inject-code>
+ </add-function>
+ <add-function signature="operator&lt;(PyUnicode)">
+ <inject-code>
+ if (PyUnicode_CheckExact(%PYARG_1)) {
+ Shiboken::AutoDecRef data(PyUnicode_AsASCIIString(%PYARG_1));
+ QByteArray ba = QByteArray(PyBytes_AsString(data.object()), PyBytes_GET_SIZE(data.object()));
+ bool cppResult = %CPPSELF &lt; ba;
+ %PYARG_0 = %CONVERTTOPYTHON[bool](cppResult);
+ }
+ </inject-code>
+ </add-function>
+ <add-function signature="operator&lt;=(PyUnicode)">
+ <inject-code>
+ if (PyUnicode_CheckExact(%PYARG_1)) {
+ Shiboken::AutoDecRef data(PyUnicode_AsASCIIString(%PYARG_1));
+ QByteArray ba = QByteArray(PyBytes_AsString(data.object()), PyBytes_GET_SIZE(data.object()));
+ bool cppResult = %CPPSELF &lt;= ba;
+ %PYARG_0 = %CONVERTTOPYTHON[bool](cppResult);
+ }
+ </inject-code>
+ </add-function>
<!-- ### -->
<add-function signature="__repr__" return-type="PyObject*">
<inject-code class="target" position="beginning">
- QByteArray b(PepType(Py_TYPE(%PYSELF))->tp_name);
- PyObject *aux = Shiboken::String::fromStringAndSize(%CPPSELF.constData(), %CPPSELF.size());
- if (PyUnicode_CheckExact(aux)) {
- PyObject *tmp = PyUnicode_AsASCIIString(aux);
- Py_DECREF(aux);
- aux = tmp;
+ PyObject *aux = PyBytes_FromStringAndSize(%CPPSELF.constData(), %CPPSELF.size());
+ if (aux == NULL) {
+ return NULL;
}
- b += "('";
- b += QByteArray(PyBytes_AS_STRING(aux), PyBytes_GET_SIZE(aux));
- b += "')";
- %PYARG_0 = Shiboken::String::fromStringAndSize(b.constData(), b.size());
+ QByteArray b(PepType(Py_TYPE(%PYSELF))->tp_name);
+ #ifdef IS_PY3K
+ %PYARG_0 = PyUnicode_FromFormat("%s(%R)", b.constData(), aux);
+ #else
+ aux = PyObject_Repr(aux);
+ b += "(";
+ b += QByteArray(PyBytes_AS_STRING(aux), PyBytes_GET_SIZE(aux));
+ b += ")";
+ %PYARG_0 = Shiboken::String::fromStringAndSize(b.constData(), b.size());
+ #endif
+ Py_DECREF(aux);
</inject-code>
</add-function>
@@ -2626,14 +2714,21 @@
<inject-code class="target" position="beginning">
if (PyBytes_Check(%PYARG_1)) {
%0 = new QByteArray(PyBytes_AsString(%PYARG_1), PyBytes_GET_SIZE(%PYARG_1));
- } else if (PyUnicode_CheckExact(%PYARG_1)) {
- Shiboken::AutoDecRef data(PyUnicode_AsASCIIString(%PYARG_1));
- %0 = new QByteArray(PyBytes_AsString(data.object()), PyBytes_GET_SIZE(data.object()));
} else if (Shiboken::String::check(%PYARG_1)) {
%0 = new QByteArray(Shiboken::String::toCString(%PYARG_1), Shiboken::String::len(%PYARG_1));
}
</inject-code>
</modify-function>
+ <add-function signature="QByteArray(PyByteArray)" allow-thread="yes">>
+ <inject-code class="target" position="beginning">
+ %0 = new QByteArray(PyByteArray_AsString(%PYARG_1), PyByteArray_Size(%PYARG_1));
+ </inject-code>
+ </add-function>
+ <add-function signature="QByteArray(PyBytes)" allow-thread="yes">
+ <inject-code class="target" position="beginning">
+ %0 = new QByteArray(PyBytes_AS_STRING(%PYARG_1), PyBytes_GET_SIZE(%PYARG_1));
+ </inject-code>
+ </add-function>
<!-- buffer protocol -->
<inject-code class="native" position="beginning" file="glue/qbytearray_bufferprotocol.cpp" />
<inject-code class="target" position="end">
@@ -2664,6 +2759,7 @@
<modify-function signature="number(uint,int)" remove="all"/>
<modify-function signature="number(qulonglong,int)" remove="all"/>
<modify-function signature="operator+=(const char*)" remove="all"/>
+ <modify-function signature="operator+(char,QByteArray)" remove="all"/>
<modify-function signature="operator==(const char*,QByteArray)" remove="all" />
<modify-function signature="operator!=(const char*,QByteArray)" remove="all" />
<modify-function signature="operator&lt;(const char*,QByteArray)" remove="all" />
@@ -2789,7 +2885,16 @@
</modify-function>
<add-function signature="__str__" return-type="PyObject*">
<inject-code class="target" position="beginning">
- %PYARG_0 = Shiboken::String::fromStringAndSize(%CPPSELF.constData(), %CPPSELF.size());
+ PyObject *aux = PyBytes_FromStringAndSize(%CPPSELF.constData(), %CPPSELF.size());
+ if (aux == NULL) {
+ return NULL;
+ }
+ #ifdef IS_PY3K
+ %PYARG_0 = PyObject_Repr(aux);
+ Py_DECREF(aux);
+ #else
+ %PYARG_0 = aux;
+ #endif
</inject-code>
</add-function>
<add-function signature="__len__">
@@ -2823,6 +2928,9 @@
return !result ? -1 : 0;
</inject-code>
</add-function>
+ <add-function signature="__msetitem__">
+ <inject-code class="target" position="beginning" file="glue/qbytearray_msetitem.cpp" />
+ </add-function>
</value-type>
<value-type name="QTextBoundaryFinder">
<enum-type name="BoundaryReason" flags="BoundaryReasons"/>
diff --git a/sources/pyside2/PySide2/QtQml/typesystem_qml.xml b/sources/pyside2/PySide2/QtQml/typesystem_qml.xml
index 80a0ed82..4ca776e1 100644
--- a/sources/pyside2/PySide2/QtQml/typesystem_qml.xml
+++ b/sources/pyside2/PySide2/QtQml/typesystem_qml.xml
@@ -121,6 +121,11 @@
</object-type>
<object-type name="QQmlEngine">
<enum-type name="ObjectOwnership" />
+ <modify-function signature="addImageProvider(const QString&amp;,QQmlImageProviderBase*)">
+ <modify-argument index="2">
+ <define-ownership owner="c++"/>
+ </modify-argument>
+ </modify-function>
</object-type>
<object-type name="QQmlExpression">
<modify-function signature="evaluate(bool*)" allow-thread="yes">
diff --git a/sources/pyside2/PySide2/QtWebEngine/CMakeLists.txt b/sources/pyside2/PySide2/QtWebEngine/CMakeLists.txt
new file mode 100644
index 00000000..9029509e
--- /dev/null
+++ b/sources/pyside2/PySide2/QtWebEngine/CMakeLists.txt
@@ -0,0 +1,32 @@
+project(QtWebEngine)
+
+set(QtWebEngine_SRC
+${QtWebEngine_GEN_DIR}/qtwebengine_wrapper.cpp
+# module is always needed
+${QtWebEngine_GEN_DIR}/qtwebengine_module_wrapper.cpp
+)
+
+set(QtWebEngine_include_dirs
+ ${QtWebEngine_SOURCE_DIR}
+ ${QtWebEngine_BINARY_DIR}
+ ${Qt5Core_INCLUDE_DIRS}
+ ${SHIBOKEN_INCLUDE_DIR}
+ ${libpyside_SOURCE_DIR}
+ ${SHIBOKEN_PYTHON_INCLUDE_DIR}
+ ${QtCore_GEN_DIR}
+ )
+set(QtWebEngine_libraries pyside2
+ ${SHIBOKEN_PYTHON_LIBRARIES}
+ ${SHIBOKEN_LIBRARY}
+ ${Qt5WebEngine_LIBRARIES}
+ ${Qt5Core_LIBRARIES}
+ )
+set(QtWebEngine_deps QtCore)
+create_pyside_module(QtWebEngine
+ QtWebEngine_include_dirs
+ QtWebEngine_libraries
+ QtWebEngine_deps
+ QtWebEngine_SOURCE_DIR
+ QtWebEngine_SRC
+ "")
+
diff --git a/sources/pyside2/PySide2/QtWebEngine/typesystem_webengine.xml b/sources/pyside2/PySide2/QtWebEngine/typesystem_webengine.xml
new file mode 100644
index 00000000..9b38bc1e
--- /dev/null
+++ b/sources/pyside2/PySide2/QtWebEngine/typesystem_webengine.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<!--
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt for Python.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 3 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL3 included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU Lesser General Public License version 3 requirements
+** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 2.0 or (at your option) the GNU General
+** Public license version 3 or any later version approved by the KDE Free
+** Qt Foundation. The licenses are as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-2.0.html and
+** https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+-->
+<typesystem package="PySide2.QtWebEngine">
+ <load-typesystem name="QtCore/typesystem_core.xml" generate="no"/>
+ <namespace-type name="QtWebEngine"/>
+</typesystem>
diff --git a/sources/pyside2/PySide2/__init__.py.in b/sources/pyside2/PySide2/__init__.py.in
index f33b05e3..ab50ef77 100644
--- a/sources/pyside2/PySide2/__init__.py.in
+++ b/sources/pyside2/PySide2/__init__.py.in
@@ -2,7 +2,7 @@ __all__ = list("Qt" + body for body in
"@all_module_shortnames@"
.split(";"))
__version__ = "@FINAL_PACKAGE_VERSION@"
-__version_info__ = (@BINDING_API_MAJOR_VERSION@, @BINDING_API_MINOR_VERSION@, @BINDING_API_MICRO_VERSION@, "@BINDING_API_PRE_RELEASE_VERSION_TYPE@", @BINDING_API_PRE_RELEASE_VERSION@)
+__version_info__ = (@BINDING_API_MAJOR_VERSION@, @BINDING_API_MINOR_VERSION@, @BINDING_API_MICRO_VERSION@, "@BINDING_API_PRE_RELEASE_VERSION_TYPE@", "@BINDING_API_PRE_RELEASE_VERSION@")
@PYSIDE_BUILD_DATE@
@PYSIDE_BUILD_COMMIT_DATE@
@@ -24,7 +24,7 @@ def _setupQtDirectories():
# PATH has to contain the package directory, otherwise plugins
# won't be able to find their required Qt libraries (e.g. the
# svg image plugin won't find Qt5Svg.dll).
- os.environ['PATH'] = pyside_package_dir + ";" + os.environ['PATH']
+ os.environ['PATH'] = pyside_package_dir + os.pathsep + os.environ['PATH']
# On Windows add the PySide2\openssl folder (if it exists) to
# the PATH so that the SSL DLLs can be found when Qt tries to
@@ -34,7 +34,7 @@ def _setupQtDirectories():
if os.path.exists(openssl_dir):
path = os.environ['PATH']
try:
- os.environ['PATH'] = os.path.join(openssl_dir, path)
+ os.environ['PATH'] = openssl_dir + os.pathsep + path
try:
from . import QtNetwork
except ImportError:
diff --git a/sources/pyside2/PySide2/_config.py.in b/sources/pyside2/PySide2/_config.py.in
index 6f8d022d..31a2f7a5 100644
--- a/sources/pyside2/PySide2/_config.py.in
+++ b/sources/pyside2/PySide2/_config.py.in
@@ -6,7 +6,7 @@ shiboken_library_soversion = str(@SHIBOKEN_SO_VERSION@)
pyside_library_soversion = str(@PYSIDE_SO_VERSION@)
version = "@FINAL_PACKAGE_VERSION@"
-version_info = (@BINDING_API_MAJOR_VERSION@, @BINDING_API_MINOR_VERSION@, @BINDING_API_MICRO_VERSION@, "@BINDING_API_PRE_RELEASE_VERSION_TYPE@", @BINDING_API_PRE_RELEASE_VERSION@)
+version_info = (@BINDING_API_MAJOR_VERSION@, @BINDING_API_MINOR_VERSION@, @BINDING_API_MICRO_VERSION@, "@BINDING_API_PRE_RELEASE_VERSION_TYPE@", "@BINDING_API_PRE_RELEASE_VERSION@")
@PYSIDE_BUILD_DATE@
@PYSIDE_BUILD_COMMIT_DATE@
diff --git a/sources/pyside2/PySide2/pysideqtesttouch.h b/sources/pyside2/PySide2/pysideqtesttouch.h
index 4c412c75..60d3bbe2 100644
--- a/sources/pyside2/PySide2/pysideqtesttouch.h
+++ b/sources/pyside2/PySide2/pysideqtesttouch.h
@@ -40,7 +40,7 @@
#ifndef PYSIDEQTESTTOUCH_H
#define PYSIDEQTESTTOUCH_H
-#include <QtTest/qtest_global.h>
+#include <QtTest/qttestglobal.h>
#include <QtTest/qtestassert.h>
#include <QtTest/qtestsystem.h>
#include <QtTest/qtestspontaneevent.h>
diff --git a/sources/pyside2/PySide2/support/signature/mapping.py b/sources/pyside2/PySide2/support/signature/mapping.py
index b8ef3761..3e05dbcb 100644
--- a/sources/pyside2/PySide2/support/signature/mapping.py
+++ b/sources/pyside2/PySide2/support/signature/mapping.py
@@ -238,6 +238,7 @@ def init_QtCore():
"QDir.SortFlags(Name | IgnoreCase)": Instance(
"QDir.SortFlags(QDir.Name | QDir.IgnoreCase)"),
"PyBytes": bytes,
+ "PyByteArray": bytearray,
"PyUnicode": Text,
"signed long": int,
"PySide2.QtCore.int": int,
diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtcore.cpp b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtcore.cpp
new file mode 100644
index 00000000..4696bd38
--- /dev/null
+++ b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtcore.cpp
@@ -0,0 +1,53 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the documentation of Qt for Python.
+**
+** $QT_BEGIN_LICENSE:BSD$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** BSD License Usage
+** Alternatively, you may use this file under the terms of the BSD license
+** as follows:
+**
+** "Redistribution and use in source and binary forms, with or without
+** modification, are permitted provided that the following conditions are
+** met:
+** * Redistributions of source code must retain the above copyright
+** notice, this list of conditions and the following disclaimer.
+** * Redistributions in binary form must reproduce the above copyright
+** notice, this list of conditions and the following disclaimer in
+** the documentation and/or other materials provided with the
+** distribution.
+** * Neither the name of The Qt Company Ltd nor the names of its
+** contributors may be used to endorse or promote products derived
+** from this software without specific prior written permission.
+**
+**
+** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+//! [0]
+import PySide2.QtCore
+//! [0]
diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtnetwork.cpp b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtnetwork.cpp
new file mode 100644
index 00000000..84e7e918
--- /dev/null
+++ b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtnetwork.cpp
@@ -0,0 +1,53 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the documentation of Qt for Python.
+**
+** $QT_BEGIN_LICENSE:BSD$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** BSD License Usage
+** Alternatively, you may use this file under the terms of the BSD license
+** as follows:
+**
+** "Redistribution and use in source and binary forms, with or without
+** modification, are permitted provided that the following conditions are
+** met:
+** * Redistributions of source code must retain the above copyright
+** notice, this list of conditions and the following disclaimer.
+** * Redistributions in binary form must reproduce the above copyright
+** notice, this list of conditions and the following disclaimer in
+** the documentation and/or other materials provided with the
+** distribution.
+** * Neither the name of The Qt Company Ltd nor the names of its
+** contributors may be used to endorse or promote products derived
+** from this software without specific prior written permission.
+**
+**
+** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+//! [1]
+import PySide2.QtNetwork
+//! [1]
diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtopengl.cpp b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtopengl.cpp
new file mode 100644
index 00000000..63c5665c
--- /dev/null
+++ b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtopengl.cpp
@@ -0,0 +1,53 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the documentation of Qt for Python.
+**
+** $QT_BEGIN_LICENSE:BSD$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** BSD License Usage
+** Alternatively, you may use this file under the terms of the BSD license
+** as follows:
+**
+** "Redistribution and use in source and binary forms, with or without
+** modification, are permitted provided that the following conditions are
+** met:
+** * Redistributions of source code must retain the above copyright
+** notice, this list of conditions and the following disclaimer.
+** * Redistributions in binary form must reproduce the above copyright
+** notice, this list of conditions and the following disclaimer in
+** the documentation and/or other materials provided with the
+** distribution.
+** * Neither the name of The Qt Company Ltd nor the names of its
+** contributors may be used to endorse or promote products derived
+** from this software without specific prior written permission.
+**
+**
+** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+//! [0]
+import PySide2.QtOpenGL
+//! [0]
diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtprintsupport.cpp b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtprintsupport.cpp
new file mode 100644
index 00000000..fb554160
--- /dev/null
+++ b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtprintsupport.cpp
@@ -0,0 +1,53 @@
+/****************************************************************************
+**
+** Copyright (C) 20188888888 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the documentation of Qt for Python.
+**
+** $QT_BEGIN_LICENSE:BSD$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** BSD License Usage
+** Alternatively, you may use this file under the terms of the BSD license
+** as follows:
+**
+** "Redistribution and use in source and binary forms, with or without
+** modification, are permitted provided that the following conditions are
+** met:
+** * Redistributions of source code must retain the above copyright
+** notice, this list of conditions and the following disclaimer.
+** * Redistributions in binary form must reproduce the above copyright
+** notice, this list of conditions and the following disclaimer in
+** the documentation and/or other materials provided with the
+** distribution.
+** * Neither the name of The Qt Company Ltd nor the names of its
+** contributors may be used to endorse or promote products derived
+** from this software without specific prior written permission.
+**
+**
+** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+//! [1]
+import PySide2.QtPrintSupport
+//! [1]
diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtqml.cpp b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtqml.cpp
new file mode 100644
index 00000000..3eeb024d
--- /dev/null
+++ b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtqml.cpp
@@ -0,0 +1,53 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the documentation of Qt for Python.
+**
+** $QT_BEGIN_LICENSE:BSD$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** BSD License Usage
+** Alternatively, you may use this file under the terms of the BSD license
+** as follows:
+**
+** "Redistribution and use in source and binary forms, with or without
+** modification, are permitted provided that the following conditions are
+** met:
+** * Redistributions of source code must retain the above copyright
+** notice, this list of conditions and the following disclaimer.
+** * Redistributions in binary form must reproduce the above copyright
+** notice, this list of conditions and the following disclaimer in
+** the documentation and/or other materials provided with the
+** distribution.
+** * Neither the name of The Qt Company Ltd nor the names of its
+** contributors may be used to endorse or promote products derived
+** from this software without specific prior written permission.
+**
+**
+** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+//! [0]
+import PySide2.QtQml
+//! [0]
diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtquick.cpp b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtquick.cpp
new file mode 100644
index 00000000..bf55f0c7
--- /dev/null
+++ b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtquick.cpp
@@ -0,0 +1,53 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the documentation of Qt for Python.
+**
+** $QT_BEGIN_LICENSE:BSD$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** BSD License Usage
+** Alternatively, you may use this file under the terms of the BSD license
+** as follows:
+**
+** "Redistribution and use in source and binary forms, with or without
+** modification, are permitted provided that the following conditions are
+** met:
+** * Redistributions of source code must retain the above copyright
+** notice, this list of conditions and the following disclaimer.
+** * Redistributions in binary form must reproduce the above copyright
+** notice, this list of conditions and the following disclaimer in
+** the documentation and/or other materials provided with the
+** distribution.
+** * Neither the name of The Qt Company Ltd nor the names of its
+** contributors may be used to endorse or promote products derived
+** from this software without specific prior written permission.
+**
+**
+** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+//! [0]
+import PySide2.QtQuick
+//! [0]
diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtsql.cpp b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtsql.cpp
new file mode 100644
index 00000000..31849e78
--- /dev/null
+++ b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtsql.cpp
@@ -0,0 +1,52 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the documentation of Qt for Python.
+**
+** $QT_BEGIN_LICENSE:BSD$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** BSD License Usage
+** Alternatively, you may use this file under the terms of the BSD license
+** as follows:
+**
+** "Redistribution and use in source and binary forms, with or without
+** modification, are permitted provided that the following conditions are
+** met:
+** * Redistributions of source code must retain the above copyright
+** notice, this list of conditions and the following disclaimer.
+** * Redistributions in binary form must reproduce the above copyright
+** notice, this list of conditions and the following disclaimer in
+** the documentation and/or other materials provided with the
+** distribution.
+** * Neither the name of The Qt Company Ltd nor the names of its
+** contributors may be used to endorse or promote products derived
+** from this software without specific prior written permission.
+**
+**
+** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+//! [0]
+import PySide2.QtSql
+//! [0]
diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qttest.cpp b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qttest.cpp
new file mode 100644
index 00000000..34dd7bb5
--- /dev/null
+++ b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qttest.cpp
@@ -0,0 +1,53 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the documentation of Qt for Python.
+**
+** $QT_BEGIN_LICENSE:BSD$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** BSD License Usage
+** Alternatively, you may use this file under the terms of the BSD license
+** as follows:
+**
+** "Redistribution and use in source and binary forms, with or without
+** modification, are permitted provided that the following conditions are
+** met:
+** * Redistributions of source code must retain the above copyright
+** notice, this list of conditions and the following disclaimer.
+** * Redistributions in binary form must reproduce the above copyright
+** notice, this list of conditions and the following disclaimer in
+** the documentation and/or other materials provided with the
+** distribution.
+** * Neither the name of The Qt Company Ltd nor the names of its
+** contributors may be used to endorse or promote products derived
+** from this software without specific prior written permission.
+**
+**
+** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+//! [0]
+import PySide2.QtTest
+//! [0]
diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtwidgets.cpp b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtwidgets.cpp
new file mode 100644
index 00000000..a0deee95
--- /dev/null
+++ b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtwidgets.cpp
@@ -0,0 +1,53 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the documentation of Qt for Python.
+**
+** $QT_BEGIN_LICENSE:BSD$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** BSD License Usage
+** Alternatively, you may use this file under the terms of the BSD license
+** as follows:
+**
+** "Redistribution and use in source and binary forms, with or without
+** modification, are permitted provided that the following conditions are
+** met:
+** * Redistributions of source code must retain the above copyright
+** notice, this list of conditions and the following disclaimer.
+** * Redistributions in binary form must reproduce the above copyright
+** notice, this list of conditions and the following disclaimer in
+** the documentation and/or other materials provided with the
+** distribution.
+** * Neither the name of The Qt Company Ltd nor the names of its
+** contributors may be used to endorse or promote products derived
+** from this software without specific prior written permission.
+**
+**
+** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+//! [1]
+import PySide2.QtWidgets
+//! [1]
diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtxml.cpp b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtxml.cpp
new file mode 100644
index 00000000..077be436
--- /dev/null
+++ b/sources/pyside2/doc/codesnippets/doc/src/snippets/code/doc_src_qtxml.cpp
@@ -0,0 +1,53 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the documentation of Qt for Python.
+**
+** $QT_BEGIN_LICENSE:BSD$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** BSD License Usage
+** Alternatively, you may use this file under the terms of the BSD license
+** as follows:
+**
+** "Redistribution and use in source and binary forms, with or without
+** modification, are permitted provided that the following conditions are
+** met:
+** * Redistributions of source code must retain the above copyright
+** notice, this list of conditions and the following disclaimer.
+** * Redistributions in binary form must reproduce the above copyright
+** notice, this list of conditions and the following disclaimer in
+** the documentation and/or other materials provided with the
+** distribution.
+** * Neither the name of The Qt Company Ltd nor the names of its
+** contributors may be used to endorse or promote products derived
+** from this software without specific prior written permission.
+**
+**
+** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+//! [0]
+import PySide2.QtXml
+//! [0]
diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/doc_src_qtcharts.cpp b/sources/pyside2/doc/codesnippets/doc/src/snippets/doc_src_qtcharts.cpp
new file mode 100644
index 00000000..bfc35e1e
--- /dev/null
+++ b/sources/pyside2/doc/codesnippets/doc/src/snippets/doc_src_qtcharts.cpp
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the documentation of Qt for Python.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+//! [0]
+import PySide2.QtCharts
+//! [0]
+
+//! [3]
+series = QtCharts.QLineSeries()
+series.append(0,6)
+series.append(2,4)
+...
+chartView = QtCharts.QChartView()
+chartView.chart().addSeries(series)
+chartView.chart().createDefaultAxes()
+chartView.show()
+//! [3]
diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/doc_src_qtgui.cpp b/sources/pyside2/doc/codesnippets/doc/src/snippets/doc_src_qtgui.cpp
new file mode 100644
index 00000000..11c3cf5e
--- /dev/null
+++ b/sources/pyside2/doc/codesnippets/doc/src/snippets/doc_src_qtgui.cpp
@@ -0,0 +1,53 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the documentation of Qt for Python.
+**
+** $QT_BEGIN_LICENSE:BSD$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** BSD License Usage
+** Alternatively, you may use this file under the terms of the BSD license
+** as follows:
+**
+** "Redistribution and use in source and binary forms, with or without
+** modification, are permitted provided that the following conditions are
+** met:
+** * Redistributions of source code must retain the above copyright
+** notice, this list of conditions and the following disclaimer.
+** * Redistributions in binary form must reproduce the above copyright
+** notice, this list of conditions and the following disclaimer in
+** the documentation and/or other materials provided with the
+** distribution.
+** * Neither the name of The Qt Company Ltd nor the names of its
+** contributors may be used to endorse or promote products derived
+** from this software without specific prior written permission.
+**
+**
+** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+//! [0]
+import PySide2.QtCore
+//! [0]
diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/doc_src_qtmultimedia.cpp b/sources/pyside2/doc/codesnippets/doc/src/snippets/doc_src_qtmultimedia.cpp
new file mode 100644
index 00000000..49414535
--- /dev/null
+++ b/sources/pyside2/doc/codesnippets/doc/src/snippets/doc_src_qtmultimedia.cpp
@@ -0,0 +1,53 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the documentation of Qt for Python.
+**
+** $QT_BEGIN_LICENSE:BSD$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** BSD License Usage
+** Alternatively, you may use this file under the terms of the BSD license
+** as follows:
+**
+** "Redistribution and use in source and binary forms, with or without
+** modification, are permitted provided that the following conditions are
+** met:
+** * Redistributions of source code must retain the above copyright
+** notice, this list of conditions and the following disclaimer.
+** * Redistributions in binary form must reproduce the above copyright
+** notice, this list of conditions and the following disclaimer in
+** the documentation and/or other materials provided with the
+** distribution.
+** * Neither the name of The Qt Company Ltd nor the names of its
+** contributors may be used to endorse or promote products derived
+** from this software without specific prior written permission.
+**
+**
+** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+//! [0]
+import PySide2.QtMultimedia
+//! [0]
diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/doc_src_qtxmlpatterns.cpp b/sources/pyside2/doc/codesnippets/doc/src/snippets/doc_src_qtxmlpatterns.cpp
new file mode 100644
index 00000000..c3363e97
--- /dev/null
+++ b/sources/pyside2/doc/codesnippets/doc/src/snippets/doc_src_qtxmlpatterns.cpp
@@ -0,0 +1,54 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the documentation of Qt for Python.
+**
+** $QT_BEGIN_LICENSE:BSD$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** BSD License Usage
+** Alternatively, you may use this file under the terms of the BSD license
+** as follows:
+**
+** "Redistribution and use in source and binary forms, with or without
+** modification, are permitted provided that the following conditions are
+** met:
+** * Redistributions of source code must retain the above copyright
+** notice, this list of conditions and the following disclaimer.
+** * Redistributions in binary form must reproduce the above copyright
+** notice, this list of conditions and the following disclaimer in
+** the documentation and/or other materials provided with the
+** distribution.
+** * Neither the name of The Qt Company Ltd nor the names of its
+** contributors may be used to endorse or promote products derived
+** from this software without specific prior written permission.
+**
+**
+** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+
+//! [0]
+import PySide2.QtXmlPatterns
+//! [0]
diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/quiloader/doc_src_qtuiloader.cpp b/sources/pyside2/doc/codesnippets/doc/src/snippets/quiloader/doc_src_qtuiloader.cpp
new file mode 100644
index 00000000..141189ad
--- /dev/null
+++ b/sources/pyside2/doc/codesnippets/doc/src/snippets/quiloader/doc_src_qtuiloader.cpp
@@ -0,0 +1,53 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the documentation of Qt for Python.
+**
+** $QT_BEGIN_LICENSE:BSD$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** BSD License Usage
+** Alternatively, you may use this file under the terms of the BSD license
+** as follows:
+**
+** "Redistribution and use in source and binary forms, with or without
+** modification, are permitted provided that the following conditions are
+** met:
+** * Redistributions of source code must retain the above copyright
+** notice, this list of conditions and the following disclaimer.
+** * Redistributions in binary form must reproduce the above copyright
+** notice, this list of conditions and the following disclaimer in
+** the documentation and/or other materials provided with the
+** distribution.
+** * Neither the name of The Qt Company Ltd nor the names of its
+** contributors may be used to endorse or promote products derived
+** from this software without specific prior written permission.
+**
+**
+** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+//! [1]
+import PySide2.QtUiTools
+//! [1]
diff --git a/sources/pyside2/doc/codesnippets/examples/imageprovider/imageprovider.cpp b/sources/pyside2/doc/codesnippets/examples/imageprovider/imageprovider.cpp
index 1bff5729..b3890114 100644
--- a/sources/pyside2/doc/codesnippets/examples/imageprovider/imageprovider.cpp
+++ b/sources/pyside2/doc/codesnippets/examples/imageprovider/imageprovider.cpp
@@ -51,7 +51,7 @@
//![0]
class ColorImageProvider (QQuickImageProvider):
def __init__(self):
- QQuickImageProvider.__init__(self, QDeclarativeImageProvider.Pixmap)
+ QQuickImageProvider.__init__(self, QQuickImageProvider.Pixmap)
def requestPixmap(id, size, requestedSize):
width = 100
diff --git a/sources/pyside2/doc/conf.py.in b/sources/pyside2/doc/conf.py.in
index 26d99c7e..2eb4e6bf 100644
--- a/sources/pyside2/doc/conf.py.in
+++ b/sources/pyside2/doc/conf.py.in
@@ -18,6 +18,7 @@ import sys, os
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.append('@CMAKE_CURRENT_SOURCE_DIR@')
sys.path.append('@pyside_BINARY_DIR@')
+sys.path.append('@CMAKE_CURRENT_SOURCE_DIR@/../../../examples/webenginewidgets/tabbedbrowser')
# -- General configuration -----------------------------------------------------
@@ -26,7 +27,8 @@ sys.path.append('@pyside_BINARY_DIR@')
#extensions = ['sphinx.ext.todo', 'sphinx.ext.graphviz', 'inheritance_diagram', 'pysideinclude']
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.ifconfig',
'sphinx.ext.coverage', 'sphinx.ext.intersphinx', 'sphinx.ext.todo',
-'sphinx.ext.graphviz', 'inheritance_diagram', 'pysideinclude']
+'sphinx.ext.graphviz', 'inheritance_diagram', 'pysideinclude',
+'sphinx.ext.viewcode']
rst_epilog = """
.. |project| replace:: Qt for Python
@@ -112,7 +114,7 @@ html_theme_path = ['@CMAKE_CURRENT_SOURCE_DIR@/_themes']
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
-html_title = u'PySide2 documentation'
+html_title = u'Qt for Python (Technology Preview)'
# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None
diff --git a/sources/pyside2/doc/gettingstarted.rst b/sources/pyside2/doc/gettingstarted.rst
index 55212b1b..f24051c1 100644
--- a/sources/pyside2/doc/gettingstarted.rst
+++ b/sources/pyside2/doc/gettingstarted.rst
@@ -12,7 +12,7 @@ With these installed, you are ready to install the |project|
packages using the pip wheel. Run the following command from your command
prompt to install::
- python -m pip install --index-url=http://download.qt.io/snapshots/ci/pyside/5.9/latest pyside2 --trusted-host download.qt.io
+ python -m pip install --index-url=http://download.qt.io/snapshots/ci/pyside/5.11/latest pyside2 --trusted-host download.qt.io
Now that you have |project| installed, you can test your setup by running the following Python
constructs to print version information:
diff --git a/sources/pyside2/doc/index.rst b/sources/pyside2/doc/index.rst
index d505d575..fa1daec0 100644
--- a/sources/pyside2/doc/index.rst
+++ b/sources/pyside2/doc/index.rst
@@ -61,6 +61,10 @@ Qt Modules
- `Qt AxContainer <PySide2/QtAxContainer/index.html>`_
Provides QAxObject and QAxWidget which act as
containers for COM objects and ActiveX controls.
+ * - `Qt WebEngineCore <PySide2/QtWebEngineCore/index.html>`_
+ Provides the core functionality to integrate web content
+ - `Qt WebEngineWidgets <PySide2/QtWebEngineWidgets/index.html>`_
+ Provides widgets that can handle web content
* - `Qt WebChannel <PySide2/QtWebChannel/index.html>`_
Enables peer-to-peer communication between a server and a client
(HTML/JavaScript or QML application).
diff --git a/sources/pyside2/doc/pyside-config.qdocconf.in b/sources/pyside2/doc/pyside-config.qdocconf.in
index dc387658..e897069a 100644
--- a/sources/pyside2/doc/pyside-config.qdocconf.in
+++ b/sources/pyside2/doc/pyside-config.qdocconf.in
@@ -9,6 +9,9 @@ WebXML.outputsubdir = webxml
spurious += "Hostile character .*"
+#excludes qdoc statements that are not relevant for PySide2
+defines += qtforpython
+
includepaths += \
-I @QT_INCLUDE_DIR@ \
-I @mkspecInclude@ \
diff --git a/sources/pyside2/doc/qtmodules/pyside-qtwebenginecore.qdocconf.in b/sources/pyside2/doc/qtmodules/pyside-qtwebenginecore.qdocconf.in
new file mode 100644
index 00000000..038c803d
--- /dev/null
+++ b/sources/pyside2/doc/qtmodules/pyside-qtwebenginecore.qdocconf.in
@@ -0,0 +1,3 @@
+include(@QT_SRC_DIR@/../qtwebengine/src/webengine/doc/qtwebengine.qdocconf)
+includepaths += -I @QT_SRC_DIR@/../qtwebengine/src/webengine/doc
+include(../pyside-config.qdocconf)
diff --git a/sources/pyside2/doc/qtmodules/pyside-qtwebenginewidgets.qdocconf.in b/sources/pyside2/doc/qtmodules/pyside-qtwebenginewidgets.qdocconf.in
new file mode 100644
index 00000000..038c803d
--- /dev/null
+++ b/sources/pyside2/doc/qtmodules/pyside-qtwebenginewidgets.qdocconf.in
@@ -0,0 +1,3 @@
+include(@QT_SRC_DIR@/../qtwebengine/src/webengine/doc/qtwebengine.qdocconf)
+includepaths += -I @QT_SRC_DIR@/../qtwebengine/src/webengine/doc
+include(../pyside-config.qdocconf)
diff --git a/sources/pyside2/doc/tutorials/examples/images/tabbedbrowser.png b/sources/pyside2/doc/tutorials/examples/images/tabbedbrowser.png
new file mode 100644
index 00000000..27c3daa0
--- /dev/null
+++ b/sources/pyside2/doc/tutorials/examples/images/tabbedbrowser.png
Binary files differ
diff --git a/sources/pyside2/doc/tutorials/examples/tabbedbrowser.rst b/sources/pyside2/doc/tutorials/examples/tabbedbrowser.rst
new file mode 100644
index 00000000..d291e839
--- /dev/null
+++ b/sources/pyside2/doc/tutorials/examples/tabbedbrowser.rst
@@ -0,0 +1,57 @@
+**********************
+Web Browser Example
+**********************
+
+The example demonstrates the power and simplicity offered by |project| to developers.
+It uses several |pymodname| submodules to offer a fluid and modern-looking UI that
+is apt for a web browser. The application offers the following features:
+ * Tab-based browsing experience using QTabWidget.
+ * Download manager using a QProgressBar and QWebEngineDownloadItem.
+ * Bookmark manager using QTreeView.
+
+.. image:: images/tabbedbrowser.png
+
+The application's code is organized in several parts for ease of maintenance. For example,
+:code:`DownloadWidget` provides a widget to track progress of a download item. In the following
+sections, these different parts are discussed briefly to help you understand the Python code behind
+them a little better.
+
+BookmarkWidget or :code:`bookmarkwidget.py`
+===========================================
+
+This widget docks to the left of the main window by default. It inherits QTreeView and
+loads a default set of bookmarks using a QStandardItemModel. The model is populated at startup
+from a JSON file, which is updated when you add or remove bookmarks from the tree view.
+
+.. automodule:: bookmarkwidget
+ :members:
+
+DownloadWidget or :code:`downloadwidget.py`
+=============================================
+
+The widget tracks progress of the download item. It inherits QProgressBar to display
+progress of the QWebEngineDownloadItem instance, and offers a context-menu with actions such as Launch,
+Show in folder, Cancel, and Remove.
+
+.. automodule:: downloadwidget
+ :members:
+
+BrowserTabWidget or :code:`browsertabwidget.py`
+===============================================
+
+The widget includes a QWebEngineView to enable viewing web content. It docks to the right
+of BookmarkWidget in the main window.
+
+.. automodule:: browsertabwidget
+ :members:
+
+MainWindow or :code:`main.py`
+=============================
+
+This is the parent window that collates all the other widgets together to offer the complete package.
+
+.. automodule:: main
+ :members:
+
+
+Try running the example to explore it further.
diff --git a/sources/pyside2/doc/tutorials/index.rst b/sources/pyside2/doc/tutorials/index.rst
index 2e97612a..18bac57f 100644
--- a/sources/pyside2/doc/tutorials/index.rst
+++ b/sources/pyside2/doc/tutorials/index.rst
@@ -1,7 +1,22 @@
-PySide tutorials
-****************
+PySide examples and tutorials
+*****************************
-A collection of tutorials and "walkthrough" guides are provided with PySide to help new users get started with PySide development. These documents were ported from C++ to Python and cover a range of topics, from basic use of widgets to step-by-step tutorials that show how an application is put together.
+A collection of examples and tutorials with "walkthrough" guides are
+provided with |project| to help new users get started. These
+documents were ported from C++ to Python and cover a range of topics,
+from basic use of widgets to step-by-step tutorials that show how an
+application is put together.
+
+Examples and demos
+===================
+
+.. toctree::
+ :maxdepth: 1
+
+ examples/tabbedbrowser.rst
+
+Tutorials
+==========
.. toctree::
:maxdepth: 2
diff --git a/sources/pyside2/libpyside/pyside.cpp b/sources/pyside2/libpyside/pyside.cpp
index 15be3876..cb6f0721 100644
--- a/sources/pyside2/libpyside/pyside.cpp
+++ b/sources/pyside2/libpyside/pyside.cpp
@@ -442,11 +442,6 @@ static const unsigned char qt_resource_struct[] = {
0x0,0x0,0x0,0x16,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0
};
-// Note that setting QT_LOGGING_RULES for categories used before QCoreApplication is instantiated,
-// will only work on Qt 5.9.4+. On lower versions, it will appear that setting QT_LOGGING_RULES
-// does not affect lcPysideQtConf in any way.
-Q_LOGGING_CATEGORY(lcPySide2, "pyside2", QtWarningMsg)
-
bool registerInternalQtConf()
{
// Guard to ensure single registration.
@@ -454,8 +449,6 @@ bool registerInternalQtConf()
static bool registrationAttempted = false;
#else
static bool registrationAttempted = true;
- qCDebug(lcPySide2) << "PySide2 was built without qt.conf modification support. "
- "No special qt.conf behavior will be applied.";
#endif
static bool isRegistered = false;
if (registrationAttempted)
@@ -482,10 +475,6 @@ bool registerInternalQtConf()
QString maybeQtConfPath = QDir(appDirPath).filePath(QStringLiteral("qt.conf"));
bool executableQtConfAvailable = QFileInfo::exists(maybeQtConfPath);
maybeQtConfPath = QDir::toNativeSeparators(maybeQtConfPath);
- if (!executableQtConfAvailable) {
- qCDebug(lcPySide2) << "No qt.conf found near executable at: " << maybeQtConfPath
- << "\nTrying next candidates.";
- }
// Allow disabling the usage of the internal qt.conf. This is necessary for tests to work,
// because tests are executed before the package is installed, and thus the Prefix specified
@@ -493,10 +482,6 @@ bool registerInternalQtConf()
bool disableInternalQtConf =
qEnvironmentVariableIntValue("PYSIDE_DISABLE_INTERNAL_QT_CONF") > 0 ? true : false;
if (disableInternalQtConf || executableQtConfAvailable) {
- if (executableQtConfAvailable)
- qCDebug(lcPySide2) << "Using qt.conf found near executable at: " << maybeQtConfPath;
- if (disableInternalQtConf)
- qCDebug(lcPySide2) << "Internal qt.conf usage disabled via environment variable.";
registrationAttempted = true;
return false;
}
@@ -553,9 +538,6 @@ bool registerInternalQtConf()
reinterpret_cast<const unsigned char *>(
rccData.constData()));
- if (isRegistered)
- qCDebug(lcPySide2) << "Using internal qt.conf with prefix pointing to: " << prefixPath;
-
return isRegistered;
}
diff --git a/sources/pyside2/libpyside/pyside.h b/sources/pyside2/libpyside/pyside.h
index 2c7b60e3..e2e108ed 100644
--- a/sources/pyside2/libpyside/pyside.h
+++ b/sources/pyside2/libpyside/pyside.h
@@ -164,7 +164,6 @@ PYSIDE_API QString pyStringToQString(PyObject *str);
*/
PYSIDE_API bool registerInternalQtConf();
-Q_DECLARE_LOGGING_CATEGORY(lcPySide2)
} //namespace PySide
diff --git a/sources/pyside2/tests/CMakeLists.txt b/sources/pyside2/tests/CMakeLists.txt
index 199192b3..2386950e 100644
--- a/sources/pyside2/tests/CMakeLists.txt
+++ b/sources/pyside2/tests/CMakeLists.txt
@@ -49,7 +49,9 @@ else()
ENVIRONMENT "PYTHONPATH=${TEST_PYTHONPATH};${LIBRARY_PATH_VAR}=${TEST_LIBRARY_PATH};PYSIDE_DISABLE_INTERNAL_QT_CONF=1;QT_NO_GLIB=1")
endmacro()
- add_subdirectory(pysidetest)
+ if (NOT DISABLE_QtCore AND NOT DISABLE_QtGui AND NOT DISABLE_QtWidgets)
+ add_subdirectory(pysidetest)
+ endif()
add_subdirectory(registry)
add_subdirectory(signals)
diff --git a/sources/pyside2/tests/QtCore/bug_938.py b/sources/pyside2/tests/QtCore/bug_938.py
index b23cbe2f..98b89473 100644
--- a/sources/pyside2/tests/QtCore/bug_938.py
+++ b/sources/pyside2/tests/QtCore/bug_938.py
@@ -28,13 +28,14 @@
import unittest
from PySide2.QtCore import *
+import py3kcompat as py3k
class TestBug938 (unittest.TestCase):
def testIt(self):
b = QBuffer()
b.open(QBuffer.WriteOnly)
- b.write("\x0023\x005")
+ b.write(py3k.b("\x0023\x005"))
b.close()
self.assertEqual(b.buffer().size(), 5)
diff --git a/sources/pyside2/tests/QtCore/deepcopy_test.py b/sources/pyside2/tests/QtCore/deepcopy_test.py
index ed042ce4..a79ccbe1 100644
--- a/sources/pyside2/tests/QtCore/deepcopy_test.py
+++ b/sources/pyside2/tests/QtCore/deepcopy_test.py
@@ -31,6 +31,7 @@ from copy import deepcopy
from PySide2.QtCore import QByteArray, QDate, QDateTime, QTime, QLine, QLineF
from PySide2.QtCore import Qt, QSize, QSizeF, QRect, QRectF, QDir, QPoint, QPointF
+import py3kcompat as py3k
try:
from PySide2.QtCore import QUuid
HAVE_Q = True
@@ -45,7 +46,7 @@ class DeepCopyHelper:
class QByteArrayDeepCopy(DeepCopyHelper, unittest.TestCase):
def setUp(self):
- self.original = QByteArray('the quick brown fox jumps over the lazy dog')
+ self.original = QByteArray(py3k.b('the quick brown fox jumps over the lazy dog'))
class QDateDeepCopy(DeepCopyHelper, unittest.TestCase):
diff --git a/sources/pyside2/tests/QtCore/qbytearray_concatenation_operator_test.py b/sources/pyside2/tests/QtCore/qbytearray_concatenation_operator_test.py
index 308143d6..1728c682 100644
--- a/sources/pyside2/tests/QtCore/qbytearray_concatenation_operator_test.py
+++ b/sources/pyside2/tests/QtCore/qbytearray_concatenation_operator_test.py
@@ -34,38 +34,25 @@
import unittest
from PySide2.QtCore import QByteArray
+import py3kcompat as py3k
class QByteArrayConcatenationOperatorTest(unittest.TestCase):
'''Test cases for QByteArray concatenation with '+' operator'''
def testConcatQByteArrayAndPythonString(self):
- #Test concatenation of a QByteArray with a Python string, in this order
- qba = QByteArray('foo')
- result = qba + '\x00bar'
+ #Test concatenation of a QByteArray with a Python bytes, in this order
+ qba = QByteArray(py3k.b('foo'))
+ result = qba + py3k.b('\x00bar')
self.assertEqual(type(result), QByteArray)
- self.assertEqual(result, 'foo\x00bar')
+ self.assertEqual(result, py3k.b('foo\x00bar'))
def testConcatPythonStringAndQByteArray(self):
- #Test concatenation of a Python string with a QByteArray, in this order
+ #Test concatenation of a Python bytes with a QByteArray, in this order
concat_python_string_add_qbytearray_worked = True
- qba = QByteArray('foo')
- result = 'bar\x00' + qba
+ qba = QByteArray(py3k.b('foo'))
+ result = py3k.b('bar\x00') + qba
self.assertEqual(type(result), QByteArray)
- self.assertEqual(result, 'bar\x00foo')
-
- # NOTICE: Does not makes sense concat a unicode string with a QByteArray, because the
- # user does not know nothing about the internal representation of the unicode string.
- #def testConcatPythonUnicodeAndQByteArray(self):
- ##Test concatenation of a Python unicode object with a QByteArray, in this order
- #concat_python_unicode_add_qbytearray_worked = True
- #qba = QByteArray('foo')
- #result = None
- #try:
- #result = u'ümlaut' + qba
- #except:
- #concat_python_unicode_add_qbytearray_worked = False
- #self.assertTrue(concat_python_unicode_add_qbytearray_worked)
- #self.assertEqual(result.__class__.__name__, 'unicode')
+ self.assertEqual(result, py3k.b('bar\x00foo'))
if __name__ == '__main__':
unittest.main()
diff --git a/sources/pyside2/tests/QtCore/qbytearray_operator_iadd_test.py b/sources/pyside2/tests/QtCore/qbytearray_operator_iadd_test.py
index dd569ac5..a345db51 100644
--- a/sources/pyside2/tests/QtCore/qbytearray_operator_iadd_test.py
+++ b/sources/pyside2/tests/QtCore/qbytearray_operator_iadd_test.py
@@ -30,6 +30,7 @@ import unittest
from PySide2.QtCore import QByteArray
from helper.docmodifier import DocModifier
+import py3kcompat as py3k
class BaseQByteArrayOperatorIAdd(object):
'''Base class for QByteArray += operator tests.
@@ -41,31 +42,25 @@ class BaseQByteArrayOperatorIAdd(object):
__metaclass__ = DocModifier
def testSingleString(self):
- '''QByteArray += string of size 1'''
- s = '0'
+ '''QByteArray += bytes of size 1'''
+ s = py3k.b('0')
self.obj += s
self.assertEqual(self.obj, self.orig_obj + s)
self.assertEqual(self.obj.size(), self.orig_obj.size() + len(s))
def testString(self):
- '''QByteArray += string of size > 1'''
- s = 'dummy'
- self.obj += s
+ '''QByteArray += bytes of size > 1'''
+ s = bytearray(py3k.b('dummy'))
+ self.obj += s # XXx iadd support abytearray
self.assertEqual(self.obj, self.orig_obj + s)
self.assertEqual(self.obj.size(), self.orig_obj.size() + len(s))
def testQByteArray(self):
'''QByteArray += QByteArray'''
- s = QByteArray('array')
+ s = QByteArray(py3k.b('array'))
self.obj += s
self.assertEqual(self.obj, self.orig_obj + s)
- def testChar(self):
- '''QByteArray += char (number < 256)'''
- s = ord('a')
- self.obj += s
- self.assertEqual(self.obj, self.orig_obj + s)
- self.assertEqual(self.obj.size(), self.orig_obj.size() + 1)
class NullQByteArrayOperatorIAdd(unittest.TestCase, BaseQByteArrayOperatorIAdd):
'''Test case for operator QByteArray += on null QByteArrays'''
@@ -85,8 +80,8 @@ class ValidQByteArrayOperatorIAdd(unittest.TestCase, BaseQByteArrayOperatorIAdd)
doc_filter = lambda x: x.startswith('test')
def setUp(self):
- self.obj = QByteArray('some byte array')
- self.orig_obj = QByteArray('some byte array')
+ self.obj = QByteArray(py3k.b('some byte array'))
+ self.orig_obj = QByteArray(py3k.b('some byte array'))
if __name__ == '__main__':
unittest.main()
diff --git a/sources/pyside2/tests/QtCore/qbytearray_operator_test.py b/sources/pyside2/tests/QtCore/qbytearray_operator_test.py
index 09b5f24f..93140d1e 100644
--- a/sources/pyside2/tests/QtCore/qbytearray_operator_test.py
+++ b/sources/pyside2/tests/QtCore/qbytearray_operator_test.py
@@ -47,17 +47,12 @@ class QByteArrayOperatorEqual(unittest.TestCase):
def testSimple(self):
#QByteArray(some_string) == QByteArray(some_string)
- string = 'egg snakes'
+ string = py3k.b('egg snakes')
self.assertEqual(QByteArray(string), QByteArray(string))
def testPyString(self):
#QByteArray(string) == string
- string = 'my test string'
- self.assertEqual(QByteArray(string), string)
-
- def testQString(self):
- #QByteArray(string) == string
- string = 'another test string'
+ string = py3k.b('my test string')
self.assertEqual(QByteArray(string), string)
class QByteArrayOperatorAt(unittest.TestCase):
@@ -66,7 +61,7 @@ class QByteArrayOperatorAt(unittest.TestCase):
def testInRange(self):
#QByteArray[x] where x is a valid index
string = 'abcdefgh'
- obj = QByteArray(string)
+ obj = QByteArray(py3k.b(string))
for i in range(len(string)):
self.assertEqual(obj[i], py3k.b(string[i]))
@@ -74,7 +69,7 @@ class QByteArrayOperatorAt(unittest.TestCase):
def testInRangeReverse(self):
#QByteArray[x] where x is a valid index (reverse order)
string = 'abcdefgh'
- obj = QByteArray(string)
+ obj = QByteArray(py3k.b(string))
for i in range(len(string)-1, 0, -1):
self.assertEqual(obj[i], py3k.b(string[i]))
@@ -82,12 +77,12 @@ class QByteArrayOperatorAt(unittest.TestCase):
def testOutOfRange(self):
#QByteArray[x] where x is out of index
- string = '1234567'
+ string = py3k.b('1234567')
obj = QByteArray(string)
self.assertRaises(IndexError, lambda :obj[len(string)])
def testNullStrings(self):
- ba = QByteArray('\x00')
+ ba = QByteArray(py3k.b('\x00'))
self.assertEqual(ba.at(0), '\x00')
self.assertEqual(ba[0], py3k.b('\x00'))
@@ -97,9 +92,9 @@ class QByteArrayOperatorLen(unittest.TestCase):
def testBasic(self):
'''QByteArray __len__'''
self.assertEqual(len(QByteArray()), 0)
- self.assertEqual(len(QByteArray('')), 0)
- self.assertEqual(len(QByteArray(' ')), 1)
- self.assertEqual(len(QByteArray('yabadaba')), 8)
+ self.assertEqual(len(QByteArray(py3k.b(''))), 0)
+ self.assertEqual(len(QByteArray(py3k.b(' '))), 1)
+ self.assertEqual(len(QByteArray(py3k.b('yabadaba'))), 8)
class QByteArrayOperatorStr(unittest.TestCase):
@@ -107,9 +102,9 @@ class QByteArrayOperatorStr(unittest.TestCase):
def testBasic(self):
'''QByteArray __str__'''
- self.assertEqual(QByteArray().__str__(), '')
- self.assertEqual(QByteArray('').__str__(), '')
- self.assertEqual(QByteArray('aaa').__str__(), 'aaa')
+ self.assertEqual(QByteArray().__str__(), str(b''))
+ self.assertEqual(QByteArray(py3k.b('')).__str__(), str(b''))
+ self.assertEqual(QByteArray(py3k.b('aaa')).__str__(), str(b'aaa'))
if __name__ == '__main__':
diff --git a/sources/pyside2/tests/QtCore/qbytearray_test.py b/sources/pyside2/tests/QtCore/qbytearray_test.py
index 672472c4..dba9ecfe 100644
--- a/sources/pyside2/tests/QtCore/qbytearray_test.py
+++ b/sources/pyside2/tests/QtCore/qbytearray_test.py
@@ -1,4 +1,5 @@
-#!/usr/bin/python
+# -*- coding:utf-8 -*-
+# !/usr/bin/python
#############################################################################
##
@@ -35,24 +36,24 @@ import ctypes
import pickle
import py3kcompat as py3k
-from PySide2.QtCore import QByteArray, QSettings, QObject
+from PySide2.QtCore import QByteArray, QSettings, QObject, QDataStream, QIODevice
class QByteArrayTestToNumber(unittest.TestCase):
def testToNumberInt(self):
- obj = QByteArray('37')
+ obj = QByteArray(py3k.b('37'))
self.assertEqual((37, True), obj.toInt())
def testToNumberUShort(self):
- obj = QByteArray('37')
+ obj = QByteArray(py3k.b('37'))
self.assertEqual((37, True), obj.toUShort())
def testToNumberFloat(self):
- obj = QByteArray('37.109')
+ obj = QByteArray(py3k.b('37.109'))
self.assertEqual((ctypes.c_float(37.109).value, True),
obj.toFloat())
def testToNumberDouble(self):
- obj = QByteArray('37.109')
+ obj = QByteArray(py3k.b('37.109'))
self.assertEqual((ctypes.c_double(37.109).value, True),
obj.toDouble())
@@ -69,9 +70,9 @@ class QByteArrayTestToNumber(unittest.TestCase):
def testAppend(self):
b = QByteArray()
- b.append("A")
+ b.append(py3k.b("A"))
self.assertEqual(b.size(), 1)
- b.append("AB")
+ b.append(py3k.b("AB"))
self.assertEqual(b.size(), 3)
@@ -80,7 +81,7 @@ class QByteArraySplit(unittest.TestCase):
def testPathSeparator(self):
#QByteArray.split('/')
- obj = QByteArray(unittest.__file__)
+ obj = QByteArray(py3k.b(unittest.__file__))
self.assertEqual(obj.split('/'), unittest.__file__.split('/'))
class QByteArrayData(unittest.TestCase):
@@ -88,11 +89,11 @@ class QByteArrayData(unittest.TestCase):
'''Test case for QByteArray.data'''
def testData(self):
- url = QByteArray("http://web.openbossa.org/")
- self.assertEqual(url.data(), py3k.b("http://web.openbossa.org/"))
+ url = QByteArray(py3k.b("http://pyside.org"))
+ self.assertEqual(url.data(), py3k.b("http://pyside.org"))
def testDataWithZeros(self):
- s1 = "123\000321"
+ s1 = py3k.b("123\000321")
ba = QByteArray(s1)
s2 = ba.data()
self.assertEqual(py3k.b(s1), s2)
@@ -103,49 +104,31 @@ class QByteArrayOperatorAtSetter(unittest.TestCase):
def testSetterString(self):
'''QByteArray[x] = pythonstring'''
- obj = QByteArray('123456')
- obj[1] = '0'
- self.assertEqual(obj, QByteArray('103456'))
-
- def testSetterStringLarge(self):
- '''QByteArray[x] = pythonstring (larget than 1 char)'''
- obj = QByteArray('123456')
- obj[3] = 'abba'
- self.assertEqual(obj, QByteArray('123abba56'))
-
- def testSetterQByteArray(self):
- '''QByteArray[x] = qbytearray'''
- obj = QByteArray('123456')
- obj[3] = QByteArray('array')
- self.assertEqual(obj, QByteArray('123array56'))
-
-
-class QByteArrayOperatorAtSetterNegativeIndex(unittest.TestCase):
- '''Test case for QByteArray[] - __setitem__ - for negative index'''
-
- def testSetterNegativeIndex(self):
- '''QByteArray[x] = string - negative index'''
- obj = QByteArray('123456')
- obj[-3] = 'array'
- self.assertEqual(obj, QByteArray('123array56'))
-
-
-class QByteArrayOperatorAtSetterLargeIndex(unittest.TestCase):
- '''Test case for QByteArray[] - __setitem__ - for 'overflown' index'''
-
- def testSetterLargeIndexEmpty(self):
- '''QByteArray[x] = somestring - Overflow index on empty string'''
- # should pad with spaces if the index is larger
- obj = QByteArray('')
- obj[2] = 'a'
- self.assertEqual(obj, QByteArray(' a'))
-
- def testSetterLargeIndexNormal(self):
- '''QByteArray[x] = somestring - Overflow index on normal string'''
- # should pad with spaces if the index is larger
- obj = QByteArray('mystring')
- obj[10] = 'normal'
- self.assertEqual(obj, QByteArray('mystring normal'))
+ obj = QByteArray(py3k.b('123456'))
+ obj[1] = py3k.b('0')
+ self.assertEqual(obj, QByteArray(py3k.b('103456')))
+
+class QByteArrayOnQDataStream(unittest.TestCase):
+ '''
+ Bug PYSIDE-232
+ '''
+ def testIt(self):
+ a = QByteArray()
+ b = QDataStream(a, QIODevice.WriteOnly)
+ b.writeUInt16(5000)
+ # The __repr__ not suppose to crash anymore
+ self.assertNotEqual(repr(b), None)
+
+class TestBug664(unittest.TestCase):
+ '''
+ QByteArray.data() should return correct data
+ '''
+ def testIt(self):
+ a = QByteArray(py3k.unicode_('hi 猫').encode('utf-8'))
+ if py3k.IS_PY3K:
+ self.assertEqual(repr(a), "PySide2.QtCore.QByteArray(b'hi \\xe7\\x8c\\xab')")
+ else:
+ self.assertEqual(repr(a), "PySide2.QtCore.QByteArray('hi \\xe7\\x8c\\xab')")
class QByteArrayOnQVariant(unittest.TestCase):
def testQByteArrayOnQVariant(self):
@@ -157,7 +140,7 @@ class TestBug567(unittest.TestCase):
QByteArray should support slices
'''
def testIt(self):
- ba = QByteArray('1234567890')
+ ba = QByteArray(py3k.b('1234567890'))
self.assertEqual(ba[2:4], '34')
self.assertEqual(ba[:4], '1234')
self.assertEqual(ba[4:], '567890')
@@ -176,24 +159,112 @@ class QByteArrayBug514(unittest.TestCase):
class TestPickler(unittest.TestCase):
def testIt(self):
- ba = QByteArray("321\x00123")
+ ba = QByteArray(py3k.b("321\x00123"))
output = pickle.dumps(str(ba))
ba2 = pickle.loads(output)
- self.assertEqual(ba, ba2)
+ self.assertEqual(str(ba), str(ba2))
class QByteArrayBug720(unittest.TestCase):
def testIt(self):
- ba = QByteArray(b"32\"1\x00123")
- self.assertEqual(str(ba), "32\"1\x00123")
- self.assertEqual(repr(ba), "PySide2.QtCore.QByteArray('32\"1\x00123')")
+ ba = QByteArray(py3k.b("32\"1\x00123"))
+ self.assertEqual(str(ba), str(py3k.b("32\"1\x00123")))
+ if py3k.IS_PY3K:
+ self.assertEqual(repr(ba), "PySide2.QtCore.QByteArray(b'32\"1\\x00123')")
+ else:
+ self.assertEqual(repr(ba), "PySide2.QtCore.QByteArray('32\"1\\x00123')")
class QByteArrayImplicitConvert(unittest.TestCase):
def testString(self):
# No implicit conversions from QByteArray to python string
- ba = QByteArray("object name")
+ ba = QByteArray(py3k.b("object name"))
obj = QObject()
self.assertRaises(TypeError, obj.setObjectName, ba)
+class QByteArraySliceAssignment(unittest.TestCase):
+ def testIndexAssignment(self):
+ a = QByteArray(py3k.b('abc'))
+ a[0] = py3k.b('x')
+ self.assertEqual(a[0], py3k.b('x'))
+
+ def test_1():
+ a[0] = py3k.b('xy')
+ self.assertRaises(ValueError, test_1)
+
+ def testSliceAssignmentBytes(self):
+ b = QByteArray(py3k.b('0123456789'))
+ b[2:8] = py3k.b('abcdef')
+ self.assertEqual(b[2:8], py3k.b('abcdef'))
+ # Delete behavior
+ b[2:8] = None
+ self.assertEqual(b, py3k.b('0189'))
+
+ # number of slots and number of values doesn't match
+ def test_2():
+ b[2:8:2] = py3k.b('')
+ self.assertRaises(ValueError, test_2)
+ b = QByteArray(py3k.b('0123456789'))
+ # reverse slice
+ b[5:2:-1] = py3k.b('ABC')
+ self.assertEqual(b, py3k.b('012CBA6789'))
+ # step is not 1
+ b[2:9:3] = py3k.b('XYZ')
+ self.assertEqual(b, py3k.b('01XCBY67Z9'))
+ b = QByteArray(py3k.b('0123456789'))
+ b[9:2:-3] = py3k.b('XYZ')
+ self.assertEqual(b, py3k.b('012Z45Y78X'))
+
+ def testSliceAssignmentQByteArray(self):
+ b = QByteArray(py3k.b('0123456789'))
+ b[2:8] = QByteArray(py3k.b('abcdef'))
+ self.assertEqual(b[2:8], py3k.b('abcdef'))
+ # shrink
+ b[2:8] = QByteArray(py3k.b('aaa'))
+ self.assertEqual(b, py3k.b('01aaa89'))
+ # expanse
+ b[2:5] = QByteArray(py3k.b('uvwxyz'))
+ self.assertEqual(b, py3k.b('01uvwxyz89'))
+ # Delete behavior
+ b[2:8] = QByteArray()
+ self.assertEqual(b, py3k.b('0189'))
+
+ b = QByteArray(py3k.b('0123456789'))
+ # reverse assginment
+ b[5:2:-1] = QByteArray(py3k.b('ABC'))
+ self.assertEqual(b, py3k.b('012CBA6789'))
+ # step is not 1
+ b[2:9:3] = QByteArray(py3k.b('XYZ'))
+ self.assertEqual(b, py3k.b('01XCBY67Z9'))
+ b = QByteArray(py3k.b('0123456789'))
+ b[9:2:-3] = QByteArray(py3k.b('XYZ'))
+ self.assertEqual(b, py3k.b('012Z45Y78X'))
+
+ def testSliceAssignmentByteArray(self):
+ b = QByteArray(py3k.b('0123456789'))
+ # replace
+ b[2:8] = bytearray(py3k.b('abcdef'))
+ self.assertEqual(b[2:8], py3k.b('abcdef'))
+ # shrink
+ b[2:8] = bytearray(py3k.b('aaa'))
+ self.assertEqual(b, py3k.b('01aaa89'))
+ # expanse
+ b[2:5] = bytearray(py3k.b('uvwxyz'))
+ self.assertEqual(b, py3k.b('01uvwxyz89'))
+ # Delete behavior
+ b[2:8] = bytearray(py3k.b(''))
+ self.assertEqual(b, py3k.b('0189'))
+
+ b = QByteArray(py3k.b('0123456789'))
+ # reverse assginment
+ b[5:2:-1] = bytearray(py3k.b('ABC'))
+ self.assertEqual(b, py3k.b('012CBA6789'))
+ # step is not 1
+ b[2:9:3] = bytearray(py3k.b('XYZ'))
+ self.assertEqual(b, py3k.b('01XCBY67Z9'))
+ b = QByteArray(py3k.b('0123456789'))
+ b[9:2:-3] = bytearray(py3k.b('XYZ'))
+ self.assertEqual(b, py3k.b('012Z45Y78X'))
+
+
if __name__ == '__main__':
unittest.main()
diff --git a/sources/pyside2/tests/QtCore/qdatastream_test.py b/sources/pyside2/tests/QtCore/qdatastream_test.py
index 3e141fbf..812c2aab 100644
--- a/sources/pyside2/tests/QtCore/qdatastream_test.py
+++ b/sources/pyside2/tests/QtCore/qdatastream_test.py
@@ -119,21 +119,21 @@ class QDataStreamShift(unittest.TestCase):
def testQByteArrayValid(self):
'''QDataStream <<>> QByteArray - valid'''
- self.stream << QByteArray("hello")
+ self.stream << QByteArray(py3k.b("hello"))
res = QByteArray()
self.read_stream >> res
- self.assertEqual(res, QByteArray("hello"))
+ self.assertEqual(res, QByteArray(py3k.b("hello")))
def testQByteArrayEmpty(self):
'''QDataStream <<>> QByteArray - empty'''
- self.stream << QByteArray("")
+ self.stream << QByteArray(py3k.b(""))
res = QByteArray()
self.read_stream >> res
- self.assertEqual(res, QByteArray(""))
+ self.assertEqual(res, QByteArray(py3k.b("")))
self.assertTrue(res.isEmpty())
self.assertFalse(res.isNull())
@@ -277,29 +277,29 @@ class QDataStreamShiftBitArray(unittest.TestCase):
'''QDataStream with valid QBitArray'''
data = []
- data.append((QByteArray('\x00\x00\x00\x00'), QDataStream.Ok,
+ data.append((QByteArray(py3k.b('\x00\x00\x00\x00')), QDataStream.Ok,
QBitArray()))
- data.append((QByteArray('\x00\x00\x00\x01\x00'), QDataStream.Ok,
+ data.append((QByteArray(py3k.b('\x00\x00\x00\x01\x00')), QDataStream.Ok,
create_bitarray('0')))
- data.append((QByteArray('\x00\x00\x00\x01\x01'), QDataStream.Ok,
+ data.append((QByteArray(py3k.b('\x00\x00\x00\x01\x01')), QDataStream.Ok,
create_bitarray('1')))
- data.append((QByteArray('\x00\x00\x00\x02\x03'), QDataStream.Ok,
+ data.append((QByteArray(py3k.b('\x00\x00\x00\x02\x03')), QDataStream.Ok,
create_bitarray('11')))
- data.append((QByteArray('\x00\x00\x00\x03\x07'), QDataStream.Ok,
+ data.append((QByteArray(py3k.b('\x00\x00\x00\x03\x07')), QDataStream.Ok,
create_bitarray('111')))
- data.append((QByteArray('\x00\x00\x00\x04\x0f'), QDataStream.Ok,
+ data.append((QByteArray(py3k.b('\x00\x00\x00\x04\x0f')), QDataStream.Ok,
create_bitarray('1111')))
- data.append((QByteArray('\x00\x00\x00\x05\x1f'), QDataStream.Ok,
+ data.append((QByteArray(py3k.b('\x00\x00\x00\x05\x1f')), QDataStream.Ok,
create_bitarray('11111')))
- data.append((QByteArray('\x00\x00\x00\x06\x3f'), QDataStream.Ok,
+ data.append((QByteArray(py3k.b('\x00\x00\x00\x06\x3f')), QDataStream.Ok,
create_bitarray('111111')))
- data.append((QByteArray('\x00\x00\x00\x07\x7f'), QDataStream.Ok,
+ data.append((QByteArray(py3k.b('\x00\x00\x00\x07\x7f')), QDataStream.Ok,
create_bitarray('1111111')))
- data.append((QByteArray('\x00\x00\x00\x07\x7e'), QDataStream.Ok,
+ data.append((QByteArray(py3k.b('\x00\x00\x00\x07\x7e')), QDataStream.Ok,
create_bitarray('0111111')))
- data.append((QByteArray('\x00\x00\x00\x07\x00'), QDataStream.Ok,
+ data.append((QByteArray(py3k.b('\x00\x00\x00\x07\x00')), QDataStream.Ok,
create_bitarray('0000000')))
- data.append((QByteArray('\x00\x00\x00\x07\x39'), QDataStream.Ok,
+ data.append((QByteArray(py3k.b('\x00\x00\x00\x07\x39')), QDataStream.Ok,
create_bitarray('1001110')))
self._check_bitarray(data)
@@ -310,19 +310,19 @@ class QDataStreamShiftBitArray(unittest.TestCase):
data.append((QByteArray(), QDataStream.ReadPastEnd,
QBitArray()))
- data.append((QByteArray('\x00'), QDataStream.ReadPastEnd,
+ data.append((QByteArray(py3k.b('\x00')), QDataStream.ReadPastEnd,
QBitArray()))
- data.append((QByteArray('\x00\x00'), QDataStream.ReadPastEnd,
+ data.append((QByteArray(py3k.b('\x00\x00')), QDataStream.ReadPastEnd,
QBitArray()))
- data.append((QByteArray('\x00\x00\x00'), QDataStream.ReadPastEnd,
+ data.append((QByteArray(py3k.b('\x00\x00\x00')), QDataStream.ReadPastEnd,
QBitArray()))
- data.append((QByteArray('\x00\x00\x00\x01'), QDataStream.ReadPastEnd,
+ data.append((QByteArray(py3k.b('\x00\x00\x00\x01')), QDataStream.ReadPastEnd,
QBitArray()))
- data.append((QByteArray('\x00\x00\x00\x02'), QDataStream.ReadPastEnd,
+ data.append((QByteArray(py3k.b('\x00\x00\x00\x02')), QDataStream.ReadPastEnd,
QBitArray()))
- data.append((QByteArray('\x00\x00\x00\x03'), QDataStream.ReadPastEnd,
+ data.append((QByteArray(py3k.b('\x00\x00\x00\x03')), QDataStream.ReadPastEnd,
QBitArray()))
- data.append((QByteArray('\x00\x00\x00\x04'), QDataStream.ReadPastEnd,
+ data.append((QByteArray(py3k.b('\x00\x00\x00\x04')), QDataStream.ReadPastEnd,
QBitArray()))
self._check_bitarray(data)
@@ -331,7 +331,7 @@ class QDataStreamShiftBitArray(unittest.TestCase):
'''QDataStream reading corrupt data'''
data = []
- data.append((QByteArray('\x00\x00\x00\x01\x02'),
+ data.append((QByteArray(py3k.b('\x00\x00\x00\x01\x02')),
QDataStream.ReadCorruptData,
QBitArray()))
diff --git a/sources/pyside2/tests/QtCore/qfile_test.py b/sources/pyside2/tests/QtCore/qfile_test.py
index 3dae1aaf..40f861e4 100644
--- a/sources/pyside2/tests/QtCore/qfile_test.py
+++ b/sources/pyside2/tests/QtCore/qfile_test.py
@@ -80,7 +80,7 @@ class GetCharTest(unittest.TestCase):
self.assertTrue(dir.isValid())
saveFile = QSaveFile(dir.path() + "/test.dat")
self.assertTrue(saveFile.open(QIODevice.WriteOnly))
- saveFile.write("Test")
+ saveFile.write(py3k.b("Test"))
self.assertTrue(saveFile.commit())
self.assertTrue(os.path.exists(QDir.toNativeSeparators(saveFile.fileName())))
diff --git a/sources/pyside2/tests/QtCore/qfileread_test.py b/sources/pyside2/tests/QtCore/qfileread_test.py
index d8c17ceb..19e1ea37 100644
--- a/sources/pyside2/tests/QtCore/qfileread_test.py
+++ b/sources/pyside2/tests/QtCore/qfileread_test.py
@@ -31,6 +31,7 @@ import unittest
import os
from PySide2.QtCore import QIODevice, QTemporaryFile
+import py3kcompat as py3k
class FileChild1(QTemporaryFile):
pass
@@ -48,11 +49,11 @@ class readDataTest(unittest.TestCase):
'''Acquire resources'''
self.filename1 = FileChild1()
self.assertTrue(self.filename1.open())
- self.filename1.write('Test text for testing')
+ self.filename1.write(py3k.b('Test text for testing'))
self.filename2 = FileChild2()
self.assertTrue(self.filename2.open())
- self.filename2.write('Test text for testing')
+ self.filename2.write(py3k.b('Test text for testing'))
def tearDown(self):
'''release resources'''
diff --git a/sources/pyside2/tests/QtCore/qmessageauthenticationcode_test.py b/sources/pyside2/tests/QtCore/qmessageauthenticationcode_test.py
index 392e6f05..867862de 100644
--- a/sources/pyside2/tests/QtCore/qmessageauthenticationcode_test.py
+++ b/sources/pyside2/tests/QtCore/qmessageauthenticationcode_test.py
@@ -33,10 +33,11 @@
import unittest
from PySide2.QtCore import QCryptographicHash, QMessageAuthenticationCode
+import py3kcompat as py3k
class TestQMessageAuthenticationCode (unittest.TestCase):
def test(self):
- code = QMessageAuthenticationCode(QCryptographicHash.Sha1, 'bla')
+ code = QMessageAuthenticationCode(QCryptographicHash.Sha1, py3k.b('bla'))
result = code.result()
self.assertTrue(result.size() > 0)
print(result.toHex())
diff --git a/sources/pyside2/tests/QtCore/qtextstream_test.py b/sources/pyside2/tests/QtCore/qtextstream_test.py
index 5cc961ae..6af7f46b 100644
--- a/sources/pyside2/tests/QtCore/qtextstream_test.py
+++ b/sources/pyside2/tests/QtCore/qtextstream_test.py
@@ -102,12 +102,12 @@ class QTextStreamReadLinesFromDevice(unittest.TestCase):
data = []
data.append((QByteArray(), []))
- data.append((QByteArray('\n'), ['']))
- data.append((QByteArray('\r\n'), ['']))
- data.append((QByteArray('ole'), ['ole']))
- data.append((QByteArray('ole\n'), ['ole']))
- data.append((QByteArray('ole\r\n'), ['ole']))
- data.append((QByteArray('ole\r\ndole\r\ndoffen'), ['ole', 'dole', 'doffen']))
+ data.append((QByteArray(py3k.b('\n')), ['']))
+ data.append((QByteArray(py3k.b('\r\n')), ['']))
+ data.append((QByteArray(py3k.b('ole')), ['ole']))
+ data.append((QByteArray(py3k.b('ole\n')), ['ole']))
+ data.append((QByteArray(py3k.b('ole\r\n')), ['ole']))
+ data.append((QByteArray(py3k.b('ole\r\ndole\r\ndoffen')), ['ole', 'dole', 'doffen']))
self._check_data(data)
diff --git a/sources/pyside2/tests/QtCore/qtimezone_test.py b/sources/pyside2/tests/QtCore/qtimezone_test.py
index fb1326e5..3d5bd171 100644
--- a/sources/pyside2/tests/QtCore/qtimezone_test.py
+++ b/sources/pyside2/tests/QtCore/qtimezone_test.py
@@ -29,10 +29,11 @@
import unittest
from PySide2.QtCore import QTimeZone
+import py3kcompat as py3k
class TestQTimeZone (unittest.TestCase):
def testTimeZone(self):
- id = 'Europe/Berlin'
+ id = py3k.b('Europe/Berlin')
timeZone = QTimeZone(id)
self.assertTrue(timeZone.isValid())
self.assertEqual(timeZone.id(), id)
diff --git a/sources/pyside2/tests/QtCore/repr_test.py b/sources/pyside2/tests/QtCore/repr_test.py
index 343c991a..0c20c24e 100644
--- a/sources/pyside2/tests/QtCore/repr_test.py
+++ b/sources/pyside2/tests/QtCore/repr_test.py
@@ -31,6 +31,7 @@ import unittest
from PySide2.QtCore import QByteArray, QDate, QDateTime, QTime, QLine, QLineF
from PySide2.QtCore import Qt, QSize, QSizeF, QRect, QRectF, QPoint, QPointF
+import py3kcompat as py3k
try:
from PySide2.QtCore import QUuid
HAVE_Q = True
@@ -45,7 +46,7 @@ class ReprCopyHelper:
class QByteArrayReprCopy(ReprCopyHelper, unittest.TestCase):
def setUp(self):
- self.original = QByteArray('the quick brown fox jumps over the lazy dog')
+ self.original = QByteArray(py3k.b('the quick brown fox jumps over the lazy dog'))
class QDateReprCopy(ReprCopyHelper, unittest.TestCase):
diff --git a/sources/pyside2/tests/QtCore/unicode_test.py b/sources/pyside2/tests/QtCore/unicode_test.py
index 3326e2e0..6fa169a7 100644
--- a/sources/pyside2/tests/QtCore/unicode_test.py
+++ b/sources/pyside2/tests/QtCore/unicode_test.py
@@ -35,6 +35,7 @@ import unittest
import py3kcompat as py3k
from PySide2.QtCore import QObject
+from PySide2.QtCore import QByteArray
class UnicodeConversion(unittest.TestCase):
'''Test case for QString to/from Python Unicode conversion'''
diff --git a/sources/pyside2/tests/QtCore/versioninfo_test.py b/sources/pyside2/tests/QtCore/versioninfo_test.py
index 0c3a3b17..6fff9710 100644
--- a/sources/pyside2/tests/QtCore/versioninfo_test.py
+++ b/sources/pyside2/tests/QtCore/versioninfo_test.py
@@ -39,7 +39,7 @@ class TestVersionInfo(unittest.TestCase):
self.assertEqual(type(v[1]), int)
self.assertEqual(type(v[2]), int)
self.assertEqual(type(v[3]), str)
- self.assertEqual(type(v[4]), int)
+ self.assertEqual(type(v[4]), str)
self.assertEqual(type(PySide2.__version__), str)
diff --git a/sources/pyside2/tests/QtGui/bug_660.py b/sources/pyside2/tests/QtGui/bug_660.py
index a5fc5be9..e19835a3 100644
--- a/sources/pyside2/tests/QtGui/bug_660.py
+++ b/sources/pyside2/tests/QtGui/bug_660.py
@@ -42,7 +42,7 @@ class MyItemModel(QStandardItemModel):
def mimeData(self,indexes):
self.__mimedata = super(MyItemModel,self).mimeData(indexes)
- self.__mimedata.setData(py3k.unicode_('application/my-form'), 'hi')
+ self.__mimedata.setData(py3k.unicode_('application/my-form'), py3k.b('hi'))
return self.__mimedata
class TestBug660(unittest.TestCase):
diff --git a/sources/pyside2/tests/QtGui/qtextdocumentwriter_test.py b/sources/pyside2/tests/QtGui/qtextdocumentwriter_test.py
index c5166ca1..b9d87ff2 100644
--- a/sources/pyside2/tests/QtGui/qtextdocumentwriter_test.py
+++ b/sources/pyside2/tests/QtGui/qtextdocumentwriter_test.py
@@ -30,6 +30,7 @@ import unittest
from PySide2.QtGui import QTextDocumentWriter, QTextDocument
from PySide2.QtCore import QBuffer
+import py3kcompat as py3k
class QTextDocumentWriterTest(unittest.TestCase):
@@ -38,7 +39,7 @@ class QTextDocumentWriterTest(unittest.TestCase):
doc = QTextDocument(text)
b = QBuffer()
b.open(QBuffer.ReadWrite)
- writer = QTextDocumentWriter(b, "plaintext");
+ writer = QTextDocumentWriter(b, py3k.b("plaintext"));
writer.write(doc);
b.close()
self.assertEqual(b.buffer(), text)
diff --git a/sources/pyside2/tests/QtNetwork/bug_1084.py b/sources/pyside2/tests/QtNetwork/bug_1084.py
index b9dfd009..e9d31eae 100644
--- a/sources/pyside2/tests/QtNetwork/bug_1084.py
+++ b/sources/pyside2/tests/QtNetwork/bug_1084.py
@@ -38,7 +38,7 @@ class QTcpSocketTestCase(unittest.TestCase):
self.sock.connectToHost('127.0.0.1', 25)
def testIt(self):
- self.sock.write(py3k.unicode_('quit'))
+ self.sock.write(py3k.b('quit'))
if __name__ == "__main__":
unittest.main()
diff --git a/sources/pyside2/tests/QtNetwork/bug_446.py b/sources/pyside2/tests/QtNetwork/bug_446.py
index da4e27d4..4fcda65b 100644
--- a/sources/pyside2/tests/QtNetwork/bug_446.py
+++ b/sources/pyside2/tests/QtNetwork/bug_446.py
@@ -32,10 +32,11 @@ from PySide2.QtCore import *
from PySide2.QtNetwork import *
from helper import UsesQCoreApplication
+import py3kcompat as py3k
class HttpSignalsCase(UsesQCoreApplication):
'''Test case for launching QHttp signals'''
- DATA = "PySide rocks"
+ DATA = py3k.b("PySide rocks")
def onError(self):
self.assertTrue(False)
@@ -48,7 +49,7 @@ class HttpSignalsCase(UsesQCoreApplication):
def onReadReady(self):
data = self.client.read(100)
- self.assertEqual(data.size(), len(HttpSignalsCase.DATA))
+ self.assertEqual(len(data), len(HttpSignalsCase.DATA))
self.assertEqual(data, HttpSignalsCase.DATA)
self.done()
diff --git a/sources/pyside2/tests/QtNetwork/udpsocket_test.py b/sources/pyside2/tests/QtNetwork/udpsocket_test.py
index b20ef134..ea4f5c8f 100644
--- a/sources/pyside2/tests/QtNetwork/udpsocket_test.py
+++ b/sources/pyside2/tests/QtNetwork/udpsocket_test.py
@@ -32,6 +32,7 @@ import unittest
from PySide2.QtCore import QUrl, QObject, SIGNAL, QCoreApplication, QTimer
from PySide2.QtNetwork import QUdpSocket, QHostAddress
+import py3kcompat as py3k
class HttpSignalsCase(unittest.TestCase):
'''Test case for bug #124 - readDatagram signature
@@ -57,7 +58,7 @@ class HttpSignalsCase(unittest.TestCase):
def sendPackage(self):
addr = QHostAddress(QHostAddress.LocalHost)
- self.socket.writeDatagram('datagram', addr, 45454)
+ self.socket.writeDatagram(py3k.b('datagram'), addr, 45454)
def callback(self):
while self.server.hasPendingDatagrams():
diff --git a/sources/pyside2/tests/QtOpenGL/qglbuffer_test.py b/sources/pyside2/tests/QtOpenGL/qglbuffer_test.py
index 1ec03347..07e028ef 100644
--- a/sources/pyside2/tests/QtOpenGL/qglbuffer_test.py
+++ b/sources/pyside2/tests/QtOpenGL/qglbuffer_test.py
@@ -49,7 +49,7 @@ class QGLBufferTest(UsesQApplication):
self.assertTrue(b.bufferId() != 0)
self.assertTrue(b.bind())
- data = QByteArray("12345")
+ data = QByteArray(py3k.b("12345"))
b.allocate(data)
self.assertEqual(b.size(), data.size())
diff --git a/sources/pyside2/tests/QtQml/bug_814.py b/sources/pyside2/tests/QtQml/bug_814.py
index a03431b5..31eada2d 100755
--- a/sources/pyside2/tests/QtQml/bug_814.py
+++ b/sources/pyside2/tests/QtQml/bug_814.py
@@ -49,7 +49,7 @@ class ListModel(QAbstractListModel):
QAbstractListModel.__init__(self)
def roleNames(self):
- return { Qt.DisplayRole: 'pysideModelData' }
+ return { Qt.DisplayRole: b'pysideModelData' }
def rowCount(self, parent = QModelIndex()):
return 3
diff --git a/sources/pyside2/tests/QtWebEngine/CMakeLists.txt b/sources/pyside2/tests/QtWebEngine/CMakeLists.txt
index 2f7cb08b..0e85a698 100644
--- a/sources/pyside2/tests/QtWebEngine/CMakeLists.txt
+++ b/sources/pyside2/tests/QtWebEngine/CMakeLists.txt
@@ -1 +1,29 @@
-# Please add some tests, here
+#############################################################################
+##
+## Copyright (C) 2018 The Qt Company Ltd.
+## Contact: https://www.qt.io/licensing/
+##
+## This file is part of the test suite of Qt for Python.
+##
+## $QT_BEGIN_LICENSE:GPL-EXCEPT$
+## Commercial License Usage
+## Licensees holding valid commercial Qt licenses may use this file in
+## accordance with the commercial license agreement provided with the
+## Software or, alternatively, in accordance with the terms contained in
+## a written agreement between you and The Qt Company. For licensing terms
+## and conditions see https://www.qt.io/terms-conditions. For further
+## information use the contact form at https://www.qt.io/contact-us.
+##
+## GNU General Public License Usage
+## Alternatively, this file may be used under the terms of the GNU
+## General Public License version 3 as published by the Free Software
+## Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+## included in the packaging of this file. Please review the following
+## information to ensure the GNU General Public License requirements will
+## be met: https://www.gnu.org/licenses/gpl-3.0.html.
+##
+## $QT_END_LICENSE$
+##
+#############################################################################
+
+PYSIDE_TEST(web_engine_initialize.py)
diff --git a/sources/pyside2/tests/QtWebEngine/web_engine_initialize.py b/sources/pyside2/tests/QtWebEngine/web_engine_initialize.py
new file mode 100644
index 00000000..f6abeb9c
--- /dev/null
+++ b/sources/pyside2/tests/QtWebEngine/web_engine_initialize.py
@@ -0,0 +1,46 @@
+#############################################################################
+##
+## Copyright (C) 2018 The Qt Company Ltd.
+## Contact: https://www.qt.io/licensing/
+##
+## This file is part of the test suite of Qt for Python.
+##
+## $QT_BEGIN_LICENSE:GPL-EXCEPT$
+## Commercial License Usage
+## Licensees holding valid commercial Qt licenses may use this file in
+## accordance with the commercial license agreement provided with the
+## Software or, alternatively, in accordance with the terms contained in
+## a written agreement between you and The Qt Company. For licensing terms
+## and conditions see https://www.qt.io/terms-conditions. For further
+## information use the contact form at https://www.qt.io/contact-us.
+##
+## GNU General Public License Usage
+## Alternatively, this file may be used under the terms of the GNU
+## General Public License version 3 as published by the Free Software
+## Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+## included in the packaging of this file. Please review the following
+## information to ensure the GNU General Public License requirements will
+## be met: https://www.gnu.org/licenses/gpl-3.0.html.
+##
+## $QT_END_LICENSE$
+##
+#############################################################################
+
+from __future__ import print_function
+
+import unittest
+
+from PySide2.QtCore import QTimer
+from PySide2.QtWebEngine import QtWebEngine
+from PySide2.QtWidgets import QApplication
+
+
+class MainTest(unittest.TestCase):
+ def test_initializePresent(self):
+ app = QApplication([])
+ QtWebEngine.initialize()
+ QTimer.singleShot(2000, app.quit)
+ app.exec_()
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/sources/pyside2/tests/QtWebEngineCore/web_engine_custom_scheme.py b/sources/pyside2/tests/QtWebEngineCore/web_engine_custom_scheme.py
index 2a110742..8da2b45f 100644
--- a/sources/pyside2/tests/QtWebEngineCore/web_engine_custom_scheme.py
+++ b/sources/pyside2/tests/QtWebEngineCore/web_engine_custom_scheme.py
@@ -34,6 +34,7 @@ from PySide2.QtCore import QBuffer, QTimer
from PySide2.QtWidgets import QApplication
from PySide2.QtWebEngineWidgets import QWebEngineView, QWebEngineProfile
from PySide2.QtWebEngineCore import QWebEngineUrlSchemeHandler
+import py3kcompat as py3k
class TestSchemeHandler(QWebEngineUrlSchemeHandler):
def requestStarted(self, request):
@@ -42,16 +43,16 @@ class TestSchemeHandler(QWebEngineUrlSchemeHandler):
return
self.buffer = QBuffer()
- self.buffer.setData("Really nice goodbye text.")
+ self.buffer.setData(py3k.b("Really nice goodbye text."))
self.buffer.aboutToClose.connect(self.buffer.deleteLater)
- request.reply("text/plain;charset=utf-8", self.buffer)
+ request.reply(py3k.b("text/plain;charset=utf-8"), self.buffer)
class MainTest(unittest.TestCase):
def test_SchemeHandlerRedirect(self):
app = QApplication([])
handler = TestSchemeHandler()
profile = QWebEngineProfile.defaultProfile()
- profile.installUrlSchemeHandler("testpy", handler)
+ profile.installUrlSchemeHandler(py3k.b("testpy"), handler)
view = QWebEngineView()
view.loadFinished.connect(app.quit)
QTimer.singleShot(5000, app.quit)
diff --git a/sources/pyside2/tests/QtWidgets/bug_668.py b/sources/pyside2/tests/QtWidgets/bug_668.py
index 27c73c66..05cffa39 100644
--- a/sources/pyside2/tests/QtWidgets/bug_668.py
+++ b/sources/pyside2/tests/QtWidgets/bug_668.py
@@ -42,6 +42,8 @@ class A(QMainWindow):
v = QTreeView(self)
v.setModel(a)
self.setCentralWidget(v)
+ # Test index() method (see PYSIDE-570, PYSIDE-331)
+ index = a.index(0, 0, QModelIndex())
app = QApplication([])
m = A()
diff --git a/sources/pyside2/tests/QtXml/qdomdocument_test.py b/sources/pyside2/tests/QtXml/qdomdocument_test.py
index 2af37b01..63f9fd43 100644
--- a/sources/pyside2/tests/QtXml/qdomdocument_test.py
+++ b/sources/pyside2/tests/QtXml/qdomdocument_test.py
@@ -29,26 +29,28 @@
#############################################################################
import unittest
+
from PySide2.QtCore import QByteArray
from PySide2.QtXml import QDomDocument, QDomElement
+import py3kcompat as py3k
class QDomDocumentTest(unittest.TestCase):
def setUp(self):
self.dom = QDomDocument()
- self.goodXmlData = QByteArray('''
+ self.goodXmlData = QByteArray(py3k.b('''
<typesystem package="PySide2.QtXml">
<value-type name="QDomDocument"/>
<value-type name="QDomElement"/>
</typesystem>
- ''')
+ '''))
- self.badXmlData = QByteArray('''
+ self.badXmlData = QByteArray(py3k.b('''
<typesystem package="PySide2.QtXml">
<value-type name="QDomDocument">
</typesystem>
- ''')
+ '''))
def tearDown(self):
del self.dom
diff --git a/sources/pyside2/tests/QtXmlPatterns/import_test.py b/sources/pyside2/tests/QtXmlPatterns/import_test.py
index 26f74036..bbbb7da0 100644
--- a/sources/pyside2/tests/QtXmlPatterns/import_test.py
+++ b/sources/pyside2/tests/QtXmlPatterns/import_test.py
@@ -32,18 +32,19 @@ import unittest
from PySide2.QtCore import *
from PySide2.QtXmlPatterns import QXmlSchema
from helper import UsesQCoreApplication
+import py3kcompat as py3k
class QXmlPatternsTest(UsesQCoreApplication):
def testSchema(self):
- data = QByteArray('''<?xml version=\"1.0\" encoding=\"UTF-8\"?>
+ data = QByteArray(py3k.b('''<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<xsd:schema
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
xmlns=\"http://qt.nokia.com/xmlschematest\"
targetNamespace=\"http://qt.nokia.com/xmlschematest\"
version=\"1.0\"
elementFormDefault=\"qualified\">
- </xsd:schema>''')
+ </xsd:schema>'''))
buf = QBuffer(data)
buf.open(QIODevice.ReadOnly)
diff --git a/sources/pyside2/tests/registry/existence_test.py b/sources/pyside2/tests/registry/existence_test.py
index ef2a9b80..6e870385 100644
--- a/sources/pyside2/tests/registry/existence_test.py
+++ b/sources/pyside2/tests/registry/existence_test.py
@@ -81,6 +81,16 @@ if have_refmodule and not hasattr(sig_exists, "dict"):
os.unlink(effectiveRefPath)
have_refmodule = False
+def formatSignatures(signatures):
+ result = ''
+ for s in signatures:
+ result += ' ({})'.format(','.join(s))
+ return result
+
+def msgMultiSignatureCount(key, actual, expected):
+ return "multi-signature count mismatch for '{}'. Actual {} [{}] vs. expected {} [{}]')".format(key,
+ len(actual), formatSignatures(actual),
+ len(expected), formatSignatures(expected))
@unittest.skipIf(not have_refmodule,
"not activated for this platform or version")
@@ -101,7 +111,7 @@ class TestSignaturesExists(unittest.TestCase):
if key not in found_sigs:
warn("missing key: '{}'".format(key))
elif isinstance(value, list) and len(value) != len(found_sigs[key]):
- warn("multi-signature count mismatch: '{}'".format(key))
+ warn(msgMultiSignatureCount(key, found_sigs[key], value))
if is_ci and check_warnings():
raise RuntimeError("There are errors, see above.")
@@ -117,7 +127,7 @@ class TestSignaturesExists(unittest.TestCase):
if key not in found_sigs:
warn("missing key: '{}'".format(key))
elif isinstance(value, list) and len(value) != len(found_sigs[key]):
- warn("multi-signature count mismatch: '{}'".format(key))
+ warn(msgMultiSignatureCount(key, found_sigs[key], value))
self.assertTrue(check_warnings())
tested_versions = (5, 6), (5, 9), (5, 11)
diff --git a/sources/pyside2/tests/registry/exists_darwin_5_11_1_ci.py b/sources/pyside2/tests/registry/exists_darwin_5_11_1_ci.py
new file mode 100644
index 00000000..206ddfca
--- /dev/null
+++ b/sources/pyside2/tests/registry/exists_darwin_5_11_1_ci.py
@@ -0,0 +1,18733 @@
+#############################################################################
+##
+## Copyright (C) 2018 The Qt Company Ltd.
+## Contact: https://www.qt.io/licensing/
+##
+## This file is part of Qt for Python.
+##
+## $QT_BEGIN_LICENSE:LGPL$
+## Commercial License Usage
+## Licensees holding valid commercial Qt licenses may use this file in
+## accordance with the commercial license agreement provided with the
+## Software or, alternatively, in accordance with the terms contained in
+## a written agreement between you and The Qt Company. For licensing terms
+## and conditions see https://www.qt.io/terms-conditions. For further
+## information use the contact form at https://www.qt.io/contact-us.
+##
+## GNU Lesser General Public License Usage
+## Alternatively, this file may be used under the terms of the GNU Lesser
+## General Public License version 3 as published by the Free Software
+## Foundation and appearing in the file LICENSE.LGPL3 included in the
+## packaging of this file. Please review the following information to
+## ensure the GNU Lesser General Public License version 3 requirements
+## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
+##
+## GNU General Public License Usage
+## Alternatively, this file may be used under the terms of the GNU
+## General Public License version 2.0 or (at your option) the GNU General
+## Public license version 3 or any later version approved by the KDE Free
+## Qt Foundation. The licenses are as published by the Free Software
+## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
+## included in the packaging of this file. Please review the following
+## information to ensure the GNU General Public License requirements will
+## be met: https://www.gnu.org/licenses/gpl-2.0.html and
+## https://www.gnu.org/licenses/gpl-3.0.html.
+##
+## $QT_END_LICENSE$
+##
+#############################################################################
+
+"""
+This file contains the simplified signatures for all functions in PySide
+for module 'exists_darwin_5_11_1_ci'. There are no default values, no variable
+names and no self parameter. Only types are present after simplification.
+The functions 'next' resp. '__next__' are removed
+to make the output identical for Python 2 and 3.
+"""
+
+import sys
+
+dict = {}
+
+# Module PySide2.QtCore
+if "PySide2.QtCore" in sys.modules:
+ dict.update({
+
+ # class PySide2.QtCore.ClassInfo:
+
+ # class PySide2.QtCore.MetaFunction:
+
+ # class PySide2.QtCore.Property:
+
+ # class PySide2.QtCore.QAbstractAnimation:
+ "QAbstractAnimation.__init__": ('PySide2.QtCore.QObject',),
+ "QAbstractAnimation.currentLoop": (),
+ "QAbstractAnimation.currentLoopTime": (),
+ "QAbstractAnimation.currentTime": (),
+ "QAbstractAnimation.direction": (),
+ "QAbstractAnimation.duration": (),
+ "QAbstractAnimation.event": ('PySide2.QtCore.QEvent',),
+ "QAbstractAnimation.group": (),
+ "QAbstractAnimation.loopCount": (),
+ "QAbstractAnimation.pause": (),
+ "QAbstractAnimation.resume": (),
+ "QAbstractAnimation.setCurrentTime": ('int',),
+ "QAbstractAnimation.setDirection": ('PySide2.QtCore.QAbstractAnimation.Direction',),
+ "QAbstractAnimation.setLoopCount": ('int',),
+ "QAbstractAnimation.setPaused": ('bool',),
+ "QAbstractAnimation.start": ('PySide2.QtCore.QAbstractAnimation.DeletionPolicy',),
+ "QAbstractAnimation.state": (),
+ "QAbstractAnimation.stop": (),
+ "QAbstractAnimation.totalDuration": (),
+ "QAbstractAnimation.updateCurrentTime": ('int',),
+ "QAbstractAnimation.updateDirection": ('PySide2.QtCore.QAbstractAnimation.Direction',),
+ "QAbstractAnimation.updateState": ('PySide2.QtCore.QAbstractAnimation.State', 'PySide2.QtCore.QAbstractAnimation.State'),
+
+ # class PySide2.QtCore.QAbstractEventDispatcher:
+ "QAbstractEventDispatcher.__init__": ('PySide2.QtCore.QObject',),
+ "QAbstractEventDispatcher.closingDown": (),
+ "QAbstractEventDispatcher.flush": (),
+ "QAbstractEventDispatcher.hasPendingEvents": (),
+ "QAbstractEventDispatcher.instance": ('PySide2.QtCore.QThread',),
+ "QAbstractEventDispatcher.interrupt": (),
+ "QAbstractEventDispatcher.processEvents": ('PySide2.libpyside.ProcessEventsFlags',),
+ "QAbstractEventDispatcher.registerSocketNotifier": ('PySide2.QtCore.QSocketNotifier',),
+ "QAbstractEventDispatcher.registerTimer": [('int', 'PySide2.QtCore.Qt.TimerType', 'PySide2.QtCore.QObject'), ('int', 'int', 'PySide2.QtCore.Qt.TimerType', 'PySide2.QtCore.QObject')],
+ "QAbstractEventDispatcher.registeredTimers": ('PySide2.QtCore.QObject',),
+ "QAbstractEventDispatcher.remainingTime": ('int',),
+ "QAbstractEventDispatcher.startingUp": (),
+ "QAbstractEventDispatcher.unregisterSocketNotifier": ('PySide2.QtCore.QSocketNotifier',),
+ "QAbstractEventDispatcher.unregisterTimer": ('int',),
+ "QAbstractEventDispatcher.unregisterTimers": ('PySide2.QtCore.QObject',),
+ "QAbstractEventDispatcher.wakeUp": (),
+
+ # class PySide2.QtCore.QAbstractItemModel:
+ "QAbstractItemModel.__init__": ('PySide2.QtCore.QObject',),
+ "QAbstractItemModel.beginInsertColumns": ('PySide2.QtCore.QModelIndex', 'int', 'int'),
+ "QAbstractItemModel.beginInsertRows": ('PySide2.QtCore.QModelIndex', 'int', 'int'),
+ "QAbstractItemModel.beginMoveColumns": ('PySide2.QtCore.QModelIndex', 'int', 'int', 'PySide2.QtCore.QModelIndex', 'int'),
+ "QAbstractItemModel.beginMoveRows": ('PySide2.QtCore.QModelIndex', 'int', 'int', 'PySide2.QtCore.QModelIndex', 'int'),
+ "QAbstractItemModel.beginRemoveColumns": ('PySide2.QtCore.QModelIndex', 'int', 'int'),
+ "QAbstractItemModel.beginRemoveRows": ('PySide2.QtCore.QModelIndex', 'int', 'int'),
+ "QAbstractItemModel.beginResetModel": (),
+ "QAbstractItemModel.buddy": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractItemModel.canDropMimeData": ('PySide2.QtCore.QMimeData', 'PySide2.QtCore.Qt.DropAction', 'int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractItemModel.canFetchMore": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractItemModel.changePersistentIndex": ('PySide2.QtCore.QModelIndex', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractItemModel.changePersistentIndexList": ('List[int]', 'List[int]'),
+ "QAbstractItemModel.checkIndex": ('PySide2.QtCore.QModelIndex', 'PySide2.libpyside.CheckIndexOptions'),
+ "QAbstractItemModel.columnCount": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractItemModel.createIndex": [('int', 'int', 'int'), ('int', 'int', 'object')],
+ "QAbstractItemModel.data": ('PySide2.QtCore.QModelIndex', 'int'),
+ "QAbstractItemModel.decodeData": ('int', 'int', 'PySide2.QtCore.QModelIndex', 'PySide2.QtCore.QDataStream'),
+ "QAbstractItemModel.dropMimeData": ('PySide2.QtCore.QMimeData', 'PySide2.QtCore.Qt.DropAction', 'int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractItemModel.encodeData": ('List[int]', 'PySide2.QtCore.QDataStream'),
+ "QAbstractItemModel.endInsertColumns": (),
+ "QAbstractItemModel.endInsertRows": (),
+ "QAbstractItemModel.endMoveColumns": (),
+ "QAbstractItemModel.endMoveRows": (),
+ "QAbstractItemModel.endRemoveColumns": (),
+ "QAbstractItemModel.endRemoveRows": (),
+ "QAbstractItemModel.endResetModel": (),
+ "QAbstractItemModel.fetchMore": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractItemModel.flags": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractItemModel.hasChildren": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractItemModel.hasIndex": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractItemModel.headerData": ('int', 'PySide2.QtCore.Qt.Orientation', 'int'),
+ "QAbstractItemModel.index": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractItemModel.insertColumn": ('int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractItemModel.insertColumns": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractItemModel.insertRow": ('int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractItemModel.insertRows": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractItemModel.itemData": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractItemModel.match": ('PySide2.QtCore.QModelIndex', 'int', 'Any', 'int', 'PySide2.libpyside.MatchFlags'),
+ "QAbstractItemModel.mimeData": ('List[int]',),
+ "QAbstractItemModel.mimeTypes": (),
+ "QAbstractItemModel.moveColumn": ('PySide2.QtCore.QModelIndex', 'int', 'PySide2.QtCore.QModelIndex', 'int'),
+ "QAbstractItemModel.moveColumns": ('PySide2.QtCore.QModelIndex', 'int', 'int', 'PySide2.QtCore.QModelIndex', 'int'),
+ "QAbstractItemModel.moveRow": ('PySide2.QtCore.QModelIndex', 'int', 'PySide2.QtCore.QModelIndex', 'int'),
+ "QAbstractItemModel.moveRows": ('PySide2.QtCore.QModelIndex', 'int', 'int', 'PySide2.QtCore.QModelIndex', 'int'),
+ "QAbstractItemModel.parent": [(), ('PySide2.QtCore.QModelIndex',)],
+ "QAbstractItemModel.persistentIndexList": (),
+ "QAbstractItemModel.removeColumn": ('int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractItemModel.removeColumns": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractItemModel.removeRow": ('int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractItemModel.removeRows": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractItemModel.resetInternalData": (),
+ "QAbstractItemModel.revert": (),
+ "QAbstractItemModel.roleNames": (),
+ "QAbstractItemModel.rowCount": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractItemModel.setData": ('PySide2.QtCore.QModelIndex', 'Any', 'int'),
+ "QAbstractItemModel.setHeaderData": ('int', 'PySide2.QtCore.Qt.Orientation', 'Any', 'int'),
+ "QAbstractItemModel.setItemData": ('PySide2.QtCore.QModelIndex', 'dict'),
+ "QAbstractItemModel.sibling": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractItemModel.sort": ('int', 'PySide2.QtCore.Qt.SortOrder'),
+ "QAbstractItemModel.span": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractItemModel.submit": (),
+ "QAbstractItemModel.supportedDragActions": (),
+ "QAbstractItemModel.supportedDropActions": (),
+
+ # class PySide2.QtCore.QAbstractListModel:
+ "QAbstractListModel.__init__": ('PySide2.QtCore.QObject',),
+ "QAbstractListModel.columnCount": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractListModel.dropMimeData": ('PySide2.QtCore.QMimeData', 'PySide2.QtCore.Qt.DropAction', 'int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractListModel.flags": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractListModel.hasChildren": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractListModel.index": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractListModel.parent": [(), ('PySide2.QtCore.QModelIndex',)],
+ "QAbstractListModel.sibling": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+
+ # class PySide2.QtCore.QAbstractProxyModel:
+ "QAbstractProxyModel.__init__": ('PySide2.QtCore.QObject',),
+ "QAbstractProxyModel.buddy": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractProxyModel.canDropMimeData": ('PySide2.QtCore.QMimeData', 'PySide2.QtCore.Qt.DropAction', 'int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractProxyModel.canFetchMore": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractProxyModel.data": ('PySide2.QtCore.QModelIndex', 'int'),
+ "QAbstractProxyModel.dropMimeData": ('PySide2.QtCore.QMimeData', 'PySide2.QtCore.Qt.DropAction', 'int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractProxyModel.fetchMore": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractProxyModel.flags": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractProxyModel.hasChildren": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractProxyModel.headerData": ('int', 'PySide2.QtCore.Qt.Orientation', 'int'),
+ "QAbstractProxyModel.itemData": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractProxyModel.mapFromSource": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractProxyModel.mapSelectionFromSource": ('PySide2.QtCore.QItemSelection',),
+ "QAbstractProxyModel.mapSelectionToSource": ('PySide2.QtCore.QItemSelection',),
+ "QAbstractProxyModel.mapToSource": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractProxyModel.mimeData": ('List[int]',),
+ "QAbstractProxyModel.mimeTypes": (),
+ "QAbstractProxyModel.resetInternalData": (),
+ "QAbstractProxyModel.revert": (),
+ "QAbstractProxyModel.setData": ('PySide2.QtCore.QModelIndex', 'Any', 'int'),
+ "QAbstractProxyModel.setHeaderData": ('int', 'PySide2.QtCore.Qt.Orientation', 'Any', 'int'),
+ "QAbstractProxyModel.setItemData": ('PySide2.QtCore.QModelIndex', 'dict'),
+ "QAbstractProxyModel.setSourceModel": ('PySide2.QtCore.QAbstractItemModel',),
+ "QAbstractProxyModel.sibling": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractProxyModel.sort": ('int', 'PySide2.QtCore.Qt.SortOrder'),
+ "QAbstractProxyModel.sourceModel": (),
+ "QAbstractProxyModel.span": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractProxyModel.submit": (),
+ "QAbstractProxyModel.supportedDragActions": (),
+ "QAbstractProxyModel.supportedDropActions": (),
+
+ # class PySide2.QtCore.QAbstractState:
+ "QAbstractState.__init__": ('PySide2.QtCore.QState',),
+ "QAbstractState.active": (),
+ "QAbstractState.event": ('PySide2.QtCore.QEvent',),
+ "QAbstractState.machine": (),
+ "QAbstractState.onEntry": ('PySide2.QtCore.QEvent',),
+ "QAbstractState.onExit": ('PySide2.QtCore.QEvent',),
+ "QAbstractState.parentState": (),
+
+ # class PySide2.QtCore.QAbstractTableModel:
+ "QAbstractTableModel.__init__": ('PySide2.QtCore.QObject',),
+ "QAbstractTableModel.dropMimeData": ('PySide2.QtCore.QMimeData', 'PySide2.QtCore.Qt.DropAction', 'int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractTableModel.flags": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractTableModel.hasChildren": ('PySide2.QtCore.QModelIndex',),
+ "QAbstractTableModel.index": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QAbstractTableModel.parent": [(), ('PySide2.QtCore.QModelIndex',)],
+ "QAbstractTableModel.sibling": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+
+ # class PySide2.QtCore.QAbstractTransition:
+ "QAbstractTransition.__init__": ('PySide2.QtCore.QState',),
+ "QAbstractTransition.addAnimation": ('PySide2.QtCore.QAbstractAnimation',),
+ "QAbstractTransition.animations": (),
+ "QAbstractTransition.event": ('PySide2.QtCore.QEvent',),
+ "QAbstractTransition.eventTest": ('PySide2.QtCore.QEvent',),
+ "QAbstractTransition.machine": (),
+ "QAbstractTransition.onTransition": ('PySide2.QtCore.QEvent',),
+ "QAbstractTransition.removeAnimation": ('PySide2.QtCore.QAbstractAnimation',),
+ "QAbstractTransition.setTargetState": ('PySide2.QtCore.QAbstractState',),
+ "QAbstractTransition.setTargetStates": ('list',),
+ "QAbstractTransition.setTransitionType": ('PySide2.QtCore.QAbstractTransition.TransitionType',),
+ "QAbstractTransition.sourceState": (),
+ "QAbstractTransition.targetState": (),
+ "QAbstractTransition.targetStates": (),
+ "QAbstractTransition.transitionType": (),
+
+ # class PySide2.QtCore.QAnimationGroup:
+ "QAnimationGroup.__init__": ('PySide2.QtCore.QObject',),
+ "QAnimationGroup.addAnimation": ('PySide2.QtCore.QAbstractAnimation',),
+ "QAnimationGroup.animationAt": ('int',),
+ "QAnimationGroup.animationCount": (),
+ "QAnimationGroup.clear": (),
+ "QAnimationGroup.event": ('PySide2.QtCore.QEvent',),
+ "QAnimationGroup.indexOfAnimation": ('PySide2.QtCore.QAbstractAnimation',),
+ "QAnimationGroup.insertAnimation": ('int', 'PySide2.QtCore.QAbstractAnimation'),
+ "QAnimationGroup.removeAnimation": ('PySide2.QtCore.QAbstractAnimation',),
+ "QAnimationGroup.takeAnimation": ('int',),
+
+ # class PySide2.QtCore.QBasicMutex:
+ "QBasicMutex.__init__": (),
+ "QBasicMutex.isRecursive": (),
+ "QBasicMutex.lock": (),
+ "QBasicMutex.tryLock": (),
+ "QBasicMutex.try_lock": (),
+ "QBasicMutex.unlock": (),
+
+ # class PySide2.QtCore.QBasicTimer:
+ "QBasicTimer.__init__": [(), ('PySide2.QtCore.QBasicTimer',)],
+ "QBasicTimer.__copy__": (),
+ "QBasicTimer.isActive": (),
+ "QBasicTimer.start": [('int', 'PySide2.QtCore.QObject'), ('int', 'PySide2.QtCore.Qt.TimerType', 'PySide2.QtCore.QObject')],
+ "QBasicTimer.stop": (),
+ "QBasicTimer.timerId": (),
+
+ # class PySide2.QtCore.QBitArray:
+ "QBitArray.__init__": [(), ('PySide2.QtCore.QBitArray',), ('int', 'bool')],
+ "QBitArray.__copy__": (),
+ "QBitArray.at": ('int',),
+ "QBitArray.bits": (),
+ "QBitArray.clear": (),
+ "QBitArray.clearBit": ('int',),
+ "QBitArray.count": [(), ('bool',)],
+ "QBitArray.fill": [('bool', 'int'), ('bool', 'int', 'int')],
+ "QBitArray.isEmpty": (),
+ "QBitArray.isNull": (),
+ "QBitArray.resize": ('int',),
+ "QBitArray.setBit": [('int',), ('int', 'bool')],
+ "QBitArray.size": (),
+ "QBitArray.swap": ('PySide2.QtCore.QBitArray',),
+ "QBitArray.testBit": ('int',),
+ "QBitArray.toggleBit": ('int',),
+ "QBitArray.truncate": ('int',),
+
+ # class PySide2.QtCore.QBuffer:
+ "QBuffer.__init__": [('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QObject',)],
+ "QBuffer.atEnd": (),
+ "QBuffer.buffer": (),
+ "QBuffer.canReadLine": (),
+ "QBuffer.close": (),
+ "QBuffer.connectNotify": ('PySide2.QtCore.QMetaMethod',),
+ "QBuffer.data": (),
+ "QBuffer.disconnectNotify": ('PySide2.QtCore.QMetaMethod',),
+ "QBuffer.open": ('PySide2.libpyside.OpenMode',),
+ "QBuffer.pos": (),
+ "QBuffer.readData": ('str', 'int'),
+ "QBuffer.seek": ('int',),
+ "QBuffer.setBuffer": ('PySide2.QtCore.QByteArray',),
+ "QBuffer.setData": ('PySide2.QtCore.QByteArray',),
+ "QBuffer.size": (),
+ "QBuffer.writeData": ('str', 'int'),
+
+ # class PySide2.QtCore.QByteArray:
+ "QByteArray.__init__": [(), ('PySide2.QtCore.QByteArray',), ('bytearray',), ('int', 'Union[str, int]'), ('str',)],
+ "QByteArray.__copy__": (),
+ "QByteArray.__reduce__": (),
+ "QByteArray.append": [('PySide2.QtCore.QByteArray',), ('Union[str, int]',), ('int', 'Union[str, int]')],
+ "QByteArray.at": ('int',),
+ "QByteArray.back": (),
+ "QByteArray.capacity": (),
+ "QByteArray.cbegin": (),
+ "QByteArray.cend": (),
+ "QByteArray.chop": ('int',),
+ "QByteArray.chopped": ('int',),
+ "QByteArray.clear": (),
+ "QByteArray.contains": [('PySide2.QtCore.QByteArray',), ('Union[str, int]',)],
+ "QByteArray.count": [(), ('PySide2.QtCore.QByteArray',), ('Union[str, int]',)],
+ "QByteArray.data": (),
+ "QByteArray.endsWith": [('PySide2.QtCore.QByteArray',), ('Union[str, int]',)],
+ "QByteArray.fill": ('Union[str, int]', 'int'),
+ "QByteArray.fromBase64": [('PySide2.QtCore.QByteArray',), ('PySide2.QtCore.QByteArray', 'PySide2.libpyside.Base64Options')],
+ "QByteArray.fromHex": ('PySide2.QtCore.QByteArray',),
+ "QByteArray.fromPercentEncoding": ('PySide2.QtCore.QByteArray', 'Union[str, int]'),
+ "QByteArray.fromRawData": ('str', 'int'),
+ "QByteArray.front": (),
+ "QByteArray.indexOf": ('PySide2.QtCore.QByteArray', 'int'),
+ "QByteArray.insert": [('int', 'PySide2.QtCore.QByteArray'), ('int', 'int', 'Union[str, int]')],
+ "QByteArray.isEmpty": (),
+ "QByteArray.isNull": (),
+ "QByteArray.isSharedWith": ('PySide2.QtCore.QByteArray',),
+ "QByteArray.lastIndexOf": ('PySide2.QtCore.QByteArray', 'int'),
+ "QByteArray.left": ('int',),
+ "QByteArray.leftJustified": ('int', 'Union[str, int]', 'bool'),
+ "QByteArray.length": (),
+ "QByteArray.mid": ('int', 'int'),
+ "QByteArray.number": [('float', 'Union[str, int]', 'int'), ('int', 'int')],
+ "QByteArray.prepend": [('PySide2.QtCore.QByteArray',), ('Union[str, int]',), ('int', 'Union[str, int]')],
+ "QByteArray.remove": ('int', 'int'),
+ "QByteArray.repeated": ('int',),
+ "QByteArray.replace": [('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QByteArray'), ('Union[str, int]', 'PySide2.QtCore.QByteArray'), ('Union[str, int]', 'Union[str, int]'), ('int', 'int', 'PySide2.QtCore.QByteArray'), ('str', 'PySide2.QtCore.QByteArray')],
+ "QByteArray.reserve": ('int',),
+ "QByteArray.resize": ('int',),
+ "QByteArray.right": ('int',),
+ "QByteArray.rightJustified": ('int', 'Union[str, int]', 'bool'),
+ "QByteArray.setNum": [('float', 'Union[str, int]', 'int'), ('int', 'int')],
+ "QByteArray.setRawData": ('str', 'int'),
+ "QByteArray.shrink_to_fit": (),
+ "QByteArray.simplified": (),
+ "QByteArray.size": (),
+ "QByteArray.split": ('Union[str, int]',),
+ "QByteArray.squeeze": (),
+ "QByteArray.startsWith": [('PySide2.QtCore.QByteArray',), ('Union[str, int]',)],
+ "QByteArray.swap": ('PySide2.QtCore.QByteArray',),
+ "QByteArray.toBase64": [(), ('PySide2.libpyside.Base64Options',)],
+ "QByteArray.toDouble": ('bool',),
+ "QByteArray.toFloat": ('bool',),
+ "QByteArray.toHex": [(), ('Union[str, int]',)],
+ "QByteArray.toInt": ('bool', 'int'),
+ "QByteArray.toLong": ('bool', 'int'),
+ "QByteArray.toLongLong": ('bool', 'int'),
+ "QByteArray.toLower": (),
+ "QByteArray.toPercentEncoding": ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QByteArray', 'Union[str, int]'),
+ "QByteArray.toShort": ('bool', 'int'),
+ "QByteArray.toUInt": ('bool', 'int'),
+ "QByteArray.toULong": ('bool', 'int'),
+ "QByteArray.toULongLong": ('bool', 'int'),
+ "QByteArray.toUShort": ('bool', 'int'),
+ "QByteArray.toUpper": (),
+ "QByteArray.trimmed": (),
+ "QByteArray.truncate": ('int',),
+
+ # class PySide2.QtCore.QByteArrayMatcher:
+ "QByteArrayMatcher.__init__": [(), ('PySide2.QtCore.QByteArray',), ('PySide2.QtCore.QByteArrayMatcher',), ('str', 'int')],
+ "QByteArrayMatcher.__copy__": (),
+ "QByteArrayMatcher.indexIn": [('PySide2.QtCore.QByteArray', 'int'), ('str', 'int', 'int')],
+ "QByteArrayMatcher.pattern": (),
+ "QByteArrayMatcher.setPattern": ('PySide2.QtCore.QByteArray',),
+
+ # class PySide2.QtCore.QChildEvent:
+ "QChildEvent.__init__": ('PySide2.QtCore.QEvent.Type', 'PySide2.QtCore.QObject'),
+ "QChildEvent.added": (),
+ "QChildEvent.child": (),
+ "QChildEvent.polished": (),
+ "QChildEvent.removed": (),
+
+ # class PySide2.QtCore.QCollator:
+ "QCollator.__init__": [('PySide2.QtCore.QCollator',), ('PySide2.QtCore.QLocale',)],
+ "QCollator.caseSensitivity": (),
+ "QCollator.compare": [('Union[str, int]', 'int', 'Union[str, int]', 'int'), ('str', 'str')],
+ "QCollator.ignorePunctuation": (),
+ "QCollator.locale": (),
+ "QCollator.numericMode": (),
+ "QCollator.setCaseSensitivity": ('PySide2.QtCore.Qt.CaseSensitivity',),
+ "QCollator.setIgnorePunctuation": ('bool',),
+ "QCollator.setLocale": ('PySide2.QtCore.QLocale',),
+ "QCollator.setNumericMode": ('bool',),
+ "QCollator.sortKey": ('str',),
+ "QCollator.swap": ('PySide2.QtCore.QCollator',),
+
+ # class PySide2.QtCore.QCollatorSortKey:
+ "QCollatorSortKey.__init__": ('PySide2.QtCore.QCollatorSortKey',),
+ "QCollatorSortKey.compare": ('PySide2.QtCore.QCollatorSortKey',),
+ "QCollatorSortKey.swap": ('PySide2.QtCore.QCollatorSortKey',),
+
+ # class PySide2.QtCore.QCommandLineOption:
+ "QCommandLineOption.__init__": [('List[str]',), ('List[str]', 'str', 'str', 'str'), ('PySide2.QtCore.QCommandLineOption',), ('str',), ('str', 'str', 'str', 'str')],
+ "QCommandLineOption.defaultValues": (),
+ "QCommandLineOption.description": (),
+ "QCommandLineOption.flags": (),
+ "QCommandLineOption.isHidden": (),
+ "QCommandLineOption.names": (),
+ "QCommandLineOption.setDefaultValue": ('str',),
+ "QCommandLineOption.setDefaultValues": ('List[str]',),
+ "QCommandLineOption.setDescription": ('str',),
+ "QCommandLineOption.setFlags": ('PySide2.libpyside.Flags',),
+ "QCommandLineOption.setHidden": ('bool',),
+ "QCommandLineOption.setValueName": ('str',),
+ "QCommandLineOption.swap": ('PySide2.QtCore.QCommandLineOption',),
+ "QCommandLineOption.valueName": (),
+
+ # class PySide2.QtCore.QCommandLineParser:
+ "QCommandLineParser.__init__": (),
+ "QCommandLineParser.addHelpOption": (),
+ "QCommandLineParser.addOption": ('PySide2.QtCore.QCommandLineOption',),
+ "QCommandLineParser.addOptions": ('list',),
+ "QCommandLineParser.addPositionalArgument": ('str', 'str', 'str'),
+ "QCommandLineParser.addVersionOption": (),
+ "QCommandLineParser.applicationDescription": (),
+ "QCommandLineParser.clearPositionalArguments": (),
+ "QCommandLineParser.errorText": (),
+ "QCommandLineParser.helpText": (),
+ "QCommandLineParser.isSet": [('PySide2.QtCore.QCommandLineOption',), ('str',)],
+ "QCommandLineParser.optionNames": (),
+ "QCommandLineParser.parse": ('List[str]',),
+ "QCommandLineParser.positionalArguments": (),
+ "QCommandLineParser.process": [('List[str]',), ('PySide2.QtCore.QCoreApplication',)],
+ "QCommandLineParser.setApplicationDescription": ('str',),
+ "QCommandLineParser.setOptionsAfterPositionalArgumentsMode": ('PySide2.QtCore.QCommandLineParser.OptionsAfterPositionalArgumentsMode',),
+ "QCommandLineParser.setSingleDashWordOptionMode": ('PySide2.QtCore.QCommandLineParser.SingleDashWordOptionMode',),
+ "QCommandLineParser.showHelp": ('int',),
+ "QCommandLineParser.showVersion": (),
+ "QCommandLineParser.unknownOptionNames": (),
+ "QCommandLineParser.value": [('PySide2.QtCore.QCommandLineOption',), ('str',)],
+ "QCommandLineParser.values": [('PySide2.QtCore.QCommandLineOption',), ('str',)],
+
+ # class PySide2.QtCore.QCoreApplication:
+ "QCoreApplication.__init__": [(), ('List[str]',)],
+ "QCoreApplication.addLibraryPath": ('str',),
+ "QCoreApplication.applicationDirPath": (),
+ "QCoreApplication.applicationFilePath": (),
+ "QCoreApplication.applicationName": (),
+ "QCoreApplication.applicationPid": (),
+ "QCoreApplication.applicationVersion": (),
+ "QCoreApplication.arguments": (),
+ "QCoreApplication.closingDown": (),
+ "QCoreApplication.event": ('PySide2.QtCore.QEvent',),
+ "QCoreApplication.eventDispatcher": (),
+ "QCoreApplication.exec_": (),
+ "QCoreApplication.exit": ('int',),
+ "QCoreApplication.flush": (),
+ "QCoreApplication.hasPendingEvents": (),
+ "QCoreApplication.installTranslator": ('PySide2.QtCore.QTranslator',),
+ "QCoreApplication.instance": (),
+ "QCoreApplication.isQuitLockEnabled": (),
+ "QCoreApplication.isSetuidAllowed": (),
+ "QCoreApplication.libraryPaths": (),
+ "QCoreApplication.notify": ('PySide2.QtCore.QObject', 'PySide2.QtCore.QEvent'),
+ "QCoreApplication.organizationDomain": (),
+ "QCoreApplication.organizationName": (),
+ "QCoreApplication.postEvent": ('PySide2.QtCore.QObject', 'PySide2.QtCore.QEvent', 'int'),
+ "QCoreApplication.processEvents": [('PySide2.libpyside.ProcessEventsFlags',), ('PySide2.libpyside.ProcessEventsFlags', 'int')],
+ "QCoreApplication.quit": (),
+ "QCoreApplication.removeLibraryPath": ('str',),
+ "QCoreApplication.removePostedEvents": ('PySide2.QtCore.QObject', 'int'),
+ "QCoreApplication.removeTranslator": ('PySide2.QtCore.QTranslator',),
+ "QCoreApplication.sendEvent": ('PySide2.QtCore.QObject', 'PySide2.QtCore.QEvent'),
+ "QCoreApplication.sendPostedEvents": ('PySide2.QtCore.QObject', 'int'),
+ "QCoreApplication.setApplicationName": ('str',),
+ "QCoreApplication.setApplicationVersion": ('str',),
+ "QCoreApplication.setAttribute": ('PySide2.QtCore.Qt.ApplicationAttribute', 'bool'),
+ "QCoreApplication.setEventDispatcher": ('PySide2.QtCore.QAbstractEventDispatcher',),
+ "QCoreApplication.setLibraryPaths": ('List[str]',),
+ "QCoreApplication.setOrganizationDomain": ('str',),
+ "QCoreApplication.setOrganizationName": ('str',),
+ "QCoreApplication.setQuitLockEnabled": ('bool',),
+ "QCoreApplication.setSetuidAllowed": ('bool',),
+ "QCoreApplication.startingUp": (),
+ "QCoreApplication.testAttribute": ('PySide2.QtCore.Qt.ApplicationAttribute',),
+ "QCoreApplication.translate": ('str', 'str', 'str', 'int'),
+
+ # class PySide2.QtCore.QCryptographicHash:
+ "QCryptographicHash.__init__": ('PySide2.QtCore.QCryptographicHash.Algorithm',),
+ "QCryptographicHash.addData": [('PySide2.QtCore.QByteArray',), ('PySide2.QtCore.QIODevice',), ('str', 'int')],
+ "QCryptographicHash.hash": ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QCryptographicHash.Algorithm'),
+ "QCryptographicHash.reset": (),
+ "QCryptographicHash.result": (),
+
+ # class PySide2.QtCore.QDataStream:
+ "QDataStream.__init__": [(), ('PySide2.QtCore.QByteArray',), ('PySide2.QtCore.QByteArray', 'PySide2.libpyside.OpenMode'), ('PySide2.QtCore.QIODevice',)],
+ "QDataStream.abortTransaction": (),
+ "QDataStream.atEnd": (),
+ "QDataStream.byteOrder": (),
+ "QDataStream.commitTransaction": (),
+ "QDataStream.device": (),
+ "QDataStream.floatingPointPrecision": (),
+ "QDataStream.readBool": (),
+ "QDataStream.readDouble": (),
+ "QDataStream.readFloat": (),
+ "QDataStream.readInt16": (),
+ "QDataStream.readInt32": (),
+ "QDataStream.readInt64": (),
+ "QDataStream.readInt8": (),
+ "QDataStream.readQChar": (),
+ "QDataStream.readQString": (),
+ "QDataStream.readQStringList": (),
+ "QDataStream.readQVariant": (),
+ "QDataStream.readRawData": ('str', 'int'),
+ "QDataStream.readString": (),
+ "QDataStream.readUInt16": (),
+ "QDataStream.readUInt32": (),
+ "QDataStream.readUInt64": (),
+ "QDataStream.readUInt8": (),
+ "QDataStream.resetStatus": (),
+ "QDataStream.rollbackTransaction": (),
+ "QDataStream.setByteOrder": ('PySide2.QtCore.QDataStream.ByteOrder',),
+ "QDataStream.setDevice": ('PySide2.QtCore.QIODevice',),
+ "QDataStream.setFloatingPointPrecision": ('PySide2.QtCore.QDataStream.FloatingPointPrecision',),
+ "QDataStream.setStatus": ('PySide2.QtCore.QDataStream.Status',),
+ "QDataStream.setVersion": ('int',),
+ "QDataStream.skipRawData": ('int',),
+ "QDataStream.startTransaction": (),
+ "QDataStream.status": (),
+ "QDataStream.unsetDevice": (),
+ "QDataStream.version": (),
+ "QDataStream.writeBool": ('bool',),
+ "QDataStream.writeDouble": ('float',),
+ "QDataStream.writeFloat": ('float',),
+ "QDataStream.writeInt16": ('int',),
+ "QDataStream.writeInt32": ('int',),
+ "QDataStream.writeInt64": ('int',),
+ "QDataStream.writeInt8": ('Union[str, int]',),
+ "QDataStream.writeQChar": ('Union[str, int]',),
+ "QDataStream.writeQString": ('str',),
+ "QDataStream.writeQStringList": ('List[str]',),
+ "QDataStream.writeQVariant": ('Any',),
+ "QDataStream.writeRawData": ('str', 'int'),
+ "QDataStream.writeString": ('str',),
+ "QDataStream.writeUInt16": ('int',),
+ "QDataStream.writeUInt32": ('int',),
+ "QDataStream.writeUInt64": ('int',),
+ "QDataStream.writeUInt8": ('Union[str, int]',),
+
+ # class PySide2.QtCore.QDate:
+ "QDate.__init__": [(), ('PySide2.QtCore.QDate',), ('int', 'int', 'int')],
+ "QDate.__copy__": (),
+ "QDate.__reduce__": (),
+ "QDate.addDays": ('int',),
+ "QDate.addMonths": ('int',),
+ "QDate.addYears": ('int',),
+ "QDate.currentDate": (),
+ "QDate.day": (),
+ "QDate.dayOfWeek": (),
+ "QDate.dayOfYear": (),
+ "QDate.daysInMonth": (),
+ "QDate.daysInYear": (),
+ "QDate.daysTo": ('PySide2.QtCore.QDate',),
+ "QDate.fromJulianDay": ('int',),
+ "QDate.fromString": [('str', 'PySide2.QtCore.Qt.DateFormat'), ('str', 'str')],
+ "QDate.getDate": ('int', 'int', 'int'),
+ "QDate.isLeapYear": ('int',),
+ "QDate.isNull": (),
+ "QDate.isValid": [(), ('int', 'int', 'int')],
+ "QDate.longDayName": ('int', 'PySide2.QtCore.QDate.MonthNameType'),
+ "QDate.longMonthName": ('int', 'PySide2.QtCore.QDate.MonthNameType'),
+ "QDate.month": (),
+ "QDate.setDate": ('int', 'int', 'int'),
+ "QDate.shortDayName": ('int', 'PySide2.QtCore.QDate.MonthNameType'),
+ "QDate.shortMonthName": ('int', 'PySide2.QtCore.QDate.MonthNameType'),
+ "QDate.toJulianDay": (),
+ "QDate.toPython": (),
+ "QDate.toString": [('PySide2.QtCore.Qt.DateFormat',), ('str',)],
+ "QDate.weekNumber": ('int',),
+ "QDate.year": (),
+
+ # class PySide2.QtCore.QDateTime:
+ "QDateTime.__init__": [(), ('PySide2.QtCore.QDate',), ('PySide2.QtCore.QDate', 'PySide2.QtCore.QTime', 'PySide2.QtCore.QTimeZone'), ('PySide2.QtCore.QDate', 'PySide2.QtCore.QTime', 'PySide2.QtCore.Qt.TimeSpec'), ('PySide2.QtCore.QDate', 'PySide2.QtCore.QTime', 'PySide2.QtCore.Qt.TimeSpec', 'int'), ('PySide2.QtCore.QDateTime',), ('int', 'int', 'int', 'int', 'int', 'int'), ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int')],
+ "QDateTime.__copy__": (),
+ "QDateTime.__reduce__": (),
+ "QDateTime.addDays": ('int',),
+ "QDateTime.addMSecs": ('int',),
+ "QDateTime.addMonths": ('int',),
+ "QDateTime.addSecs": ('int',),
+ "QDateTime.addYears": ('int',),
+ "QDateTime.currentDateTime": (),
+ "QDateTime.currentDateTimeUtc": (),
+ "QDateTime.currentMSecsSinceEpoch": (),
+ "QDateTime.currentSecsSinceEpoch": (),
+ "QDateTime.date": (),
+ "QDateTime.daysTo": ('PySide2.QtCore.QDateTime',),
+ "QDateTime.fromMSecsSinceEpoch": [('int',), ('int', 'PySide2.QtCore.QTimeZone'), ('int', 'PySide2.QtCore.Qt.TimeSpec', 'int')],
+ "QDateTime.fromSecsSinceEpoch": [('int', 'PySide2.QtCore.QTimeZone'), ('int', 'PySide2.QtCore.Qt.TimeSpec', 'int')],
+ "QDateTime.fromString": [('str', 'PySide2.QtCore.Qt.DateFormat'), ('str', 'str')],
+ "QDateTime.fromTime_t": [('int',), ('int', 'PySide2.QtCore.QTimeZone'), ('int', 'PySide2.QtCore.Qt.TimeSpec', 'int')],
+ "QDateTime.isDaylightTime": (),
+ "QDateTime.isNull": (),
+ "QDateTime.isValid": (),
+ "QDateTime.msecsTo": ('PySide2.QtCore.QDateTime',),
+ "QDateTime.offsetFromUtc": (),
+ "QDateTime.secsTo": ('PySide2.QtCore.QDateTime',),
+ "QDateTime.setDate": ('PySide2.QtCore.QDate',),
+ "QDateTime.setMSecsSinceEpoch": ('int',),
+ "QDateTime.setOffsetFromUtc": ('int',),
+ "QDateTime.setSecsSinceEpoch": ('int',),
+ "QDateTime.setTime": ('PySide2.QtCore.QTime',),
+ "QDateTime.setTimeSpec": ('PySide2.QtCore.Qt.TimeSpec',),
+ "QDateTime.setTimeZone": ('PySide2.QtCore.QTimeZone',),
+ "QDateTime.setTime_t": ('int',),
+ "QDateTime.setUtcOffset": ('int',),
+ "QDateTime.swap": ('PySide2.QtCore.QDateTime',),
+ "QDateTime.time": (),
+ "QDateTime.timeSpec": (),
+ "QDateTime.timeZone": (),
+ "QDateTime.timeZoneAbbreviation": (),
+ "QDateTime.toLocalTime": (),
+ "QDateTime.toMSecsSinceEpoch": (),
+ "QDateTime.toOffsetFromUtc": ('int',),
+ "QDateTime.toPython": (),
+ "QDateTime.toSecsSinceEpoch": (),
+ "QDateTime.toString": [('PySide2.QtCore.Qt.DateFormat',), ('str',)],
+ "QDateTime.toTimeSpec": ('PySide2.QtCore.Qt.TimeSpec',),
+ "QDateTime.toTimeZone": ('PySide2.QtCore.QTimeZone',),
+ "QDateTime.toTime_t": (),
+ "QDateTime.toUTC": (),
+ "QDateTime.utcOffset": (),
+
+ # class PySide2.QtCore.QDir:
+ "QDir.__init__": [('PySide2.QtCore.QDir',), ('str',), ('str', 'str', 'PySide2.libpyside.SortFlags', 'PySide2.libpyside.Filters')],
+ "QDir.__copy__": (),
+ "QDir.__reduce__": (),
+ "QDir.absoluteFilePath": ('str',),
+ "QDir.absolutePath": (),
+ "QDir.addResourceSearchPath": ('str',),
+ "QDir.addSearchPath": ('str', 'str'),
+ "QDir.canonicalPath": (),
+ "QDir.cd": ('str',),
+ "QDir.cdUp": (),
+ "QDir.cleanPath": ('str',),
+ "QDir.count": (),
+ "QDir.current": (),
+ "QDir.currentPath": (),
+ "QDir.dirName": (),
+ "QDir.drives": (),
+ "QDir.entryInfoList": [('List[str]', 'PySide2.libpyside.Filters', 'PySide2.libpyside.SortFlags'), ('PySide2.libpyside.Filters', 'PySide2.libpyside.SortFlags')],
+ "QDir.entryList": [('List[str]', 'PySide2.libpyside.Filters', 'PySide2.libpyside.SortFlags'), ('PySide2.libpyside.Filters', 'PySide2.libpyside.SortFlags')],
+ "QDir.exists": [(), ('str',)],
+ "QDir.filePath": ('str',),
+ "QDir.filter": (),
+ "QDir.fromNativeSeparators": ('str',),
+ "QDir.home": (),
+ "QDir.homePath": (),
+ "QDir.isAbsolute": (),
+ "QDir.isAbsolutePath": ('str',),
+ "QDir.isEmpty": ('PySide2.libpyside.Filters',),
+ "QDir.isReadable": (),
+ "QDir.isRelative": (),
+ "QDir.isRelativePath": ('str',),
+ "QDir.isRoot": (),
+ "QDir.listSeparator": (),
+ "QDir.makeAbsolute": (),
+ "QDir.match": [('List[str]', 'str'), ('str', 'str')],
+ "QDir.mkdir": ('str',),
+ "QDir.mkpath": ('str',),
+ "QDir.nameFilters": (),
+ "QDir.nameFiltersFromString": ('str',),
+ "QDir.path": (),
+ "QDir.refresh": (),
+ "QDir.relativeFilePath": ('str',),
+ "QDir.remove": ('str',),
+ "QDir.removeRecursively": (),
+ "QDir.rename": ('str', 'str'),
+ "QDir.rmdir": ('str',),
+ "QDir.rmpath": ('str',),
+ "QDir.root": (),
+ "QDir.rootPath": (),
+ "QDir.searchPaths": ('str',),
+ "QDir.separator": (),
+ "QDir.setCurrent": ('str',),
+ "QDir.setFilter": ('PySide2.libpyside.Filters',),
+ "QDir.setNameFilters": ('List[str]',),
+ "QDir.setPath": ('str',),
+ "QDir.setSearchPaths": ('str', 'List[str]'),
+ "QDir.setSorting": ('PySide2.libpyside.SortFlags',),
+ "QDir.sorting": (),
+ "QDir.swap": ('PySide2.QtCore.QDir',),
+ "QDir.temp": (),
+ "QDir.tempPath": (),
+ "QDir.toNativeSeparators": ('str',),
+
+ # class PySide2.QtCore.QDirIterator:
+ "QDirIterator.__init__": [('PySide2.QtCore.QDir', 'PySide2.libpyside.IteratorFlags'), ('str', 'List[str]', 'PySide2.libpyside.Filters', 'PySide2.libpyside.IteratorFlags'), ('str', 'PySide2.libpyside.Filters', 'PySide2.libpyside.IteratorFlags'), ('str', 'PySide2.libpyside.IteratorFlags')],
+ "QDirIterator.fileInfo": (),
+ "QDirIterator.fileName": (),
+ "QDirIterator.filePath": (),
+ "QDirIterator.hasNext": (),
+ "QDirIterator.path": (),
+
+ # class PySide2.QtCore.QDynamicPropertyChangeEvent:
+ "QDynamicPropertyChangeEvent.__init__": ('PySide2.QtCore.QByteArray',),
+ "QDynamicPropertyChangeEvent.propertyName": (),
+
+ # class PySide2.QtCore.QEasingCurve:
+ "QEasingCurve.__init__": [('PySide2.QtCore.QEasingCurve',), ('PySide2.QtCore.QEasingCurve.Type',)],
+ "QEasingCurve.__copy__": (),
+ "QEasingCurve.addCubicBezierSegment": ('PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF'),
+ "QEasingCurve.addTCBSegment": ('PySide2.QtCore.QPointF', 'float', 'float', 'float'),
+ "QEasingCurve.amplitude": (),
+ "QEasingCurve.customType": (),
+ "QEasingCurve.overshoot": (),
+ "QEasingCurve.period": (),
+ "QEasingCurve.setAmplitude": ('float',),
+ "QEasingCurve.setCustomType": ('object',),
+ "QEasingCurve.setOvershoot": ('float',),
+ "QEasingCurve.setPeriod": ('float',),
+ "QEasingCurve.setType": ('PySide2.QtCore.QEasingCurve.Type',),
+ "QEasingCurve.swap": ('PySide2.QtCore.QEasingCurve',),
+ "QEasingCurve.toCubicSpline": (),
+ "QEasingCurve.type": (),
+ "QEasingCurve.valueForProgress": ('float',),
+
+ # class PySide2.QtCore.QElapsedTimer:
+ "QElapsedTimer.__init__": [(), ('PySide2.QtCore.QElapsedTimer',)],
+ "QElapsedTimer.__copy__": (),
+ "QElapsedTimer.clockType": (),
+ "QElapsedTimer.elapsed": (),
+ "QElapsedTimer.hasExpired": ('int',),
+ "QElapsedTimer.invalidate": (),
+ "QElapsedTimer.isMonotonic": (),
+ "QElapsedTimer.isValid": (),
+ "QElapsedTimer.msecsSinceReference": (),
+ "QElapsedTimer.msecsTo": ('PySide2.QtCore.QElapsedTimer',),
+ "QElapsedTimer.nsecsElapsed": (),
+ "QElapsedTimer.restart": (),
+ "QElapsedTimer.secsTo": ('PySide2.QtCore.QElapsedTimer',),
+ "QElapsedTimer.start": (),
+
+ # class PySide2.QtCore.QEvent:
+ "QEvent.__init__": [('PySide2.QtCore.QEvent',), ('PySide2.QtCore.QEvent.Type',)],
+ "QEvent.accept": (),
+ "QEvent.ignore": (),
+ "QEvent.isAccepted": (),
+ "QEvent.registerEventType": ('int',),
+ "QEvent.setAccepted": ('bool',),
+ "QEvent.spontaneous": (),
+ "QEvent.type": (),
+
+ # class PySide2.QtCore.QEventLoop:
+ "QEventLoop.__init__": ('PySide2.QtCore.QObject',),
+ "QEventLoop.event": ('PySide2.QtCore.QEvent',),
+ "QEventLoop.exec_": ('PySide2.libpyside.ProcessEventsFlags',),
+ "QEventLoop.exit": ('int',),
+ "QEventLoop.isRunning": (),
+ "QEventLoop.processEvents": [('PySide2.libpyside.ProcessEventsFlags',), ('PySide2.libpyside.ProcessEventsFlags', 'int')],
+ "QEventLoop.quit": (),
+ "QEventLoop.wakeUp": (),
+
+ # class PySide2.QtCore.QEventTransition:
+ "QEventTransition.__init__": [('PySide2.QtCore.QObject', 'PySide2.QtCore.QEvent.Type', 'PySide2.QtCore.QState'), ('PySide2.QtCore.QState',)],
+ "QEventTransition.event": ('PySide2.QtCore.QEvent',),
+ "QEventTransition.eventSource": (),
+ "QEventTransition.eventTest": ('PySide2.QtCore.QEvent',),
+ "QEventTransition.eventType": (),
+ "QEventTransition.onTransition": ('PySide2.QtCore.QEvent',),
+ "QEventTransition.setEventSource": ('PySide2.QtCore.QObject',),
+ "QEventTransition.setEventType": ('PySide2.QtCore.QEvent.Type',),
+
+ # class PySide2.QtCore.QFactoryInterface:
+ "QFactoryInterface.__init__": (),
+ "QFactoryInterface.keys": (),
+
+ # class PySide2.QtCore.QFile:
+ "QFile.__init__": [(), ('PySide2.QtCore.QObject',), ('str',), ('str', 'PySide2.QtCore.QObject')],
+ "QFile.copy": [('str',), ('str', 'str')],
+ "QFile.decodeName": [('PySide2.QtCore.QByteArray',), ('str',)],
+ "QFile.encodeName": ('str',),
+ "QFile.exists": [(), ('str',)],
+ "QFile.fileName": (),
+ "QFile.link": [('str',), ('str', 'str')],
+ "QFile.open": [('PySide2.libpyside.OpenMode',), ('int', 'PySide2.libpyside.OpenMode', 'PySide2.libpyside.FileHandleFlags')],
+ "QFile.permissions": [(), ('str',)],
+ "QFile.readLink": [(), ('str',)],
+ "QFile.remove": [(), ('str',)],
+ "QFile.rename": [('str',), ('str', 'str')],
+ "QFile.resize": [('int',), ('str', 'int')],
+ "QFile.setFileName": ('str',),
+ "QFile.setPermissions": [('PySide2.libpyside.Permissions',), ('str', 'PySide2.libpyside.Permissions')],
+ "QFile.size": (),
+ "QFile.symLinkTarget": [(), ('str',)],
+
+ # class PySide2.QtCore.QFileDevice:
+ "QFileDevice.__init__": [(), ('PySide2.QtCore.QObject',)],
+ "QFileDevice.atEnd": (),
+ "QFileDevice.close": (),
+ "QFileDevice.error": (),
+ "QFileDevice.fileName": (),
+ "QFileDevice.fileTime": ('PySide2.QtCore.QFileDevice.FileTime',),
+ "QFileDevice.flush": (),
+ "QFileDevice.handle": (),
+ "QFileDevice.isSequential": (),
+ "QFileDevice.map": ('int', 'int', 'PySide2.QtCore.QFileDevice.MemoryMapFlags'),
+ "QFileDevice.permissions": (),
+ "QFileDevice.pos": (),
+ "QFileDevice.readData": ('str', 'int'),
+ "QFileDevice.readLineData": ('str', 'int'),
+ "QFileDevice.resize": ('int',),
+ "QFileDevice.seek": ('int',),
+ "QFileDevice.setFileTime": ('PySide2.QtCore.QDateTime', 'PySide2.QtCore.QFileDevice.FileTime'),
+ "QFileDevice.setPermissions": ('PySide2.libpyside.Permissions',),
+ "QFileDevice.size": (),
+ "QFileDevice.unmap": ('Union[str, int]',),
+ "QFileDevice.unsetError": (),
+ "QFileDevice.writeData": ('str', 'int'),
+
+ # class PySide2.QtCore.QFileInfo:
+ "QFileInfo.__init__": [(), ('PySide2.QtCore.QDir', 'str'), ('PySide2.QtCore.QFile',), ('PySide2.QtCore.QFileInfo',), ('str',)],
+ "QFileInfo.__copy__": (),
+ "QFileInfo.__reduce__": (),
+ "QFileInfo.absoluteDir": (),
+ "QFileInfo.absoluteFilePath": (),
+ "QFileInfo.absolutePath": (),
+ "QFileInfo.baseName": (),
+ "QFileInfo.birthTime": (),
+ "QFileInfo.bundleName": (),
+ "QFileInfo.caching": (),
+ "QFileInfo.canonicalFilePath": (),
+ "QFileInfo.canonicalPath": (),
+ "QFileInfo.completeBaseName": (),
+ "QFileInfo.completeSuffix": (),
+ "QFileInfo.created": (),
+ "QFileInfo.dir": (),
+ "QFileInfo.exists": [(), ('str',)],
+ "QFileInfo.fileName": (),
+ "QFileInfo.filePath": (),
+ "QFileInfo.group": (),
+ "QFileInfo.groupId": (),
+ "QFileInfo.isAbsolute": (),
+ "QFileInfo.isBundle": (),
+ "QFileInfo.isDir": (),
+ "QFileInfo.isExecutable": (),
+ "QFileInfo.isFile": (),
+ "QFileInfo.isHidden": (),
+ "QFileInfo.isNativePath": (),
+ "QFileInfo.isReadable": (),
+ "QFileInfo.isRelative": (),
+ "QFileInfo.isRoot": (),
+ "QFileInfo.isSymLink": (),
+ "QFileInfo.isWritable": (),
+ "QFileInfo.lastModified": (),
+ "QFileInfo.lastRead": (),
+ "QFileInfo.makeAbsolute": (),
+ "QFileInfo.metadataChangeTime": (),
+ "QFileInfo.owner": (),
+ "QFileInfo.ownerId": (),
+ "QFileInfo.path": (),
+ "QFileInfo.readLink": (),
+ "QFileInfo.refresh": (),
+ "QFileInfo.setCaching": ('bool',),
+ "QFileInfo.setFile": [('PySide2.QtCore.QDir', 'str'), ('PySide2.QtCore.QFile',), ('str',)],
+ "QFileInfo.size": (),
+ "QFileInfo.suffix": (),
+ "QFileInfo.swap": ('PySide2.QtCore.QFileInfo',),
+ "QFileInfo.symLinkTarget": (),
+
+ # class PySide2.QtCore.QFileSelector:
+ "QFileSelector.__init__": ('PySide2.QtCore.QObject',),
+ "QFileSelector.allSelectors": (),
+ "QFileSelector.extraSelectors": (),
+ "QFileSelector.select": [('PySide2.QtCore.QUrl',), ('str',)],
+ "QFileSelector.setExtraSelectors": ('List[str]',),
+
+ # class PySide2.QtCore.QFileSystemWatcher:
+ "QFileSystemWatcher.__init__": [('List[str]', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QObject',)],
+ "QFileSystemWatcher.addPath": ('str',),
+ "QFileSystemWatcher.addPaths": ('List[str]',),
+ "QFileSystemWatcher.directories": (),
+ "QFileSystemWatcher.files": (),
+ "QFileSystemWatcher.removePath": ('str',),
+ "QFileSystemWatcher.removePaths": ('List[str]',),
+
+ # class PySide2.QtCore.QFinalState:
+ "QFinalState.__init__": ('PySide2.QtCore.QState',),
+ "QFinalState.event": ('PySide2.QtCore.QEvent',),
+ "QFinalState.onEntry": ('PySide2.QtCore.QEvent',),
+ "QFinalState.onExit": ('PySide2.QtCore.QEvent',),
+
+ # class PySide2.QtCore.QGenericArgument:
+ "QGenericArgument.__init__": [('PySide2.QtCore.QGenericArgument',), ('str', 'int')],
+ "QGenericArgument.__copy__": (),
+ "QGenericArgument.data": (),
+ "QGenericArgument.name": (),
+
+ # class PySide2.QtCore.QGenericReturnArgument:
+ "QGenericReturnArgument.__init__": [('PySide2.QtCore.QGenericReturnArgument',), ('str', 'int')],
+ "QGenericReturnArgument.__copy__": (),
+
+ # class PySide2.QtCore.QHistoryState:
+ "QHistoryState.__init__": [('PySide2.QtCore.QHistoryState.HistoryType', 'PySide2.QtCore.QState'), ('PySide2.QtCore.QState',)],
+ "QHistoryState.defaultState": (),
+ "QHistoryState.defaultTransition": (),
+ "QHistoryState.event": ('PySide2.QtCore.QEvent',),
+ "QHistoryState.historyType": (),
+ "QHistoryState.onEntry": ('PySide2.QtCore.QEvent',),
+ "QHistoryState.onExit": ('PySide2.QtCore.QEvent',),
+ "QHistoryState.setDefaultState": ('PySide2.QtCore.QAbstractState',),
+ "QHistoryState.setDefaultTransition": ('PySide2.QtCore.QAbstractTransition',),
+ "QHistoryState.setHistoryType": ('PySide2.QtCore.QHistoryState.HistoryType',),
+
+ # class PySide2.QtCore.QIODevice:
+ "QIODevice.__init__": [(), ('PySide2.QtCore.QObject',)],
+ "QIODevice.atEnd": (),
+ "QIODevice.bytesAvailable": (),
+ "QIODevice.bytesToWrite": (),
+ "QIODevice.canReadLine": (),
+ "QIODevice.close": (),
+ "QIODevice.commitTransaction": (),
+ "QIODevice.currentReadChannel": (),
+ "QIODevice.currentWriteChannel": (),
+ "QIODevice.errorString": (),
+ "QIODevice.getChar": ('str',),
+ "QIODevice.isOpen": (),
+ "QIODevice.isReadable": (),
+ "QIODevice.isSequential": (),
+ "QIODevice.isTextModeEnabled": (),
+ "QIODevice.isTransactionStarted": (),
+ "QIODevice.isWritable": (),
+ "QIODevice.open": ('PySide2.libpyside.OpenMode',),
+ "QIODevice.openMode": (),
+ "QIODevice.peek": ('int',),
+ "QIODevice.pos": (),
+ "QIODevice.putChar": ('Union[str, int]',),
+ "QIODevice.read": ('int',),
+ "QIODevice.readAll": (),
+ "QIODevice.readChannelCount": (),
+ "QIODevice.readData": ('str', 'int'),
+ "QIODevice.readLine": ('int',),
+ "QIODevice.readLineData": ('str', 'int'),
+ "QIODevice.reset": (),
+ "QIODevice.rollbackTransaction": (),
+ "QIODevice.seek": ('int',),
+ "QIODevice.setCurrentReadChannel": ('int',),
+ "QIODevice.setCurrentWriteChannel": ('int',),
+ "QIODevice.setErrorString": ('str',),
+ "QIODevice.setOpenMode": ('PySide2.libpyside.OpenMode',),
+ "QIODevice.setTextModeEnabled": ('bool',),
+ "QIODevice.size": (),
+ "QIODevice.skip": ('int',),
+ "QIODevice.startTransaction": (),
+ "QIODevice.ungetChar": ('Union[str, int]',),
+ "QIODevice.waitForBytesWritten": ('int',),
+ "QIODevice.waitForReadyRead": ('int',),
+ "QIODevice.write": ('PySide2.QtCore.QByteArray',),
+ "QIODevice.writeChannelCount": (),
+ "QIODevice.writeData": ('str', 'int'),
+
+ # class PySide2.QtCore.QIdentityProxyModel:
+ "QIdentityProxyModel.__init__": ('PySide2.QtCore.QObject',),
+ "QIdentityProxyModel.columnCount": ('PySide2.QtCore.QModelIndex',),
+ "QIdentityProxyModel.dropMimeData": ('PySide2.QtCore.QMimeData', 'PySide2.QtCore.Qt.DropAction', 'int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QIdentityProxyModel.headerData": ('int', 'PySide2.QtCore.Qt.Orientation', 'int'),
+ "QIdentityProxyModel.index": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QIdentityProxyModel.insertColumns": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QIdentityProxyModel.insertRows": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QIdentityProxyModel.mapFromSource": ('PySide2.QtCore.QModelIndex',),
+ "QIdentityProxyModel.mapSelectionFromSource": ('PySide2.QtCore.QItemSelection',),
+ "QIdentityProxyModel.mapSelectionToSource": ('PySide2.QtCore.QItemSelection',),
+ "QIdentityProxyModel.mapToSource": ('PySide2.QtCore.QModelIndex',),
+ "QIdentityProxyModel.match": ('PySide2.QtCore.QModelIndex', 'int', 'Any', 'int', 'PySide2.libpyside.MatchFlags'),
+ "QIdentityProxyModel.parent": [(), ('PySide2.QtCore.QModelIndex',)],
+ "QIdentityProxyModel.removeColumns": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QIdentityProxyModel.removeRows": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QIdentityProxyModel.rowCount": ('PySide2.QtCore.QModelIndex',),
+ "QIdentityProxyModel.setSourceModel": ('PySide2.QtCore.QAbstractItemModel',),
+ "QIdentityProxyModel.sibling": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+
+ # class PySide2.QtCore.QItemSelection:
+ "QItemSelection.__init__": [(), ('PySide2.QtCore.QItemSelection',), ('PySide2.QtCore.QModelIndex', 'PySide2.QtCore.QModelIndex')],
+ "QItemSelection.__copy__": (),
+ "QItemSelection.append": [('PySide2.QtCore.QItemSelectionRange',), ('list',)],
+ "QItemSelection.at": ('int',),
+ "QItemSelection.back": (),
+ "QItemSelection.clear": (),
+ "QItemSelection.constFirst": (),
+ "QItemSelection.constLast": (),
+ "QItemSelection.contains": ('PySide2.QtCore.QModelIndex',),
+ "QItemSelection.count": [(), ('PySide2.QtCore.QItemSelectionRange',)],
+ "QItemSelection.detachShared": (),
+ "QItemSelection.empty": (),
+ "QItemSelection.endsWith": ('PySide2.QtCore.QItemSelectionRange',),
+ "QItemSelection.first": (),
+ "QItemSelection.fromSet": ('set',),
+ "QItemSelection.fromVector": ('list',),
+ "QItemSelection.front": (),
+ "QItemSelection.indexOf": ('PySide2.QtCore.QItemSelectionRange', 'int'),
+ "QItemSelection.indexes": (),
+ "QItemSelection.insert": ('int', 'PySide2.QtCore.QItemSelectionRange'),
+ "QItemSelection.isEmpty": (),
+ "QItemSelection.isSharedWith": ('list',),
+ "QItemSelection.last": (),
+ "QItemSelection.lastIndexOf": ('PySide2.QtCore.QItemSelectionRange', 'int'),
+ "QItemSelection.length": (),
+ "QItemSelection.merge": ('PySide2.QtCore.QItemSelection', 'PySide2.libpyside.SelectionFlags'),
+ "QItemSelection.mid": ('int', 'int'),
+ "QItemSelection.move": ('int', 'int'),
+ "QItemSelection.pop_back": (),
+ "QItemSelection.pop_front": (),
+ "QItemSelection.prepend": ('PySide2.QtCore.QItemSelectionRange',),
+ "QItemSelection.push_back": ('PySide2.QtCore.QItemSelectionRange',),
+ "QItemSelection.push_front": ('PySide2.QtCore.QItemSelectionRange',),
+ "QItemSelection.removeAll": ('PySide2.QtCore.QItemSelectionRange',),
+ "QItemSelection.removeAt": ('int',),
+ "QItemSelection.removeFirst": (),
+ "QItemSelection.removeLast": (),
+ "QItemSelection.removeOne": ('PySide2.QtCore.QItemSelectionRange',),
+ "QItemSelection.replace": ('int', 'PySide2.QtCore.QItemSelectionRange'),
+ "QItemSelection.reserve": ('int',),
+ "QItemSelection.select": ('PySide2.QtCore.QModelIndex', 'PySide2.QtCore.QModelIndex'),
+ "QItemSelection.setSharable": ('bool',),
+ "QItemSelection.size": (),
+ "QItemSelection.split": ('PySide2.QtCore.QItemSelectionRange', 'PySide2.QtCore.QItemSelectionRange', 'PySide2.QtCore.QItemSelection'),
+ "QItemSelection.startsWith": ('PySide2.QtCore.QItemSelectionRange',),
+ "QItemSelection.swap": [('int', 'int'), ('list',)],
+ "QItemSelection.takeAt": ('int',),
+ "QItemSelection.takeFirst": (),
+ "QItemSelection.takeLast": (),
+ "QItemSelection.toSet": (),
+ "QItemSelection.toVector": (),
+ "QItemSelection.value": [('int',), ('int', 'PySide2.QtCore.QItemSelectionRange')],
+
+ # class PySide2.QtCore.QItemSelectionModel:
+ "QItemSelectionModel.__init__": [('PySide2.QtCore.QAbstractItemModel',), ('PySide2.QtCore.QAbstractItemModel', 'PySide2.QtCore.QObject')],
+ "QItemSelectionModel.clear": (),
+ "QItemSelectionModel.clearCurrentIndex": (),
+ "QItemSelectionModel.clearSelection": (),
+ "QItemSelectionModel.columnIntersectsSelection": ('int', 'PySide2.QtCore.QModelIndex'),
+ "QItemSelectionModel.currentIndex": (),
+ "QItemSelectionModel.emitSelectionChanged": ('PySide2.QtCore.QItemSelection', 'PySide2.QtCore.QItemSelection'),
+ "QItemSelectionModel.hasSelection": (),
+ "QItemSelectionModel.isColumnSelected": ('int', 'PySide2.QtCore.QModelIndex'),
+ "QItemSelectionModel.isRowSelected": ('int', 'PySide2.QtCore.QModelIndex'),
+ "QItemSelectionModel.isSelected": ('PySide2.QtCore.QModelIndex',),
+ "QItemSelectionModel.model": (),
+ "QItemSelectionModel.reset": (),
+ "QItemSelectionModel.rowIntersectsSelection": ('int', 'PySide2.QtCore.QModelIndex'),
+ "QItemSelectionModel.select": [('PySide2.QtCore.QItemSelection', 'PySide2.libpyside.SelectionFlags'), ('PySide2.QtCore.QModelIndex', 'PySide2.libpyside.SelectionFlags')],
+ "QItemSelectionModel.selectedColumns": ('int',),
+ "QItemSelectionModel.selectedIndexes": (),
+ "QItemSelectionModel.selectedRows": ('int',),
+ "QItemSelectionModel.selection": (),
+ "QItemSelectionModel.setCurrentIndex": ('PySide2.QtCore.QModelIndex', 'PySide2.libpyside.SelectionFlags'),
+ "QItemSelectionModel.setModel": ('PySide2.QtCore.QAbstractItemModel',),
+
+ # class PySide2.QtCore.QItemSelectionRange:
+ "QItemSelectionRange.__init__": [(), ('PySide2.QtCore.QItemSelectionRange',), ('PySide2.QtCore.QModelIndex',), ('PySide2.QtCore.QModelIndex', 'PySide2.QtCore.QModelIndex')],
+ "QItemSelectionRange.__copy__": (),
+ "QItemSelectionRange.bottom": (),
+ "QItemSelectionRange.bottomRight": (),
+ "QItemSelectionRange.contains": [('PySide2.QtCore.QModelIndex',), ('int', 'int', 'PySide2.QtCore.QModelIndex')],
+ "QItemSelectionRange.height": (),
+ "QItemSelectionRange.indexes": (),
+ "QItemSelectionRange.intersected": ('PySide2.QtCore.QItemSelectionRange',),
+ "QItemSelectionRange.intersects": ('PySide2.QtCore.QItemSelectionRange',),
+ "QItemSelectionRange.isEmpty": (),
+ "QItemSelectionRange.isValid": (),
+ "QItemSelectionRange.left": (),
+ "QItemSelectionRange.model": (),
+ "QItemSelectionRange.parent": (),
+ "QItemSelectionRange.right": (),
+ "QItemSelectionRange.swap": ('PySide2.QtCore.QItemSelectionRange',),
+ "QItemSelectionRange.top": (),
+ "QItemSelectionRange.topLeft": (),
+ "QItemSelectionRange.width": (),
+
+ # class PySide2.QtCore.QJsonArray:
+ "QJsonArray.__init__": [(), ('PySide2.QtCore.QJsonArray',)],
+ "QJsonArray.__copy__": (),
+ "QJsonArray.append": ('PySide2.QtCore.QJsonValue',),
+ "QJsonArray.at": ('int',),
+ "QJsonArray.contains": ('PySide2.QtCore.QJsonValue',),
+ "QJsonArray.count": (),
+ "QJsonArray.empty": (),
+ "QJsonArray.first": (),
+ "QJsonArray.fromStringList": ('List[str]',),
+ "QJsonArray.fromVariantList": ('list',),
+ "QJsonArray.insert": ('int', 'PySide2.QtCore.QJsonValue'),
+ "QJsonArray.isEmpty": (),
+ "QJsonArray.last": (),
+ "QJsonArray.pop_back": (),
+ "QJsonArray.pop_front": (),
+ "QJsonArray.prepend": ('PySide2.QtCore.QJsonValue',),
+ "QJsonArray.push_back": ('PySide2.QtCore.QJsonValue',),
+ "QJsonArray.push_front": ('PySide2.QtCore.QJsonValue',),
+ "QJsonArray.removeAt": ('int',),
+ "QJsonArray.removeFirst": (),
+ "QJsonArray.removeLast": (),
+ "QJsonArray.replace": ('int', 'PySide2.QtCore.QJsonValue'),
+ "QJsonArray.size": (),
+ "QJsonArray.swap": ('PySide2.QtCore.QJsonArray',),
+ "QJsonArray.takeAt": ('int',),
+ "QJsonArray.toVariantList": (),
+
+ # class PySide2.QtCore.QJsonDocument:
+ "QJsonDocument.__init__": [(), ('PySide2.QtCore.QJsonArray',), ('PySide2.QtCore.QJsonDocument',), ('dict',)],
+ "QJsonDocument.__copy__": (),
+ "QJsonDocument.array": (),
+ "QJsonDocument.fromBinaryData": ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QJsonDocument.DataValidation'),
+ "QJsonDocument.fromJson": ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QJsonParseError'),
+ "QJsonDocument.fromRawData": ('str', 'int', 'PySide2.QtCore.QJsonDocument.DataValidation'),
+ "QJsonDocument.fromVariant": ('Any',),
+ "QJsonDocument.isArray": (),
+ "QJsonDocument.isEmpty": (),
+ "QJsonDocument.isNull": (),
+ "QJsonDocument.isObject": (),
+ "QJsonDocument.object": (),
+ "QJsonDocument.rawData": ('int',),
+ "QJsonDocument.setArray": ('PySide2.QtCore.QJsonArray',),
+ "QJsonDocument.setObject": ('dict',),
+ "QJsonDocument.swap": ('PySide2.QtCore.QJsonDocument',),
+ "QJsonDocument.toBinaryData": (),
+ "QJsonDocument.toJson": [(), ('PySide2.QtCore.QJsonDocument.JsonFormat',)],
+ "QJsonDocument.toVariant": (),
+
+ # class PySide2.QtCore.QJsonParseError:
+ "QJsonParseError.__init__": [(), ('PySide2.QtCore.QJsonParseError',)],
+ "QJsonParseError.__copy__": (),
+ "QJsonParseError.errorString": (),
+
+ # class PySide2.QtCore.QJsonValue:
+ "QJsonValue.__init__": [('PySide2.QtCore.QJsonArray',), ('PySide2.QtCore.QJsonValue',), ('PySide2.QtCore.QJsonValue.Type',), ('bool',), ('dict',), ('float',), ('int',), ('str',)],
+ "QJsonValue.__copy__": (),
+ "QJsonValue.fromVariant": ('Any',),
+ "QJsonValue.isArray": (),
+ "QJsonValue.isBool": (),
+ "QJsonValue.isDouble": (),
+ "QJsonValue.isNull": (),
+ "QJsonValue.isObject": (),
+ "QJsonValue.isString": (),
+ "QJsonValue.isUndefined": (),
+ "QJsonValue.swap": ('PySide2.QtCore.QJsonValue',),
+ "QJsonValue.toArray": [(), ('PySide2.QtCore.QJsonArray',)],
+ "QJsonValue.toBool": ('bool',),
+ "QJsonValue.toDouble": ('float',),
+ "QJsonValue.toInt": ('int',),
+ "QJsonValue.toObject": [(), ('dict',)],
+ "QJsonValue.toString": [(), ('str',)],
+ "QJsonValue.toVariant": (),
+ "QJsonValue.type": (),
+
+ # class PySide2.QtCore.QLibraryInfo:
+ "QLibraryInfo.build": (),
+ "QLibraryInfo.buildDate": (),
+ "QLibraryInfo.isDebugBuild": (),
+ "QLibraryInfo.licensedProducts": (),
+ "QLibraryInfo.licensee": (),
+ "QLibraryInfo.location": ('PySide2.QtCore.QLibraryInfo.LibraryLocation',),
+ "QLibraryInfo.platformPluginArguments": ('str',),
+ "QLibraryInfo.version": (),
+
+ # class PySide2.QtCore.QLine:
+ "QLine.__init__": [(), ('PySide2.QtCore.QLine',), ('PySide2.QtCore.QPoint', 'PySide2.QtCore.QPoint'), ('int', 'int', 'int', 'int')],
+ "QLine.__copy__": (),
+ "QLine.__reduce__": (),
+ "QLine.center": (),
+ "QLine.dx": (),
+ "QLine.dy": (),
+ "QLine.isNull": (),
+ "QLine.p1": (),
+ "QLine.p2": (),
+ "QLine.setLine": ('int', 'int', 'int', 'int'),
+ "QLine.setP1": ('PySide2.QtCore.QPoint',),
+ "QLine.setP2": ('PySide2.QtCore.QPoint',),
+ "QLine.setPoints": ('PySide2.QtCore.QPoint', 'PySide2.QtCore.QPoint'),
+ "QLine.toTuple": (),
+ "QLine.translate": [('PySide2.QtCore.QPoint',), ('int', 'int')],
+ "QLine.translated": [('PySide2.QtCore.QPoint',), ('int', 'int')],
+ "QLine.x1": (),
+ "QLine.x2": (),
+ "QLine.y1": (),
+ "QLine.y2": (),
+
+ # class PySide2.QtCore.QLineF:
+ "QLineF.__init__": [(), ('PySide2.QtCore.QLine',), ('PySide2.QtCore.QLineF',), ('PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF'), ('float', 'float', 'float', 'float')],
+ "QLineF.__copy__": (),
+ "QLineF.__reduce__": (),
+ "QLineF.angle": [(), ('PySide2.QtCore.QLineF',)],
+ "QLineF.angleTo": ('PySide2.QtCore.QLineF',),
+ "QLineF.center": (),
+ "QLineF.dx": (),
+ "QLineF.dy": (),
+ "QLineF.fromPolar": ('float', 'float'),
+ "QLineF.intersect": ('PySide2.QtCore.QLineF', 'PySide2.QtCore.QPointF'),
+ "QLineF.isNull": (),
+ "QLineF.length": (),
+ "QLineF.normalVector": (),
+ "QLineF.p1": (),
+ "QLineF.p2": (),
+ "QLineF.pointAt": ('float',),
+ "QLineF.setAngle": ('float',),
+ "QLineF.setLength": ('float',),
+ "QLineF.setLine": ('float', 'float', 'float', 'float'),
+ "QLineF.setP1": ('PySide2.QtCore.QPointF',),
+ "QLineF.setP2": ('PySide2.QtCore.QPointF',),
+ "QLineF.setPoints": ('PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF'),
+ "QLineF.toLine": (),
+ "QLineF.toTuple": (),
+ "QLineF.translate": [('PySide2.QtCore.QPointF',), ('float', 'float')],
+ "QLineF.translated": [('PySide2.QtCore.QPointF',), ('float', 'float')],
+ "QLineF.unitVector": (),
+ "QLineF.x1": (),
+ "QLineF.x2": (),
+ "QLineF.y1": (),
+ "QLineF.y2": (),
+
+ # class PySide2.QtCore.QLocale:
+ "QLocale.__init__": [(), ('PySide2.QtCore.QLocale',), ('PySide2.QtCore.QLocale.Language', 'PySide2.QtCore.QLocale.Country'), ('PySide2.QtCore.QLocale.Language', 'PySide2.QtCore.QLocale.Script', 'PySide2.QtCore.QLocale.Country'), ('str',)],
+ "QLocale.__copy__": (),
+ "QLocale.amText": (),
+ "QLocale.bcp47Name": (),
+ "QLocale.c": (),
+ "QLocale.countriesForLanguage": ('PySide2.QtCore.QLocale.Language',),
+ "QLocale.country": (),
+ "QLocale.countryToString": ('PySide2.QtCore.QLocale.Country',),
+ "QLocale.createSeparatedList": ('List[str]',),
+ "QLocale.currencySymbol": ('PySide2.QtCore.QLocale.CurrencySymbolFormat',),
+ "QLocale.dateFormat": ('PySide2.QtCore.QLocale.FormatType',),
+ "QLocale.dateTimeFormat": ('PySide2.QtCore.QLocale.FormatType',),
+ "QLocale.dayName": ('int', 'PySide2.QtCore.QLocale.FormatType'),
+ "QLocale.decimalPoint": (),
+ "QLocale.exponential": (),
+ "QLocale.firstDayOfWeek": (),
+ "QLocale.formattedDataSize": ('int', 'int', 'PySide2.libpyside.DataSizeFormats'),
+ "QLocale.groupSeparator": (),
+ "QLocale.language": (),
+ "QLocale.languageToString": ('PySide2.QtCore.QLocale.Language',),
+ "QLocale.matchingLocales": ('PySide2.QtCore.QLocale.Language', 'PySide2.QtCore.QLocale.Script', 'PySide2.QtCore.QLocale.Country'),
+ "QLocale.measurementSystem": (),
+ "QLocale.monthName": ('int', 'PySide2.QtCore.QLocale.FormatType'),
+ "QLocale.name": (),
+ "QLocale.nativeCountryName": (),
+ "QLocale.nativeLanguageName": (),
+ "QLocale.negativeSign": (),
+ "QLocale.numberOptions": (),
+ "QLocale.percent": (),
+ "QLocale.pmText": (),
+ "QLocale.positiveSign": (),
+ "QLocale.quoteString": ('str', 'PySide2.QtCore.QLocale.QuotationStyle'),
+ "QLocale.script": (),
+ "QLocale.scriptToString": ('PySide2.QtCore.QLocale.Script',),
+ "QLocale.setDefault": ('PySide2.QtCore.QLocale',),
+ "QLocale.setNumberOptions": ('PySide2.libpyside.NumberOptions',),
+ "QLocale.standaloneDayName": ('int', 'PySide2.QtCore.QLocale.FormatType'),
+ "QLocale.standaloneMonthName": ('int', 'PySide2.QtCore.QLocale.FormatType'),
+ "QLocale.swap": ('PySide2.QtCore.QLocale',),
+ "QLocale.system": (),
+ "QLocale.textDirection": (),
+ "QLocale.timeFormat": ('PySide2.QtCore.QLocale.FormatType',),
+ "QLocale.toCurrencyString": [('float', 'str'), ('float', 'str', 'int'), ('int', 'str')],
+ "QLocale.toDate": [('str', 'PySide2.QtCore.QLocale.FormatType'), ('str', 'str')],
+ "QLocale.toDateTime": [('str', 'PySide2.QtCore.QLocale.FormatType'), ('str', 'str')],
+ "QLocale.toDouble": ('str', 'bool'),
+ "QLocale.toFloat": ('str', 'bool'),
+ "QLocale.toInt": ('str', 'bool'),
+ "QLocale.toLongLong": ('str', 'bool'),
+ "QLocale.toLower": ('str',),
+ "QLocale.toShort": ('str', 'bool'),
+ "QLocale.toString": [('PySide2.QtCore.QDate', 'PySide2.QtCore.QLocale.FormatType'), ('PySide2.QtCore.QDate', 'str'), ('PySide2.QtCore.QDateTime', 'PySide2.QtCore.QLocale.FormatType'), ('PySide2.QtCore.QDateTime', 'str'), ('PySide2.QtCore.QTime', 'PySide2.QtCore.QLocale.FormatType'), ('PySide2.QtCore.QTime', 'str'), ('float', 'Union[str, int]', 'int'), ('int',)],
+ "QLocale.toTime": [('str', 'PySide2.QtCore.QLocale.FormatType'), ('str', 'str')],
+ "QLocale.toUInt": ('str', 'bool'),
+ "QLocale.toULongLong": ('str', 'bool'),
+ "QLocale.toUShort": ('str', 'bool'),
+ "QLocale.toUpper": ('str',),
+ "QLocale.uiLanguages": (),
+ "QLocale.weekdays": (),
+ "QLocale.zeroDigit": (),
+
+ # class PySide2.QtCore.QLockFile:
+ "QLockFile.__init__": ('str',),
+ "QLockFile.error": (),
+ "QLockFile.getLockInfo": ('int', 'str', 'str'),
+ "QLockFile.isLocked": (),
+ "QLockFile.lock": (),
+ "QLockFile.removeStaleLockFile": (),
+ "QLockFile.setStaleLockTime": ('int',),
+ "QLockFile.staleLockTime": (),
+ "QLockFile.tryLock": ('int',),
+ "QLockFile.unlock": (),
+
+ # class PySide2.QtCore.QMargins:
+ "QMargins.__init__": [(), ('PySide2.QtCore.QMargins',), ('int', 'int', 'int', 'int')],
+ "QMargins.__copy__": (),
+ "QMargins.bottom": (),
+ "QMargins.isNull": (),
+ "QMargins.left": (),
+ "QMargins.right": (),
+ "QMargins.setBottom": ('int',),
+ "QMargins.setLeft": ('int',),
+ "QMargins.setRight": ('int',),
+ "QMargins.setTop": ('int',),
+ "QMargins.top": (),
+
+ # class PySide2.QtCore.QMarginsF:
+ "QMarginsF.__init__": [(), ('PySide2.QtCore.QMargins',), ('PySide2.QtCore.QMarginsF',), ('float', 'float', 'float', 'float')],
+ "QMarginsF.__copy__": (),
+ "QMarginsF.bottom": (),
+ "QMarginsF.isNull": (),
+ "QMarginsF.left": (),
+ "QMarginsF.right": (),
+ "QMarginsF.setBottom": ('float',),
+ "QMarginsF.setLeft": ('float',),
+ "QMarginsF.setRight": ('float',),
+ "QMarginsF.setTop": ('float',),
+ "QMarginsF.toMargins": (),
+ "QMarginsF.top": (),
+
+ # class PySide2.QtCore.QMessageAuthenticationCode:
+ "QMessageAuthenticationCode.__init__": ('PySide2.QtCore.QCryptographicHash.Algorithm', 'PySide2.QtCore.QByteArray'),
+ "QMessageAuthenticationCode.addData": [('PySide2.QtCore.QByteArray',), ('PySide2.QtCore.QIODevice',), ('str', 'int')],
+ "QMessageAuthenticationCode.hash": ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QByteArray', 'PySide2.QtCore.QCryptographicHash.Algorithm'),
+ "QMessageAuthenticationCode.reset": (),
+ "QMessageAuthenticationCode.result": (),
+ "QMessageAuthenticationCode.setKey": ('PySide2.QtCore.QByteArray',),
+
+ # class PySide2.QtCore.QMessageLogContext:
+ "QMessageLogContext.__init__": [(), ('str', 'int', 'str', 'str')],
+
+ # class PySide2.QtCore.QMetaClassInfo:
+ "QMetaClassInfo.__init__": [(), ('PySide2.QtCore.QMetaClassInfo',)],
+ "QMetaClassInfo.__copy__": (),
+ "QMetaClassInfo.name": (),
+ "QMetaClassInfo.value": (),
+
+ # class PySide2.QtCore.QMetaEnum:
+ "QMetaEnum.__init__": [(), ('PySide2.QtCore.QMetaEnum',)],
+ "QMetaEnum.__copy__": (),
+ "QMetaEnum.isFlag": (),
+ "QMetaEnum.isScoped": (),
+ "QMetaEnum.isValid": (),
+ "QMetaEnum.key": ('int',),
+ "QMetaEnum.keyCount": (),
+ "QMetaEnum.keyToValue": ('str', 'bool'),
+ "QMetaEnum.keysToValue": ('str', 'bool'),
+ "QMetaEnum.name": (),
+ "QMetaEnum.scope": (),
+ "QMetaEnum.value": ('int',),
+ "QMetaEnum.valueToKey": ('int',),
+ "QMetaEnum.valueToKeys": ('int',),
+
+ # class PySide2.QtCore.QMetaMethod:
+ "QMetaMethod.__init__": [(), ('PySide2.QtCore.QMetaMethod',)],
+ "QMetaMethod.__copy__": (),
+ "QMetaMethod.access": (),
+ "QMetaMethod.enclosingMetaObject": (),
+ "QMetaMethod.invoke": [('PySide2.QtCore.QObject', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument'), ('PySide2.QtCore.QObject', 'PySide2.QtCore.QGenericReturnArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument'), ('PySide2.QtCore.QObject', 'PySide2.QtCore.Qt.ConnectionType', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument'), ('PySide2.QtCore.QObject', 'PySide2.QtCore.Qt.ConnectionType', 'PySide2.QtCore.QGenericReturnArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument')],
+ "QMetaMethod.invokeOnGadget": [('int', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument'), ('int', 'PySide2.QtCore.QGenericReturnArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument')],
+ "QMetaMethod.isValid": (),
+ "QMetaMethod.methodIndex": (),
+ "QMetaMethod.methodSignature": (),
+ "QMetaMethod.methodType": (),
+ "QMetaMethod.name": (),
+ "QMetaMethod.parameterCount": (),
+ "QMetaMethod.parameterNames": (),
+ "QMetaMethod.parameterType": ('int',),
+ "QMetaMethod.parameterTypes": (),
+ "QMetaMethod.returnType": (),
+ "QMetaMethod.revision": (),
+ "QMetaMethod.tag": (),
+ "QMetaMethod.typeName": (),
+
+ # class PySide2.QtCore.QMetaObject:
+ "QMetaObject.__init__": (),
+ "QMetaObject.cast": ('PySide2.QtCore.QObject',),
+ "QMetaObject.checkConnectArgs": [('PySide2.QtCore.QMetaMethod', 'PySide2.QtCore.QMetaMethod'), ('str', 'str')],
+ "QMetaObject.classInfo": ('int',),
+ "QMetaObject.classInfoCount": (),
+ "QMetaObject.classInfoOffset": (),
+ "QMetaObject.className": (),
+ "QMetaObject.connectSlotsByName": ('PySide2.QtCore.QObject',),
+ "QMetaObject.constructor": ('int',),
+ "QMetaObject.constructorCount": (),
+ "QMetaObject.disconnect": ('PySide2.QtCore.QObject', 'int', 'PySide2.QtCore.QObject', 'int'),
+ "QMetaObject.disconnectOne": ('PySide2.QtCore.QObject', 'int', 'PySide2.QtCore.QObject', 'int'),
+ "QMetaObject.enumerator": ('int',),
+ "QMetaObject.enumeratorCount": (),
+ "QMetaObject.enumeratorOffset": (),
+ "QMetaObject.indexOfClassInfo": ('str',),
+ "QMetaObject.indexOfConstructor": ('str',),
+ "QMetaObject.indexOfEnumerator": ('str',),
+ "QMetaObject.indexOfMethod": ('str',),
+ "QMetaObject.indexOfProperty": ('str',),
+ "QMetaObject.indexOfSignal": ('str',),
+ "QMetaObject.indexOfSlot": ('str',),
+ "QMetaObject.inherits": ('PySide2.QtCore.QMetaObject',),
+ "QMetaObject.invokeMethod": [('PySide2.QtCore.QObject', 'str', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument'), ('PySide2.QtCore.QObject', 'str', 'PySide2.QtCore.QGenericReturnArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument'), ('PySide2.QtCore.QObject', 'str', 'PySide2.QtCore.Qt.ConnectionType', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument'), ('PySide2.QtCore.QObject', 'str', 'PySide2.QtCore.Qt.ConnectionType', 'PySide2.QtCore.QGenericReturnArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument')],
+ "QMetaObject.method": ('int',),
+ "QMetaObject.methodCount": (),
+ "QMetaObject.methodOffset": (),
+ "QMetaObject.newInstance": ('PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument', 'PySide2.QtCore.QGenericArgument'),
+ "QMetaObject.normalizedSignature": ('str',),
+ "QMetaObject.normalizedType": ('str',),
+ "QMetaObject.property": ('int',),
+ "QMetaObject.propertyCount": (),
+ "QMetaObject.propertyOffset": (),
+ "QMetaObject.superClass": (),
+ "QMetaObject.userProperty": (),
+
+ # class PySide2.QtCore.QMetaProperty:
+ "QMetaProperty.__init__": [(), ('PySide2.QtCore.QMetaProperty',)],
+ "QMetaProperty.__copy__": (),
+ "QMetaProperty.enumerator": (),
+ "QMetaProperty.hasNotifySignal": (),
+ "QMetaProperty.hasStdCppSet": (),
+ "QMetaProperty.isConstant": (),
+ "QMetaProperty.isDesignable": ('PySide2.QtCore.QObject',),
+ "QMetaProperty.isEditable": ('PySide2.QtCore.QObject',),
+ "QMetaProperty.isEnumType": (),
+ "QMetaProperty.isFinal": (),
+ "QMetaProperty.isFlagType": (),
+ "QMetaProperty.isReadable": (),
+ "QMetaProperty.isResettable": (),
+ "QMetaProperty.isScriptable": ('PySide2.QtCore.QObject',),
+ "QMetaProperty.isStored": ('PySide2.QtCore.QObject',),
+ "QMetaProperty.isUser": ('PySide2.QtCore.QObject',),
+ "QMetaProperty.isValid": (),
+ "QMetaProperty.isWritable": (),
+ "QMetaProperty.name": (),
+ "QMetaProperty.notifySignal": (),
+ "QMetaProperty.notifySignalIndex": (),
+ "QMetaProperty.propertyIndex": (),
+ "QMetaProperty.read": ('PySide2.QtCore.QObject',),
+ "QMetaProperty.readOnGadget": ('int',),
+ "QMetaProperty.reset": ('PySide2.QtCore.QObject',),
+ "QMetaProperty.resetOnGadget": ('int',),
+ "QMetaProperty.revision": (),
+ "QMetaProperty.type": (),
+ "QMetaProperty.typeName": (),
+ "QMetaProperty.userType": (),
+ "QMetaProperty.write": ('PySide2.QtCore.QObject', 'Any'),
+ "QMetaProperty.writeOnGadget": ('int', 'Any'),
+
+ # class PySide2.QtCore.QMimeData:
+ "QMimeData.__init__": (),
+ "QMimeData.clear": (),
+ "QMimeData.colorData": (),
+ "QMimeData.data": ('str',),
+ "QMimeData.formats": (),
+ "QMimeData.hasColor": (),
+ "QMimeData.hasFormat": ('str',),
+ "QMimeData.hasHtml": (),
+ "QMimeData.hasImage": (),
+ "QMimeData.hasText": (),
+ "QMimeData.hasUrls": (),
+ "QMimeData.html": (),
+ "QMimeData.imageData": (),
+ "QMimeData.removeFormat": ('str',),
+ "QMimeData.retrieveData": ('str', 'type'),
+ "QMimeData.setColorData": ('Any',),
+ "QMimeData.setData": ('str', 'PySide2.QtCore.QByteArray'),
+ "QMimeData.setHtml": ('str',),
+ "QMimeData.setImageData": ('Any',),
+ "QMimeData.setText": ('str',),
+ "QMimeData.setUrls": ('list',),
+ "QMimeData.text": (),
+ "QMimeData.urls": (),
+
+ # class PySide2.QtCore.QMimeDatabase:
+ "QMimeDatabase.__init__": (),
+ "QMimeDatabase.allMimeTypes": (),
+ "QMimeDatabase.mimeTypeForData": [('PySide2.QtCore.QByteArray',), ('PySide2.QtCore.QIODevice',)],
+ "QMimeDatabase.mimeTypeForFile": [('PySide2.QtCore.QFileInfo', 'PySide2.QtCore.QMimeDatabase.MatchMode'), ('str', 'PySide2.QtCore.QMimeDatabase.MatchMode')],
+ "QMimeDatabase.mimeTypeForFileNameAndData": [('str', 'PySide2.QtCore.QByteArray'), ('str', 'PySide2.QtCore.QIODevice')],
+ "QMimeDatabase.mimeTypeForName": ('str',),
+ "QMimeDatabase.mimeTypeForUrl": ('PySide2.QtCore.QUrl',),
+ "QMimeDatabase.mimeTypesForFileName": ('str',),
+ "QMimeDatabase.suffixForFileName": ('str',),
+
+ # class PySide2.QtCore.QMimeType:
+ "QMimeType.__init__": [(), ('PySide2.QtCore.QMimeType',)],
+ "QMimeType.__copy__": (),
+ "QMimeType.aliases": (),
+ "QMimeType.allAncestors": (),
+ "QMimeType.comment": (),
+ "QMimeType.filterString": (),
+ "QMimeType.genericIconName": (),
+ "QMimeType.globPatterns": (),
+ "QMimeType.iconName": (),
+ "QMimeType.inherits": ('str',),
+ "QMimeType.isDefault": (),
+ "QMimeType.isValid": (),
+ "QMimeType.name": (),
+ "QMimeType.parentMimeTypes": (),
+ "QMimeType.preferredSuffix": (),
+ "QMimeType.suffixes": (),
+ "QMimeType.swap": ('PySide2.QtCore.QMimeType',),
+
+ # class PySide2.QtCore.QModelIndex:
+ "QModelIndex.__init__": [(), ('PySide2.QtCore.QModelIndex',)],
+ "QModelIndex.__copy__": (),
+ "QModelIndex.child": ('int', 'int'),
+ "QModelIndex.column": (),
+ "QModelIndex.data": ('int',),
+ "QModelIndex.flags": (),
+ "QModelIndex.internalId": (),
+ "QModelIndex.internalPointer": (),
+ "QModelIndex.isValid": (),
+ "QModelIndex.model": (),
+ "QModelIndex.parent": (),
+ "QModelIndex.row": (),
+ "QModelIndex.sibling": ('int', 'int'),
+ "QModelIndex.siblingAtColumn": ('int',),
+ "QModelIndex.siblingAtRow": ('int',),
+
+ # class PySide2.QtCore.QMutex:
+ "QMutex.__init__": ('PySide2.QtCore.QMutex.RecursionMode',),
+ "QMutex.isRecursive": (),
+ "QMutex.lock": (),
+ "QMutex.tryLock": [(), ('int',)],
+ "QMutex.try_lock": (),
+ "QMutex.unlock": (),
+
+ # class PySide2.QtCore.QMutexLocker:
+ "QMutexLocker.__init__": ('PySide2.QtCore.QBasicMutex',),
+ "QMutexLocker.__enter__": (),
+ "QMutexLocker.__exit__": ('object', 'object', 'object'),
+ "QMutexLocker.mutex": (),
+ "QMutexLocker.relock": (),
+ "QMutexLocker.unlock": (),
+
+ # class PySide2.QtCore.QObject:
+ "QObject.__init__": ('PySide2.QtCore.QObject',),
+ "QObject.blockSignals": ('bool',),
+ "QObject.childEvent": ('PySide2.QtCore.QChildEvent',),
+ "QObject.children": (),
+ "QObject.connect": [('PySide2.QtCore.QObject', 'PySide2.QtCore.QMetaMethod', 'PySide2.QtCore.QObject', 'PySide2.QtCore.QMetaMethod', 'PySide2.QtCore.Qt.ConnectionType'), ('PySide2.QtCore.QObject', 'str', 'Callable', 'PySide2.QtCore.Qt.ConnectionType'), ('PySide2.QtCore.QObject', 'str', 'PySide2.QtCore.QObject', 'str', 'PySide2.QtCore.Qt.ConnectionType'), ('PySide2.QtCore.QObject', 'str', 'str', 'PySide2.QtCore.Qt.ConnectionType'), ('str', 'Callable', 'PySide2.QtCore.Qt.ConnectionType'), ('str', 'PySide2.QtCore.QObject', 'str', 'PySide2.QtCore.Qt.ConnectionType')],
+ "QObject.connectNotify": ('PySide2.QtCore.QMetaMethod',),
+ "QObject.customEvent": ('PySide2.QtCore.QEvent',),
+ "QObject.deleteLater": (),
+ "QObject.disconnect": [('PySide2.QtCore.QMetaObject.Connection',), ('PySide2.QtCore.QObject', 'PySide2.QtCore.QMetaMethod', 'PySide2.QtCore.QObject', 'PySide2.QtCore.QMetaMethod'), ('PySide2.QtCore.QObject', 'str'), ('PySide2.QtCore.QObject', 'str', 'Callable'), ('PySide2.QtCore.QObject', 'str', 'PySide2.QtCore.QObject', 'str'), ('str', 'Callable'), ('str', 'PySide2.QtCore.QObject', 'str')],
+ "QObject.disconnectNotify": ('PySide2.QtCore.QMetaMethod',),
+ "QObject.dumpObjectInfo": (),
+ "QObject.dumpObjectTree": (),
+ "QObject.dynamicPropertyNames": (),
+ "QObject.emit": ('str', '...'),
+ "QObject.event": ('PySide2.QtCore.QEvent',),
+ "QObject.eventFilter": ('PySide2.QtCore.QObject', 'PySide2.QtCore.QEvent'),
+ "QObject.findChild": ('type', 'str'),
+ "QObject.findChildren": [('type', 'PySide2.QtCore.QRegExp'), ('type', 'str')],
+ "QObject.inherits": ('str',),
+ "QObject.installEventFilter": ('PySide2.QtCore.QObject',),
+ "QObject.isSignalConnected": ('PySide2.QtCore.QMetaMethod',),
+ "QObject.isWidgetType": (),
+ "QObject.isWindowType": (),
+ "QObject.killTimer": ('int',),
+ "QObject.metaObject": (),
+ "QObject.moveToThread": ('PySide2.QtCore.QThread',),
+ "QObject.objectName": (),
+ "QObject.parent": (),
+ "QObject.property": ('str',),
+ "QObject.receivers": ('str',),
+ "QObject.registerUserData": (),
+ "QObject.removeEventFilter": ('PySide2.QtCore.QObject',),
+ "QObject.sender": (),
+ "QObject.senderSignalIndex": (),
+ "QObject.setObjectName": ('str',),
+ "QObject.setParent": ('PySide2.QtCore.QObject',),
+ "QObject.setProperty": ('str', 'Any'),
+ "QObject.signalsBlocked": (),
+ "QObject.startTimer": ('int', 'PySide2.QtCore.Qt.TimerType'),
+ "QObject.thread": (),
+ "QObject.timerEvent": ('PySide2.QtCore.QTimerEvent',),
+ "QObject.tr": ('str', 'str', 'int'),
+
+ # class PySide2.QtCore.QOperatingSystemVersion:
+ "QOperatingSystemVersion.__init__": [('PySide2.QtCore.QOperatingSystemVersion',), ('PySide2.QtCore.QOperatingSystemVersion.OSType', 'int', 'int', 'int')],
+ "QOperatingSystemVersion.__copy__": (),
+ "QOperatingSystemVersion.current": (),
+ "QOperatingSystemVersion.currentType": (),
+ "QOperatingSystemVersion.majorVersion": (),
+ "QOperatingSystemVersion.microVersion": (),
+ "QOperatingSystemVersion.minorVersion": (),
+ "QOperatingSystemVersion.name": (),
+ "QOperatingSystemVersion.segmentCount": (),
+ "QOperatingSystemVersion.type": (),
+
+ # class PySide2.QtCore.QParallelAnimationGroup:
+ "QParallelAnimationGroup.__init__": ('PySide2.QtCore.QObject',),
+ "QParallelAnimationGroup.duration": (),
+ "QParallelAnimationGroup.event": ('PySide2.QtCore.QEvent',),
+ "QParallelAnimationGroup.updateCurrentTime": ('int',),
+ "QParallelAnimationGroup.updateDirection": ('PySide2.QtCore.QAbstractAnimation.Direction',),
+ "QParallelAnimationGroup.updateState": ('PySide2.QtCore.QAbstractAnimation.State', 'PySide2.QtCore.QAbstractAnimation.State'),
+
+ # class PySide2.QtCore.QPauseAnimation:
+ "QPauseAnimation.__init__": [('PySide2.QtCore.QObject',), ('int', 'PySide2.QtCore.QObject')],
+ "QPauseAnimation.duration": (),
+ "QPauseAnimation.event": ('PySide2.QtCore.QEvent',),
+ "QPauseAnimation.setDuration": ('int',),
+ "QPauseAnimation.updateCurrentTime": ('int',),
+
+ # class PySide2.QtCore.QPersistentModelIndex:
+ "QPersistentModelIndex.__init__": [(), ('PySide2.QtCore.QModelIndex',), ('PySide2.QtCore.QPersistentModelIndex',)],
+ "QPersistentModelIndex.__copy__": (),
+ "QPersistentModelIndex.child": ('int', 'int'),
+ "QPersistentModelIndex.column": (),
+ "QPersistentModelIndex.data": ('int',),
+ "QPersistentModelIndex.flags": (),
+ "QPersistentModelIndex.internalId": (),
+ "QPersistentModelIndex.internalPointer": (),
+ "QPersistentModelIndex.isValid": (),
+ "QPersistentModelIndex.model": (),
+ "QPersistentModelIndex.parent": (),
+ "QPersistentModelIndex.row": (),
+ "QPersistentModelIndex.sibling": ('int', 'int'),
+ "QPersistentModelIndex.swap": ('PySide2.QtCore.QPersistentModelIndex',),
+
+ # class PySide2.QtCore.QPluginLoader:
+ "QPluginLoader.__init__": [('PySide2.QtCore.QObject',), ('str', 'PySide2.QtCore.QObject')],
+ "QPluginLoader.errorString": (),
+ "QPluginLoader.fileName": (),
+ "QPluginLoader.instance": (),
+ "QPluginLoader.isLoaded": (),
+ "QPluginLoader.load": (),
+ "QPluginLoader.metaData": (),
+ "QPluginLoader.setFileName": ('str',),
+ "QPluginLoader.staticInstances": (),
+ "QPluginLoader.unload": (),
+
+ # class PySide2.QtCore.QPoint:
+ "QPoint.__init__": [(), ('PySide2.QtCore.QPoint',), ('int', 'int')],
+ "QPoint.__copy__": (),
+ "QPoint.__reduce__": (),
+ "QPoint.dotProduct": ('PySide2.QtCore.QPoint', 'PySide2.QtCore.QPoint'),
+ "QPoint.isNull": (),
+ "QPoint.manhattanLength": (),
+ "QPoint.setX": ('int',),
+ "QPoint.setY": ('int',),
+ "QPoint.toTuple": (),
+ "QPoint.x": (),
+ "QPoint.y": (),
+
+ # class PySide2.QtCore.QPointF:
+ "QPointF.__init__": [(), ('PySide2.QtCore.QPoint',), ('PySide2.QtCore.QPointF',), ('float', 'float')],
+ "QPointF.__copy__": (),
+ "QPointF.__reduce__": (),
+ "QPointF.dotProduct": ('PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF'),
+ "QPointF.isNull": (),
+ "QPointF.manhattanLength": (),
+ "QPointF.setX": ('float',),
+ "QPointF.setY": ('float',),
+ "QPointF.toPoint": (),
+ "QPointF.toTuple": (),
+ "QPointF.x": (),
+ "QPointF.y": (),
+
+ # class PySide2.QtCore.QProcess:
+ "QProcess.__init__": ('PySide2.QtCore.QObject',),
+ "QProcess.arguments": (),
+ "QProcess.atEnd": (),
+ "QProcess.bytesAvailable": (),
+ "QProcess.bytesToWrite": (),
+ "QProcess.canReadLine": (),
+ "QProcess.close": (),
+ "QProcess.closeReadChannel": ('PySide2.QtCore.QProcess.ProcessChannel',),
+ "QProcess.closeWriteChannel": (),
+ "QProcess.environment": (),
+ "QProcess.execute": [('str',), ('str', 'List[str]')],
+ "QProcess.exitCode": (),
+ "QProcess.exitStatus": (),
+ "QProcess.inputChannelMode": (),
+ "QProcess.isSequential": (),
+ "QProcess.kill": (),
+ "QProcess.nullDevice": (),
+ "QProcess.open": ('PySide2.libpyside.OpenMode',),
+ "QProcess.pid": (),
+ "QProcess.processChannelMode": (),
+ "QProcess.processEnvironment": (),
+ "QProcess.processId": (),
+ "QProcess.program": (),
+ "QProcess.readAllStandardError": (),
+ "QProcess.readAllStandardOutput": (),
+ "QProcess.readChannel": (),
+ "QProcess.readData": ('str', 'int'),
+ "QProcess.setArguments": ('List[str]',),
+ "QProcess.setEnvironment": ('List[str]',),
+ "QProcess.setInputChannelMode": ('PySide2.QtCore.QProcess.InputChannelMode',),
+ "QProcess.setProcessChannelMode": ('PySide2.QtCore.QProcess.ProcessChannelMode',),
+ "QProcess.setProcessEnvironment": ('PySide2.QtCore.QProcessEnvironment',),
+ "QProcess.setProcessState": ('PySide2.QtCore.QProcess.ProcessState',),
+ "QProcess.setProgram": ('str',),
+ "QProcess.setReadChannel": ('PySide2.QtCore.QProcess.ProcessChannel',),
+ "QProcess.setStandardErrorFile": ('str', 'PySide2.libpyside.OpenMode'),
+ "QProcess.setStandardInputFile": ('str',),
+ "QProcess.setStandardOutputFile": ('str', 'PySide2.libpyside.OpenMode'),
+ "QProcess.setStandardOutputProcess": ('PySide2.QtCore.QProcess',),
+ "QProcess.setWorkingDirectory": ('str',),
+ "QProcess.setupChildProcess": (),
+ "QProcess.start": [('PySide2.libpyside.OpenMode',), ('str', 'List[str]', 'PySide2.libpyside.OpenMode'), ('str', 'PySide2.libpyside.OpenMode')],
+ "QProcess.startDetached": [('int',), ('str',), ('str', 'List[str]'), ('str', 'List[str]', 'str', 'int')],
+ "QProcess.state": (),
+ "QProcess.systemEnvironment": (),
+ "QProcess.terminate": (),
+ "QProcess.waitForBytesWritten": ('int',),
+ "QProcess.waitForFinished": ('int',),
+ "QProcess.waitForReadyRead": ('int',),
+ "QProcess.waitForStarted": ('int',),
+ "QProcess.workingDirectory": (),
+ "QProcess.writeData": ('str', 'int'),
+
+ # class PySide2.QtCore.QProcessEnvironment:
+ "QProcessEnvironment.__init__": [(), ('PySide2.QtCore.QProcessEnvironment',)],
+ "QProcessEnvironment.__copy__": (),
+ "QProcessEnvironment.clear": (),
+ "QProcessEnvironment.contains": ('str',),
+ "QProcessEnvironment.insert": [('PySide2.QtCore.QProcessEnvironment',), ('str', 'str')],
+ "QProcessEnvironment.isEmpty": (),
+ "QProcessEnvironment.keys": (),
+ "QProcessEnvironment.remove": ('str',),
+ "QProcessEnvironment.swap": ('PySide2.QtCore.QProcessEnvironment',),
+ "QProcessEnvironment.systemEnvironment": (),
+ "QProcessEnvironment.toStringList": (),
+ "QProcessEnvironment.value": ('str', 'str'),
+
+ # class PySide2.QtCore.QPropertyAnimation:
+ "QPropertyAnimation.__init__": [('PySide2.QtCore.QObject',), ('PySide2.QtCore.QObject', 'PySide2.QtCore.QByteArray', 'PySide2.QtCore.QObject')],
+ "QPropertyAnimation.event": ('PySide2.QtCore.QEvent',),
+ "QPropertyAnimation.propertyName": (),
+ "QPropertyAnimation.setPropertyName": ('PySide2.QtCore.QByteArray',),
+ "QPropertyAnimation.setTargetObject": ('PySide2.QtCore.QObject',),
+ "QPropertyAnimation.targetObject": (),
+ "QPropertyAnimation.updateCurrentValue": ('Any',),
+ "QPropertyAnimation.updateState": ('PySide2.QtCore.QAbstractAnimation.State', 'PySide2.QtCore.QAbstractAnimation.State'),
+
+ # class PySide2.QtCore.QRandomGenerator:
+ "QRandomGenerator.__init__": [('PySide2.QtCore.QRandomGenerator',), ('int',), ('int', 'int')],
+ "QRandomGenerator.bounded": [('float',), ('int',), ('int', 'int')],
+ "QRandomGenerator.discard": ('int',),
+ "QRandomGenerator.generate": [(), ('int', 'int')],
+ "QRandomGenerator.generate64": (),
+ "QRandomGenerator.generateDouble": (),
+ "QRandomGenerator.global_": (),
+ "QRandomGenerator.max": (),
+ "QRandomGenerator.min": (),
+ "QRandomGenerator.securelySeeded": (),
+ "QRandomGenerator.seed": ('int',),
+ "QRandomGenerator.system": (),
+
+ # class PySide2.QtCore.QRandomGenerator64:
+ "QRandomGenerator64.__init__": [('PySide2.QtCore.QRandomGenerator',), ('int',), ('int', 'int')],
+ "QRandomGenerator64.discard": ('int',),
+ "QRandomGenerator64.generate": (),
+ "QRandomGenerator64.global_": (),
+ "QRandomGenerator64.max": (),
+ "QRandomGenerator64.min": (),
+ "QRandomGenerator64.securelySeeded": (),
+ "QRandomGenerator64.system": (),
+
+ # class PySide2.QtCore.QReadLocker:
+ "QReadLocker.__init__": ('PySide2.QtCore.QReadWriteLock',),
+ "QReadLocker.__enter__": (),
+ "QReadLocker.__exit__": ('object', 'object', 'object'),
+ "QReadLocker.readWriteLock": (),
+ "QReadLocker.relock": (),
+ "QReadLocker.unlock": (),
+
+ # class PySide2.QtCore.QReadWriteLock:
+ "QReadWriteLock.__init__": ('PySide2.QtCore.QReadWriteLock.RecursionMode',),
+ "QReadWriteLock.lockForRead": (),
+ "QReadWriteLock.lockForWrite": (),
+ "QReadWriteLock.tryLockForRead": [(), ('int',)],
+ "QReadWriteLock.tryLockForWrite": [(), ('int',)],
+ "QReadWriteLock.unlock": (),
+
+ # class PySide2.QtCore.QRect:
+ "QRect.__init__": [(), ('PySide2.QtCore.QPoint', 'PySide2.QtCore.QPoint'), ('PySide2.QtCore.QPoint', 'PySide2.QtCore.QSize'), ('PySide2.QtCore.QRect',), ('int', 'int', 'int', 'int')],
+ "QRect.__copy__": (),
+ "QRect.__reduce__": (),
+ "QRect.adjust": ('int', 'int', 'int', 'int'),
+ "QRect.adjusted": ('int', 'int', 'int', 'int'),
+ "QRect.bottom": (),
+ "QRect.bottomLeft": (),
+ "QRect.bottomRight": (),
+ "QRect.center": (),
+ "QRect.contains": [('PySide2.QtCore.QPoint', 'bool'), ('PySide2.QtCore.QRect', 'bool'), ('int', 'int'), ('int', 'int', 'bool')],
+ "QRect.getCoords": ('int', 'int', 'int', 'int'),
+ "QRect.getRect": ('int', 'int', 'int', 'int'),
+ "QRect.height": (),
+ "QRect.intersected": ('PySide2.QtCore.QRect',),
+ "QRect.intersects": ('PySide2.QtCore.QRect',),
+ "QRect.isEmpty": (),
+ "QRect.isNull": (),
+ "QRect.isValid": (),
+ "QRect.left": (),
+ "QRect.marginsAdded": ('PySide2.QtCore.QMargins',),
+ "QRect.marginsRemoved": ('PySide2.QtCore.QMargins',),
+ "QRect.moveBottom": ('int',),
+ "QRect.moveBottomLeft": ('PySide2.QtCore.QPoint',),
+ "QRect.moveBottomRight": ('PySide2.QtCore.QPoint',),
+ "QRect.moveCenter": ('PySide2.QtCore.QPoint',),
+ "QRect.moveLeft": ('int',),
+ "QRect.moveRight": ('int',),
+ "QRect.moveTo": [('PySide2.QtCore.QPoint',), ('int', 'int')],
+ "QRect.moveTop": ('int',),
+ "QRect.moveTopLeft": ('PySide2.QtCore.QPoint',),
+ "QRect.moveTopRight": ('PySide2.QtCore.QPoint',),
+ "QRect.normalized": (),
+ "QRect.right": (),
+ "QRect.setBottom": ('int',),
+ "QRect.setBottomLeft": ('PySide2.QtCore.QPoint',),
+ "QRect.setBottomRight": ('PySide2.QtCore.QPoint',),
+ "QRect.setCoords": ('int', 'int', 'int', 'int'),
+ "QRect.setHeight": ('int',),
+ "QRect.setLeft": ('int',),
+ "QRect.setRect": ('int', 'int', 'int', 'int'),
+ "QRect.setRight": ('int',),
+ "QRect.setSize": ('PySide2.QtCore.QSize',),
+ "QRect.setTop": ('int',),
+ "QRect.setTopLeft": ('PySide2.QtCore.QPoint',),
+ "QRect.setTopRight": ('PySide2.QtCore.QPoint',),
+ "QRect.setWidth": ('int',),
+ "QRect.setX": ('int',),
+ "QRect.setY": ('int',),
+ "QRect.size": (),
+ "QRect.top": (),
+ "QRect.topLeft": (),
+ "QRect.topRight": (),
+ "QRect.translate": [('PySide2.QtCore.QPoint',), ('int', 'int')],
+ "QRect.translated": [('PySide2.QtCore.QPoint',), ('int', 'int')],
+ "QRect.transposed": (),
+ "QRect.united": ('PySide2.QtCore.QRect',),
+ "QRect.width": (),
+ "QRect.x": (),
+ "QRect.y": (),
+
+ # class PySide2.QtCore.QRectF:
+ "QRectF.__init__": [(), ('PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF'), ('PySide2.QtCore.QPointF', 'PySide2.QtCore.QSizeF'), ('PySide2.QtCore.QRect',), ('PySide2.QtCore.QRectF',), ('float', 'float', 'float', 'float')],
+ "QRectF.__copy__": (),
+ "QRectF.__reduce__": (),
+ "QRectF.adjust": ('float', 'float', 'float', 'float'),
+ "QRectF.adjusted": ('float', 'float', 'float', 'float'),
+ "QRectF.bottom": (),
+ "QRectF.bottomLeft": (),
+ "QRectF.bottomRight": (),
+ "QRectF.center": (),
+ "QRectF.contains": [('PySide2.QtCore.QPointF',), ('PySide2.QtCore.QRectF',), ('float', 'float')],
+ "QRectF.getCoords": ('float', 'float', 'float', 'float'),
+ "QRectF.getRect": ('float', 'float', 'float', 'float'),
+ "QRectF.height": (),
+ "QRectF.intersected": ('PySide2.QtCore.QRectF',),
+ "QRectF.intersects": ('PySide2.QtCore.QRectF',),
+ "QRectF.isEmpty": (),
+ "QRectF.isNull": (),
+ "QRectF.isValid": (),
+ "QRectF.left": (),
+ "QRectF.marginsAdded": ('PySide2.QtCore.QMarginsF',),
+ "QRectF.marginsRemoved": ('PySide2.QtCore.QMarginsF',),
+ "QRectF.moveBottom": ('float',),
+ "QRectF.moveBottomLeft": ('PySide2.QtCore.QPointF',),
+ "QRectF.moveBottomRight": ('PySide2.QtCore.QPointF',),
+ "QRectF.moveCenter": ('PySide2.QtCore.QPointF',),
+ "QRectF.moveLeft": ('float',),
+ "QRectF.moveRight": ('float',),
+ "QRectF.moveTo": [('PySide2.QtCore.QPointF',), ('float', 'float')],
+ "QRectF.moveTop": ('float',),
+ "QRectF.moveTopLeft": ('PySide2.QtCore.QPointF',),
+ "QRectF.moveTopRight": ('PySide2.QtCore.QPointF',),
+ "QRectF.normalized": (),
+ "QRectF.right": (),
+ "QRectF.setBottom": ('float',),
+ "QRectF.setBottomLeft": ('PySide2.QtCore.QPointF',),
+ "QRectF.setBottomRight": ('PySide2.QtCore.QPointF',),
+ "QRectF.setCoords": ('float', 'float', 'float', 'float'),
+ "QRectF.setHeight": ('float',),
+ "QRectF.setLeft": ('float',),
+ "QRectF.setRect": ('float', 'float', 'float', 'float'),
+ "QRectF.setRight": ('float',),
+ "QRectF.setSize": ('PySide2.QtCore.QSizeF',),
+ "QRectF.setTop": ('float',),
+ "QRectF.setTopLeft": ('PySide2.QtCore.QPointF',),
+ "QRectF.setTopRight": ('PySide2.QtCore.QPointF',),
+ "QRectF.setWidth": ('float',),
+ "QRectF.setX": ('float',),
+ "QRectF.setY": ('float',),
+ "QRectF.size": (),
+ "QRectF.toAlignedRect": (),
+ "QRectF.toRect": (),
+ "QRectF.top": (),
+ "QRectF.topLeft": (),
+ "QRectF.topRight": (),
+ "QRectF.translate": [('PySide2.QtCore.QPointF',), ('float', 'float')],
+ "QRectF.translated": [('PySide2.QtCore.QPointF',), ('float', 'float')],
+ "QRectF.transposed": (),
+ "QRectF.united": ('PySide2.QtCore.QRectF',),
+ "QRectF.width": (),
+ "QRectF.x": (),
+ "QRectF.y": (),
+
+ # class PySide2.QtCore.QRegExp:
+ "QRegExp.__init__": [(), ('PySide2.QtCore.QRegExp',), ('str', 'PySide2.QtCore.Qt.CaseSensitivity', 'PySide2.QtCore.QRegExp.PatternSyntax')],
+ "QRegExp.__copy__": (),
+ "QRegExp.__reduce__": (),
+ "QRegExp.cap": ('int',),
+ "QRegExp.captureCount": (),
+ "QRegExp.capturedTexts": (),
+ "QRegExp.caseSensitivity": (),
+ "QRegExp.errorString": (),
+ "QRegExp.escape": ('str',),
+ "QRegExp.exactMatch": ('str',),
+ "QRegExp.indexIn": ('str', 'int', 'PySide2.QtCore.QRegExp.CaretMode'),
+ "QRegExp.isEmpty": (),
+ "QRegExp.isMinimal": (),
+ "QRegExp.isValid": (),
+ "QRegExp.lastIndexIn": ('str', 'int', 'PySide2.QtCore.QRegExp.CaretMode'),
+ "QRegExp.matchedLength": (),
+ "QRegExp.pattern": (),
+ "QRegExp.patternSyntax": (),
+ "QRegExp.pos": ('int',),
+ "QRegExp.replace": ('str', 'str'),
+ "QRegExp.setCaseSensitivity": ('PySide2.QtCore.Qt.CaseSensitivity',),
+ "QRegExp.setMinimal": ('bool',),
+ "QRegExp.setPattern": ('str',),
+ "QRegExp.setPatternSyntax": ('PySide2.QtCore.QRegExp.PatternSyntax',),
+ "QRegExp.swap": ('PySide2.QtCore.QRegExp',),
+
+ # class PySide2.QtCore.QRegularExpression:
+ "QRegularExpression.__init__": [(), ('PySide2.QtCore.QRegularExpression',), ('str', 'PySide2.libpyside.PatternOptions')],
+ "QRegularExpression.__copy__": (),
+ "QRegularExpression.captureCount": (),
+ "QRegularExpression.errorString": (),
+ "QRegularExpression.escape": ('str',),
+ "QRegularExpression.globalMatch": ('str', 'int', 'PySide2.QtCore.QRegularExpression.MatchType', 'PySide2.libpyside.MatchOptions'),
+ "QRegularExpression.isValid": (),
+ "QRegularExpression.match": ('str', 'int', 'PySide2.QtCore.QRegularExpression.MatchType', 'PySide2.libpyside.MatchOptions'),
+ "QRegularExpression.namedCaptureGroups": (),
+ "QRegularExpression.optimize": (),
+ "QRegularExpression.pattern": (),
+ "QRegularExpression.patternErrorOffset": (),
+ "QRegularExpression.patternOptions": (),
+ "QRegularExpression.setPattern": ('str',),
+ "QRegularExpression.setPatternOptions": ('PySide2.libpyside.PatternOptions',),
+ "QRegularExpression.swap": ('PySide2.QtCore.QRegularExpression',),
+
+ # class PySide2.QtCore.QRegularExpressionMatch:
+ "QRegularExpressionMatch.__init__": [(), ('PySide2.QtCore.QRegularExpressionMatch',)],
+ "QRegularExpressionMatch.__copy__": (),
+ "QRegularExpressionMatch.captured": [('int',), ('str',)],
+ "QRegularExpressionMatch.capturedEnd": [('int',), ('str',)],
+ "QRegularExpressionMatch.capturedLength": [('int',), ('str',)],
+ "QRegularExpressionMatch.capturedRef": [('int',), ('str',)],
+ "QRegularExpressionMatch.capturedStart": [('int',), ('str',)],
+ "QRegularExpressionMatch.capturedTexts": (),
+ "QRegularExpressionMatch.hasMatch": (),
+ "QRegularExpressionMatch.hasPartialMatch": (),
+ "QRegularExpressionMatch.isValid": (),
+ "QRegularExpressionMatch.lastCapturedIndex": (),
+ "QRegularExpressionMatch.matchOptions": (),
+ "QRegularExpressionMatch.matchType": (),
+ "QRegularExpressionMatch.regularExpression": (),
+ "QRegularExpressionMatch.swap": ('PySide2.QtCore.QRegularExpressionMatch',),
+
+ # class PySide2.QtCore.QRegularExpressionMatchIterator:
+ "QRegularExpressionMatchIterator.__init__": [(), ('PySide2.QtCore.QRegularExpressionMatchIterator',)],
+ "QRegularExpressionMatchIterator.__copy__": (),
+ "QRegularExpressionMatchIterator.hasNext": (),
+ "QRegularExpressionMatchIterator.isValid": (),
+ "QRegularExpressionMatchIterator.matchOptions": (),
+ "QRegularExpressionMatchIterator.matchType": (),
+ "QRegularExpressionMatchIterator.peekNext": (),
+ "QRegularExpressionMatchIterator.regularExpression": (),
+ "QRegularExpressionMatchIterator.swap": ('PySide2.QtCore.QRegularExpressionMatchIterator',),
+
+ # class PySide2.QtCore.QResource:
+ "QResource.__init__": ('str', 'PySide2.QtCore.QLocale'),
+ "QResource.absoluteFilePath": (),
+ "QResource.addSearchPath": ('str',),
+ "QResource.children": (),
+ "QResource.data": (),
+ "QResource.fileName": (),
+ "QResource.isCompressed": (),
+ "QResource.isDir": (),
+ "QResource.isFile": (),
+ "QResource.isValid": (),
+ "QResource.lastModified": (),
+ "QResource.locale": (),
+ "QResource.registerResource": ('str', 'str'),
+ "QResource.registerResourceData": ('Union[str, int]', 'str'),
+ "QResource.searchPaths": (),
+ "QResource.setFileName": ('str',),
+ "QResource.setLocale": ('PySide2.QtCore.QLocale',),
+ "QResource.size": (),
+ "QResource.unregisterResource": ('str', 'str'),
+ "QResource.unregisterResourceData": ('Union[str, int]', 'str'),
+
+ # class PySide2.QtCore.QRunnable:
+ "QRunnable.__init__": (),
+ "QRunnable.autoDelete": (),
+ "QRunnable.run": (),
+ "QRunnable.setAutoDelete": ('bool',),
+
+ # class PySide2.QtCore.QSaveFile:
+ "QSaveFile.__init__": [('PySide2.QtCore.QObject',), ('str',), ('str', 'PySide2.QtCore.QObject')],
+ "QSaveFile.cancelWriting": (),
+ "QSaveFile.close": (),
+ "QSaveFile.commit": (),
+ "QSaveFile.directWriteFallback": (),
+ "QSaveFile.fileName": (),
+ "QSaveFile.open": ('PySide2.libpyside.OpenMode',),
+ "QSaveFile.setDirectWriteFallback": ('bool',),
+ "QSaveFile.setFileName": ('str',),
+ "QSaveFile.writeData": ('str', 'int'),
+
+ # class PySide2.QtCore.QSemaphore:
+ "QSemaphore.__init__": ('int',),
+ "QSemaphore.acquire": ('int',),
+ "QSemaphore.available": (),
+ "QSemaphore.release": ('int',),
+ "QSemaphore.tryAcquire": [('int',), ('int', 'int')],
+
+ # class PySide2.QtCore.QSemaphoreReleaser:
+ "QSemaphoreReleaser.__init__": [(), ('PySide2.QtCore.QSemaphore', 'int')],
+ "QSemaphoreReleaser.cancel": (),
+ "QSemaphoreReleaser.semaphore": (),
+ "QSemaphoreReleaser.swap": ('PySide2.QtCore.QSemaphoreReleaser',),
+
+ # class PySide2.QtCore.QSequentialAnimationGroup:
+ "QSequentialAnimationGroup.__init__": ('PySide2.QtCore.QObject',),
+ "QSequentialAnimationGroup.addPause": ('int',),
+ "QSequentialAnimationGroup.currentAnimation": (),
+ "QSequentialAnimationGroup.duration": (),
+ "QSequentialAnimationGroup.event": ('PySide2.QtCore.QEvent',),
+ "QSequentialAnimationGroup.insertPause": ('int', 'int'),
+ "QSequentialAnimationGroup.updateCurrentTime": ('int',),
+ "QSequentialAnimationGroup.updateDirection": ('PySide2.QtCore.QAbstractAnimation.Direction',),
+ "QSequentialAnimationGroup.updateState": ('PySide2.QtCore.QAbstractAnimation.State', 'PySide2.QtCore.QAbstractAnimation.State'),
+
+ # class PySide2.QtCore.QSettings:
+ "QSettings.__init__": [('PySide2.QtCore.QObject',), ('PySide2.QtCore.QSettings.Format', 'PySide2.QtCore.QSettings.Scope', 'str', 'str', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QSettings.Scope', 'str', 'str', 'PySide2.QtCore.QObject'), ('str', 'PySide2.QtCore.QSettings.Format', 'PySide2.QtCore.QObject'), ('str', 'str', 'PySide2.QtCore.QObject')],
+ "QSettings.allKeys": (),
+ "QSettings.applicationName": (),
+ "QSettings.beginGroup": ('str',),
+ "QSettings.beginReadArray": ('str',),
+ "QSettings.beginWriteArray": ('str', 'int'),
+ "QSettings.childGroups": (),
+ "QSettings.childKeys": (),
+ "QSettings.clear": (),
+ "QSettings.contains": ('str',),
+ "QSettings.defaultFormat": (),
+ "QSettings.endArray": (),
+ "QSettings.endGroup": (),
+ "QSettings.event": ('PySide2.QtCore.QEvent',),
+ "QSettings.fallbacksEnabled": (),
+ "QSettings.fileName": (),
+ "QSettings.format": (),
+ "QSettings.group": (),
+ "QSettings.iniCodec": (),
+ "QSettings.isAtomicSyncRequired": (),
+ "QSettings.isWritable": (),
+ "QSettings.organizationName": (),
+ "QSettings.remove": ('str',),
+ "QSettings.scope": (),
+ "QSettings.setArrayIndex": ('int',),
+ "QSettings.setAtomicSyncRequired": ('bool',),
+ "QSettings.setDefaultFormat": ('PySide2.QtCore.QSettings.Format',),
+ "QSettings.setFallbacksEnabled": ('bool',),
+ "QSettings.setIniCodec": [('PySide2.QtCore.QTextCodec',), ('str',)],
+ "QSettings.setPath": ('PySide2.QtCore.QSettings.Format', 'PySide2.QtCore.QSettings.Scope', 'str'),
+ "QSettings.setValue": ('str', 'Any'),
+ "QSettings.status": (),
+ "QSettings.sync": (),
+ "QSettings.value": ('str', 'Any'),
+
+ # class PySide2.QtCore.QSignalBlocker:
+ "QSignalBlocker.__init__": ('PySide2.QtCore.QObject',),
+ "QSignalBlocker.reblock": (),
+ "QSignalBlocker.unblock": (),
+
+ # class PySide2.QtCore.QSignalMapper:
+ "QSignalMapper.__init__": ('PySide2.QtCore.QObject',),
+ "QSignalMapper.map": [(), ('PySide2.QtCore.QObject',)],
+ "QSignalMapper.mapping": [('PySide2.QtCore.QObject',), ('int',), ('str',)],
+ "QSignalMapper.removeMappings": ('PySide2.QtCore.QObject',),
+ "QSignalMapper.setMapping": [('PySide2.QtCore.QObject', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QObject', 'int'), ('PySide2.QtCore.QObject', 'str')],
+
+ # class PySide2.QtCore.QSignalTransition:
+ "QSignalTransition.__init__": [('PySide2.QtCore.QObject', 'str', 'PySide2.QtCore.QState'), ('PySide2.QtCore.QState',), ('object', 'PySide2.QtCore.QState')],
+ "QSignalTransition.event": ('PySide2.QtCore.QEvent',),
+ "QSignalTransition.eventTest": ('PySide2.QtCore.QEvent',),
+ "QSignalTransition.onTransition": ('PySide2.QtCore.QEvent',),
+ "QSignalTransition.senderObject": (),
+ "QSignalTransition.setSenderObject": ('PySide2.QtCore.QObject',),
+ "QSignalTransition.setSignal": ('PySide2.QtCore.QByteArray',),
+ "QSignalTransition.signal": (),
+
+ # class PySide2.QtCore.QSize:
+ "QSize.__init__": [(), ('PySide2.QtCore.QSize',), ('int', 'int')],
+ "QSize.__copy__": (),
+ "QSize.__reduce__": (),
+ "QSize.boundedTo": ('PySide2.QtCore.QSize',),
+ "QSize.expandedTo": ('PySide2.QtCore.QSize',),
+ "QSize.height": (),
+ "QSize.isEmpty": (),
+ "QSize.isNull": (),
+ "QSize.isValid": (),
+ "QSize.scale": [('PySide2.QtCore.QSize', 'PySide2.QtCore.Qt.AspectRatioMode'), ('int', 'int', 'PySide2.QtCore.Qt.AspectRatioMode')],
+ "QSize.scaled": [('PySide2.QtCore.QSize', 'PySide2.QtCore.Qt.AspectRatioMode'), ('int', 'int', 'PySide2.QtCore.Qt.AspectRatioMode')],
+ "QSize.setHeight": ('int',),
+ "QSize.setWidth": ('int',),
+ "QSize.toTuple": (),
+ "QSize.transpose": (),
+ "QSize.transposed": (),
+ "QSize.width": (),
+
+ # class PySide2.QtCore.QSizeF:
+ "QSizeF.__init__": [(), ('PySide2.QtCore.QSize',), ('PySide2.QtCore.QSizeF',), ('float', 'float')],
+ "QSizeF.__copy__": (),
+ "QSizeF.__reduce__": (),
+ "QSizeF.boundedTo": ('PySide2.QtCore.QSizeF',),
+ "QSizeF.expandedTo": ('PySide2.QtCore.QSizeF',),
+ "QSizeF.height": (),
+ "QSizeF.isEmpty": (),
+ "QSizeF.isNull": (),
+ "QSizeF.isValid": (),
+ "QSizeF.scale": [('PySide2.QtCore.QSizeF', 'PySide2.QtCore.Qt.AspectRatioMode'), ('float', 'float', 'PySide2.QtCore.Qt.AspectRatioMode')],
+ "QSizeF.scaled": [('PySide2.QtCore.QSizeF', 'PySide2.QtCore.Qt.AspectRatioMode'), ('float', 'float', 'PySide2.QtCore.Qt.AspectRatioMode')],
+ "QSizeF.setHeight": ('float',),
+ "QSizeF.setWidth": ('float',),
+ "QSizeF.toSize": (),
+ "QSizeF.toTuple": (),
+ "QSizeF.transpose": (),
+ "QSizeF.transposed": (),
+ "QSizeF.width": (),
+
+ # class PySide2.QtCore.QSocketNotifier:
+ "QSocketNotifier.__init__": [('int', 'PySide2.QtCore.QSocketNotifier.Type', 'PySide2.QtCore.QObject'), ('object', 'PySide2.QtCore.QSocketNotifier.Type', 'PySide2.QtCore.QObject')],
+ "QSocketNotifier.event": ('PySide2.QtCore.QEvent',),
+ "QSocketNotifier.isEnabled": (),
+ "QSocketNotifier.setEnabled": ('bool',),
+ "QSocketNotifier.socket": (),
+ "QSocketNotifier.type": (),
+
+ # class PySide2.QtCore.QSortFilterProxyModel:
+ "QSortFilterProxyModel.__init__": ('PySide2.QtCore.QObject',),
+ "QSortFilterProxyModel.buddy": ('PySide2.QtCore.QModelIndex',),
+ "QSortFilterProxyModel.canFetchMore": ('PySide2.QtCore.QModelIndex',),
+ "QSortFilterProxyModel.columnCount": ('PySide2.QtCore.QModelIndex',),
+ "QSortFilterProxyModel.data": ('PySide2.QtCore.QModelIndex', 'int'),
+ "QSortFilterProxyModel.dropMimeData": ('PySide2.QtCore.QMimeData', 'PySide2.QtCore.Qt.DropAction', 'int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QSortFilterProxyModel.dynamicSortFilter": (),
+ "QSortFilterProxyModel.fetchMore": ('PySide2.QtCore.QModelIndex',),
+ "QSortFilterProxyModel.filterAcceptsColumn": ('int', 'PySide2.QtCore.QModelIndex'),
+ "QSortFilterProxyModel.filterAcceptsRow": ('int', 'PySide2.QtCore.QModelIndex'),
+ "QSortFilterProxyModel.filterCaseSensitivity": (),
+ "QSortFilterProxyModel.filterKeyColumn": (),
+ "QSortFilterProxyModel.filterRegExp": (),
+ "QSortFilterProxyModel.filterRole": (),
+ "QSortFilterProxyModel.flags": ('PySide2.QtCore.QModelIndex',),
+ "QSortFilterProxyModel.hasChildren": ('PySide2.QtCore.QModelIndex',),
+ "QSortFilterProxyModel.headerData": ('int', 'PySide2.QtCore.Qt.Orientation', 'int'),
+ "QSortFilterProxyModel.index": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QSortFilterProxyModel.insertColumns": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QSortFilterProxyModel.insertRows": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QSortFilterProxyModel.invalidate": (),
+ "QSortFilterProxyModel.invalidateFilter": (),
+ "QSortFilterProxyModel.isRecursiveFilteringEnabled": (),
+ "QSortFilterProxyModel.isSortLocaleAware": (),
+ "QSortFilterProxyModel.lessThan": ('PySide2.QtCore.QModelIndex', 'PySide2.QtCore.QModelIndex'),
+ "QSortFilterProxyModel.mapFromSource": ('PySide2.QtCore.QModelIndex',),
+ "QSortFilterProxyModel.mapSelectionFromSource": ('PySide2.QtCore.QItemSelection',),
+ "QSortFilterProxyModel.mapSelectionToSource": ('PySide2.QtCore.QItemSelection',),
+ "QSortFilterProxyModel.mapToSource": ('PySide2.QtCore.QModelIndex',),
+ "QSortFilterProxyModel.match": ('PySide2.QtCore.QModelIndex', 'int', 'Any', 'int', 'PySide2.libpyside.MatchFlags'),
+ "QSortFilterProxyModel.mimeData": ('List[int]',),
+ "QSortFilterProxyModel.mimeTypes": (),
+ "QSortFilterProxyModel.parent": [(), ('PySide2.QtCore.QModelIndex',)],
+ "QSortFilterProxyModel.removeColumns": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QSortFilterProxyModel.removeRows": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QSortFilterProxyModel.rowCount": ('PySide2.QtCore.QModelIndex',),
+ "QSortFilterProxyModel.setData": ('PySide2.QtCore.QModelIndex', 'Any', 'int'),
+ "QSortFilterProxyModel.setDynamicSortFilter": ('bool',),
+ "QSortFilterProxyModel.setFilterCaseSensitivity": ('PySide2.QtCore.Qt.CaseSensitivity',),
+ "QSortFilterProxyModel.setFilterFixedString": ('str',),
+ "QSortFilterProxyModel.setFilterKeyColumn": ('int',),
+ "QSortFilterProxyModel.setFilterRegExp": [('PySide2.QtCore.QRegExp',), ('str',)],
+ "QSortFilterProxyModel.setFilterRole": ('int',),
+ "QSortFilterProxyModel.setFilterWildcard": ('str',),
+ "QSortFilterProxyModel.setHeaderData": ('int', 'PySide2.QtCore.Qt.Orientation', 'Any', 'int'),
+ "QSortFilterProxyModel.setRecursiveFilteringEnabled": ('bool',),
+ "QSortFilterProxyModel.setSortCaseSensitivity": ('PySide2.QtCore.Qt.CaseSensitivity',),
+ "QSortFilterProxyModel.setSortLocaleAware": ('bool',),
+ "QSortFilterProxyModel.setSortRole": ('int',),
+ "QSortFilterProxyModel.setSourceModel": ('PySide2.QtCore.QAbstractItemModel',),
+ "QSortFilterProxyModel.sibling": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QSortFilterProxyModel.sort": ('int', 'PySide2.QtCore.Qt.SortOrder'),
+ "QSortFilterProxyModel.sortCaseSensitivity": (),
+ "QSortFilterProxyModel.sortColumn": (),
+ "QSortFilterProxyModel.sortOrder": (),
+ "QSortFilterProxyModel.sortRole": (),
+ "QSortFilterProxyModel.span": ('PySide2.QtCore.QModelIndex',),
+ "QSortFilterProxyModel.supportedDropActions": (),
+
+ # class PySide2.QtCore.QStandardPaths:
+ "QStandardPaths.displayName": ('PySide2.QtCore.QStandardPaths.StandardLocation',),
+ "QStandardPaths.enableTestMode": ('bool',),
+ "QStandardPaths.findExecutable": ('str', 'List[str]'),
+ "QStandardPaths.isTestModeEnabled": (),
+ "QStandardPaths.locate": ('PySide2.QtCore.QStandardPaths.StandardLocation', 'str', 'PySide2.libpyside.LocateOptions'),
+ "QStandardPaths.locateAll": ('PySide2.QtCore.QStandardPaths.StandardLocation', 'str', 'PySide2.libpyside.LocateOptions'),
+ "QStandardPaths.setTestModeEnabled": ('bool',),
+ "QStandardPaths.standardLocations": ('PySide2.QtCore.QStandardPaths.StandardLocation',),
+ "QStandardPaths.writableLocation": ('PySide2.QtCore.QStandardPaths.StandardLocation',),
+
+ # class PySide2.QtCore.QState:
+ "QState.__init__": [('PySide2.QtCore.QState',), ('PySide2.QtCore.QState.ChildMode', 'PySide2.QtCore.QState')],
+ "QState.addTransition": [('PySide2.QtCore.QAbstractState',), ('PySide2.QtCore.QAbstractTransition',), ('PySide2.QtCore.QObject', 'str', 'PySide2.QtCore.QAbstractState'), ('object', 'PySide2.QtCore.QAbstractState')],
+ "QState.assignProperty": ('PySide2.QtCore.QObject', 'str', 'Any'),
+ "QState.childMode": (),
+ "QState.errorState": (),
+ "QState.event": ('PySide2.QtCore.QEvent',),
+ "QState.initialState": (),
+ "QState.onEntry": ('PySide2.QtCore.QEvent',),
+ "QState.onExit": ('PySide2.QtCore.QEvent',),
+ "QState.removeTransition": ('PySide2.QtCore.QAbstractTransition',),
+ "QState.setChildMode": ('PySide2.QtCore.QState.ChildMode',),
+ "QState.setErrorState": ('PySide2.QtCore.QAbstractState',),
+ "QState.setInitialState": ('PySide2.QtCore.QAbstractState',),
+ "QState.transitions": (),
+
+ # class PySide2.QtCore.QStateMachine:
+ "QStateMachine.__init__": [('PySide2.QtCore.QObject',), ('PySide2.QtCore.QState.ChildMode', 'PySide2.QtCore.QObject')],
+ "QStateMachine.addDefaultAnimation": ('PySide2.QtCore.QAbstractAnimation',),
+ "QStateMachine.addState": ('PySide2.QtCore.QAbstractState',),
+ "QStateMachine.beginMicrostep": ('PySide2.QtCore.QEvent',),
+ "QStateMachine.beginSelectTransitions": ('PySide2.QtCore.QEvent',),
+ "QStateMachine.cancelDelayedEvent": ('int',),
+ "QStateMachine.clearError": (),
+ "QStateMachine.configuration": (),
+ "QStateMachine.defaultAnimations": (),
+ "QStateMachine.endMicrostep": ('PySide2.QtCore.QEvent',),
+ "QStateMachine.endSelectTransitions": ('PySide2.QtCore.QEvent',),
+ "QStateMachine.error": (),
+ "QStateMachine.errorString": (),
+ "QStateMachine.event": ('PySide2.QtCore.QEvent',),
+ "QStateMachine.eventFilter": ('PySide2.QtCore.QObject', 'PySide2.QtCore.QEvent'),
+ "QStateMachine.globalRestorePolicy": (),
+ "QStateMachine.isAnimated": (),
+ "QStateMachine.isRunning": (),
+ "QStateMachine.onEntry": ('PySide2.QtCore.QEvent',),
+ "QStateMachine.onExit": ('PySide2.QtCore.QEvent',),
+ "QStateMachine.postDelayedEvent": ('PySide2.QtCore.QEvent', 'int'),
+ "QStateMachine.postEvent": ('PySide2.QtCore.QEvent', 'PySide2.QtCore.QStateMachine.EventPriority'),
+ "QStateMachine.removeDefaultAnimation": ('PySide2.QtCore.QAbstractAnimation',),
+ "QStateMachine.removeState": ('PySide2.QtCore.QAbstractState',),
+ "QStateMachine.setAnimated": ('bool',),
+ "QStateMachine.setGlobalRestorePolicy": ('PySide2.QtCore.QState.RestorePolicy',),
+ "QStateMachine.setRunning": ('bool',),
+ "QStateMachine.start": (),
+ "QStateMachine.stop": (),
+
+ # class PySide2.QtCore.QStorageInfo:
+ "QStorageInfo.__init__": [(), ('PySide2.QtCore.QDir',), ('PySide2.QtCore.QStorageInfo',), ('str',)],
+ "QStorageInfo.__copy__": (),
+ "QStorageInfo.blockSize": (),
+ "QStorageInfo.bytesAvailable": (),
+ "QStorageInfo.bytesFree": (),
+ "QStorageInfo.bytesTotal": (),
+ "QStorageInfo.device": (),
+ "QStorageInfo.displayName": (),
+ "QStorageInfo.fileSystemType": (),
+ "QStorageInfo.isReadOnly": (),
+ "QStorageInfo.isReady": (),
+ "QStorageInfo.isRoot": (),
+ "QStorageInfo.isValid": (),
+ "QStorageInfo.mountedVolumes": (),
+ "QStorageInfo.name": (),
+ "QStorageInfo.refresh": (),
+ "QStorageInfo.root": (),
+ "QStorageInfo.rootPath": (),
+ "QStorageInfo.setPath": ('str',),
+ "QStorageInfo.subvolume": (),
+ "QStorageInfo.swap": ('PySide2.QtCore.QStorageInfo',),
+
+ # class PySide2.QtCore.QStringListModel:
+ "QStringListModel.__init__": [('List[str]', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QObject',)],
+ "QStringListModel.data": ('PySide2.QtCore.QModelIndex', 'int'),
+ "QStringListModel.flags": ('PySide2.QtCore.QModelIndex',),
+ "QStringListModel.insertRows": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QStringListModel.removeRows": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QStringListModel.rowCount": ('PySide2.QtCore.QModelIndex',),
+ "QStringListModel.setData": ('PySide2.QtCore.QModelIndex', 'Any', 'int'),
+ "QStringListModel.setStringList": ('List[str]',),
+ "QStringListModel.sibling": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QStringListModel.sort": ('int', 'PySide2.QtCore.Qt.SortOrder'),
+ "QStringListModel.stringList": (),
+ "QStringListModel.supportedDropActions": (),
+
+ # class PySide2.QtCore.QSysInfo:
+ "QSysInfo.__init__": (),
+ "QSysInfo.bootUniqueId": (),
+ "QSysInfo.buildAbi": (),
+ "QSysInfo.buildCpuArchitecture": (),
+ "QSysInfo.currentCpuArchitecture": (),
+ "QSysInfo.kernelType": (),
+ "QSysInfo.kernelVersion": (),
+ "QSysInfo.macVersion": (),
+ "QSysInfo.machineHostName": (),
+ "QSysInfo.machineUniqueId": (),
+ "QSysInfo.prettyProductName": (),
+ "QSysInfo.productType": (),
+ "QSysInfo.productVersion": (),
+
+ # class PySide2.QtCore.QSystemSemaphore:
+ "QSystemSemaphore.__init__": ('str', 'int', 'PySide2.QtCore.QSystemSemaphore.AccessMode'),
+ "QSystemSemaphore.acquire": (),
+ "QSystemSemaphore.error": (),
+ "QSystemSemaphore.errorString": (),
+ "QSystemSemaphore.key": (),
+ "QSystemSemaphore.release": ('int',),
+ "QSystemSemaphore.setKey": ('str', 'int', 'PySide2.QtCore.QSystemSemaphore.AccessMode'),
+
+ # class PySide2.QtCore.QTemporaryDir:
+ "QTemporaryDir.__init__": [(), ('str',)],
+ "QTemporaryDir.autoRemove": (),
+ "QTemporaryDir.errorString": (),
+ "QTemporaryDir.filePath": ('str',),
+ "QTemporaryDir.isValid": (),
+ "QTemporaryDir.path": (),
+ "QTemporaryDir.remove": (),
+ "QTemporaryDir.setAutoRemove": ('bool',),
+
+ # class PySide2.QtCore.QTemporaryFile:
+ "QTemporaryFile.__init__": [(), ('PySide2.QtCore.QObject',), ('str',), ('str', 'PySide2.QtCore.QObject')],
+ "QTemporaryFile.autoRemove": (),
+ "QTemporaryFile.createLocalFile": [('PySide2.QtCore.QFile',), ('str',)],
+ "QTemporaryFile.createNativeFile": [('PySide2.QtCore.QFile',), ('str',)],
+ "QTemporaryFile.fileName": (),
+ "QTemporaryFile.fileTemplate": (),
+ "QTemporaryFile.open": [(), ('PySide2.libpyside.OpenMode',)],
+ "QTemporaryFile.rename": ('str',),
+ "QTemporaryFile.setAutoRemove": ('bool',),
+ "QTemporaryFile.setFileTemplate": ('str',),
+
+ # class PySide2.QtCore.QTextBoundaryFinder:
+ "QTextBoundaryFinder.__init__": [(), ('PySide2.QtCore.QTextBoundaryFinder',), ('PySide2.QtCore.QTextBoundaryFinder.BoundaryType', 'str')],
+ "QTextBoundaryFinder.__copy__": (),
+ "QTextBoundaryFinder.boundaryReasons": (),
+ "QTextBoundaryFinder.isAtBoundary": (),
+ "QTextBoundaryFinder.isValid": (),
+ "QTextBoundaryFinder.position": (),
+ "QTextBoundaryFinder.setPosition": ('int',),
+ "QTextBoundaryFinder.string": (),
+ "QTextBoundaryFinder.toEnd": (),
+ "QTextBoundaryFinder.toNextBoundary": (),
+ "QTextBoundaryFinder.toPreviousBoundary": (),
+ "QTextBoundaryFinder.toStart": (),
+ "QTextBoundaryFinder.type": (),
+
+ # class PySide2.QtCore.QTextCodec:
+ "QTextCodec.__init__": (),
+ "QTextCodec.aliases": (),
+ "QTextCodec.availableCodecs": (),
+ "QTextCodec.availableMibs": (),
+ "QTextCodec.canEncode": [('Union[str, int]',), ('str',)],
+ "QTextCodec.codecForHtml": [('PySide2.QtCore.QByteArray',), ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QTextCodec')],
+ "QTextCodec.codecForLocale": (),
+ "QTextCodec.codecForMib": ('int',),
+ "QTextCodec.codecForName": [('PySide2.QtCore.QByteArray',), ('str',)],
+ "QTextCodec.codecForUtfText": [('PySide2.QtCore.QByteArray',), ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QTextCodec')],
+ "QTextCodec.convertToUnicode": ('str', 'int', 'PySide2.QtCore.QTextCodec.ConverterState'),
+ "QTextCodec.fromUnicode": ('str',),
+ "QTextCodec.makeDecoder": ('PySide2.libpyside.ConversionFlags',),
+ "QTextCodec.makeEncoder": ('PySide2.libpyside.ConversionFlags',),
+ "QTextCodec.mibEnum": (),
+ "QTextCodec.name": (),
+ "QTextCodec.setCodecForLocale": ('PySide2.QtCore.QTextCodec',),
+ "QTextCodec.toUnicode": [('PySide2.QtCore.QByteArray',), ('str',), ('str', 'int', 'PySide2.QtCore.QTextCodec.ConverterState')],
+
+ # class PySide2.QtCore.QTextDecoder:
+ "QTextDecoder.__init__": [('PySide2.QtCore.QTextCodec',), ('PySide2.QtCore.QTextCodec', 'PySide2.libpyside.ConversionFlags')],
+ "QTextDecoder.hasFailure": (),
+ "QTextDecoder.toUnicode": ('PySide2.QtCore.QByteArray',),
+
+ # class PySide2.QtCore.QTextEncoder:
+ "QTextEncoder.__init__": [('PySide2.QtCore.QTextCodec',), ('PySide2.QtCore.QTextCodec', 'PySide2.libpyside.ConversionFlags')],
+ "QTextEncoder.fromUnicode": ('str',),
+ "QTextEncoder.hasFailure": (),
+
+ # class PySide2.QtCore.QTextStream:
+ "QTextStream.__init__": [(), ('PySide2.QtCore.QByteArray', 'PySide2.libpyside.OpenMode'), ('PySide2.QtCore.QIODevice',)],
+ "QTextStream.atEnd": (),
+ "QTextStream.autoDetectUnicode": (),
+ "QTextStream.codec": (),
+ "QTextStream.device": (),
+ "QTextStream.fieldAlignment": (),
+ "QTextStream.fieldWidth": (),
+ "QTextStream.flush": (),
+ "QTextStream.generateByteOrderMark": (),
+ "QTextStream.integerBase": (),
+ "QTextStream.locale": (),
+ "QTextStream.numberFlags": (),
+ "QTextStream.padChar": (),
+ "QTextStream.pos": (),
+ "QTextStream.read": ('int',),
+ "QTextStream.readAll": (),
+ "QTextStream.readLine": ('int',),
+ "QTextStream.realNumberNotation": (),
+ "QTextStream.realNumberPrecision": (),
+ "QTextStream.reset": (),
+ "QTextStream.resetStatus": (),
+ "QTextStream.seek": ('int',),
+ "QTextStream.setAutoDetectUnicode": ('bool',),
+ "QTextStream.setCodec": [('PySide2.QtCore.QTextCodec',), ('str',)],
+ "QTextStream.setDevice": ('PySide2.QtCore.QIODevice',),
+ "QTextStream.setFieldAlignment": ('PySide2.QtCore.QTextStream.FieldAlignment',),
+ "QTextStream.setFieldWidth": ('int',),
+ "QTextStream.setGenerateByteOrderMark": ('bool',),
+ "QTextStream.setIntegerBase": ('int',),
+ "QTextStream.setLocale": ('PySide2.QtCore.QLocale',),
+ "QTextStream.setNumberFlags": ('PySide2.libpyside.NumberFlags',),
+ "QTextStream.setPadChar": ('Union[str, int]',),
+ "QTextStream.setRealNumberNotation": ('PySide2.QtCore.QTextStream.RealNumberNotation',),
+ "QTextStream.setRealNumberPrecision": ('int',),
+ "QTextStream.setStatus": ('PySide2.QtCore.QTextStream.Status',),
+ "QTextStream.skipWhiteSpace": (),
+ "QTextStream.status": (),
+ "QTextStream.string": (),
+
+ # class PySide2.QtCore.QTextStreamManipulator:
+ "QTextStreamManipulator.__copy__": (),
+ "QTextStreamManipulator.exec_": ('PySide2.QtCore.QTextStream',),
+
+ # class PySide2.QtCore.QThread:
+ "QThread.__init__": ('PySide2.QtCore.QObject',),
+ "QThread.currentThread": (),
+ "QThread.event": ('PySide2.QtCore.QEvent',),
+ "QThread.eventDispatcher": (),
+ "QThread.exec_": (),
+ "QThread.exit": ('int',),
+ "QThread.idealThreadCount": (),
+ "QThread.isFinished": (),
+ "QThread.isInterruptionRequested": (),
+ "QThread.isRunning": (),
+ "QThread.loopLevel": (),
+ "QThread.msleep": ('int',),
+ "QThread.priority": (),
+ "QThread.quit": (),
+ "QThread.requestInterruption": (),
+ "QThread.run": (),
+ "QThread.setEventDispatcher": ('PySide2.QtCore.QAbstractEventDispatcher',),
+ "QThread.setPriority": ('PySide2.QtCore.QThread.Priority',),
+ "QThread.setStackSize": ('int',),
+ "QThread.setTerminationEnabled": ('bool',),
+ "QThread.sleep": ('int',),
+ "QThread.stackSize": (),
+ "QThread.start": ('PySide2.QtCore.QThread.Priority',),
+ "QThread.terminate": (),
+ "QThread.usleep": ('int',),
+ "QThread.wait": ('int',),
+ "QThread.yieldCurrentThread": (),
+
+ # class PySide2.QtCore.QThreadPool:
+ "QThreadPool.__init__": ('PySide2.QtCore.QObject',),
+ "QThreadPool.activeThreadCount": (),
+ "QThreadPool.cancel": ('PySide2.QtCore.QRunnable',),
+ "QThreadPool.clear": (),
+ "QThreadPool.expiryTimeout": (),
+ "QThreadPool.globalInstance": (),
+ "QThreadPool.maxThreadCount": (),
+ "QThreadPool.releaseThread": (),
+ "QThreadPool.reserveThread": (),
+ "QThreadPool.setExpiryTimeout": ('int',),
+ "QThreadPool.setMaxThreadCount": ('int',),
+ "QThreadPool.setStackSize": ('int',),
+ "QThreadPool.stackSize": (),
+ "QThreadPool.start": ('PySide2.QtCore.QRunnable', 'int'),
+ "QThreadPool.tryStart": ('PySide2.QtCore.QRunnable',),
+ "QThreadPool.tryTake": ('PySide2.QtCore.QRunnable',),
+ "QThreadPool.waitForDone": ('int',),
+
+ # class PySide2.QtCore.QTime:
+ "QTime.__init__": [(), ('PySide2.QtCore.QTime',), ('int', 'int', 'int', 'int')],
+ "QTime.__copy__": (),
+ "QTime.__reduce__": (),
+ "QTime.addMSecs": ('int',),
+ "QTime.addSecs": ('int',),
+ "QTime.currentTime": (),
+ "QTime.elapsed": (),
+ "QTime.fromMSecsSinceStartOfDay": ('int',),
+ "QTime.fromString": [('str', 'PySide2.QtCore.Qt.DateFormat'), ('str', 'str')],
+ "QTime.hour": (),
+ "QTime.isNull": (),
+ "QTime.isValid": [(), ('int', 'int', 'int', 'int')],
+ "QTime.minute": (),
+ "QTime.msec": (),
+ "QTime.msecsSinceStartOfDay": (),
+ "QTime.msecsTo": ('PySide2.QtCore.QTime',),
+ "QTime.restart": (),
+ "QTime.second": (),
+ "QTime.secsTo": ('PySide2.QtCore.QTime',),
+ "QTime.setHMS": ('int', 'int', 'int', 'int'),
+ "QTime.start": (),
+ "QTime.toPython": (),
+ "QTime.toString": [('PySide2.QtCore.Qt.DateFormat',), ('str',)],
+
+ # class PySide2.QtCore.QTimeLine:
+ "QTimeLine.__init__": ('int', 'PySide2.QtCore.QObject'),
+ "QTimeLine.currentFrame": (),
+ "QTimeLine.currentTime": (),
+ "QTimeLine.currentValue": (),
+ "QTimeLine.curveShape": (),
+ "QTimeLine.direction": (),
+ "QTimeLine.duration": (),
+ "QTimeLine.easingCurve": (),
+ "QTimeLine.endFrame": (),
+ "QTimeLine.frameForTime": ('int',),
+ "QTimeLine.loopCount": (),
+ "QTimeLine.resume": (),
+ "QTimeLine.setCurrentTime": ('int',),
+ "QTimeLine.setCurveShape": ('PySide2.QtCore.QTimeLine.CurveShape',),
+ "QTimeLine.setDirection": ('PySide2.QtCore.QTimeLine.Direction',),
+ "QTimeLine.setDuration": ('int',),
+ "QTimeLine.setEasingCurve": ('PySide2.QtCore.QEasingCurve',),
+ "QTimeLine.setEndFrame": ('int',),
+ "QTimeLine.setFrameRange": ('int', 'int'),
+ "QTimeLine.setLoopCount": ('int',),
+ "QTimeLine.setPaused": ('bool',),
+ "QTimeLine.setStartFrame": ('int',),
+ "QTimeLine.setUpdateInterval": ('int',),
+ "QTimeLine.start": (),
+ "QTimeLine.startFrame": (),
+ "QTimeLine.state": (),
+ "QTimeLine.stop": (),
+ "QTimeLine.timerEvent": ('PySide2.QtCore.QTimerEvent',),
+ "QTimeLine.toggleDirection": (),
+ "QTimeLine.updateInterval": (),
+ "QTimeLine.valueForTime": ('int',),
+
+ # class PySide2.QtCore.QTimeZone:
+ "QTimeZone.__init__": [(), ('PySide2.QtCore.QByteArray',), ('PySide2.QtCore.QByteArray', 'int', 'str', 'str', 'PySide2.QtCore.QLocale.Country', 'str'), ('PySide2.QtCore.QTimeZone',), ('int',)],
+ "QTimeZone.__copy__": (),
+ "QTimeZone.abbreviation": ('PySide2.QtCore.QDateTime',),
+ "QTimeZone.availableTimeZoneIds": [(), ('PySide2.QtCore.QLocale.Country',), ('int',)],
+ "QTimeZone.comment": (),
+ "QTimeZone.country": (),
+ "QTimeZone.daylightTimeOffset": ('PySide2.QtCore.QDateTime',),
+ "QTimeZone.displayName": [('PySide2.QtCore.QDateTime', 'PySide2.QtCore.QTimeZone.NameType', 'PySide2.QtCore.QLocale'), ('PySide2.QtCore.QTimeZone.TimeType', 'PySide2.QtCore.QTimeZone.NameType', 'PySide2.QtCore.QLocale')],
+ "QTimeZone.hasDaylightTime": (),
+ "QTimeZone.hasTransitions": (),
+ "QTimeZone.ianaIdToWindowsId": ('PySide2.QtCore.QByteArray',),
+ "QTimeZone.id": (),
+ "QTimeZone.isDaylightTime": ('PySide2.QtCore.QDateTime',),
+ "QTimeZone.isTimeZoneIdAvailable": ('PySide2.QtCore.QByteArray',),
+ "QTimeZone.isValid": (),
+ "QTimeZone.nextTransition": ('PySide2.QtCore.QDateTime',),
+ "QTimeZone.offsetData": ('PySide2.QtCore.QDateTime',),
+ "QTimeZone.offsetFromUtc": ('PySide2.QtCore.QDateTime',),
+ "QTimeZone.previousTransition": ('PySide2.QtCore.QDateTime',),
+ "QTimeZone.standardTimeOffset": ('PySide2.QtCore.QDateTime',),
+ "QTimeZone.swap": ('PySide2.QtCore.QTimeZone',),
+ "QTimeZone.systemTimeZone": (),
+ "QTimeZone.systemTimeZoneId": (),
+ "QTimeZone.transitions": ('PySide2.QtCore.QDateTime', 'PySide2.QtCore.QDateTime'),
+ "QTimeZone.utc": (),
+ "QTimeZone.windowsIdToDefaultIanaId": [('PySide2.QtCore.QByteArray',), ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QLocale.Country')],
+ "QTimeZone.windowsIdToIanaIds": [('PySide2.QtCore.QByteArray',), ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QLocale.Country')],
+
+ # class PySide2.QtCore.QTimer:
+ "QTimer.__init__": ('PySide2.QtCore.QObject',),
+ "QTimer.interval": (),
+ "QTimer.isActive": (),
+ "QTimer.isSingleShot": (),
+ "QTimer.killTimer": ('int',),
+ "QTimer.remainingTime": (),
+ "QTimer.setInterval": ('int',),
+ "QTimer.setSingleShot": ('bool',),
+ "QTimer.setTimerType": ('PySide2.QtCore.Qt.TimerType',),
+ "QTimer.singleShot": [('int', 'Callable'), ('int', 'PySide2.QtCore.QObject', 'str'), ('int', 'PySide2.QtCore.Qt.TimerType', 'PySide2.QtCore.QObject', 'str')],
+ "QTimer.start": [(), ('int',)],
+ "QTimer.stop": (),
+ "QTimer.timerEvent": ('PySide2.QtCore.QTimerEvent',),
+ "QTimer.timerId": (),
+ "QTimer.timerType": (),
+
+ # class PySide2.QtCore.QTimerEvent:
+ "QTimerEvent.__init__": ('int',),
+ "QTimerEvent.timerId": (),
+
+ # class PySide2.QtCore.QTranslator:
+ "QTranslator.__init__": ('PySide2.QtCore.QObject',),
+ "QTranslator.isEmpty": (),
+ "QTranslator.load": [('PySide2.QtCore.QLocale', 'str', 'str', 'str', 'str'), ('Union[str, int]', 'int', 'str'), ('str', 'str', 'str', 'str')],
+ "QTranslator.translate": ('str', 'str', 'str', 'int'),
+
+ # class PySide2.QtCore.QUrl:
+ "QUrl.__init__": [(), ('PySide2.QtCore.QUrl',), ('str', 'PySide2.QtCore.QUrl.ParsingMode')],
+ "QUrl.__copy__": (),
+ "QUrl.__reduce__": (),
+ "QUrl.adjusted": ('PySide2.libpyside.FormattingOptions',),
+ "QUrl.authority": ('PySide2.QtCore.QUrl.ComponentFormattingOption',),
+ "QUrl.clear": (),
+ "QUrl.errorString": (),
+ "QUrl.fileName": ('PySide2.QtCore.QUrl.ComponentFormattingOption',),
+ "QUrl.fragment": ('PySide2.QtCore.QUrl.ComponentFormattingOption',),
+ "QUrl.fromAce": ('PySide2.QtCore.QByteArray',),
+ "QUrl.fromEncoded": ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QUrl.ParsingMode'),
+ "QUrl.fromLocalFile": ('str',),
+ "QUrl.fromPercentEncoding": ('PySide2.QtCore.QByteArray',),
+ "QUrl.fromStringList": ('List[str]', 'PySide2.QtCore.QUrl.ParsingMode'),
+ "QUrl.fromUserInput": [('str',), ('str', 'str', 'PySide2.libpyside.UserInputResolutionOptions')],
+ "QUrl.hasFragment": (),
+ "QUrl.hasQuery": (),
+ "QUrl.host": ('PySide2.QtCore.QUrl.ComponentFormattingOption',),
+ "QUrl.idnWhitelist": (),
+ "QUrl.isEmpty": (),
+ "QUrl.isLocalFile": (),
+ "QUrl.isParentOf": ('PySide2.QtCore.QUrl',),
+ "QUrl.isRelative": (),
+ "QUrl.isValid": (),
+ "QUrl.matches": ('PySide2.QtCore.QUrl', 'PySide2.libpyside.FormattingOptions'),
+ "QUrl.password": ('PySide2.QtCore.QUrl.ComponentFormattingOption',),
+ "QUrl.path": ('PySide2.QtCore.QUrl.ComponentFormattingOption',),
+ "QUrl.port": ('int',),
+ "QUrl.query": ('PySide2.QtCore.QUrl.ComponentFormattingOption',),
+ "QUrl.resolved": ('PySide2.QtCore.QUrl',),
+ "QUrl.scheme": (),
+ "QUrl.setAuthority": ('str', 'PySide2.QtCore.QUrl.ParsingMode'),
+ "QUrl.setFragment": ('str', 'PySide2.QtCore.QUrl.ParsingMode'),
+ "QUrl.setHost": ('str', 'PySide2.QtCore.QUrl.ParsingMode'),
+ "QUrl.setIdnWhitelist": ('List[str]',),
+ "QUrl.setPassword": ('str', 'PySide2.QtCore.QUrl.ParsingMode'),
+ "QUrl.setPath": ('str', 'PySide2.QtCore.QUrl.ParsingMode'),
+ "QUrl.setPort": ('int',),
+ "QUrl.setQuery": [('PySide2.QtCore.QUrlQuery',), ('str', 'PySide2.QtCore.QUrl.ParsingMode')],
+ "QUrl.setScheme": ('str',),
+ "QUrl.setUrl": ('str', 'PySide2.QtCore.QUrl.ParsingMode'),
+ "QUrl.setUserInfo": ('str', 'PySide2.QtCore.QUrl.ParsingMode'),
+ "QUrl.setUserName": ('str', 'PySide2.QtCore.QUrl.ParsingMode'),
+ "QUrl.swap": ('PySide2.QtCore.QUrl',),
+ "QUrl.toAce": ('str',),
+ "QUrl.toDisplayString": ('PySide2.libpyside.FormattingOptions',),
+ "QUrl.toEncoded": ('PySide2.libpyside.FormattingOptions',),
+ "QUrl.toLocalFile": (),
+ "QUrl.toPercentEncoding": ('str', 'PySide2.QtCore.QByteArray', 'PySide2.QtCore.QByteArray'),
+ "QUrl.toString": ('PySide2.libpyside.FormattingOptions',),
+ "QUrl.toStringList": ('list', 'PySide2.libpyside.FormattingOptions'),
+ "QUrl.topLevelDomain": ('PySide2.QtCore.QUrl.ComponentFormattingOption',),
+ "QUrl.url": ('PySide2.libpyside.FormattingOptions',),
+ "QUrl.userInfo": ('PySide2.QtCore.QUrl.ComponentFormattingOption',),
+ "QUrl.userName": ('PySide2.QtCore.QUrl.ComponentFormattingOption',),
+
+ # class PySide2.QtCore.QUrlQuery:
+ "QUrlQuery.__init__": [(), ('PySide2.QtCore.QUrl',), ('PySide2.QtCore.QUrlQuery',), ('str',)],
+ "QUrlQuery.__copy__": (),
+ "QUrlQuery.addQueryItem": ('str', 'str'),
+ "QUrlQuery.allQueryItemValues": ('str', 'PySide2.QtCore.QUrl.ComponentFormattingOption'),
+ "QUrlQuery.clear": (),
+ "QUrlQuery.defaultQueryPairDelimiter": (),
+ "QUrlQuery.defaultQueryValueDelimiter": (),
+ "QUrlQuery.hasQueryItem": ('str',),
+ "QUrlQuery.isEmpty": (),
+ "QUrlQuery.query": ('PySide2.QtCore.QUrl.ComponentFormattingOption',),
+ "QUrlQuery.queryItemValue": ('str', 'PySide2.QtCore.QUrl.ComponentFormattingOption'),
+ "QUrlQuery.queryItems": ('PySide2.QtCore.QUrl.ComponentFormattingOption',),
+ "QUrlQuery.queryPairDelimiter": (),
+ "QUrlQuery.queryValueDelimiter": (),
+ "QUrlQuery.removeAllQueryItems": ('str',),
+ "QUrlQuery.removeQueryItem": ('str',),
+ "QUrlQuery.setQuery": ('str',),
+ "QUrlQuery.setQueryDelimiters": ('Union[str, int]', 'Union[str, int]'),
+ "QUrlQuery.setQueryItems": ('list',),
+ "QUrlQuery.swap": ('PySide2.QtCore.QUrlQuery',),
+ "QUrlQuery.toString": ('PySide2.QtCore.QUrl.ComponentFormattingOption',),
+
+ # class PySide2.QtCore.QUuid:
+ "QUuid.__init__": [(), ('PySide2.QtCore.QByteArray',), ('int', 'int', 'int', 'Union[str, int]', 'Union[str, int]', 'Union[str, int]', 'Union[str, int]', 'Union[str, int]', 'Union[str, int]', 'Union[str, int]', 'Union[str, int]'), ('str',)],
+ "QUuid.__copy__": (),
+ "QUuid.__reduce__": (),
+ "QUuid.createUuid": (),
+ "QUuid.createUuidV3": [('PySide2.QtCore.QUuid', 'PySide2.QtCore.QByteArray'), ('PySide2.QtCore.QUuid', 'str')],
+ "QUuid.createUuidV5": [('PySide2.QtCore.QUuid', 'PySide2.QtCore.QByteArray'), ('PySide2.QtCore.QUuid', 'str')],
+ "QUuid.fromRfc4122": ('PySide2.QtCore.QByteArray',),
+ "QUuid.isNull": (),
+ "QUuid.toByteArray": [(), ('PySide2.QtCore.QUuid.StringFormat',)],
+ "QUuid.toRfc4122": (),
+ "QUuid.toString": [(), ('PySide2.QtCore.QUuid.StringFormat',)],
+ "QUuid.variant": (),
+ "QUuid.version": (),
+
+ # class PySide2.QtCore.QVariantAnimation:
+ "QVariantAnimation.__init__": ('PySide2.QtCore.QObject',),
+ "QVariantAnimation.currentValue": (),
+ "QVariantAnimation.duration": (),
+ "QVariantAnimation.easingCurve": (),
+ "QVariantAnimation.endValue": (),
+ "QVariantAnimation.event": ('PySide2.QtCore.QEvent',),
+ "QVariantAnimation.interpolated": ('Any', 'Any', 'float'),
+ "QVariantAnimation.keyValueAt": ('float',),
+ "QVariantAnimation.keyValues": (),
+ "QVariantAnimation.setDuration": ('int',),
+ "QVariantAnimation.setEasingCurve": ('PySide2.QtCore.QEasingCurve',),
+ "QVariantAnimation.setEndValue": ('Any',),
+ "QVariantAnimation.setKeyValueAt": ('float', 'Any'),
+ "QVariantAnimation.setKeyValues": ('list',),
+ "QVariantAnimation.setStartValue": ('Any',),
+ "QVariantAnimation.startValue": (),
+ "QVariantAnimation.updateCurrentTime": ('int',),
+ "QVariantAnimation.updateCurrentValue": ('Any',),
+ "QVariantAnimation.updateState": ('PySide2.QtCore.QAbstractAnimation.State', 'PySide2.QtCore.QAbstractAnimation.State'),
+
+ # class PySide2.QtCore.QVersionNumber:
+ "QVersionNumber.__init__": [(), ('int',), ('int', 'int'), ('int', 'int', 'int'), ('list',)],
+ "QVersionNumber.__copy__": (),
+ "QVersionNumber.commonPrefix": ('PySide2.QtCore.QVersionNumber', 'PySide2.QtCore.QVersionNumber'),
+ "QVersionNumber.compare": ('PySide2.QtCore.QVersionNumber', 'PySide2.QtCore.QVersionNumber'),
+ "QVersionNumber.fromString": ('str', 'int'),
+ "QVersionNumber.isNormalized": (),
+ "QVersionNumber.isNull": (),
+ "QVersionNumber.isPrefixOf": ('PySide2.QtCore.QVersionNumber',),
+ "QVersionNumber.majorVersion": (),
+ "QVersionNumber.microVersion": (),
+ "QVersionNumber.minorVersion": (),
+ "QVersionNumber.normalized": (),
+ "QVersionNumber.segmentAt": ('int',),
+ "QVersionNumber.segmentCount": (),
+ "QVersionNumber.segments": (),
+ "QVersionNumber.toString": (),
+
+ # class PySide2.QtCore.QWaitCondition:
+ "QWaitCondition.__init__": (),
+ "QWaitCondition.notify_all": (),
+ "QWaitCondition.notify_one": (),
+ "QWaitCondition.wait": [('PySide2.QtCore.QMutex', 'int'), ('PySide2.QtCore.QReadWriteLock', 'int')],
+ "QWaitCondition.wakeAll": (),
+ "QWaitCondition.wakeOne": (),
+
+ # class PySide2.QtCore.QWriteLocker:
+ "QWriteLocker.__init__": ('PySide2.QtCore.QReadWriteLock',),
+ "QWriteLocker.__enter__": (),
+ "QWriteLocker.__exit__": ('object', 'object', 'object'),
+ "QWriteLocker.readWriteLock": (),
+ "QWriteLocker.relock": (),
+ "QWriteLocker.unlock": (),
+
+ # class PySide2.QtCore.QXmlStreamAttribute:
+ "QXmlStreamAttribute.__init__": [(), ('PySide2.QtCore.QXmlStreamAttribute',), ('str', 'str'), ('str', 'str', 'str')],
+ "QXmlStreamAttribute.__copy__": (),
+ "QXmlStreamAttribute.isDefault": (),
+ "QXmlStreamAttribute.name": (),
+ "QXmlStreamAttribute.namespaceUri": (),
+ "QXmlStreamAttribute.prefix": (),
+ "QXmlStreamAttribute.qualifiedName": (),
+ "QXmlStreamAttribute.value": (),
+
+ # class PySide2.QtCore.QXmlStreamAttributes:
+ "QXmlStreamAttributes.__init__": [(), ('PySide2.QtCore.QXmlStreamAttributes',)],
+ "QXmlStreamAttributes.__copy__": (),
+ "QXmlStreamAttributes.append": [('str', 'str'), ('str', 'str', 'str')],
+ "QXmlStreamAttributes.at": ('int',),
+ "QXmlStreamAttributes.back": (),
+ "QXmlStreamAttributes.capacity": (),
+ "QXmlStreamAttributes.clear": (),
+ "QXmlStreamAttributes.constData": (),
+ "QXmlStreamAttributes.constFirst": (),
+ "QXmlStreamAttributes.constLast": (),
+ "QXmlStreamAttributes.contains": ('PySide2.QtCore.QXmlStreamAttribute',),
+ "QXmlStreamAttributes.count": [(), ('PySide2.QtCore.QXmlStreamAttribute',)],
+ "QXmlStreamAttributes.data": (),
+ "QXmlStreamAttributes.empty": (),
+ "QXmlStreamAttributes.endsWith": ('PySide2.QtCore.QXmlStreamAttribute',),
+ "QXmlStreamAttributes.fill": ('PySide2.QtCore.QXmlStreamAttribute', 'int'),
+ "QXmlStreamAttributes.first": (),
+ "QXmlStreamAttributes.front": (),
+ "QXmlStreamAttributes.hasAttribute": [('str',), ('str', 'str')],
+ "QXmlStreamAttributes.indexOf": ('PySide2.QtCore.QXmlStreamAttribute', 'int'),
+ "QXmlStreamAttributes.insert": [('int', 'PySide2.QtCore.QXmlStreamAttribute'), ('int', 'int', 'PySide2.QtCore.QXmlStreamAttribute')],
+ "QXmlStreamAttributes.isEmpty": (),
+ "QXmlStreamAttributes.isSharedWith": ('list',),
+ "QXmlStreamAttributes.last": (),
+ "QXmlStreamAttributes.lastIndexOf": ('PySide2.QtCore.QXmlStreamAttribute', 'int'),
+ "QXmlStreamAttributes.length": (),
+ "QXmlStreamAttributes.mid": ('int', 'int'),
+ "QXmlStreamAttributes.move": ('int', 'int'),
+ "QXmlStreamAttributes.prepend": ('PySide2.QtCore.QXmlStreamAttribute',),
+ "QXmlStreamAttributes.remove": [('int',), ('int', 'int')],
+ "QXmlStreamAttributes.removeAll": ('PySide2.QtCore.QXmlStreamAttribute',),
+ "QXmlStreamAttributes.removeAt": ('int',),
+ "QXmlStreamAttributes.removeFirst": (),
+ "QXmlStreamAttributes.removeLast": (),
+ "QXmlStreamAttributes.removeOne": ('PySide2.QtCore.QXmlStreamAttribute',),
+ "QXmlStreamAttributes.replace": ('int', 'PySide2.QtCore.QXmlStreamAttribute'),
+ "QXmlStreamAttributes.reserve": ('int',),
+ "QXmlStreamAttributes.resize": ('int',),
+ "QXmlStreamAttributes.setSharable": ('bool',),
+ "QXmlStreamAttributes.shrink_to_fit": (),
+ "QXmlStreamAttributes.size": (),
+ "QXmlStreamAttributes.squeeze": (),
+ "QXmlStreamAttributes.startsWith": ('PySide2.QtCore.QXmlStreamAttribute',),
+ "QXmlStreamAttributes.swap": ('list',),
+ "QXmlStreamAttributes.takeAt": ('int',),
+ "QXmlStreamAttributes.takeFirst": (),
+ "QXmlStreamAttributes.takeLast": (),
+ "QXmlStreamAttributes.value": [('str',), ('str', 'str')],
+
+ # class PySide2.QtCore.QXmlStreamEntityDeclaration:
+ "QXmlStreamEntityDeclaration.__init__": [(), ('PySide2.QtCore.QXmlStreamEntityDeclaration',)],
+ "QXmlStreamEntityDeclaration.__copy__": (),
+ "QXmlStreamEntityDeclaration.name": (),
+ "QXmlStreamEntityDeclaration.notationName": (),
+ "QXmlStreamEntityDeclaration.publicId": (),
+ "QXmlStreamEntityDeclaration.systemId": (),
+ "QXmlStreamEntityDeclaration.value": (),
+
+ # class PySide2.QtCore.QXmlStreamEntityResolver:
+ "QXmlStreamEntityResolver.__init__": (),
+ "QXmlStreamEntityResolver.resolveEntity": ('str', 'str'),
+ "QXmlStreamEntityResolver.resolveUndeclaredEntity": ('str',),
+
+ # class PySide2.QtCore.QXmlStreamNamespaceDeclaration:
+ "QXmlStreamNamespaceDeclaration.__init__": [(), ('PySide2.QtCore.QXmlStreamNamespaceDeclaration',), ('str', 'str')],
+ "QXmlStreamNamespaceDeclaration.__copy__": (),
+ "QXmlStreamNamespaceDeclaration.namespaceUri": (),
+ "QXmlStreamNamespaceDeclaration.prefix": (),
+
+ # class PySide2.QtCore.QXmlStreamNotationDeclaration:
+ "QXmlStreamNotationDeclaration.__init__": [(), ('PySide2.QtCore.QXmlStreamNotationDeclaration',)],
+ "QXmlStreamNotationDeclaration.__copy__": (),
+ "QXmlStreamNotationDeclaration.name": (),
+ "QXmlStreamNotationDeclaration.publicId": (),
+ "QXmlStreamNotationDeclaration.systemId": (),
+
+ # class PySide2.QtCore.QXmlStreamReader:
+ "QXmlStreamReader.__init__": [(), ('PySide2.QtCore.QByteArray',), ('PySide2.QtCore.QIODevice',), ('str',)],
+ "QXmlStreamReader.addData": [('PySide2.QtCore.QByteArray',), ('str',)],
+ "QXmlStreamReader.addExtraNamespaceDeclaration": ('PySide2.QtCore.QXmlStreamNamespaceDeclaration',),
+ "QXmlStreamReader.addExtraNamespaceDeclarations": ('list',),
+ "QXmlStreamReader.atEnd": (),
+ "QXmlStreamReader.attributes": (),
+ "QXmlStreamReader.characterOffset": (),
+ "QXmlStreamReader.clear": (),
+ "QXmlStreamReader.columnNumber": (),
+ "QXmlStreamReader.device": (),
+ "QXmlStreamReader.documentEncoding": (),
+ "QXmlStreamReader.documentVersion": (),
+ "QXmlStreamReader.dtdName": (),
+ "QXmlStreamReader.dtdPublicId": (),
+ "QXmlStreamReader.dtdSystemId": (),
+ "QXmlStreamReader.entityDeclarations": (),
+ "QXmlStreamReader.entityResolver": (),
+ "QXmlStreamReader.error": (),
+ "QXmlStreamReader.errorString": (),
+ "QXmlStreamReader.hasError": (),
+ "QXmlStreamReader.isCDATA": (),
+ "QXmlStreamReader.isCharacters": (),
+ "QXmlStreamReader.isComment": (),
+ "QXmlStreamReader.isDTD": (),
+ "QXmlStreamReader.isEndDocument": (),
+ "QXmlStreamReader.isEndElement": (),
+ "QXmlStreamReader.isEntityReference": (),
+ "QXmlStreamReader.isProcessingInstruction": (),
+ "QXmlStreamReader.isStandaloneDocument": (),
+ "QXmlStreamReader.isStartDocument": (),
+ "QXmlStreamReader.isStartElement": (),
+ "QXmlStreamReader.isWhitespace": (),
+ "QXmlStreamReader.lineNumber": (),
+ "QXmlStreamReader.name": (),
+ "QXmlStreamReader.namespaceDeclarations": (),
+ "QXmlStreamReader.namespaceProcessing": (),
+ "QXmlStreamReader.namespaceUri": (),
+ "QXmlStreamReader.notationDeclarations": (),
+ "QXmlStreamReader.prefix": (),
+ "QXmlStreamReader.processingInstructionData": (),
+ "QXmlStreamReader.processingInstructionTarget": (),
+ "QXmlStreamReader.qualifiedName": (),
+ "QXmlStreamReader.raiseError": ('str',),
+ "QXmlStreamReader.readElementText": ('PySide2.QtCore.QXmlStreamReader.ReadElementTextBehaviour',),
+ "QXmlStreamReader.readNext": (),
+ "QXmlStreamReader.readNextStartElement": (),
+ "QXmlStreamReader.setDevice": ('PySide2.QtCore.QIODevice',),
+ "QXmlStreamReader.setEntityResolver": ('PySide2.QtCore.QXmlStreamEntityResolver',),
+ "QXmlStreamReader.setNamespaceProcessing": ('bool',),
+ "QXmlStreamReader.skipCurrentElement": (),
+ "QXmlStreamReader.text": (),
+ "QXmlStreamReader.tokenString": (),
+ "QXmlStreamReader.tokenType": (),
+
+ # class PySide2.QtCore.QXmlStreamWriter:
+ "QXmlStreamWriter.__init__": [(), ('PySide2.QtCore.QByteArray',), ('PySide2.QtCore.QIODevice',)],
+ "QXmlStreamWriter.autoFormatting": (),
+ "QXmlStreamWriter.autoFormattingIndent": (),
+ "QXmlStreamWriter.codec": (),
+ "QXmlStreamWriter.device": (),
+ "QXmlStreamWriter.hasError": (),
+ "QXmlStreamWriter.setAutoFormatting": ('bool',),
+ "QXmlStreamWriter.setAutoFormattingIndent": ('int',),
+ "QXmlStreamWriter.setCodec": [('PySide2.QtCore.QTextCodec',), ('str',)],
+ "QXmlStreamWriter.setDevice": ('PySide2.QtCore.QIODevice',),
+ "QXmlStreamWriter.writeAttribute": [('PySide2.QtCore.QXmlStreamAttribute',), ('str', 'str'), ('str', 'str', 'str')],
+ "QXmlStreamWriter.writeAttributes": ('PySide2.QtCore.QXmlStreamAttributes',),
+ "QXmlStreamWriter.writeCDATA": ('str',),
+ "QXmlStreamWriter.writeCharacters": ('str',),
+ "QXmlStreamWriter.writeComment": ('str',),
+ "QXmlStreamWriter.writeCurrentToken": ('PySide2.QtCore.QXmlStreamReader',),
+ "QXmlStreamWriter.writeDTD": ('str',),
+ "QXmlStreamWriter.writeDefaultNamespace": ('str',),
+ "QXmlStreamWriter.writeEmptyElement": [('str',), ('str', 'str')],
+ "QXmlStreamWriter.writeEndDocument": (),
+ "QXmlStreamWriter.writeEndElement": (),
+ "QXmlStreamWriter.writeEntityReference": ('str',),
+ "QXmlStreamWriter.writeNamespace": ('str', 'str'),
+ "QXmlStreamWriter.writeProcessingInstruction": ('str', 'str'),
+ "QXmlStreamWriter.writeStartDocument": [(), ('str',), ('str', 'bool')],
+ "QXmlStreamWriter.writeStartElement": [('str',), ('str', 'str')],
+ "QXmlStreamWriter.writeTextElement": [('str', 'str'), ('str', 'str', 'str')],
+
+ # class PySide2.QtCore.Qt:
+
+ # class PySide2.QtCore.QtMsgType:
+
+ # class PySide2.QtCore.Signal:
+
+ # class PySide2.QtCore.Slot:
+ })
+
+# Module PySide2.QtGui
+if "PySide2.QtGui" in sys.modules:
+ dict.update({
+
+ # class PySide2.QtGui.QAbstractOpenGLFunctions:
+ "QAbstractOpenGLFunctions.__init__": (),
+ "QAbstractOpenGLFunctions.initializeOpenGLFunctions": (),
+ "QAbstractOpenGLFunctions.isInitialized": (),
+ "QAbstractOpenGLFunctions.owningContext": (),
+ "QAbstractOpenGLFunctions.setOwningContext": ('PySide2.QtGui.QOpenGLContext',),
+
+ # class PySide2.QtGui.QAbstractTextDocumentLayout:
+ "QAbstractTextDocumentLayout.__init__": ('PySide2.QtGui.QTextDocument',),
+ "QAbstractTextDocumentLayout.anchorAt": ('PySide2.QtCore.QPointF',),
+ "QAbstractTextDocumentLayout.blockBoundingRect": ('PySide2.QtGui.QTextBlock',),
+ "QAbstractTextDocumentLayout.document": (),
+ "QAbstractTextDocumentLayout.documentChanged": ('int', 'int', 'int'),
+ "QAbstractTextDocumentLayout.documentSize": (),
+ "QAbstractTextDocumentLayout.draw": ('PySide2.QtGui.QPainter', 'PySide2.QtGui.QAbstractTextDocumentLayout.PaintContext'),
+ "QAbstractTextDocumentLayout.drawInlineObject": ('PySide2.QtGui.QPainter', 'PySide2.QtCore.QRectF', 'PySide2.QtGui.QTextInlineObject', 'int', 'PySide2.QtGui.QTextFormat'),
+ "QAbstractTextDocumentLayout.format": ('int',),
+ "QAbstractTextDocumentLayout.formatAt": ('PySide2.QtCore.QPointF',),
+ "QAbstractTextDocumentLayout.formatIndex": ('int',),
+ "QAbstractTextDocumentLayout.frameBoundingRect": ('PySide2.QtGui.QTextFrame',),
+ "QAbstractTextDocumentLayout.handlerForObject": ('int',),
+ "QAbstractTextDocumentLayout.hitTest": ('PySide2.QtCore.QPointF', 'PySide2.QtCore.Qt.HitTestAccuracy'),
+ "QAbstractTextDocumentLayout.imageAt": ('PySide2.QtCore.QPointF',),
+ "QAbstractTextDocumentLayout.pageCount": (),
+ "QAbstractTextDocumentLayout.paintDevice": (),
+ "QAbstractTextDocumentLayout.positionInlineObject": ('PySide2.QtGui.QTextInlineObject', 'int', 'PySide2.QtGui.QTextFormat'),
+ "QAbstractTextDocumentLayout.registerHandler": ('int', 'PySide2.QtCore.QObject'),
+ "QAbstractTextDocumentLayout.resizeInlineObject": ('PySide2.QtGui.QTextInlineObject', 'int', 'PySide2.QtGui.QTextFormat'),
+ "QAbstractTextDocumentLayout.setPaintDevice": ('PySide2.QtGui.QPaintDevice',),
+ "QAbstractTextDocumentLayout.unregisterHandler": ('int', 'PySide2.QtCore.QObject'),
+
+ # class PySide2.QtGui.QAccessible:
+ "QAccessible.__copy__": (),
+ "QAccessible.accessibleInterface": ('int',),
+ "QAccessible.cleanup": (),
+ "QAccessible.deleteAccessibleInterface": ('int',),
+ "QAccessible.isActive": (),
+ "QAccessible.qAccessibleTextBoundaryHelper": ('PySide2.QtGui.QTextCursor', 'PySide2.QtGui.QAccessible.TextBoundaryType'),
+ "QAccessible.queryAccessibleInterface": ('PySide2.QtCore.QObject',),
+ "QAccessible.registerAccessibleInterface": ('PySide2.QtGui.QAccessibleInterface',),
+ "QAccessible.setActive": ('bool',),
+ "QAccessible.setRootObject": ('PySide2.QtCore.QObject',),
+ "QAccessible.uniqueId": ('PySide2.QtGui.QAccessibleInterface',),
+ "QAccessible.updateAccessibility": ('PySide2.QtGui.QAccessibleEvent',),
+
+ # class PySide2.QtGui.QAccessibleEditableTextInterface:
+ "QAccessibleEditableTextInterface.__init__": (),
+ "QAccessibleEditableTextInterface.deleteText": ('int', 'int'),
+ "QAccessibleEditableTextInterface.insertText": ('int', 'str'),
+ "QAccessibleEditableTextInterface.replaceText": ('int', 'int', 'str'),
+
+ # class PySide2.QtGui.QAccessibleEvent:
+ "QAccessibleEvent.__init__": [('PySide2.QtCore.QObject', 'PySide2.QtGui.QAccessible.Event'), ('PySide2.QtGui.QAccessibleInterface', 'PySide2.QtGui.QAccessible.Event')],
+ "QAccessibleEvent.accessibleInterface": (),
+ "QAccessibleEvent.child": (),
+ "QAccessibleEvent.object": (),
+ "QAccessibleEvent.setChild": ('int',),
+ "QAccessibleEvent.type": (),
+ "QAccessibleEvent.uniqueId": (),
+
+ # class PySide2.QtGui.QAccessibleInterface:
+ "QAccessibleInterface.__init__": (),
+ "QAccessibleInterface.backgroundColor": (),
+ "QAccessibleInterface.child": ('int',),
+ "QAccessibleInterface.childAt": ('int', 'int'),
+ "QAccessibleInterface.childCount": (),
+ "QAccessibleInterface.editableTextInterface": (),
+ "QAccessibleInterface.focusChild": (),
+ "QAccessibleInterface.foregroundColor": (),
+ "QAccessibleInterface.indexOfChild": ('PySide2.QtGui.QAccessibleInterface',),
+ "QAccessibleInterface.interface_cast": ('PySide2.QtGui.QAccessible.InterfaceType',),
+ "QAccessibleInterface.isValid": (),
+ "QAccessibleInterface.object": (),
+ "QAccessibleInterface.parent": (),
+ "QAccessibleInterface.rect": (),
+ "QAccessibleInterface.relations": ('PySide2.libpyside.Relation',),
+ "QAccessibleInterface.role": (),
+ "QAccessibleInterface.setText": ('PySide2.QtGui.QAccessible.Text', 'str'),
+ "QAccessibleInterface.state": (),
+ "QAccessibleInterface.tableCellInterface": (),
+ "QAccessibleInterface.text": ('PySide2.QtGui.QAccessible.Text',),
+ "QAccessibleInterface.textInterface": (),
+ "QAccessibleInterface.valueInterface": (),
+ "QAccessibleInterface.virtual_hook": ('int', 'int'),
+ "QAccessibleInterface.window": (),
+
+ # class PySide2.QtGui.QAccessibleObject:
+ "QAccessibleObject.__init__": ('PySide2.QtCore.QObject',),
+ "QAccessibleObject.childAt": ('int', 'int'),
+ "QAccessibleObject.isValid": (),
+ "QAccessibleObject.object": (),
+ "QAccessibleObject.rect": (),
+ "QAccessibleObject.setText": ('PySide2.QtGui.QAccessible.Text', 'str'),
+
+ # class PySide2.QtGui.QAccessibleStateChangeEvent:
+ "QAccessibleStateChangeEvent.__init__": [('PySide2.QtCore.QObject', 'PySide2.QtGui.QAccessible.State'), ('PySide2.QtGui.QAccessibleInterface', 'PySide2.QtGui.QAccessible.State')],
+ "QAccessibleStateChangeEvent.changedStates": (),
+
+ # class PySide2.QtGui.QAccessibleTableCellInterface:
+ "QAccessibleTableCellInterface.__init__": (),
+ "QAccessibleTableCellInterface.columnExtent": (),
+ "QAccessibleTableCellInterface.columnHeaderCells": (),
+ "QAccessibleTableCellInterface.columnIndex": (),
+ "QAccessibleTableCellInterface.isSelected": (),
+ "QAccessibleTableCellInterface.rowExtent": (),
+ "QAccessibleTableCellInterface.rowHeaderCells": (),
+ "QAccessibleTableCellInterface.rowIndex": (),
+ "QAccessibleTableCellInterface.table": (),
+
+ # class PySide2.QtGui.QAccessibleTableModelChangeEvent:
+ "QAccessibleTableModelChangeEvent.__init__": [('PySide2.QtCore.QObject', 'PySide2.QtGui.QAccessibleTableModelChangeEvent.ModelChangeType'), ('PySide2.QtGui.QAccessibleInterface', 'PySide2.QtGui.QAccessibleTableModelChangeEvent.ModelChangeType')],
+ "QAccessibleTableModelChangeEvent.firstColumn": (),
+ "QAccessibleTableModelChangeEvent.firstRow": (),
+ "QAccessibleTableModelChangeEvent.lastColumn": (),
+ "QAccessibleTableModelChangeEvent.lastRow": (),
+ "QAccessibleTableModelChangeEvent.modelChangeType": (),
+ "QAccessibleTableModelChangeEvent.setFirstColumn": ('int',),
+ "QAccessibleTableModelChangeEvent.setFirstRow": ('int',),
+ "QAccessibleTableModelChangeEvent.setLastColumn": ('int',),
+ "QAccessibleTableModelChangeEvent.setLastRow": ('int',),
+ "QAccessibleTableModelChangeEvent.setModelChangeType": ('PySide2.QtGui.QAccessibleTableModelChangeEvent.ModelChangeType',),
+
+ # class PySide2.QtGui.QAccessibleTextCursorEvent:
+ "QAccessibleTextCursorEvent.__init__": [('PySide2.QtCore.QObject', 'int'), ('PySide2.QtGui.QAccessibleInterface', 'int')],
+ "QAccessibleTextCursorEvent.cursorPosition": (),
+ "QAccessibleTextCursorEvent.setCursorPosition": ('int',),
+
+ # class PySide2.QtGui.QAccessibleTextInsertEvent:
+ "QAccessibleTextInsertEvent.__init__": [('PySide2.QtCore.QObject', 'int', 'str'), ('PySide2.QtGui.QAccessibleInterface', 'int', 'str')],
+ "QAccessibleTextInsertEvent.changePosition": (),
+ "QAccessibleTextInsertEvent.textInserted": (),
+
+ # class PySide2.QtGui.QAccessibleTextInterface:
+ "QAccessibleTextInterface.__init__": (),
+ "QAccessibleTextInterface.addSelection": ('int', 'int'),
+ "QAccessibleTextInterface.attributes": ('int', 'int', 'int'),
+ "QAccessibleTextInterface.characterCount": (),
+ "QAccessibleTextInterface.characterRect": ('int',),
+ "QAccessibleTextInterface.cursorPosition": (),
+ "QAccessibleTextInterface.offsetAtPoint": ('PySide2.QtCore.QPoint',),
+ "QAccessibleTextInterface.removeSelection": ('int',),
+ "QAccessibleTextInterface.scrollToSubstring": ('int', 'int'),
+ "QAccessibleTextInterface.selection": ('int', 'int', 'int'),
+ "QAccessibleTextInterface.selectionCount": (),
+ "QAccessibleTextInterface.setCursorPosition": ('int',),
+ "QAccessibleTextInterface.setSelection": ('int', 'int', 'int'),
+ "QAccessibleTextInterface.text": ('int', 'int'),
+ "QAccessibleTextInterface.textAfterOffset": ('int', 'PySide2.QtGui.QAccessible.TextBoundaryType', 'int', 'int'),
+ "QAccessibleTextInterface.textAtOffset": ('int', 'PySide2.QtGui.QAccessible.TextBoundaryType', 'int', 'int'),
+ "QAccessibleTextInterface.textBeforeOffset": ('int', 'PySide2.QtGui.QAccessible.TextBoundaryType', 'int', 'int'),
+
+ # class PySide2.QtGui.QAccessibleTextRemoveEvent:
+ "QAccessibleTextRemoveEvent.__init__": [('PySide2.QtCore.QObject', 'int', 'str'), ('PySide2.QtGui.QAccessibleInterface', 'int', 'str')],
+ "QAccessibleTextRemoveEvent.changePosition": (),
+ "QAccessibleTextRemoveEvent.textRemoved": (),
+
+ # class PySide2.QtGui.QAccessibleTextSelectionEvent:
+ "QAccessibleTextSelectionEvent.__init__": [('PySide2.QtCore.QObject', 'int', 'int'), ('PySide2.QtGui.QAccessibleInterface', 'int', 'int')],
+ "QAccessibleTextSelectionEvent.selectionEnd": (),
+ "QAccessibleTextSelectionEvent.selectionStart": (),
+ "QAccessibleTextSelectionEvent.setSelection": ('int', 'int'),
+
+ # class PySide2.QtGui.QAccessibleTextUpdateEvent:
+ "QAccessibleTextUpdateEvent.__init__": [('PySide2.QtCore.QObject', 'int', 'str', 'str'), ('PySide2.QtGui.QAccessibleInterface', 'int', 'str', 'str')],
+ "QAccessibleTextUpdateEvent.changePosition": (),
+ "QAccessibleTextUpdateEvent.textInserted": (),
+ "QAccessibleTextUpdateEvent.textRemoved": (),
+
+ # class PySide2.QtGui.QAccessibleValueChangeEvent:
+ "QAccessibleValueChangeEvent.__init__": [('PySide2.QtCore.QObject', 'Any'), ('PySide2.QtGui.QAccessibleInterface', 'Any')],
+ "QAccessibleValueChangeEvent.setValue": ('Any',),
+ "QAccessibleValueChangeEvent.value": (),
+
+ # class PySide2.QtGui.QAccessibleValueInterface:
+ "QAccessibleValueInterface.__init__": (),
+ "QAccessibleValueInterface.currentValue": (),
+ "QAccessibleValueInterface.maximumValue": (),
+ "QAccessibleValueInterface.minimumStepSize": (),
+ "QAccessibleValueInterface.minimumValue": (),
+ "QAccessibleValueInterface.setCurrentValue": ('Any',),
+
+ # class PySide2.QtGui.QActionEvent:
+
+ # class PySide2.QtGui.QBackingStore:
+ "QBackingStore.__init__": ('PySide2.QtGui.QWindow',),
+ "QBackingStore.beginPaint": ('PySide2.QtGui.QRegion',),
+ "QBackingStore.endPaint": (),
+ "QBackingStore.flush": ('PySide2.QtGui.QRegion', 'PySide2.QtGui.QWindow', 'PySide2.QtCore.QPoint'),
+ "QBackingStore.hasStaticContents": (),
+ "QBackingStore.paintDevice": (),
+ "QBackingStore.resize": ('PySide2.QtCore.QSize',),
+ "QBackingStore.scroll": ('PySide2.QtGui.QRegion', 'int', 'int'),
+ "QBackingStore.setStaticContents": ('PySide2.QtGui.QRegion',),
+ "QBackingStore.size": (),
+ "QBackingStore.staticContents": (),
+ "QBackingStore.window": (),
+
+ # class PySide2.QtGui.QBitmap:
+ "QBitmap.__init__": [(), ('PySide2.QtCore.QSize',), ('PySide2.QtGui.QBitmap',), ('PySide2.QtGui.QPixmap',), ('int', 'int'), ('str', 'str')],
+ "QBitmap.__copy__": (),
+ "QBitmap.clear": (),
+ "QBitmap.fromData": ('PySide2.QtCore.QSize', 'Union[str, int]', 'PySide2.QtGui.QImage.Format'),
+ "QBitmap.fromImage": ('PySide2.QtGui.QImage', 'PySide2.libpyside.ImageConversionFlags'),
+ "QBitmap.swap": [('PySide2.QtGui.QBitmap',), ('PySide2.QtGui.QPixmap',)],
+ "QBitmap.transformed": [('PySide2.QtGui.QMatrix',), ('PySide2.QtGui.QMatrix', 'PySide2.QtCore.Qt.TransformationMode'), ('PySide2.QtGui.QTransform',)],
+
+ # class PySide2.QtGui.QBrush:
+ "QBrush.__init__": [(), ('PySide2.QtCore.Qt.BrushStyle',), ('PySide2.QtCore.Qt.GlobalColor', 'PySide2.QtCore.Qt.BrushStyle'), ('PySide2.QtCore.Qt.GlobalColor', 'PySide2.QtGui.QPixmap'), ('PySide2.QtGui.QBrush',), ('PySide2.QtGui.QColor', 'PySide2.QtCore.Qt.BrushStyle'), ('PySide2.QtGui.QColor', 'PySide2.QtGui.QPixmap'), ('PySide2.QtGui.QGradient',), ('PySide2.QtGui.QImage',), ('PySide2.QtGui.QPixmap',)],
+ "QBrush.__copy__": (),
+ "QBrush.color": (),
+ "QBrush.gradient": (),
+ "QBrush.isOpaque": (),
+ "QBrush.matrix": (),
+ "QBrush.setColor": [('PySide2.QtCore.Qt.GlobalColor',), ('PySide2.QtGui.QColor',)],
+ "QBrush.setMatrix": ('PySide2.QtGui.QMatrix',),
+ "QBrush.setStyle": ('PySide2.QtCore.Qt.BrushStyle',),
+ "QBrush.setTexture": ('PySide2.QtGui.QPixmap',),
+ "QBrush.setTextureImage": ('PySide2.QtGui.QImage',),
+ "QBrush.setTransform": ('PySide2.QtGui.QTransform',),
+ "QBrush.style": (),
+ "QBrush.swap": ('PySide2.QtGui.QBrush',),
+ "QBrush.texture": (),
+ "QBrush.textureImage": (),
+ "QBrush.transform": (),
+
+ # class PySide2.QtGui.QClipboard:
+ "QClipboard.clear": ('PySide2.QtGui.QClipboard.Mode',),
+ "QClipboard.image": ('PySide2.QtGui.QClipboard.Mode',),
+ "QClipboard.mimeData": ('PySide2.QtGui.QClipboard.Mode',),
+ "QClipboard.ownsClipboard": (),
+ "QClipboard.ownsFindBuffer": (),
+ "QClipboard.ownsSelection": (),
+ "QClipboard.pixmap": ('PySide2.QtGui.QClipboard.Mode',),
+ "QClipboard.setImage": ('PySide2.QtGui.QImage', 'PySide2.QtGui.QClipboard.Mode'),
+ "QClipboard.setMimeData": ('PySide2.QtCore.QMimeData', 'PySide2.QtGui.QClipboard.Mode'),
+ "QClipboard.setPixmap": ('PySide2.QtGui.QPixmap', 'PySide2.QtGui.QClipboard.Mode'),
+ "QClipboard.setText": ('str', 'PySide2.QtGui.QClipboard.Mode'),
+ "QClipboard.supportsFindBuffer": (),
+ "QClipboard.supportsSelection": (),
+ "QClipboard.text": [('PySide2.QtGui.QClipboard.Mode',), ('str', 'PySide2.QtGui.QClipboard.Mode')],
+
+ # class PySide2.QtGui.QCloseEvent:
+ "QCloseEvent.__init__": (),
+
+ # class PySide2.QtGui.QColor:
+ "QColor.__init__": [(), ('Any',), ('PySide2.QtCore.Qt.GlobalColor',), ('PySide2.QtGui.QColor',), ('int',), ('int', 'int', 'int', 'int'), ('str',)],
+ "QColor.__copy__": (),
+ "QColor.__reduce__": (),
+ "QColor.__setstate__": ('object',),
+ "QColor.alpha": (),
+ "QColor.alphaF": (),
+ "QColor.black": (),
+ "QColor.blackF": (),
+ "QColor.blue": (),
+ "QColor.blueF": (),
+ "QColor.colorNames": (),
+ "QColor.convertTo": ('PySide2.QtGui.QColor.Spec',),
+ "QColor.cyan": (),
+ "QColor.cyanF": (),
+ "QColor.dark": ('int',),
+ "QColor.darker": ('int',),
+ "QColor.fromCmyk": ('int', 'int', 'int', 'int', 'int'),
+ "QColor.fromCmykF": ('float', 'float', 'float', 'float', 'float'),
+ "QColor.fromHsl": ('int', 'int', 'int', 'int'),
+ "QColor.fromHslF": ('float', 'float', 'float', 'float'),
+ "QColor.fromHsv": ('int', 'int', 'int', 'int'),
+ "QColor.fromHsvF": ('float', 'float', 'float', 'float'),
+ "QColor.fromRgb": [('int',), ('int', 'int', 'int', 'int')],
+ "QColor.fromRgbF": ('float', 'float', 'float', 'float'),
+ "QColor.fromRgba": ('int',),
+ "QColor.fromRgba64": ('int', 'int', 'int', 'int'),
+ "QColor.getCmyk": ('int', 'int', 'int', 'int', 'int'),
+ "QColor.getCmykF": ('float', 'float', 'float', 'float', 'float'),
+ "QColor.getHsl": ('int', 'int', 'int', 'int'),
+ "QColor.getHslF": ('float', 'float', 'float', 'float'),
+ "QColor.getHsv": ('int', 'int', 'int', 'int'),
+ "QColor.getHsvF": ('float', 'float', 'float', 'float'),
+ "QColor.getRgb": ('int', 'int', 'int', 'int'),
+ "QColor.getRgbF": ('float', 'float', 'float', 'float'),
+ "QColor.green": (),
+ "QColor.greenF": (),
+ "QColor.hslHue": (),
+ "QColor.hslHueF": (),
+ "QColor.hslSaturation": (),
+ "QColor.hslSaturationF": (),
+ "QColor.hsvHue": (),
+ "QColor.hsvHueF": (),
+ "QColor.hsvSaturation": (),
+ "QColor.hsvSaturationF": (),
+ "QColor.hue": (),
+ "QColor.hueF": (),
+ "QColor.isValid": (),
+ "QColor.isValidColor": ('str',),
+ "QColor.light": ('int',),
+ "QColor.lighter": ('int',),
+ "QColor.lightness": (),
+ "QColor.lightnessF": (),
+ "QColor.magenta": (),
+ "QColor.magentaF": (),
+ "QColor.name": [(), ('PySide2.QtGui.QColor.NameFormat',)],
+ "QColor.red": (),
+ "QColor.redF": (),
+ "QColor.rgb": (),
+ "QColor.rgba": (),
+ "QColor.saturation": (),
+ "QColor.saturationF": (),
+ "QColor.setAlpha": ('int',),
+ "QColor.setAlphaF": ('float',),
+ "QColor.setBlue": ('int',),
+ "QColor.setBlueF": ('float',),
+ "QColor.setCmyk": ('int', 'int', 'int', 'int', 'int'),
+ "QColor.setCmykF": ('float', 'float', 'float', 'float', 'float'),
+ "QColor.setGreen": ('int',),
+ "QColor.setGreenF": ('float',),
+ "QColor.setHsl": ('int', 'int', 'int', 'int'),
+ "QColor.setHslF": ('float', 'float', 'float', 'float'),
+ "QColor.setHsv": ('int', 'int', 'int', 'int'),
+ "QColor.setHsvF": ('float', 'float', 'float', 'float'),
+ "QColor.setNamedColor": ('str',),
+ "QColor.setRed": ('int',),
+ "QColor.setRedF": ('float',),
+ "QColor.setRgb": [('int',), ('int', 'int', 'int', 'int')],
+ "QColor.setRgbF": ('float', 'float', 'float', 'float'),
+ "QColor.setRgba": ('int',),
+ "QColor.spec": (),
+ "QColor.toCmyk": (),
+ "QColor.toHsl": (),
+ "QColor.toHsv": (),
+ "QColor.toRgb": (),
+ "QColor.toTuple": (),
+ "QColor.value": (),
+ "QColor.valueF": (),
+ "QColor.yellow": (),
+ "QColor.yellowF": (),
+
+ # class PySide2.QtGui.QConicalGradient:
+ "QConicalGradient.__init__": [(), ('PySide2.QtCore.QPointF', 'float'), ('PySide2.QtGui.QConicalGradient',), ('float', 'float', 'float')],
+ "QConicalGradient.__copy__": (),
+ "QConicalGradient.angle": (),
+ "QConicalGradient.center": (),
+ "QConicalGradient.setAngle": ('float',),
+ "QConicalGradient.setCenter": [('PySide2.QtCore.QPointF',), ('float', 'float')],
+
+ # class PySide2.QtGui.QContextMenuEvent:
+ "QContextMenuEvent.__init__": [('PySide2.QtGui.QContextMenuEvent.Reason', 'PySide2.QtCore.QPoint'), ('PySide2.QtGui.QContextMenuEvent.Reason', 'PySide2.QtCore.QPoint', 'PySide2.QtCore.QPoint'), ('PySide2.QtGui.QContextMenuEvent.Reason', 'PySide2.QtCore.QPoint', 'PySide2.QtCore.QPoint', 'PySide2.libpyside.KeyboardModifiers')],
+ "QContextMenuEvent.globalPos": (),
+ "QContextMenuEvent.globalX": (),
+ "QContextMenuEvent.global""Y": (),
+ "QContextMenuEvent.pos": (),
+ "QContextMenuEvent.reason": (),
+ "QContextMenuEvent.x": (),
+ "QContextMenuEvent.y": (),
+
+ # class PySide2.QtGui.QCursor:
+ "QCursor.__init__": [(), ('PySide2.QtCore.Qt.CursorShape',), ('PySide2.QtGui.QBitmap', 'PySide2.QtGui.QBitmap', 'int', 'int'), ('PySide2.QtGui.QCursor',), ('PySide2.QtGui.QPixmap', 'int', 'int')],
+ "QCursor.__copy__": (),
+ "QCursor.bitmap": (),
+ "QCursor.hotSpot": (),
+ "QCursor.mask": (),
+ "QCursor.pixmap": (),
+ "QCursor.pos": [(), ('PySide2.QtGui.QScreen',)],
+ "QCursor.setPos": [('PySide2.QtCore.QPoint',), ('PySide2.QtGui.QScreen', 'PySide2.QtCore.QPoint'), ('PySide2.QtGui.QScreen', 'int', 'int'), ('int', 'int')],
+ "QCursor.setShape": ('PySide2.QtCore.Qt.CursorShape',),
+ "QCursor.shape": (),
+ "QCursor.swap": ('PySide2.QtGui.QCursor',),
+
+ # class PySide2.QtGui.QDesktopServices:
+ "QDesktopServices.__init__": (),
+ "QDesktopServices.openUrl": ('PySide2.QtCore.QUrl',),
+ "QDesktopServices.setUrlHandler": ('str', 'PySide2.QtCore.QObject', 'str'),
+ "QDesktopServices.unsetUrlHandler": ('str',),
+
+ # class PySide2.QtGui.QDoubleValidator:
+ "QDoubleValidator.__init__": [('PySide2.QtCore.QObject',), ('float', 'float', 'int', 'PySide2.QtCore.QObject')],
+ "QDoubleValidator.bottom": (),
+ "QDoubleValidator.decimals": (),
+ "QDoubleValidator.notation": (),
+ "QDoubleValidator.setBottom": ('float',),
+ "QDoubleValidator.setDecimals": ('int',),
+ "QDoubleValidator.setNotation": ('PySide2.QtGui.QDoubleValidator.Notation',),
+ "QDoubleValidator.setRange": ('float', 'float', 'int'),
+ "QDoubleValidator.setTop": ('float',),
+ "QDoubleValidator.top": (),
+ "QDoubleValidator.validate": ('str', 'int'),
+
+ # class PySide2.QtGui.QDrag:
+ "QDrag.__init__": ('PySide2.QtCore.QObject',),
+ "QDrag.cancel": (),
+ "QDrag.defaultAction": (),
+ "QDrag.dragCursor": ('PySide2.QtCore.Qt.DropAction',),
+ "QDrag.exec_": [('PySide2.libpyside.DropActions',), ('PySide2.libpyside.DropActions', 'PySide2.QtCore.Qt.DropAction')],
+ "QDrag.hotSpot": (),
+ "QDrag.mimeData": (),
+ "QDrag.pixmap": (),
+ "QDrag.setDragCursor": ('PySide2.QtGui.QPixmap', 'PySide2.QtCore.Qt.DropAction'),
+ "QDrag.setHotSpot": ('PySide2.QtCore.QPoint',),
+ "QDrag.setMimeData": ('PySide2.QtCore.QMimeData',),
+ "QDrag.setPixmap": ('PySide2.QtGui.QPixmap',),
+ "QDrag.source": (),
+ "QDrag.start": ('PySide2.libpyside.DropActions',),
+ "QDrag.supportedActions": (),
+ "QDrag.target": (),
+
+ # class PySide2.QtGui.QDragEnterEvent:
+ "QDragEnterEvent.__init__": ('PySide2.QtCore.QPoint', 'PySide2.libpyside.DropActions', 'PySide2.QtCore.QMimeData', 'PySide2.libpyside.MouseButtons', 'PySide2.libpyside.KeyboardModifiers'),
+
+ # class PySide2.QtGui.QDragLeaveEvent:
+ "QDragLeaveEvent.__init__": (),
+
+ # class PySide2.QtGui.QDragMoveEvent:
+ "QDragMoveEvent.__init__": ('PySide2.QtCore.QPoint', 'PySide2.libpyside.DropActions', 'PySide2.QtCore.QMimeData', 'PySide2.libpyside.MouseButtons', 'PySide2.libpyside.KeyboardModifiers', 'PySide2.QtCore.QEvent.Type'),
+ "QDragMoveEvent.accept": [(), ('PySide2.QtCore.QRect',)],
+ "QDragMoveEvent.answerRect": (),
+ "QDragMoveEvent.ignore": [(), ('PySide2.QtCore.QRect',)],
+
+ # class PySide2.QtGui.QDropEvent:
+ "QDropEvent.__init__": ('PySide2.QtCore.QPointF', 'PySide2.libpyside.DropActions', 'PySide2.QtCore.QMimeData', 'PySide2.libpyside.MouseButtons', 'PySide2.libpyside.KeyboardModifiers', 'PySide2.QtCore.QEvent.Type'),
+ "QDropEvent.acceptProposedAction": (),
+ "QDropEvent.dropAction": (),
+ "QDropEvent.keyboardModifiers": (),
+ "QDropEvent.mimeData": (),
+ "QDropEvent.mouseButtons": (),
+ "QDropEvent.pos": (),
+ "QDropEvent.posF": (),
+ "QDropEvent.possibleActions": (),
+ "QDropEvent.proposedAction": (),
+ "QDropEvent.setDropAction": ('PySide2.QtCore.Qt.DropAction',),
+ "QDropEvent.source": (),
+
+ # class PySide2.QtGui.QEnterEvent:
+ "QEnterEvent.__init__": ('PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF'),
+ "QEnterEvent.globalPos": (),
+ "QEnterEvent.globalX": (),
+ "QEnterEvent.global""Y": (),
+ "QEnterEvent.localPos": (),
+ "QEnterEvent.pos": (),
+ "QEnterEvent.screenPos": (),
+ "QEnterEvent.windowPos": (),
+ "QEnterEvent.x": (),
+ "QEnterEvent.y": (),
+
+ # class PySide2.QtGui.QExposeEvent:
+ "QExposeEvent.__init__": ('PySide2.QtGui.QRegion',),
+ "QExposeEvent.region": (),
+
+ # class PySide2.QtGui.QFileOpenEvent:
+ "QFileOpenEvent.__init__": [('PySide2.QtCore.QUrl',), ('str',)],
+ "QFileOpenEvent.file": (),
+ "QFileOpenEvent.openFile": ('PySide2.QtCore.QFile', 'PySide2.libpyside.OpenMode'),
+ "QFileOpenEvent.url": (),
+
+ # class PySide2.QtGui.QFocusEvent:
+ "QFocusEvent.__init__": ('PySide2.QtCore.QEvent.Type', 'PySide2.QtCore.Qt.FocusReason'),
+ "QFocusEvent.gotFocus": (),
+ "QFocusEvent.lostFocus": (),
+ "QFocusEvent.reason": (),
+
+ # class PySide2.QtGui.QFont:
+ "QFont.__init__": [(), ('PySide2.QtGui.QFont',), ('PySide2.QtGui.QFont', 'PySide2.QtGui.QPaintDevice'), ('str', 'int', 'int', 'bool')],
+ "QFont.__copy__": (),
+ "QFont.bold": (),
+ "QFont.cacheStatistics": (),
+ "QFont.capitalization": (),
+ "QFont.cleanup": (),
+ "QFont.defaultFamily": (),
+ "QFont.exactMatch": (),
+ "QFont.family": (),
+ "QFont.fixedPitch": (),
+ "QFont.fromString": ('str',),
+ "QFont.hintingPreference": (),
+ "QFont.initialize": (),
+ "QFont.insertSubstitution": ('str', 'str'),
+ "QFont.insertSubstitutions": ('str', 'List[str]'),
+ "QFont.isCopyOf": ('PySide2.QtGui.QFont',),
+ "QFont.italic": (),
+ "QFont.kerning": (),
+ "QFont.key": (),
+ "QFont.lastResortFamily": (),
+ "QFont.lastResortFont": (),
+ "QFont.letterSpacing": (),
+ "QFont.letterSpacingType": (),
+ "QFont.overline": (),
+ "QFont.pixelSize": (),
+ "QFont.pointSize": (),
+ "QFont.pointSizeF": (),
+ "QFont.rawMode": (),
+ "QFont.rawName": (),
+ "QFont.removeSubstitutions": ('str',),
+ "QFont.resolve": [(), ('PySide2.QtGui.QFont',), ('int',)],
+ "QFont.setBold": ('bool',),
+ "QFont.setCapitalization": ('PySide2.QtGui.QFont.Capitalization',),
+ "QFont.setFamily": ('str',),
+ "QFont.setFixedPitch": ('bool',),
+ "QFont.setHintingPreference": ('PySide2.QtGui.QFont.HintingPreference',),
+ "QFont.setItalic": ('bool',),
+ "QFont.setKerning": ('bool',),
+ "QFont.setLetterSpacing": ('PySide2.QtGui.QFont.SpacingType', 'float'),
+ "QFont.setOverline": ('bool',),
+ "QFont.setPixelSize": ('int',),
+ "QFont.setPointSize": ('int',),
+ "QFont.setPointSizeF": ('float',),
+ "QFont.setRawMode": ('bool',),
+ "QFont.setRawName": ('str',),
+ "QFont.setStretch": ('int',),
+ "QFont.setStrikeOut": ('bool',),
+ "QFont.setStyle": ('PySide2.QtGui.QFont.Style',),
+ "QFont.setStyleHint": ('PySide2.QtGui.QFont.StyleHint', 'PySide2.QtGui.QFont.StyleStrategy'),
+ "QFont.setStyleName": ('str',),
+ "QFont.setStyleStrategy": ('PySide2.QtGui.QFont.StyleStrategy',),
+ "QFont.setUnderline": ('bool',),
+ "QFont.setWeight": ('int',),
+ "QFont.setWordSpacing": ('float',),
+ "QFont.stretch": (),
+ "QFont.strikeOut": (),
+ "QFont.style": (),
+ "QFont.styleHint": (),
+ "QFont.styleName": (),
+ "QFont.styleStrategy": (),
+ "QFont.substitute": ('str',),
+ "QFont.substitutes": ('str',),
+ "QFont.substitutions": (),
+ "QFont.swap": ('PySide2.QtGui.QFont',),
+ "QFont.toString": (),
+ "QFont.underline": (),
+ "QFont.weight": (),
+ "QFont.wordSpacing": (),
+
+ # class PySide2.QtGui.QFontDatabase:
+ "QFontDatabase.__init__": [(), ('PySide2.QtGui.QFontDatabase',)],
+ "QFontDatabase.__copy__": (),
+ "QFontDatabase.addApplicationFont": ('str',),
+ "QFontDatabase.addApplicationFontFromData": ('PySide2.QtCore.QByteArray',),
+ "QFontDatabase.applicationFontFamilies": ('int',),
+ "QFontDatabase.bold": ('str', 'str'),
+ "QFontDatabase.families": ('PySide2.QtGui.QFontDatabase.WritingSystem',),
+ "QFontDatabase.font": ('str', 'str', 'int'),
+ "QFontDatabase.hasFamily": ('str',),
+ "QFontDatabase.isBitmapScalable": ('str', 'str'),
+ "QFontDatabase.isFixedPitch": ('str', 'str'),
+ "QFontDatabase.isPrivateFamily": ('str',),
+ "QFontDatabase.isScalable": ('str', 'str'),
+ "QFontDatabase.isSmoothlyScalable": ('str', 'str'),
+ "QFontDatabase.italic": ('str', 'str'),
+ "QFontDatabase.pointSizes": ('str', 'str'),
+ "QFontDatabase.removeAllApplicationFonts": (),
+ "QFontDatabase.removeApplicationFont": ('int',),
+ "QFontDatabase.smoothSizes": ('str', 'str'),
+ "QFontDatabase.standardSizes": (),
+ "QFontDatabase.styleString": [('PySide2.QtGui.QFont',), ('PySide2.QtGui.QFontInfo',)],
+ "QFontDatabase.styles": ('str',),
+ "QFontDatabase.supportsThreadedFontRendering": (),
+ "QFontDatabase.systemFont": ('PySide2.QtGui.QFontDatabase.SystemFont',),
+ "QFontDatabase.weight": ('str', 'str'),
+ "QFontDatabase.writingSystemName": ('PySide2.QtGui.QFontDatabase.WritingSystem',),
+ "QFontDatabase.writingSystemSample": ('PySide2.QtGui.QFontDatabase.WritingSystem',),
+ "QFontDatabase.writingSystems": [(), ('str',)],
+
+ # class PySide2.QtGui.QFontInfo:
+ "QFontInfo.__init__": [('PySide2.QtGui.QFont',), ('PySide2.QtGui.QFontInfo',)],
+ "QFontInfo.__copy__": (),
+ "QFontInfo.bold": (),
+ "QFontInfo.exactMatch": (),
+ "QFontInfo.family": (),
+ "QFontInfo.fixedPitch": (),
+ "QFontInfo.italic": (),
+ "QFontInfo.overline": (),
+ "QFontInfo.pixelSize": (),
+ "QFontInfo.pointSize": (),
+ "QFontInfo.pointSizeF": (),
+ "QFontInfo.rawMode": (),
+ "QFontInfo.strikeOut": (),
+ "QFontInfo.style": (),
+ "QFontInfo.styleHint": (),
+ "QFontInfo.styleName": (),
+ "QFontInfo.swap": ('PySide2.QtGui.QFontInfo',),
+ "QFontInfo.underline": (),
+ "QFontInfo.weight": (),
+
+ # class PySide2.QtGui.QFontMetrics:
+ "QFontMetrics.__init__": [('PySide2.QtGui.QFont',), ('PySide2.QtGui.QFont', 'PySide2.QtGui.QPaintDevice'), ('PySide2.QtGui.QFontMetrics',)],
+ "QFontMetrics.__copy__": (),
+ "QFontMetrics.ascent": (),
+ "QFontMetrics.averageCharWidth": (),
+ "QFontMetrics.boundingRect": [('PySide2.QtCore.QRect', 'int', 'str', 'int', 'int'), ('int', 'int', 'int', 'int', 'int', 'str', 'int', 'int'), ('str',)],
+ "QFontMetrics.boundingRectChar": ('Union[str, int]',),
+ "QFontMetrics.capHeight": (),
+ "QFontMetrics.charWidth": ('str', 'int'),
+ "QFontMetrics.descent": (),
+ "QFontMetrics.elidedText": ('str', 'PySide2.QtCore.Qt.TextElideMode', 'int', 'int'),
+ "QFontMetrics.height": (),
+ "QFontMetrics.horizontalAdvance": [('Union[str, int]',), ('str', 'int')],
+ "QFontMetrics.inFont": ('Union[str, int]',),
+ "QFontMetrics.inFontUcs4": ('int',),
+ "QFontMetrics.leading": (),
+ "QFontMetrics.leftBearing": ('Union[str, int]',),
+ "QFontMetrics.lineSpacing": (),
+ "QFontMetrics.lineWidth": (),
+ "QFontMetrics.maxWidth": (),
+ "QFontMetrics.minLeftBearing": (),
+ "QFontMetrics.minRightBearing": (),
+ "QFontMetrics.overlinePos": (),
+ "QFontMetrics.rightBearing": ('Union[str, int]',),
+ "QFontMetrics.size": ('int', 'str', 'int', 'int'),
+ "QFontMetrics.strikeOutPos": (),
+ "QFontMetrics.swap": ('PySide2.QtGui.QFontMetrics',),
+ "QFontMetrics.tightBoundingRect": ('str',),
+ "QFontMetrics.underlinePos": (),
+ "QFontMetrics.width": [('str', 'int'), ('str', 'int', 'int')],
+ "QFontMetrics.widthChar": ('Union[str, int]',),
+ "QFontMetrics.xHeight": (),
+
+ # class PySide2.QtGui.QFontMetricsF:
+ "QFontMetricsF.__init__": [('PySide2.QtGui.QFont',), ('PySide2.QtGui.QFont', 'PySide2.QtGui.QPaintDevice'), ('PySide2.QtGui.QFontMetrics',), ('PySide2.QtGui.QFontMetricsF',)],
+ "QFontMetricsF.__copy__": (),
+ "QFontMetricsF.ascent": (),
+ "QFontMetricsF.averageCharWidth": (),
+ "QFontMetricsF.boundingRect": [('PySide2.QtCore.QRectF', 'int', 'str', 'int', 'int'), ('str',)],
+ "QFontMetricsF.boundingRectChar": ('Union[str, int]',),
+ "QFontMetricsF.capHeight": (),
+ "QFontMetricsF.descent": (),
+ "QFontMetricsF.elidedText": ('str', 'PySide2.QtCore.Qt.TextElideMode', 'float', 'int'),
+ "QFontMetricsF.height": (),
+ "QFontMetricsF.horizontalAdvance": [('Union[str, int]',), ('str', 'int')],
+ "QFontMetricsF.inFont": ('Union[str, int]',),
+ "QFontMetricsF.inFontUcs4": ('int',),
+ "QFontMetricsF.leading": (),
+ "QFontMetricsF.leftBearing": ('Union[str, int]',),
+ "QFontMetricsF.lineSpacing": (),
+ "QFontMetricsF.lineWidth": (),
+ "QFontMetricsF.maxWidth": (),
+ "QFontMetricsF.minLeftBearing": (),
+ "QFontMetricsF.minRightBearing": (),
+ "QFontMetricsF.overlinePos": (),
+ "QFontMetricsF.rightBearing": ('Union[str, int]',),
+ "QFontMetricsF.size": ('int', 'str', 'int', 'int'),
+ "QFontMetricsF.strikeOutPos": (),
+ "QFontMetricsF.swap": ('PySide2.QtGui.QFontMetricsF',),
+ "QFontMetricsF.tightBoundingRect": ('str',),
+ "QFontMetricsF.underlinePos": (),
+ "QFontMetricsF.width": ('str',),
+ "QFontMetricsF.widthChar": ('Union[str, int]',),
+ "QFontMetricsF.xHeight": (),
+
+ # class PySide2.QtGui.QGradient:
+ "QGradient.__init__": [(), ('PySide2.QtGui.QGradient',)],
+ "QGradient.__copy__": (),
+ "QGradient.coordinateMode": (),
+ "QGradient.interpolationMode": (),
+ "QGradient.setColorAt": ('float', 'PySide2.QtGui.QColor'),
+ "QGradient.setCoordinateMode": ('PySide2.QtGui.QGradient.CoordinateMode',),
+ "QGradient.setInterpolationMode": ('PySide2.QtGui.QGradient.InterpolationMode',),
+ "QGradient.setSpread": ('PySide2.QtGui.QGradient.Spread',),
+ "QGradient.setStops": ('list',),
+ "QGradient.spread": (),
+ "QGradient.stops": (),
+ "QGradient.type": (),
+
+ # class PySide2.QtGui.QGuiApplication:
+ "QGuiApplication.__init__": [(), ('List[str]',)],
+ "QGuiApplication.allWindows": (),
+ "QGuiApplication.applicationDisplayName": (),
+ "QGuiApplication.applicationState": (),
+ "QGuiApplication.changeOverrideCursor": ('PySide2.QtGui.QCursor',),
+ "QGuiApplication.clipboard": (),
+ "QGuiApplication.desktopFileName": (),
+ "QGuiApplication.desktopSettingsAware": (),
+ "QGuiApplication.devicePixelRatio": (),
+ "QGuiApplication.event": ('PySide2.QtCore.QEvent',),
+ "QGuiApplication.exec_": (),
+ "QGuiApplication.focusObject": (),
+ "QGuiApplication.focusWindow": (),
+ "QGuiApplication.font": (),
+ "QGuiApplication.inputMethod": (),
+ "QGuiApplication.isFallbackSessionManagementEnabled": (),
+ "QGuiApplication.isLeftToRight": (),
+ "QGuiApplication.isRightToLeft": (),
+ "QGuiApplication.isSavingSession": (),
+ "QGuiApplication.isSessionRestored": (),
+ "QGuiApplication.keyboardModifiers": (),
+ "QGuiApplication.layoutDirection": (),
+ "QGuiApplication.modalWindow": (),
+ "QGuiApplication.mouseButtons": (),
+ "QGuiApplication.notify": ('PySide2.QtCore.QObject', 'PySide2.QtCore.QEvent'),
+ "QGuiApplication.overrideCursor": (),
+ "QGuiApplication.palette": (),
+ "QGuiApplication.platformName": (),
+ "QGuiApplication.primaryScreen": (),
+ "QGuiApplication.queryKeyboardModifiers": (),
+ "QGuiApplication.quitOnLastWindowClosed": (),
+ "QGuiApplication.restoreOverrideCursor": (),
+ "QGuiApplication.screenAt": ('PySide2.QtCore.QPoint',),
+ "QGuiApplication.screens": (),
+ "QGuiApplication.sessionId": (),
+ "QGuiApplication.sessionKey": (),
+ "QGuiApplication.setApplicationDisplayName": ('str',),
+ "QGuiApplication.setDesktopFileName": ('str',),
+ "QGuiApplication.setDesktopSettingsAware": ('bool',),
+ "QGuiApplication.setFallbackSessionManagementEnabled": ('bool',),
+ "QGuiApplication.setFont": ('PySide2.QtGui.QFont',),
+ "QGuiApplication.setLayoutDirection": ('PySide2.QtCore.Qt.LayoutDirection',),
+ "QGuiApplication.setOverrideCursor": ('PySide2.QtGui.QCursor',),
+ "QGuiApplication.setPalette": ('PySide2.QtGui.QPalette',),
+ "QGuiApplication.setQuitOnLastWindowClosed": ('bool',),
+ "QGuiApplication.setWindowIcon": ('PySide2.QtGui.QIcon',),
+ "QGuiApplication.styleHints": (),
+ "QGuiApplication.sync": (),
+ "QGuiApplication.topLevelAt": ('PySide2.QtCore.QPoint',),
+ "QGuiApplication.topLevelWindows": (),
+ "QGuiApplication.windowIcon": (),
+
+ # class PySide2.QtGui.QHelpEvent:
+ "QHelpEvent.__init__": ('PySide2.QtCore.QEvent.Type', 'PySide2.QtCore.QPoint', 'PySide2.QtCore.QPoint'),
+ "QHelpEvent.globalPos": (),
+ "QHelpEvent.globalX": (),
+ "QHelpEvent.global""Y": (),
+ "QHelpEvent.pos": (),
+ "QHelpEvent.x": (),
+ "QHelpEvent.y": (),
+
+ # class PySide2.QtGui.QHideEvent:
+ "QHideEvent.__init__": (),
+
+ # class PySide2.QtGui.QHoverEvent:
+ "QHoverEvent.__init__": ('PySide2.QtCore.QEvent.Type', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'PySide2.libpyside.KeyboardModifiers'),
+ "QHoverEvent.oldPos": (),
+ "QHoverEvent.oldPosF": (),
+ "QHoverEvent.pos": (),
+ "QHoverEvent.posF": (),
+
+ # class PySide2.QtGui.QIcon:
+ "QIcon.__init__": [(), ('PySide2.QtGui.QIcon',), ('PySide2.QtGui.QIconEngine',), ('PySide2.QtGui.QPixmap',), ('str',)],
+ "QIcon.__copy__": (),
+ "QIcon.actualSize": [('PySide2.QtCore.QSize', 'PySide2.QtGui.QIcon.Mode', 'PySide2.QtGui.QIcon.State'), ('PySide2.QtGui.QWindow', 'PySide2.QtCore.QSize', 'PySide2.QtGui.QIcon.Mode', 'PySide2.QtGui.QIcon.State')],
+ "QIcon.addFile": ('str', 'PySide2.QtCore.QSize', 'PySide2.QtGui.QIcon.Mode', 'PySide2.QtGui.QIcon.State'),
+ "QIcon.addPixmap": ('PySide2.QtGui.QPixmap', 'PySide2.QtGui.QIcon.Mode', 'PySide2.QtGui.QIcon.State'),
+ "QIcon.availableSizes": ('PySide2.QtGui.QIcon.Mode', 'PySide2.QtGui.QIcon.State'),
+ "QIcon.cacheKey": (),
+ "QIcon.fallbackSearchPaths": (),
+ "QIcon.fromTheme": [('str',), ('str', 'PySide2.QtGui.QIcon')],
+ "QIcon.hasThemeIcon": ('str',),
+ "QIcon.isMask": (),
+ "QIcon.isNull": (),
+ "QIcon.name": (),
+ "QIcon.paint": [('PySide2.QtGui.QPainter', 'PySide2.QtCore.QRect', 'PySide2.libpyside.Alignment', 'PySide2.QtGui.QIcon.Mode', 'PySide2.QtGui.QIcon.State'), ('PySide2.QtGui.QPainter', 'int', 'int', 'int', 'int', 'PySide2.libpyside.Alignment', 'PySide2.QtGui.QIcon.Mode', 'PySide2.QtGui.QIcon.State')],
+ "QIcon.pixmap": [('PySide2.QtCore.QSize', 'PySide2.QtGui.QIcon.Mode', 'PySide2.QtGui.QIcon.State'), ('PySide2.QtGui.QWindow', 'PySide2.QtCore.QSize', 'PySide2.QtGui.QIcon.Mode', 'PySide2.QtGui.QIcon.State'), ('int', 'PySide2.QtGui.QIcon.Mode', 'PySide2.QtGui.QIcon.State'), ('int', 'int', 'PySide2.QtGui.QIcon.Mode', 'PySide2.QtGui.QIcon.State')],
+ "QIcon.setFallbackSearchPaths": ('List[str]',),
+ "QIcon.setIsMask": ('bool',),
+ "QIcon.setThemeName": ('str',),
+ "QIcon.setThemeSearchPaths": ('List[str]',),
+ "QIcon.swap": ('PySide2.QtGui.QIcon',),
+ "QIcon.themeName": (),
+ "QIcon.themeSearchPaths": (),
+
+ # class PySide2.QtGui.QIconDragEvent:
+ "QIconDragEvent.__init__": (),
+
+ # class PySide2.QtGui.QIconEngine:
+ "QIconEngine.__init__": [(), ('PySide2.QtGui.QIconEngine',)],
+ "QIconEngine.actualSize": ('PySide2.QtCore.QSize', 'PySide2.QtGui.QIcon.Mode', 'PySide2.QtGui.QIcon.State'),
+ "QIconEngine.addFile": ('str', 'PySide2.QtCore.QSize', 'PySide2.QtGui.QIcon.Mode', 'PySide2.QtGui.QIcon.State'),
+ "QIconEngine.addPixmap": ('PySide2.QtGui.QPixmap', 'PySide2.QtGui.QIcon.Mode', 'PySide2.QtGui.QIcon.State'),
+ "QIconEngine.availableSizes": ('PySide2.QtGui.QIcon.Mode', 'PySide2.QtGui.QIcon.State'),
+ "QIconEngine.clone": (),
+ "QIconEngine.iconName": (),
+ "QIconEngine.isNull": (),
+ "QIconEngine.key": (),
+ "QIconEngine.paint": ('PySide2.QtGui.QPainter', 'PySide2.QtCore.QRect', 'PySide2.QtGui.QIcon.Mode', 'PySide2.QtGui.QIcon.State'),
+ "QIconEngine.pixmap": ('PySide2.QtCore.QSize', 'PySide2.QtGui.QIcon.Mode', 'PySide2.QtGui.QIcon.State'),
+ "QIconEngine.read": ('PySide2.QtCore.QDataStream',),
+ "QIconEngine.scaledPixmap": ('PySide2.QtCore.QSize', 'PySide2.QtGui.QIcon.Mode', 'PySide2.QtGui.QIcon.State', 'float'),
+ "QIconEngine.write": ('PySide2.QtCore.QDataStream',),
+
+ # class PySide2.QtGui.QImage:
+ "QImage.__init__": [(), ('List[str]',), ('PySide2.QtCore.QSize', 'PySide2.QtGui.QImage.Format'), ('PySide2.QtGui.QImage',), ('Union[str, int]', 'int', 'int', 'PySide2.QtGui.QImage.Format', 'Callable', 'int'), ('Union[str, int]', 'int', 'int', 'int', 'PySide2.QtGui.QImage.Format', 'Callable', 'int'), ('int', 'int', 'PySide2.QtGui.QImage.Format'), ('str', 'int', 'int', 'PySide2.QtGui.QImage.Format'), ('str', 'int', 'int', 'int', 'PySide2.QtGui.QImage.Format'), ('str', 'str')],
+ "QImage.__copy__": (),
+ "QImage.allGray": (),
+ "QImage.alphaChannel": (),
+ "QImage.bitPlaneCount": (),
+ "QImage.bits": (),
+ "QImage.byteCount": (),
+ "QImage.bytesPerLine": (),
+ "QImage.cacheKey": (),
+ "QImage.color": ('int',),
+ "QImage.colorCount": (),
+ "QImage.colorTable": (),
+ "QImage.constBits": (),
+ "QImage.constScanLine": ('int',),
+ "QImage.convertToFormat": [('PySide2.QtGui.QImage.Format', 'PySide2.libpyside.ImageConversionFlags'), ('PySide2.QtGui.QImage.Format', 'list', 'PySide2.libpyside.ImageConversionFlags')],
+ "QImage.convertToFormat_helper": ('PySide2.QtGui.QImage.Format', 'PySide2.libpyside.ImageConversionFlags'),
+ "QImage.convertToFormat_inplace": ('PySide2.QtGui.QImage.Format', 'PySide2.libpyside.ImageConversionFlags'),
+ "QImage.copy": [('PySide2.QtCore.QRect',), ('int', 'int', 'int', 'int')],
+ "QImage.createAlphaMask": ('PySide2.libpyside.ImageConversionFlags',),
+ "QImage.createHeuristicMask": ('bool',),
+ "QImage.createMaskFromColor": ('int', 'PySide2.QtCore.Qt.MaskMode'),
+ "QImage.depth": (),
+ "QImage.devType": (),
+ "QImage.devicePixelRatio": (),
+ "QImage.dotsPerMeterX": (),
+ "QImage.dotsPerMeterY": (),
+ "QImage.fill": [('PySide2.QtCore.Qt.GlobalColor',), ('PySide2.QtGui.QColor',), ('int',)],
+ "QImage.format": (),
+ "QImage.fromData": ('PySide2.QtCore.QByteArray', 'str'),
+ "QImage.hasAlphaChannel": (),
+ "QImage.height": (),
+ "QImage.invertPixels": ('PySide2.QtGui.QImage.InvertMode',),
+ "QImage.isGrayscale": (),
+ "QImage.isNull": (),
+ "QImage.load": [('PySide2.QtCore.QIODevice', 'str'), ('str', 'str')],
+ "QImage.loadFromData": ('PySide2.QtCore.QByteArray', 'str'),
+ "QImage.metric": ('PySide2.QtGui.QPaintDevice.PaintDeviceMetric',),
+ "QImage.mirrored": ('bool', 'bool'),
+ "QImage.mirrored_helper": ('bool', 'bool'),
+ "QImage.mirrored_inplace": ('bool', 'bool'),
+ "QImage.offset": (),
+ "QImage.paintEngine": (),
+ "QImage.pixel": [('PySide2.QtCore.QPoint',), ('int', 'int')],
+ "QImage.pixelColor": [('PySide2.QtCore.QPoint',), ('int', 'int')],
+ "QImage.pixelFormat": (),
+ "QImage.pixelIndex": [('PySide2.QtCore.QPoint',), ('int', 'int')],
+ "QImage.rect": (),
+ "QImage.reinterpretAsFormat": ('PySide2.QtGui.QImage.Format',),
+ "QImage.rgbSwapped": (),
+ "QImage.rgbSwapped_helper": (),
+ "QImage.rgbSwapped_inplace": (),
+ "QImage.save": [('PySide2.QtCore.QIODevice', 'str', 'int'), ('str', 'str', 'int')],
+ "QImage.scaled": [('PySide2.QtCore.QSize', 'PySide2.QtCore.Qt.AspectRatioMode', 'PySide2.QtCore.Qt.TransformationMode'), ('int', 'int', 'PySide2.QtCore.Qt.AspectRatioMode', 'PySide2.QtCore.Qt.TransformationMode')],
+ "QImage.scaledToHeight": ('int', 'PySide2.QtCore.Qt.TransformationMode'),
+ "QImage.scaledToWidth": ('int', 'PySide2.QtCore.Qt.TransformationMode'),
+ "QImage.scanLine": ('int',),
+ "QImage.setAlphaChannel": ('PySide2.QtGui.QImage',),
+ "QImage.setColor": ('int', 'int'),
+ "QImage.setColorCount": ('int',),
+ "QImage.setColorTable": ('list',),
+ "QImage.setDevicePixelRatio": ('float',),
+ "QImage.setDotsPerMeterX": ('int',),
+ "QImage.setDotsPerMeterY": ('int',),
+ "QImage.setOffset": ('PySide2.QtCore.QPoint',),
+ "QImage.setPixel": [('PySide2.QtCore.QPoint', 'int'), ('int', 'int', 'int')],
+ "QImage.setPixelColor": [('PySide2.QtCore.QPoint', 'PySide2.QtGui.QColor'), ('int', 'int', 'PySide2.QtGui.QColor')],
+ "QImage.setText": ('str', 'str'),
+ "QImage.size": (),
+ "QImage.smoothScaled": ('int', 'int'),
+ "QImage.swap": ('PySide2.QtGui.QImage',),
+ "QImage.text": ('str',),
+ "QImage.textKeys": (),
+ "QImage.toImageFormat": ('PySide2.QtGui.QPixelFormat',),
+ "QImage.toPixelFormat": ('PySide2.QtGui.QImage.Format',),
+ "QImage.transformed": [('PySide2.QtGui.QMatrix', 'PySide2.QtCore.Qt.TransformationMode'), ('PySide2.QtGui.QTransform', 'PySide2.QtCore.Qt.TransformationMode')],
+ "QImage.trueMatrix": [('PySide2.QtGui.QMatrix', 'int', 'int'), ('PySide2.QtGui.QTransform', 'int', 'int')],
+ "QImage.valid": [('PySide2.QtCore.QPoint',), ('int', 'int')],
+ "QImage.width": (),
+
+ # class PySide2.QtGui.QImageIOHandler:
+ "QImageIOHandler.__init__": (),
+ "QImageIOHandler.canRead": (),
+ "QImageIOHandler.currentImageNumber": (),
+ "QImageIOHandler.currentImageRect": (),
+ "QImageIOHandler.device": (),
+ "QImageIOHandler.format": (),
+ "QImageIOHandler.imageCount": (),
+ "QImageIOHandler.jumpToImage": ('int',),
+ "QImageIOHandler.jumpToNextImage": (),
+ "QImageIOHandler.loopCount": (),
+ "QImageIOHandler.name": (),
+ "QImageIOHandler.nextImageDelay": (),
+ "QImageIOHandler.option": ('PySide2.QtGui.QImageIOHandler.ImageOption',),
+ "QImageIOHandler.read": ('PySide2.QtGui.QImage',),
+ "QImageIOHandler.setDevice": ('PySide2.QtCore.QIODevice',),
+ "QImageIOHandler.setFormat": ('PySide2.QtCore.QByteArray',),
+ "QImageIOHandler.setOption": ('PySide2.QtGui.QImageIOHandler.ImageOption', 'Any'),
+ "QImageIOHandler.supportsOption": ('PySide2.QtGui.QImageIOHandler.ImageOption',),
+ "QImageIOHandler.write": ('PySide2.QtGui.QImage',),
+
+ # class PySide2.QtGui.QImageReader:
+ "QImageReader.__init__": [(), ('PySide2.QtCore.QIODevice', 'PySide2.QtCore.QByteArray'), ('str', 'PySide2.QtCore.QByteArray')],
+ "QImageReader.autoDetectImageFormat": (),
+ "QImageReader.autoTransform": (),
+ "QImageReader.backgroundColor": (),
+ "QImageReader.canRead": (),
+ "QImageReader.clipRect": (),
+ "QImageReader.currentImageNumber": (),
+ "QImageReader.currentImageRect": (),
+ "QImageReader.decideFormatFromContent": (),
+ "QImageReader.device": (),
+ "QImageReader.error": (),
+ "QImageReader.errorString": (),
+ "QImageReader.fileName": (),
+ "QImageReader.format": (),
+ "QImageReader.gamma": (),
+ "QImageReader.imageCount": (),
+ "QImageReader.imageFormat": [(), ('PySide2.QtCore.QIODevice',), ('str',)],
+ "QImageReader.jumpToImage": ('int',),
+ "QImageReader.jumpToNextImage": (),
+ "QImageReader.loopCount": (),
+ "QImageReader.nextImageDelay": (),
+ "QImageReader.quality": (),
+ "QImageReader.read": (),
+ "QImageReader.scaledClipRect": (),
+ "QImageReader.scaledSize": (),
+ "QImageReader.setAutoDetectImageFormat": ('bool',),
+ "QImageReader.setAutoTransform": ('bool',),
+ "QImageReader.setBackgroundColor": ('PySide2.QtGui.QColor',),
+ "QImageReader.setClipRect": ('PySide2.QtCore.QRect',),
+ "QImageReader.setDecideFormatFromContent": ('bool',),
+ "QImageReader.setDevice": ('PySide2.QtCore.QIODevice',),
+ "QImageReader.setFileName": ('str',),
+ "QImageReader.setFormat": ('PySide2.QtCore.QByteArray',),
+ "QImageReader.setGamma": ('float',),
+ "QImageReader.setQuality": ('int',),
+ "QImageReader.setScaledClipRect": ('PySide2.QtCore.QRect',),
+ "QImageReader.setScaledSize": ('PySide2.QtCore.QSize',),
+ "QImageReader.size": (),
+ "QImageReader.subType": (),
+ "QImageReader.supportedImageFormats": (),
+ "QImageReader.supportedMimeTypes": (),
+ "QImageReader.supportedSubTypes": (),
+ "QImageReader.supportsAnimation": (),
+ "QImageReader.supportsOption": ('PySide2.QtGui.QImageIOHandler.ImageOption',),
+ "QImageReader.text": ('str',),
+ "QImageReader.textKeys": (),
+ "QImageReader.transformation": (),
+
+ # class PySide2.QtGui.QImageWriter:
+ "QImageWriter.__init__": [(), ('PySide2.QtCore.QIODevice', 'PySide2.QtCore.QByteArray'), ('str', 'PySide2.QtCore.QByteArray')],
+ "QImageWriter.canWrite": (),
+ "QImageWriter.compression": (),
+ "QImageWriter.description": (),
+ "QImageWriter.device": (),
+ "QImageWriter.error": (),
+ "QImageWriter.errorString": (),
+ "QImageWriter.fileName": (),
+ "QImageWriter.format": (),
+ "QImageWriter.gamma": (),
+ "QImageWriter.optimizedWrite": (),
+ "QImageWriter.progressiveScanWrite": (),
+ "QImageWriter.quality": (),
+ "QImageWriter.setCompression": ('int',),
+ "QImageWriter.setDescription": ('str',),
+ "QImageWriter.setDevice": ('PySide2.QtCore.QIODevice',),
+ "QImageWriter.setFileName": ('str',),
+ "QImageWriter.setFormat": ('PySide2.QtCore.QByteArray',),
+ "QImageWriter.setGamma": ('float',),
+ "QImageWriter.setOptimizedWrite": ('bool',),
+ "QImageWriter.setProgressiveScanWrite": ('bool',),
+ "QImageWriter.setQuality": ('int',),
+ "QImageWriter.setSubType": ('PySide2.QtCore.QByteArray',),
+ "QImageWriter.setText": ('str', 'str'),
+ "QImageWriter.setTransformation": ('PySide2.libpyside.Transformations',),
+ "QImageWriter.subType": (),
+ "QImageWriter.supportedImageFormats": (),
+ "QImageWriter.supportedMimeTypes": (),
+ "QImageWriter.supportedSubTypes": (),
+ "QImageWriter.supportsOption": ('PySide2.QtGui.QImageIOHandler.ImageOption',),
+ "QImageWriter.transformation": (),
+ "QImageWriter.write": ('PySide2.QtGui.QImage',),
+
+ # class PySide2.QtGui.QInputEvent:
+ "QInputEvent.__init__": ('PySide2.QtCore.QEvent.Type', 'PySide2.libpyside.KeyboardModifiers'),
+ "QInputEvent.modifiers": (),
+ "QInputEvent.setModifiers": ('PySide2.libpyside.KeyboardModifiers',),
+ "QInputEvent.setTimestamp": ('int',),
+ "QInputEvent.timestamp": (),
+
+ # class PySide2.QtGui.QInputMethod:
+ "QInputMethod.anchorRectangle": (),
+ "QInputMethod.commit": (),
+ "QInputMethod.cursorRectangle": (),
+ "QInputMethod.hide": (),
+ "QInputMethod.inputDirection": (),
+ "QInputMethod.inputItemClipRectangle": (),
+ "QInputMethod.inputItemRectangle": (),
+ "QInputMethod.inputItemTransform": (),
+ "QInputMethod.invokeAction": ('PySide2.QtGui.QInputMethod.Action', 'int'),
+ "QInputMethod.isAnimating": (),
+ "QInputMethod.isVisible": (),
+ "QInputMethod.keyboardRectangle": (),
+ "QInputMethod.locale": (),
+ "QInputMethod.queryFocusObject": ('PySide2.QtCore.Qt.InputMethodQuery', 'Any'),
+ "QInputMethod.reset": (),
+ "QInputMethod.setInputItemRectangle": ('PySide2.QtCore.QRectF',),
+ "QInputMethod.setInputItemTransform": ('PySide2.QtGui.QTransform',),
+ "QInputMethod.setVisible": ('bool',),
+ "QInputMethod.show": (),
+ "QInputMethod.update": ('PySide2.libpyside.InputMethodQueries',),
+
+ # class PySide2.QtGui.QInputMethodEvent:
+ "QInputMethodEvent.__init__": [(), ('PySide2.QtGui.QInputMethodEvent',), ('str', 'list')],
+ "QInputMethodEvent.attributes": (),
+ "QInputMethodEvent.commitString": (),
+ "QInputMethodEvent.preeditString": (),
+ "QInputMethodEvent.replacementLength": (),
+ "QInputMethodEvent.replacementStart": (),
+ "QInputMethodEvent.setCommitString": ('str', 'int', 'int'),
+
+ # class PySide2.QtGui.QInputMethodQueryEvent:
+ "QInputMethodQueryEvent.__init__": ('PySide2.libpyside.InputMethodQueries',),
+ "QInputMethodQueryEvent.queries": (),
+ "QInputMethodQueryEvent.setValue": ('PySide2.QtCore.Qt.InputMethodQuery', 'Any'),
+ "QInputMethodQueryEvent.value": ('PySide2.QtCore.Qt.InputMethodQuery',),
+
+ # class PySide2.QtGui.QIntValidator:
+ "QIntValidator.__init__": [('PySide2.QtCore.QObject',), ('int', 'int', 'PySide2.QtCore.QObject')],
+ "QIntValidator.bottom": (),
+ "QIntValidator.fixup": ('str',),
+ "QIntValidator.setBottom": ('int',),
+ "QIntValidator.setRange": ('int', 'int'),
+ "QIntValidator.setTop": ('int',),
+ "QIntValidator.top": (),
+ "QIntValidator.validate": ('str', 'int'),
+
+ # class PySide2.QtGui.QKeyEvent:
+ "QKeyEvent.__init__": [('PySide2.QtCore.QEvent.Type', 'int', 'PySide2.libpyside.KeyboardModifiers', 'int', 'int', 'int', 'str', 'bool', 'int'), ('PySide2.QtCore.QEvent.Type', 'int', 'PySide2.libpyside.KeyboardModifiers', 'str', 'bool', 'int')],
+ "QKeyEvent.count": (),
+ "QKeyEvent.isAutoRepeat": (),
+ "QKeyEvent.key": (),
+ "QKeyEvent.matches": ('PySide2.QtGui.QKeySequence.StandardKey',),
+ "QKeyEvent.modifiers": (),
+ "QKeyEvent.nativeModifiers": (),
+ "QKeyEvent.nativeScanCode": (),
+ "QKeyEvent.nativeVirtualKey": (),
+ "QKeyEvent.text": (),
+
+ # class PySide2.QtGui.QKeySequence:
+ "QKeySequence.__init__": [(), ('PySide2.QtGui.QKeySequence',), ('PySide2.QtGui.QKeySequence.StandardKey',), ('int', 'int', 'int', 'int'), ('str', 'PySide2.QtGui.QKeySequence.SequenceFormat')],
+ "QKeySequence.__copy__": (),
+ "QKeySequence.__reduce__": (),
+ "QKeySequence.count": (),
+ "QKeySequence.fromString": ('str', 'PySide2.QtGui.QKeySequence.SequenceFormat'),
+ "QKeySequence.isEmpty": (),
+ "QKeySequence.keyBindings": ('PySide2.QtGui.QKeySequence.StandardKey',),
+ "QKeySequence.listFromString": ('str', 'PySide2.QtGui.QKeySequence.SequenceFormat'),
+ "QKeySequence.listToString": ('list', 'PySide2.QtGui.QKeySequence.SequenceFormat'),
+ "QKeySequence.matches": ('PySide2.QtGui.QKeySequence',),
+ "QKeySequence.mnemonic": ('str',),
+ "QKeySequence.swap": ('PySide2.QtGui.QKeySequence',),
+ "QKeySequence.toString": ('PySide2.QtGui.QKeySequence.SequenceFormat',),
+
+ # class PySide2.QtGui.QLinearGradient:
+ "QLinearGradient.__init__": [(), ('PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF'), ('PySide2.QtGui.QLinearGradient',), ('float', 'float', 'float', 'float')],
+ "QLinearGradient.__copy__": (),
+ "QLinearGradient.finalStop": (),
+ "QLinearGradient.setFinalStop": [('PySide2.QtCore.QPointF',), ('float', 'float')],
+ "QLinearGradient.setStart": [('PySide2.QtCore.QPointF',), ('float', 'float')],
+ "QLinearGradient.start": (),
+
+ # class PySide2.QtGui.QMatrix:
+ "QMatrix.__init__": [(), ('PySide2.QtGui.QMatrix',), ('float', 'float', 'float', 'float', 'float', 'float')],
+ "QMatrix.__copy__": (),
+ "QMatrix.__reduce__": (),
+ "QMatrix.determinant": (),
+ "QMatrix.dx": (),
+ "QMatrix.dy": (),
+ "QMatrix.inverted": ('bool',),
+ "QMatrix.isIdentity": (),
+ "QMatrix.isInvertible": (),
+ "QMatrix.m11": (),
+ "QMatrix.m12": (),
+ "QMatrix.m21": (),
+ "QMatrix.m22": (),
+ "QMatrix.map": [('PySide2.QtCore.QLine',), ('PySide2.QtCore.QLineF',), ('PySide2.QtCore.QPoint',), ('PySide2.QtCore.QPointF',), ('PySide2.QtGui.QPainterPath',), ('PySide2.QtGui.QPolygon',), ('PySide2.QtGui.QPolygonF',), ('PySide2.QtGui.QRegion',), ('float', 'float', 'float', 'float'), ('int', 'int', 'int', 'int')],
+ "QMatrix.mapRect": [('PySide2.QtCore.QRect',), ('PySide2.QtCore.QRectF',)],
+ "QMatrix.mapToPolygon": ('PySide2.QtCore.QRect',),
+ "QMatrix.reset": (),
+ "QMatrix.rotate": ('float',),
+ "QMatrix.scale": ('float', 'float'),
+ "QMatrix.setMatrix": ('float', 'float', 'float', 'float', 'float', 'float'),
+ "QMatrix.shear": ('float', 'float'),
+ "QMatrix.translate": ('float', 'float'),
+
+ # class PySide2.QtGui.QMatrix2x2:
+ "QMatrix2x2.__init__": [('PySide2.QtGui.QMatrix2x2',), ('Sequence',)],
+ "QMatrix2x2.__copy__": (),
+ "QMatrix2x2.__reduce__": (),
+ "QMatrix2x2.data": (),
+ "QMatrix2x2.fill": ('object',),
+ "QMatrix2x2.transposed": (),
+
+ # class PySide2.QtGui.QMatrix2x3:
+ "QMatrix2x3.__init__": [('PySide2.QtGui.QMatrix2x3',), ('Sequence',)],
+ "QMatrix2x3.__copy__": (),
+ "QMatrix2x3.__reduce__": (),
+ "QMatrix2x3.data": (),
+ "QMatrix2x3.fill": ('object',),
+ "QMatrix2x3.transposed": (),
+
+ # class PySide2.QtGui.QMatrix2x4:
+ "QMatrix2x4.__init__": [('PySide2.QtGui.QMatrix2x4',), ('Sequence',)],
+ "QMatrix2x4.__copy__": (),
+ "QMatrix2x4.__reduce__": (),
+ "QMatrix2x4.data": (),
+ "QMatrix2x4.fill": ('object',),
+ "QMatrix2x4.transposed": (),
+
+ # class PySide2.QtGui.QMatrix3x2:
+ "QMatrix3x2.__init__": [('PySide2.QtGui.QMatrix3x2',), ('Sequence',)],
+ "QMatrix3x2.__copy__": (),
+ "QMatrix3x2.__reduce__": (),
+ "QMatrix3x2.data": (),
+ "QMatrix3x2.fill": ('object',),
+ "QMatrix3x2.transposed": (),
+
+ # class PySide2.QtGui.QMatrix3x3:
+ "QMatrix3x3.__init__": [('PySide2.QtGui.QMatrix3x3',), ('Sequence',)],
+ "QMatrix3x3.__copy__": (),
+ "QMatrix3x3.__reduce__": (),
+ "QMatrix3x3.data": (),
+ "QMatrix3x3.fill": ('object',),
+ "QMatrix3x3.transposed": (),
+
+ # class PySide2.QtGui.QMatrix3x4:
+ "QMatrix3x4.__init__": [('PySide2.QtGui.QMatrix3x4',), ('Sequence',)],
+ "QMatrix3x4.__copy__": (),
+ "QMatrix3x4.__reduce__": (),
+ "QMatrix3x4.data": (),
+ "QMatrix3x4.fill": ('object',),
+ "QMatrix3x4.transposed": (),
+
+ # class PySide2.QtGui.QMatrix4x2:
+ "QMatrix4x2.__init__": [('PySide2.QtGui.QMatrix4x2',), ('Sequence',)],
+ "QMatrix4x2.__copy__": (),
+ "QMatrix4x2.__reduce__": (),
+ "QMatrix4x2.data": (),
+ "QMatrix4x2.fill": ('object',),
+ "QMatrix4x2.transposed": (),
+
+ # class PySide2.QtGui.QMatrix4x3:
+ "QMatrix4x3.__init__": [('PySide2.QtGui.QMatrix4x3',), ('Sequence',)],
+ "QMatrix4x3.__copy__": (),
+ "QMatrix4x3.__reduce__": (),
+ "QMatrix4x3.data": (),
+ "QMatrix4x3.fill": ('object',),
+ "QMatrix4x3.transposed": (),
+
+ # class PySide2.QtGui.QMatrix4x4:
+ "QMatrix4x4.__init__": [(), ('PySide2.QtGui.QMatrix',), ('PySide2.QtGui.QTransform',), ('float',), ('float', 'float', 'float', 'float', 'float', 'float', 'float', 'float', 'float', 'float', 'float', 'float', 'float', 'float', 'float', 'float')],
+ "QMatrix4x4.__copy__": (),
+ "QMatrix4x4.__reduce__": (),
+ "QMatrix4x4.column": ('int',),
+ "QMatrix4x4.copyDataTo": ('float',),
+ "QMatrix4x4.data": (),
+ "QMatrix4x4.determinant": (),
+ "QMatrix4x4.fill": ('float',),
+ "QMatrix4x4.flipCoordinates": (),
+ "QMatrix4x4.frustum": ('float', 'float', 'float', 'float', 'float', 'float'),
+ "QMatrix4x4.inverted": ('bool',),
+ "QMatrix4x4.isAffine": (),
+ "QMatrix4x4.isIdentity": (),
+ "QMatrix4x4.lookAt": ('PySide2.QtGui.QVector3D', 'PySide2.QtGui.QVector3D', 'PySide2.QtGui.QVector3D'),
+ "QMatrix4x4.map": [('PySide2.QtCore.QPoint',), ('PySide2.QtCore.QPointF',), ('PySide2.QtGui.QVector3D',), ('PySide2.QtGui.QVector4D',)],
+ "QMatrix4x4.mapRect": [('PySide2.QtCore.QRect',), ('PySide2.QtCore.QRectF',)],
+ "QMatrix4x4.mapVector": ('PySide2.QtGui.QVector3D',),
+ "QMatrix4x4.normalMatrix": (),
+ "QMatrix4x4.optimize": (),
+ "QMatrix4x4.ortho": [('PySide2.QtCore.QRect',), ('PySide2.QtCore.QRectF',), ('float', 'float', 'float', 'float', 'float', 'float')],
+ "QMatrix4x4.perspective": ('float', 'float', 'float', 'float'),
+ "QMatrix4x4.rotate": [('PySide2.QtGui.QQuaternion',), ('float', 'PySide2.QtGui.QVector3D'), ('float', 'float', 'float', 'float')],
+ "QMatrix4x4.row": ('int',),
+ "QMatrix4x4.scale": [('PySide2.QtGui.QVector3D',), ('float',), ('float', 'float'), ('float', 'float', 'float')],
+ "QMatrix4x4.setColumn": ('int', 'PySide2.QtGui.QVector4D'),
+ "QMatrix4x4.setRow": ('int', 'PySide2.QtGui.QVector4D'),
+ "QMatrix4x4.setToIdentity": (),
+ "QMatrix4x4.toAffine": (),
+ "QMatrix4x4.toTransform": [(), ('float',)],
+ "QMatrix4x4.translate": [('PySide2.QtGui.QVector3D',), ('float', 'float'), ('float', 'float', 'float')],
+ "QMatrix4x4.transposed": (),
+ "QMatrix4x4.viewport": [('PySide2.QtCore.QRectF',), ('float', 'float', 'float', 'float', 'float', 'float')],
+
+ # class PySide2.QtGui.QMouseEvent:
+ "QMouseEvent.__init__": [('PySide2.QtCore.QEvent.Type', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.Qt.MouseButton', 'PySide2.libpyside.MouseButtons', 'PySide2.libpyside.KeyboardModifiers'), ('PySide2.QtCore.QEvent.Type', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.Qt.MouseButton', 'PySide2.libpyside.MouseButtons', 'PySide2.libpyside.KeyboardModifiers', 'PySide2.QtCore.Qt.MouseEventSource'), ('PySide2.QtCore.QEvent.Type', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.Qt.MouseButton', 'PySide2.libpyside.MouseButtons', 'PySide2.libpyside.KeyboardModifiers'), ('PySide2.QtCore.QEvent.Type', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.Qt.MouseButton', 'PySide2.libpyside.MouseButtons', 'PySide2.libpyside.KeyboardModifiers')],
+ "QMouseEvent.button": (),
+ "QMouseEvent.buttons": (),
+ "QMouseEvent.flags": (),
+ "QMouseEvent.globalPos": (),
+ "QMouseEvent.globalX": (),
+ "QMouseEvent.global""Y": (),
+ "QMouseEvent.localPos": (),
+ "QMouseEvent.pos": (),
+ "QMouseEvent.screenPos": (),
+ "QMouseEvent.setLocalPos": ('PySide2.QtCore.QPointF',),
+ "QMouseEvent.source": (),
+ "QMouseEvent.windowPos": (),
+ "QMouseEvent.x": (),
+ "QMouseEvent.y": (),
+
+ # class PySide2.QtGui.QMoveEvent:
+ "QMoveEvent.__init__": ('PySide2.QtCore.QPoint', 'PySide2.QtCore.QPoint'),
+ "QMoveEvent.oldPos": (),
+ "QMoveEvent.pos": (),
+
+ # class PySide2.QtGui.QMovie:
+ "QMovie.__init__": [('PySide2.QtCore.QIODevice', 'PySide2.QtCore.QByteArray', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QObject',), ('str', 'PySide2.QtCore.QByteArray', 'PySide2.QtCore.QObject')],
+ "QMovie.backgroundColor": (),
+ "QMovie.cacheMode": (),
+ "QMovie.currentFrameNumber": (),
+ "QMovie.currentImage": (),
+ "QMovie.currentPixmap": (),
+ "QMovie.device": (),
+ "QMovie.fileName": (),
+ "QMovie.format": (),
+ "QMovie.frameCount": (),
+ "QMovie.frameRect": (),
+ "QMovie.isValid": (),
+ "QMovie.jumpToFrame": ('int',),
+ "QMovie.jumpToNextFrame": (),
+ "QMovie.lastError": (),
+ "QMovie.lastErrorString": (),
+ "QMovie.loopCount": (),
+ "QMovie.nextFrameDelay": (),
+ "QMovie.scaledSize": (),
+ "QMovie.setBackgroundColor": ('PySide2.QtGui.QColor',),
+ "QMovie.setCacheMode": ('PySide2.QtGui.QMovie.CacheMode',),
+ "QMovie.setDevice": ('PySide2.QtCore.QIODevice',),
+ "QMovie.setFileName": ('str',),
+ "QMovie.setFormat": ('PySide2.QtCore.QByteArray',),
+ "QMovie.setPaused": ('bool',),
+ "QMovie.setScaledSize": ('PySide2.QtCore.QSize',),
+ "QMovie.setSpeed": ('int',),
+ "QMovie.speed": (),
+ "QMovie.start": (),
+ "QMovie.state": (),
+ "QMovie.stop": (),
+ "QMovie.supportedFormats": (),
+
+ # class PySide2.QtGui.QNativeGestureEvent:
+ "QNativeGestureEvent.__init__": [('PySide2.QtCore.Qt.NativeGestureType', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'float', 'int', 'int'), ('PySide2.QtCore.Qt.NativeGestureType', 'PySide2.QtGui.QTouchDevice', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'float', 'int', 'int')],
+ "QNativeGestureEvent.device": (),
+ "QNativeGestureEvent.gestureType": (),
+ "QNativeGestureEvent.globalPos": (),
+ "QNativeGestureEvent.localPos": (),
+ "QNativeGestureEvent.pos": (),
+ "QNativeGestureEvent.screenPos": (),
+ "QNativeGestureEvent.value": (),
+ "QNativeGestureEvent.windowPos": (),
+
+ # class PySide2.QtGui.QOffscreenSurface:
+ "QOffscreenSurface.__init__": [('PySide2.QtGui.QScreen',), ('PySide2.QtGui.QScreen', 'PySide2.QtCore.QObject')],
+ "QOffscreenSurface.create": (),
+ "QOffscreenSurface.destroy": (),
+ "QOffscreenSurface.format": (),
+ "QOffscreenSurface.isValid": (),
+ "QOffscreenSurface.nativeHandle": (),
+ "QOffscreenSurface.requestedFormat": (),
+ "QOffscreenSurface.screen": (),
+ "QOffscreenSurface.setFormat": ('PySide2.QtGui.QSurfaceFormat',),
+ "QOffscreenSurface.setNativeHandle": ('int',),
+ "QOffscreenSurface.setScreen": ('PySide2.QtGui.QScreen',),
+ "QOffscreenSurface.size": (),
+ "QOffscreenSurface.surfaceHandle": (),
+ "QOffscreenSurface.surfaceType": (),
+
+ # class PySide2.QtGui.QOpenGLBuffer:
+ "QOpenGLBuffer.__init__": [(), ('PySide2.QtGui.QOpenGLBuffer',), ('PySide2.QtGui.QOpenGLBuffer.Type',)],
+ "QOpenGLBuffer.allocate": [('int',), ('int', 'int')],
+ "QOpenGLBuffer.bind": (),
+ "QOpenGLBuffer.bufferId": (),
+ "QOpenGLBuffer.create": (),
+ "QOpenGLBuffer.destroy": (),
+ "QOpenGLBuffer.isCreated": (),
+ "QOpenGLBuffer.map": ('PySide2.QtGui.QOpenGLBuffer.Access',),
+ "QOpenGLBuffer.mapRange": ('int', 'int', 'PySide2.libpyside.RangeAccessFlags'),
+ "QOpenGLBuffer.read": ('int', 'int', 'int'),
+ "QOpenGLBuffer.release": [(), ('PySide2.QtGui.QOpenGLBuffer.Type',)],
+ "QOpenGLBuffer.setUsagePattern": ('PySide2.QtGui.QOpenGLBuffer.UsagePattern',),
+ "QOpenGLBuffer.size": (),
+ "QOpenGLBuffer.type": (),
+ "QOpenGLBuffer.unmap": (),
+ "QOpenGLBuffer.usagePattern": (),
+ "QOpenGLBuffer.write": ('int', 'int', 'int'),
+
+ # class PySide2.QtGui.QOpenGLContext:
+ "QOpenGLContext.__init__": ('PySide2.QtCore.QObject',),
+ "QOpenGLContext.areSharing": ('PySide2.QtGui.QOpenGLContext', 'PySide2.QtGui.QOpenGLContext'),
+ "QOpenGLContext.create": (),
+ "QOpenGLContext.currentContext": (),
+ "QOpenGLContext.defaultFramebufferObject": (),
+ "QOpenGLContext.doneCurrent": (),
+ "QOpenGLContext.extensions": (),
+ "QOpenGLContext.extraFunctions": (),
+ "QOpenGLContext.format": (),
+ "QOpenGLContext.functions": (),
+ "QOpenGLContext.globalShareContext": (),
+ "QOpenGLContext.hasExtension": ('PySide2.QtCore.QByteArray',),
+ "QOpenGLContext.isOpenGLES": (),
+ "QOpenGLContext.isValid": (),
+ "QOpenGLContext.makeCurrent": ('PySide2.QtGui.QSurface',),
+ "QOpenGLContext.nativeHandle": (),
+ "QOpenGLContext.openGLModuleHandle": (),
+ "QOpenGLContext.openGLModuleType": (),
+ "QOpenGLContext.screen": (),
+ "QOpenGLContext.setFormat": ('PySide2.QtGui.QSurfaceFormat',),
+ "QOpenGLContext.setNativeHandle": ('Any',),
+ "QOpenGLContext.setScreen": ('PySide2.QtGui.QScreen',),
+ "QOpenGLContext.setShareContext": ('PySide2.QtGui.QOpenGLContext',),
+ "QOpenGLContext.shareContext": (),
+ "QOpenGLContext.shareGroup": (),
+ "QOpenGLContext.supportsThreadedOpenGL": (),
+ "QOpenGLContext.surface": (),
+ "QOpenGLContext.swapBuffers": ('PySide2.QtGui.QSurface',),
+ "QOpenGLContext.versionFunctions": ('PySide2.QtGui.QOpenGLVersionProfile',),
+
+ # class PySide2.QtGui.QOpenGLContextGroup:
+ "QOpenGLContextGroup.currentContextGroup": (),
+ "QOpenGLContextGroup.shares": (),
+
+ # class PySide2.QtGui.QOpenGLDebugLogger:
+ "QOpenGLDebugLogger.__init__": ('PySide2.QtCore.QObject',),
+ "QOpenGLDebugLogger.disableMessages": [('PySide2.libpyside.Sources', 'PySide2.libpyside.Types', 'PySide2.libpyside.Severities'), ('list', 'PySide2.libpyside.Sources', 'PySide2.libpyside.Types')],
+ "QOpenGLDebugLogger.enableMessages": [('PySide2.libpyside.Sources', 'PySide2.libpyside.Types', 'PySide2.libpyside.Severities'), ('list', 'PySide2.libpyside.Sources', 'PySide2.libpyside.Types')],
+ "QOpenGLDebugLogger.initialize": (),
+ "QOpenGLDebugLogger.isLogging": (),
+ "QOpenGLDebugLogger.logMessage": ('PySide2.QtGui.QOpenGLDebugMessage',),
+ "QOpenGLDebugLogger.loggedMessages": (),
+ "QOpenGLDebugLogger.loggingMode": (),
+ "QOpenGLDebugLogger.maximumMessageLength": (),
+ "QOpenGLDebugLogger.popGroup": (),
+ "QOpenGLDebugLogger.pushGroup": ('str', 'int', 'PySide2.QtGui.QOpenGLDebugMessage.Source'),
+ "QOpenGLDebugLogger.startLogging": ('PySide2.QtGui.QOpenGLDebugLogger.LoggingMode',),
+ "QOpenGLDebugLogger.stopLogging": (),
+
+ # class PySide2.QtGui.QOpenGLDebugMessage:
+ "QOpenGLDebugMessage.__init__": [(), ('PySide2.QtGui.QOpenGLDebugMessage',)],
+ "QOpenGLDebugMessage.__copy__": (),
+ "QOpenGLDebugMessage.createApplicationMessage": ('str', 'int', 'PySide2.QtGui.QOpenGLDebugMessage.Severity', 'PySide2.QtGui.QOpenGLDebugMessage.Type'),
+ "QOpenGLDebugMessage.createThirdPartyMessage": ('str', 'int', 'PySide2.QtGui.QOpenGLDebugMessage.Severity', 'PySide2.QtGui.QOpenGLDebugMessage.Type'),
+ "QOpenGLDebugMessage.id": (),
+ "QOpenGLDebugMessage.message": (),
+ "QOpenGLDebugMessage.severity": (),
+ "QOpenGLDebugMessage.source": (),
+ "QOpenGLDebugMessage.swap": ('PySide2.QtGui.QOpenGLDebugMessage',),
+ "QOpenGLDebugMessage.type": (),
+
+ # class PySide2.QtGui.QOpenGLExtraFunctions:
+ "QOpenGLExtraFunctions.__init__": [(), ('PySide2.QtGui.QOpenGLContext',)],
+ "QOpenGLExtraFunctions.glActiveShaderProgram": ('int', 'int'),
+ "QOpenGLExtraFunctions.glBeginQuery": ('int', 'int'),
+ "QOpenGLExtraFunctions.glBeginTransformFeedback": ('int',),
+ "QOpenGLExtraFunctions.glBindBufferBase": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glBindImageTexture": ('int', 'int', 'int', 'Union[str, int]', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glBindProgramPipeline": ('int',),
+ "QOpenGLExtraFunctions.glBindSampler": ('int', 'int'),
+ "QOpenGLExtraFunctions.glBindTransformFeedback": ('int', 'int'),
+ "QOpenGLExtraFunctions.glBindVertexArray": ('int',),
+ "QOpenGLExtraFunctions.glBlendBarrier": (),
+ "QOpenGLExtraFunctions.glBlendEquationSeparatei": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glBlendEquationi": ('int', 'int'),
+ "QOpenGLExtraFunctions.glBlendFuncSeparatei": ('int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glBlendFunci": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glBlitFramebuffer": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glClearBufferfi": ('int', 'int', 'float', 'int'),
+ "QOpenGLExtraFunctions.glClearBufferfv": ('int', 'int', 'float'),
+ "QOpenGLExtraFunctions.glClearBufferiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glClearBufferuiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glColorMaski": ('int', 'Union[str, int]', 'Union[str, int]', 'Union[str, int]', 'Union[str, int]'),
+ "QOpenGLExtraFunctions.glCompressedTexImage3D": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glCompressedTexSubImage3D": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glCopyImageSubData": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glCopyTexSubImage3D": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glDebugMessageControl": ('int', 'int', 'int', 'int', 'int', 'Union[str, int]'),
+ "QOpenGLExtraFunctions.glDebugMessageInsert": ('int', 'int', 'int', 'int', 'int', 'str'),
+ "QOpenGLExtraFunctions.glDeleteProgramPipelines": ('int', 'int'),
+ "QOpenGLExtraFunctions.glDeleteQueries": ('int', 'int'),
+ "QOpenGLExtraFunctions.glDeleteSamplers": ('int', 'int'),
+ "QOpenGLExtraFunctions.glDeleteTransformFeedbacks": ('int', 'int'),
+ "QOpenGLExtraFunctions.glDeleteVertexArrays": ('int', 'int'),
+ "QOpenGLExtraFunctions.glDisablei": ('int', 'int'),
+ "QOpenGLExtraFunctions.glDispatchCompute": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glDrawArraysIndirect": ('int', 'int'),
+ "QOpenGLExtraFunctions.glDrawArraysInstanced": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glDrawBuffers": ('int', 'int'),
+ "QOpenGLExtraFunctions.glDrawElementsBaseVertex": ('int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glDrawElementsIndirect": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glDrawElementsInstanced": ('int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glDrawElementsInstancedBaseVertex": ('int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glDrawRangeElements": ('int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glDrawRangeElementsBaseVertex": ('int', 'int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glEnablei": ('int', 'int'),
+ "QOpenGLExtraFunctions.glEndQuery": ('int',),
+ "QOpenGLExtraFunctions.glFramebufferParameteri": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glFramebufferTexture": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glFramebufferTextureLayer": ('int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGenProgramPipelines": ('int', 'int'),
+ "QOpenGLExtraFunctions.glGenQueries": ('int', 'int'),
+ "QOpenGLExtraFunctions.glGenSamplers": ('int', 'int'),
+ "QOpenGLExtraFunctions.glGenTransformFeedbacks": ('int', 'int'),
+ "QOpenGLExtraFunctions.glGenVertexArrays": ('int', 'int'),
+ "QOpenGLExtraFunctions.glGetActiveUniformBlockiv": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetActiveUniformsiv": ('int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetBufferParameteri64v": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetFragDataLocation": ('int', 'str'),
+ "QOpenGLExtraFunctions.glGetFramebufferParameteriv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetGraphicsResetStatus": (),
+ "QOpenGLExtraFunctions.glGetInteger64i_v": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetInteger64v": ('int', 'int'),
+ "QOpenGLExtraFunctions.glGetIntegeri_v": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetInternalformativ": ('int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetMultisamplefv": ('int', 'int', 'float'),
+ "QOpenGLExtraFunctions.glGetProgramBinary": ('int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetProgramInterfaceiv": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetProgramPipelineiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetProgramResourceIndex": ('int', 'int', 'str'),
+ "QOpenGLExtraFunctions.glGetProgramResourceLocation": ('int', 'int', 'str'),
+ "QOpenGLExtraFunctions.glGetProgramResourceiv": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetQueryObjectuiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetQueryiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetSamplerParameterIiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetSamplerParameterIuiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetSamplerParameterfv": ('int', 'int', 'float'),
+ "QOpenGLExtraFunctions.glGetSamplerParameteriv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetStringi": ('int', 'int'),
+ "QOpenGLExtraFunctions.glGetTexLevelParameterfv": ('int', 'int', 'int', 'float'),
+ "QOpenGLExtraFunctions.glGetTexLevelParameteriv": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetTexParameterIiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetTexParameterIuiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetUniformBlockIndex": ('int', 'str'),
+ "QOpenGLExtraFunctions.glGetUniformuiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetVertexAttribIiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetVertexAttribIuiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetnUniformfv": ('int', 'int', 'int', 'float'),
+ "QOpenGLExtraFunctions.glGetnUniformiv": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glGetnUniformuiv": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glInvalidateFramebuffer": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glInvalidateSubFramebuffer": ('int', 'int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glIsEnabledi": ('int', 'int'),
+ "QOpenGLExtraFunctions.glIsProgramPipeline": ('int',),
+ "QOpenGLExtraFunctions.glIsQuery": ('int',),
+ "QOpenGLExtraFunctions.glIsSampler": ('int',),
+ "QOpenGLExtraFunctions.glIsTransformFeedback": ('int',),
+ "QOpenGLExtraFunctions.glIsVertexArray": ('int',),
+ "QOpenGLExtraFunctions.glMemoryBarrier": ('int',),
+ "QOpenGLExtraFunctions.glMemoryBarrierByRegion": ('int',),
+ "QOpenGLExtraFunctions.glMinSampleShading": ('float',),
+ "QOpenGLExtraFunctions.glObjectLabel": ('int', 'int', 'int', 'str'),
+ "QOpenGLExtraFunctions.glObjectPtrLabel": ('int', 'int', 'str'),
+ "QOpenGLExtraFunctions.glPatchParameteri": ('int', 'int'),
+ "QOpenGLExtraFunctions.glPopDebugGroup": (),
+ "QOpenGLExtraFunctions.glPrimitiveBoundingBox": ('float', 'float', 'float', 'float', 'float', 'float', 'float', 'float'),
+ "QOpenGLExtraFunctions.glProgramBinary": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glProgramParameteri": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glProgramUniform1f": ('int', 'int', 'float'),
+ "QOpenGLExtraFunctions.glProgramUniform1fv": ('int', 'int', 'int', 'float'),
+ "QOpenGLExtraFunctions.glProgramUniform1i": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glProgramUniform1iv": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glProgramUniform1ui": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glProgramUniform1uiv": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glProgramUniform2f": ('int', 'int', 'float', 'float'),
+ "QOpenGLExtraFunctions.glProgramUniform2fv": ('int', 'int', 'int', 'float'),
+ "QOpenGLExtraFunctions.glProgramUniform2i": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glProgramUniform2iv": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glProgramUniform2ui": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glProgramUniform2uiv": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glProgramUniform3f": ('int', 'int', 'float', 'float', 'float'),
+ "QOpenGLExtraFunctions.glProgramUniform3fv": ('int', 'int', 'int', 'float'),
+ "QOpenGLExtraFunctions.glProgramUniform3i": ('int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glProgramUniform3iv": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glProgramUniform3ui": ('int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glProgramUniform3uiv": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glProgramUniform4f": ('int', 'int', 'float', 'float', 'float', 'float'),
+ "QOpenGLExtraFunctions.glProgramUniform4fv": ('int', 'int', 'int', 'float'),
+ "QOpenGLExtraFunctions.glProgramUniform4i": ('int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glProgramUniform4iv": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glProgramUniform4ui": ('int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glProgramUniform4uiv": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glProgramUniformMatrix2fv": ('int', 'int', 'int', 'Union[str, int]', 'float'),
+ "QOpenGLExtraFunctions.glProgramUniformMatrix2x3fv": ('int', 'int', 'int', 'Union[str, int]', 'float'),
+ "QOpenGLExtraFunctions.glProgramUniformMatrix2x4fv": ('int', 'int', 'int', 'Union[str, int]', 'float'),
+ "QOpenGLExtraFunctions.glProgramUniformMatrix3fv": ('int', 'int', 'int', 'Union[str, int]', 'float'),
+ "QOpenGLExtraFunctions.glProgramUniformMatrix3x2fv": ('int', 'int', 'int', 'Union[str, int]', 'float'),
+ "QOpenGLExtraFunctions.glProgramUniformMatrix3x4fv": ('int', 'int', 'int', 'Union[str, int]', 'float'),
+ "QOpenGLExtraFunctions.glProgramUniformMatrix4fv": ('int', 'int', 'int', 'Union[str, int]', 'float'),
+ "QOpenGLExtraFunctions.glProgramUniformMatrix4x2fv": ('int', 'int', 'int', 'Union[str, int]', 'float'),
+ "QOpenGLExtraFunctions.glProgramUniformMatrix4x3fv": ('int', 'int', 'int', 'Union[str, int]', 'float'),
+ "QOpenGLExtraFunctions.glPushDebugGroup": ('int', 'int', 'int', 'str'),
+ "QOpenGLExtraFunctions.glReadBuffer": ('int',),
+ "QOpenGLExtraFunctions.glReadnPixels": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glRenderbufferStorageMultisample": ('int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glSampleMaski": ('int', 'int'),
+ "QOpenGLExtraFunctions.glSamplerParameterIiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glSamplerParameterIuiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glSamplerParameterf": ('int', 'int', 'float'),
+ "QOpenGLExtraFunctions.glSamplerParameterfv": ('int', 'int', 'float'),
+ "QOpenGLExtraFunctions.glSamplerParameteri": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glSamplerParameteriv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glTexBuffer": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glTexImage3D": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glTexParameterIiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glTexParameterIuiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glTexStorage2D": ('int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glTexStorage2DMultisample": ('int', 'int', 'int', 'int', 'int', 'Union[str, int]'),
+ "QOpenGLExtraFunctions.glTexStorage3D": ('int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glTexStorage3DMultisample": ('int', 'int', 'int', 'int', 'int', 'int', 'Union[str, int]'),
+ "QOpenGLExtraFunctions.glTexSubImage3D": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glUniform1ui": ('int', 'int'),
+ "QOpenGLExtraFunctions.glUniform1uiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glUniform2ui": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glUniform2uiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glUniform3ui": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glUniform3uiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glUniform4ui": ('int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glUniform4uiv": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glUniformBlockBinding": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glUniformMatrix2x3fv": ('int', 'int', 'Union[str, int]', 'float'),
+ "QOpenGLExtraFunctions.glUniformMatrix2x4fv": ('int', 'int', 'Union[str, int]', 'float'),
+ "QOpenGLExtraFunctions.glUniformMatrix3x2fv": ('int', 'int', 'Union[str, int]', 'float'),
+ "QOpenGLExtraFunctions.glUniformMatrix3x4fv": ('int', 'int', 'Union[str, int]', 'float'),
+ "QOpenGLExtraFunctions.glUniformMatrix4x2fv": ('int', 'int', 'Union[str, int]', 'float'),
+ "QOpenGLExtraFunctions.glUniformMatrix4x3fv": ('int', 'int', 'Union[str, int]', 'float'),
+ "QOpenGLExtraFunctions.glUnmapBuffer": ('int',),
+ "QOpenGLExtraFunctions.glUseProgramStages": ('int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glValidateProgramPipeline": ('int',),
+ "QOpenGLExtraFunctions.glVertexAttribBinding": ('int', 'int'),
+ "QOpenGLExtraFunctions.glVertexAttribDivisor": ('int', 'int'),
+ "QOpenGLExtraFunctions.glVertexAttribFormat": ('int', 'int', 'int', 'Union[str, int]', 'int'),
+ "QOpenGLExtraFunctions.glVertexAttribI4i": ('int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glVertexAttribI4iv": ('int', 'int'),
+ "QOpenGLExtraFunctions.glVertexAttribI4ui": ('int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glVertexAttribI4uiv": ('int', 'int'),
+ "QOpenGLExtraFunctions.glVertexAttribIFormat": ('int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glVertexAttribIPointer": ('int', 'int', 'int', 'int', 'int'),
+ "QOpenGLExtraFunctions.glVertexBindingDivisor": ('int', 'int'),
+
+ # class PySide2.QtGui.QOpenGLFramebufferObject:
+ "QOpenGLFramebufferObject.__init__": [('PySide2.QtCore.QSize', 'PySide2.QtGui.QOpenGLFramebufferObject.Attachment', 'int', 'int'), ('PySide2.QtCore.QSize', 'PySide2.QtGui.QOpenGLFramebufferObjectFormat'), ('PySide2.QtCore.QSize', 'int'), ('int', 'int', 'PySide2.QtGui.QOpenGLFramebufferObject.Attachment', 'int', 'int'), ('int', 'int', 'PySide2.QtGui.QOpenGLFramebufferObjectFormat'), ('int', 'int', 'int')],
+ "QOpenGLFramebufferObject.addColorAttachment": [('PySide2.QtCore.QSize', 'int'), ('int', 'int', 'int')],
+ "QOpenGLFramebufferObject.attachment": (),
+ "QOpenGLFramebufferObject.bind": (),
+ "QOpenGLFramebufferObject.bindDefault": (),
+ "QOpenGLFramebufferObject.blitFramebuffer": [('PySide2.QtGui.QOpenGLFramebufferObject', 'PySide2.QtCore.QRect', 'PySide2.QtGui.QOpenGLFramebufferObject', 'PySide2.QtCore.QRect', 'int', 'int'), ('PySide2.QtGui.QOpenGLFramebufferObject', 'PySide2.QtCore.QRect', 'PySide2.QtGui.QOpenGLFramebufferObject', 'PySide2.QtCore.QRect', 'int', 'int', 'int', 'int'), ('PySide2.QtGui.QOpenGLFramebufferObject', 'PySide2.QtCore.QRect', 'PySide2.QtGui.QOpenGLFramebufferObject', 'PySide2.QtCore.QRect', 'int', 'int', 'int', 'int', 'PySide2.QtGui.QOpenGLFramebufferObject.FramebufferRestorePolicy'), ('PySide2.QtGui.QOpenGLFramebufferObject', 'PySide2.QtGui.QOpenGLFramebufferObject', 'int', 'int')],
+ "QOpenGLFramebufferObject.format": (),
+ "QOpenGLFramebufferObject.handle": (),
+ "QOpenGLFramebufferObject.hasOpenGLFramebufferBlit": (),
+ "QOpenGLFramebufferObject.hasOpenGLFramebufferObjects": (),
+ "QOpenGLFramebufferObject.height": (),
+ "QOpenGLFramebufferObject.isBound": (),
+ "QOpenGLFramebufferObject.isValid": (),
+ "QOpenGLFramebufferObject.release": (),
+ "QOpenGLFramebufferObject.setAttachment": ('PySide2.QtGui.QOpenGLFramebufferObject.Attachment',),
+ "QOpenGLFramebufferObject.size": (),
+ "QOpenGLFramebufferObject.sizes": (),
+ "QOpenGLFramebufferObject.takeTexture": [(), ('int',)],
+ "QOpenGLFramebufferObject.texture": (),
+ "QOpenGLFramebufferObject.textures": (),
+ "QOpenGLFramebufferObject.toImage": [(), ('bool',), ('bool', 'int')],
+ "QOpenGLFramebufferObject.width": (),
+
+ # class PySide2.QtGui.QOpenGLFramebufferObjectFormat:
+ "QOpenGLFramebufferObjectFormat.__init__": [(), ('PySide2.QtGui.QOpenGLFramebufferObjectFormat',)],
+ "QOpenGLFramebufferObjectFormat.__copy__": (),
+ "QOpenGLFramebufferObjectFormat.attachment": (),
+ "QOpenGLFramebufferObjectFormat.internalTextureFormat": (),
+ "QOpenGLFramebufferObjectFormat.mipmap": (),
+ "QOpenGLFramebufferObjectFormat.samples": (),
+ "QOpenGLFramebufferObjectFormat.setAttachment": ('PySide2.QtGui.QOpenGLFramebufferObject.Attachment',),
+ "QOpenGLFramebufferObjectFormat.setInternalTextureFormat": ('int',),
+ "QOpenGLFramebufferObjectFormat.setMipmap": ('bool',),
+ "QOpenGLFramebufferObjectFormat.setSamples": ('int',),
+ "QOpenGLFramebufferObjectFormat.setTextureTarget": ('int',),
+ "QOpenGLFramebufferObjectFormat.textureTarget": (),
+
+ # class PySide2.QtGui.QOpenGLFunctions:
+ "QOpenGLFunctions.__init__": [(), ('PySide2.QtGui.QOpenGLContext',)],
+ "QOpenGLFunctions.glActiveTexture": ('int',),
+ "QOpenGLFunctions.glAttachShader": ('int', 'int'),
+ "QOpenGLFunctions.glBindAttribLocation": ('int', 'int', 'str'),
+ "QOpenGLFunctions.glBindBuffer": ('int', 'int'),
+ "QOpenGLFunctions.glBindFramebuffer": ('int', 'int'),
+ "QOpenGLFunctions.glBindRenderbuffer": ('int', 'int'),
+ "QOpenGLFunctions.glBindTexture": ('int', 'int'),
+ "QOpenGLFunctions.glBlendColor": ('float', 'float', 'float', 'float'),
+ "QOpenGLFunctions.glBlendEquation": ('int',),
+ "QOpenGLFunctions.glBlendEquationSeparate": ('int', 'int'),
+ "QOpenGLFunctions.glBlendFunc": ('int', 'int'),
+ "QOpenGLFunctions.glBlendFuncSeparate": ('int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glCheckFramebufferStatus": ('int',),
+ "QOpenGLFunctions.glClear": ('int',),
+ "QOpenGLFunctions.glClearColor": ('float', 'float', 'float', 'float'),
+ "QOpenGLFunctions.glClearDepthf": ('float',),
+ "QOpenGLFunctions.glClearStencil": ('int',),
+ "QOpenGLFunctions.glColorMask": ('Union[str, int]', 'Union[str, int]', 'Union[str, int]', 'Union[str, int]'),
+ "QOpenGLFunctions.glCompileShader": ('int',),
+ "QOpenGLFunctions.glCompressedTexImage2D": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glCompressedTexSubImage2D": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glCopyTexImage2D": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glCopyTexSubImage2D": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glCreateProgram": (),
+ "QOpenGLFunctions.glCreateShader": ('int',),
+ "QOpenGLFunctions.glCullFace": ('int',),
+ "QOpenGLFunctions.glDeleteBuffers": ('int', 'int'),
+ "QOpenGLFunctions.glDeleteFramebuffers": ('int', 'int'),
+ "QOpenGLFunctions.glDeleteProgram": ('int',),
+ "QOpenGLFunctions.glDeleteRenderbuffers": ('int', 'int'),
+ "QOpenGLFunctions.glDeleteShader": ('int',),
+ "QOpenGLFunctions.glDeleteTextures": ('int', 'int'),
+ "QOpenGLFunctions.glDepthFunc": ('int',),
+ "QOpenGLFunctions.glDepthMask": ('Union[str, int]',),
+ "QOpenGLFunctions.glDepthRangef": ('float', 'float'),
+ "QOpenGLFunctions.glDetachShader": ('int', 'int'),
+ "QOpenGLFunctions.glDisable": ('int',),
+ "QOpenGLFunctions.glDisableVertexAttribArray": ('int',),
+ "QOpenGLFunctions.glDrawArrays": ('int', 'int', 'int'),
+ "QOpenGLFunctions.glDrawElements": ('int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glEnable": ('int',),
+ "QOpenGLFunctions.glEnableVertexAttribArray": ('int',),
+ "QOpenGLFunctions.glFinish": (),
+ "QOpenGLFunctions.glFlush": (),
+ "QOpenGLFunctions.glFramebufferRenderbuffer": ('int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glFramebufferTexture2D": ('int', 'int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glFrontFace": ('int',),
+ "QOpenGLFunctions.glGenBuffers": ('int', 'int'),
+ "QOpenGLFunctions.glGenFramebuffers": ('int', 'int'),
+ "QOpenGLFunctions.glGenRenderbuffers": ('int', 'int'),
+ "QOpenGLFunctions.glGenTextures": ('int', 'int'),
+ "QOpenGLFunctions.glGenerateMipmap": ('int',),
+ "QOpenGLFunctions.glGetAttachedShaders": ('int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glGetAttribLocation": ('int', 'str'),
+ "QOpenGLFunctions.glGetBufferParameteriv": ('int', 'int', 'int'),
+ "QOpenGLFunctions.glGetError": (),
+ "QOpenGLFunctions.glGetFloatv": ('int', 'float'),
+ "QOpenGLFunctions.glGetFramebufferAttachmentParameteriv": ('int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glGetIntegerv": ('int', 'int'),
+ "QOpenGLFunctions.glGetProgramiv": ('int', 'int', 'int'),
+ "QOpenGLFunctions.glGetRenderbufferParameteriv": ('int', 'int', 'int'),
+ "QOpenGLFunctions.glGetShaderPrecisionFormat": ('int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glGetShaderiv": ('int', 'int', 'int'),
+ "QOpenGLFunctions.glGetString": ('int',),
+ "QOpenGLFunctions.glGetTexParameterfv": ('int', 'int', 'float'),
+ "QOpenGLFunctions.glGetTexParameteriv": ('int', 'int', 'int'),
+ "QOpenGLFunctions.glGetUniformLocation": ('int', 'str'),
+ "QOpenGLFunctions.glGetUniformfv": ('int', 'int', 'float'),
+ "QOpenGLFunctions.glGetUniformiv": ('int', 'int', 'int'),
+ "QOpenGLFunctions.glGetVertexAttribfv": ('int', 'int', 'float'),
+ "QOpenGLFunctions.glGetVertexAttribiv": ('int', 'int', 'int'),
+ "QOpenGLFunctions.glHint": ('int', 'int'),
+ "QOpenGLFunctions.glIsBuffer": ('int',),
+ "QOpenGLFunctions.glIsEnabled": ('int',),
+ "QOpenGLFunctions.glIsFramebuffer": ('int',),
+ "QOpenGLFunctions.glIsProgram": ('int',),
+ "QOpenGLFunctions.glIsRenderbuffer": ('int',),
+ "QOpenGLFunctions.glIsShader": ('int',),
+ "QOpenGLFunctions.glIsTexture": ('int',),
+ "QOpenGLFunctions.glLineWidth": ('float',),
+ "QOpenGLFunctions.glLinkProgram": ('int',),
+ "QOpenGLFunctions.glPixelStorei": ('int', 'int'),
+ "QOpenGLFunctions.glPolygonOffset": ('float', 'float'),
+ "QOpenGLFunctions.glReadPixels": ('int', 'int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glReleaseShaderCompiler": (),
+ "QOpenGLFunctions.glRenderbufferStorage": ('int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glSampleCoverage": ('float', 'Union[str, int]'),
+ "QOpenGLFunctions.glScissor": ('int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glShaderBinary": ('int', 'int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glStencilFunc": ('int', 'int', 'int'),
+ "QOpenGLFunctions.glStencilFuncSeparate": ('int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glStencilMask": ('int',),
+ "QOpenGLFunctions.glStencilMaskSeparate": ('int', 'int'),
+ "QOpenGLFunctions.glStencilOp": ('int', 'int', 'int'),
+ "QOpenGLFunctions.glStencilOpSeparate": ('int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glTexImage2D": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glTexParameterf": ('int', 'int', 'float'),
+ "QOpenGLFunctions.glTexParameterfv": ('int', 'int', 'float'),
+ "QOpenGLFunctions.glTexParameteri": ('int', 'int', 'int'),
+ "QOpenGLFunctions.glTexParameteriv": ('int', 'int', 'int'),
+ "QOpenGLFunctions.glTexSubImage2D": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glUniform1f": ('int', 'float'),
+ "QOpenGLFunctions.glUniform1fv": ('int', 'int', 'float'),
+ "QOpenGLFunctions.glUniform1i": ('int', 'int'),
+ "QOpenGLFunctions.glUniform1iv": ('int', 'int', 'int'),
+ "QOpenGLFunctions.glUniform2f": ('int', 'float', 'float'),
+ "QOpenGLFunctions.glUniform2fv": ('int', 'int', 'float'),
+ "QOpenGLFunctions.glUniform2i": ('int', 'int', 'int'),
+ "QOpenGLFunctions.glUniform2iv": ('int', 'int', 'int'),
+ "QOpenGLFunctions.glUniform3f": ('int', 'float', 'float', 'float'),
+ "QOpenGLFunctions.glUniform3fv": ('int', 'int', 'float'),
+ "QOpenGLFunctions.glUniform3i": ('int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glUniform3iv": ('int', 'int', 'int'),
+ "QOpenGLFunctions.glUniform4f": ('int', 'float', 'float', 'float', 'float'),
+ "QOpenGLFunctions.glUniform4fv": ('int', 'int', 'float'),
+ "QOpenGLFunctions.glUniform4i": ('int', 'int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.glUniform4iv": ('int', 'int', 'int'),
+ "QOpenGLFunctions.glUniformMatrix2fv": ('int', 'int', 'Union[str, int]', 'float'),
+ "QOpenGLFunctions.glUniformMatrix3fv": ('int', 'int', 'Union[str, int]', 'float'),
+ "QOpenGLFunctions.glUniformMatrix4fv": ('int', 'int', 'Union[str, int]', 'float'),
+ "QOpenGLFunctions.glUseProgram": ('int',),
+ "QOpenGLFunctions.glValidateProgram": ('int',),
+ "QOpenGLFunctions.glVertexAttrib1f": ('int', 'float'),
+ "QOpenGLFunctions.glVertexAttrib1fv": ('int', 'float'),
+ "QOpenGLFunctions.glVertexAttrib2f": ('int', 'float', 'float'),
+ "QOpenGLFunctions.glVertexAttrib2fv": ('int', 'float'),
+ "QOpenGLFunctions.glVertexAttrib3f": ('int', 'float', 'float', 'float'),
+ "QOpenGLFunctions.glVertexAttrib3fv": ('int', 'float'),
+ "QOpenGLFunctions.glVertexAttrib4f": ('int', 'float', 'float', 'float', 'float'),
+ "QOpenGLFunctions.glVertexAttrib4fv": ('int', 'float'),
+ "QOpenGLFunctions.glVertexAttribPointer": ('int', 'int', 'int', 'Union[str, int]', 'int', 'int'),
+ "QOpenGLFunctions.glViewport": ('int', 'int', 'int', 'int'),
+ "QOpenGLFunctions.hasOpenGLFeature": ('PySide2.QtGui.QOpenGLFunctions.OpenGLFeature',),
+ "QOpenGLFunctions.initializeOpenGLFunctions": (),
+ "QOpenGLFunctions.openGLFeatures": (),
+
+ # class PySide2.QtGui.QOpenGLPixelTransferOptions:
+ "QOpenGLPixelTransferOptions.__init__": [(), ('PySide2.QtGui.QOpenGLPixelTransferOptions',)],
+ "QOpenGLPixelTransferOptions.__copy__": (),
+ "QOpenGLPixelTransferOptions.alignment": (),
+ "QOpenGLPixelTransferOptions.imageHeight": (),
+ "QOpenGLPixelTransferOptions.isLeastSignificantBitFirst": (),
+ "QOpenGLPixelTransferOptions.isSwapBytesEnabled": (),
+ "QOpenGLPixelTransferOptions.rowLength": (),
+ "QOpenGLPixelTransferOptions.setAlignment": ('int',),
+ "QOpenGLPixelTransferOptions.setImageHeight": ('int',),
+ "QOpenGLPixelTransferOptions.setLeastSignificantByteFirst": ('bool',),
+ "QOpenGLPixelTransferOptions.setRowLength": ('int',),
+ "QOpenGLPixelTransferOptions.setSkipImages": ('int',),
+ "QOpenGLPixelTransferOptions.setSkipPixels": ('int',),
+ "QOpenGLPixelTransferOptions.setSkipRows": ('int',),
+ "QOpenGLPixelTransferOptions.setSwapBytesEnabled": ('bool',),
+ "QOpenGLPixelTransferOptions.skipImages": (),
+ "QOpenGLPixelTransferOptions.skipPixels": (),
+ "QOpenGLPixelTransferOptions.skipRows": (),
+ "QOpenGLPixelTransferOptions.swap": ('PySide2.QtGui.QOpenGLPixelTransferOptions',),
+
+ # class PySide2.QtGui.QOpenGLShader:
+ "QOpenGLShader.__init__": ('PySide2.libpyside.ShaderType', 'PySide2.QtCore.QObject'),
+ "QOpenGLShader.compileSourceCode": [('PySide2.QtCore.QByteArray',), ('str',)],
+ "QOpenGLShader.compileSourceFile": ('str',),
+ "QOpenGLShader.hasOpenGLShaders": ('PySide2.libpyside.ShaderType', 'PySide2.QtGui.QOpenGLContext'),
+ "QOpenGLShader.isCompiled": (),
+ "QOpenGLShader.log": (),
+ "QOpenGLShader.shaderId": (),
+ "QOpenGLShader.shaderType": (),
+ "QOpenGLShader.sourceCode": (),
+
+ # class PySide2.QtGui.QOpenGLShaderProgram:
+ "QOpenGLShaderProgram.__init__": ('PySide2.QtCore.QObject',),
+ "QOpenGLShaderProgram.addCacheableShaderFromSourceCode": [('PySide2.libpyside.ShaderType', 'PySide2.QtCore.QByteArray'), ('PySide2.libpyside.ShaderType', 'str')],
+ "QOpenGLShaderProgram.addCacheableShaderFromSourceFile": ('PySide2.libpyside.ShaderType', 'str'),
+ "QOpenGLShaderProgram.addShader": ('PySide2.QtGui.QOpenGLShader',),
+ "QOpenGLShaderProgram.addShaderFromSourceCode": [('PySide2.libpyside.ShaderType', 'PySide2.QtCore.QByteArray'), ('PySide2.libpyside.ShaderType', 'str')],
+ "QOpenGLShaderProgram.addShaderFromSourceFile": ('PySide2.libpyside.ShaderType', 'str'),
+ "QOpenGLShaderProgram.attributeLocation": [('PySide2.QtCore.QByteArray',), ('str',)],
+ "QOpenGLShaderProgram.bind": (),
+ "QOpenGLShaderProgram.bindAttributeLocation": [('PySide2.QtCore.QByteArray', 'int'), ('str', 'int')],
+ "QOpenGLShaderProgram.create": (),
+ "QOpenGLShaderProgram.defaultInnerTessellationLevels": (),
+ "QOpenGLShaderProgram.defaultOuterTessellationLevels": (),
+ "QOpenGLShaderProgram.disableAttributeArray": [('int',), ('str',)],
+ "QOpenGLShaderProgram.enableAttributeArray": [('int',), ('str',)],
+ "QOpenGLShaderProgram.hasOpenGLShaderPrograms": ('PySide2.QtGui.QOpenGLContext',),
+ "QOpenGLShaderProgram.isLinked": (),
+ "QOpenGLShaderProgram.link": (),
+ "QOpenGLShaderProgram.log": (),
+ "QOpenGLShaderProgram.maxGeometryOutputVertices": (),
+ "QOpenGLShaderProgram.patchVertexCount": (),
+ "QOpenGLShaderProgram.programId": (),
+ "QOpenGLShaderProgram.release": (),
+ "QOpenGLShaderProgram.removeAllShaders": (),
+ "QOpenGLShaderProgram.removeShader": ('PySide2.QtGui.QOpenGLShader',),
+ "QOpenGLShaderProgram.setAttributeArray": [('int', 'float', 'int', 'int'), ('int', 'int', 'int', 'int', 'int'), ('str', 'float', 'int', 'int'), ('str', 'int', 'int', 'int', 'int')],
+ "QOpenGLShaderProgram.setAttributeBuffer": [('int', 'int', 'int', 'int', 'int'), ('str', 'int', 'int', 'int', 'int')],
+ "QOpenGLShaderProgram.setAttributeValue": [('int', 'PySide2.QtGui.QColor'), ('int', 'PySide2.QtGui.QVector2D'), ('int', 'PySide2.QtGui.QVector3D'), ('int', 'PySide2.QtGui.QVector4D'), ('int', 'float'), ('int', 'float', 'float'), ('int', 'float', 'float', 'float'), ('int', 'float', 'float', 'float', 'float'), ('int', 'float', 'int', 'int'), ('str', 'PySide2.QtGui.QColor'), ('str', 'PySide2.QtGui.QVector2D'), ('str', 'PySide2.QtGui.QVector3D'), ('str', 'PySide2.QtGui.QVector4D'), ('str', 'float'), ('str', 'float', 'float'), ('str', 'float', 'float', 'float'), ('str', 'float', 'float', 'float', 'float'), ('str', 'float', 'int', 'int')],
+ "QOpenGLShaderProgram.setDefaultInnerTessellationLevels": ('list',),
+ "QOpenGLShaderProgram.setDefaultOuterTessellationLevels": ('list',),
+ "QOpenGLShaderProgram.setPatchVertexCount": ('int',),
+ "QOpenGLShaderProgram.setUniformValue": [('int', 'List[List[float]]'), ('int', 'PySide2.QtCore.QPoint'), ('int', 'PySide2.QtCore.QPointF'), ('int', 'PySide2.QtCore.QSize'), ('int', 'PySide2.QtCore.QSizeF'), ('int', 'PySide2.QtGui.QColor'), ('int', 'PySide2.QtGui.QMatrix2x2'), ('int', 'PySide2.QtGui.QMatrix2x3'), ('int', 'PySide2.QtGui.QMatrix2x4'), ('int', 'PySide2.QtGui.QMatrix3x2'), ('int', 'PySide2.QtGui.QMatrix3x3'), ('int', 'PySide2.QtGui.QMatrix3x4'), ('int', 'PySide2.QtGui.QMatrix4x2'), ('int', 'PySide2.QtGui.QMatrix4x3'), ('int', 'PySide2.QtGui.QMatrix4x4'), ('int', 'PySide2.QtGui.QTransform'), ('int', 'PySide2.QtGui.QVector2D'), ('int', 'PySide2.QtGui.QVector3D'), ('int', 'PySide2.QtGui.QVector4D'), ('int', 'float'), ('int', 'float', 'float'), ('int', 'float', 'float', 'float'), ('int', 'float', 'float', 'float', 'float'), ('int', 'int'), ('str', 'List[List[float]]'), ('str', 'PySide2.QtCore.QPoint'), ('str', 'PySide2.QtCore.QPointF'), ('str', 'PySide2.QtCore.QSize'), ('str', 'PySide2.QtCore.QSizeF'), ('str', 'PySide2.QtGui.QColor'), ('str', 'PySide2.QtGui.QMatrix2x2'), ('str', 'PySide2.QtGui.QMatrix2x3'), ('str', 'PySide2.QtGui.QMatrix2x4'), ('str', 'PySide2.QtGui.QMatrix3x2'), ('str', 'PySide2.QtGui.QMatrix3x3'), ('str', 'PySide2.QtGui.QMatrix3x4'), ('str', 'PySide2.QtGui.QMatrix4x2'), ('str', 'PySide2.QtGui.QMatrix4x3'), ('str', 'PySide2.QtGui.QMatrix4x4'), ('str', 'PySide2.QtGui.QTransform'), ('str', 'PySide2.QtGui.QVector2D'), ('str', 'PySide2.QtGui.QVector3D'), ('str', 'PySide2.QtGui.QVector4D'), ('str', 'float'), ('str', 'float', 'float'), ('str', 'float', 'float', 'float'), ('str', 'float', 'float', 'float', 'float'), ('str', 'int')],
+ "QOpenGLShaderProgram.setUniformValueArray": [('int', 'float', 'int', 'int'), ('int', 'int', 'int'), ('str', 'float', 'int', 'int'), ('str', 'int', 'int')],
+ "QOpenGLShaderProgram.shaders": (),
+ "QOpenGLShaderProgram.uniformLocation": [('PySide2.QtCore.QByteArray',), ('str',)],
+
+ # class PySide2.QtGui.QOpenGLTexture:
+ "QOpenGLTexture.__init__": [('PySide2.QtGui.QImage', 'PySide2.QtGui.QOpenGLTexture.MipMapGeneration'), ('PySide2.QtGui.QOpenGLTexture.Target',)],
+ "QOpenGLTexture.allocateStorage": [(), ('PySide2.QtGui.QOpenGLTexture.PixelFormat', 'PySide2.QtGui.QOpenGLTexture.PixelType')],
+ "QOpenGLTexture.bind": [(), ('int', 'PySide2.QtGui.QOpenGLTexture.TextureUnitReset')],
+ "QOpenGLTexture.borderColor": (),
+ "QOpenGLTexture.boundTextureId": [('PySide2.QtGui.QOpenGLTexture.BindingTarget',), ('int', 'PySide2.QtGui.QOpenGLTexture.BindingTarget')],
+ "QOpenGLTexture.comparisonFunction": (),
+ "QOpenGLTexture.comparisonMode": (),
+ "QOpenGLTexture.create": (),
+ "QOpenGLTexture.createTextureView": ('PySide2.QtGui.QOpenGLTexture.Target', 'PySide2.QtGui.QOpenGLTexture.TextureFormat', 'int', 'int', 'int', 'int'),
+ "QOpenGLTexture.depth": (),
+ "QOpenGLTexture.depthStencilMode": (),
+ "QOpenGLTexture.destroy": (),
+ "QOpenGLTexture.faces": (),
+ "QOpenGLTexture.format": (),
+ "QOpenGLTexture.generateMipMaps": [(), ('int', 'bool')],
+ "QOpenGLTexture.hasFeature": ('PySide2.QtGui.QOpenGLTexture.Feature',),
+ "QOpenGLTexture.height": (),
+ "QOpenGLTexture.isAutoMipMapGenerationEnabled": (),
+ "QOpenGLTexture.isBound": [(), ('int',)],
+ "QOpenGLTexture.isCreated": (),
+ "QOpenGLTexture.isFixedSamplePositions": (),
+ "QOpenGLTexture.isStorageAllocated": (),
+ "QOpenGLTexture.isTextureView": (),
+ "QOpenGLTexture.layers": (),
+ "QOpenGLTexture.levelOfDetailRange": (),
+ "QOpenGLTexture.levelofDetailBias": (),
+ "QOpenGLTexture.magnificationFilter": (),
+ "QOpenGLTexture.maximumAnisotropy": (),
+ "QOpenGLTexture.maximumLevelOfDetail": (),
+ "QOpenGLTexture.maximumMipLevels": (),
+ "QOpenGLTexture.minMagFilters": (),
+ "QOpenGLTexture.minificationFilter": (),
+ "QOpenGLTexture.minimumLevelOfDetail": (),
+ "QOpenGLTexture.mipBaseLevel": (),
+ "QOpenGLTexture.mipLevelRange": (),
+ "QOpenGLTexture.mipLevels": (),
+ "QOpenGLTexture.mipMaxLevel": (),
+ "QOpenGLTexture.release": [(), ('int', 'PySide2.QtGui.QOpenGLTexture.TextureUnitReset')],
+ "QOpenGLTexture.samples": (),
+ "QOpenGLTexture.setAutoMipMapGenerationEnabled": ('bool',),
+ "QOpenGLTexture.setBorderColor": [('PySide2.QtGui.QColor',), ('float', 'float', 'float', 'float'), ('int', 'int', 'int', 'int')],
+ "QOpenGLTexture.setComparisonFunction": ('PySide2.QtGui.QOpenGLTexture.ComparisonFunction',),
+ "QOpenGLTexture.setComparisonMode": ('PySide2.QtGui.QOpenGLTexture.ComparisonMode',),
+ "QOpenGLTexture.setCompressedData": [('int', 'int', 'PySide2.QtGui.QOpenGLPixelTransferOptions'), ('int', 'int', 'PySide2.QtGui.QOpenGLTexture.CubeMapFace', 'int', 'int', 'PySide2.QtGui.QOpenGLPixelTransferOptions'), ('int', 'int', 'int', 'PySide2.QtGui.QOpenGLPixelTransferOptions'), ('int', 'int', 'int', 'PySide2.QtGui.QOpenGLTexture.CubeMapFace', 'int', 'int', 'PySide2.QtGui.QOpenGLPixelTransferOptions'), ('int', 'int', 'int', 'int', 'PySide2.QtGui.QOpenGLPixelTransferOptions')],
+ "QOpenGLTexture.setData": [('PySide2.QtGui.QImage', 'PySide2.QtGui.QOpenGLTexture.MipMapGeneration'), ('PySide2.QtGui.QOpenGLTexture.PixelFormat', 'PySide2.QtGui.QOpenGLTexture.PixelType', 'int', 'PySide2.QtGui.QOpenGLPixelTransferOptions'), ('int', 'PySide2.QtGui.QOpenGLTexture.PixelFormat', 'PySide2.QtGui.QOpenGLTexture.PixelType', 'int', 'PySide2.QtGui.QOpenGLPixelTransferOptions'), ('int', 'int', 'PySide2.QtGui.QOpenGLTexture.CubeMapFace', 'PySide2.QtGui.QOpenGLTexture.PixelFormat', 'PySide2.QtGui.QOpenGLTexture.PixelType', 'int', 'PySide2.QtGui.QOpenGLPixelTransferOptions'), ('int', 'int', 'PySide2.QtGui.QOpenGLTexture.PixelFormat', 'PySide2.QtGui.QOpenGLTexture.PixelType', 'int', 'PySide2.QtGui.QOpenGLPixelTransferOptions'), ('int', 'int', 'int', 'PySide2.QtGui.QOpenGLTexture.CubeMapFace', 'PySide2.QtGui.QOpenGLTexture.PixelFormat', 'PySide2.QtGui.QOpenGLTexture.PixelType', 'int', 'PySide2.QtGui.QOpenGLPixelTransferOptions')],
+ "QOpenGLTexture.setDepthStencilMode": ('PySide2.QtGui.QOpenGLTexture.DepthStencilMode',),
+ "QOpenGLTexture.setFixedSamplePositions": ('bool',),
+ "QOpenGLTexture.setFormat": ('PySide2.QtGui.QOpenGLTexture.TextureFormat',),
+ "QOpenGLTexture.setLayers": ('int',),
+ "QOpenGLTexture.setLevelOfDetailRange": ('float', 'float'),
+ "QOpenGLTexture.setLevelofDetailBias": ('float',),
+ "QOpenGLTexture.setMagnificationFilter": ('PySide2.QtGui.QOpenGLTexture.Filter',),
+ "QOpenGLTexture.setMaximumAnisotropy": ('float',),
+ "QOpenGLTexture.setMaximumLevelOfDetail": ('float',),
+ "QOpenGLTexture.setMinMagFilters": ('PySide2.QtGui.QOpenGLTexture.Filter', 'PySide2.QtGui.QOpenGLTexture.Filter'),
+ "QOpenGLTexture.setMinificationFilter": ('PySide2.QtGui.QOpenGLTexture.Filter',),
+ "QOpenGLTexture.setMinimumLevelOfDetail": ('float',),
+ "QOpenGLTexture.setMipBaseLevel": ('int',),
+ "QOpenGLTexture.setMipLevelRange": ('int', 'int'),
+ "QOpenGLTexture.setMipLevels": ('int',),
+ "QOpenGLTexture.setMipMaxLevel": ('int',),
+ "QOpenGLTexture.setSamples": ('int',),
+ "QOpenGLTexture.setSize": ('int', 'int', 'int'),
+ "QOpenGLTexture.setSwizzleMask": [('PySide2.QtGui.QOpenGLTexture.SwizzleComponent', 'PySide2.QtGui.QOpenGLTexture.SwizzleValue'), ('PySide2.QtGui.QOpenGLTexture.SwizzleValue', 'PySide2.QtGui.QOpenGLTexture.SwizzleValue', 'PySide2.QtGui.QOpenGLTexture.SwizzleValue', 'PySide2.QtGui.QOpenGLTexture.SwizzleValue')],
+ "QOpenGLTexture.setWrapMode": [('PySide2.QtGui.QOpenGLTexture.CoordinateDirection', 'PySide2.QtGui.QOpenGLTexture.WrapMode'), ('PySide2.QtGui.QOpenGLTexture.WrapMode',)],
+ "QOpenGLTexture.swizzleMask": ('PySide2.QtGui.QOpenGLTexture.SwizzleComponent',),
+ "QOpenGLTexture.target": (),
+ "QOpenGLTexture.textureId": (),
+ "QOpenGLTexture.width": (),
+ "QOpenGLTexture.wrapMode": ('PySide2.QtGui.QOpenGLTexture.CoordinateDirection',),
+
+ # class PySide2.QtGui.QOpenGLTextureBlitter:
+ "QOpenGLTextureBlitter.__init__": (),
+ "QOpenGLTextureBlitter.bind": ('int',),
+ "QOpenGLTextureBlitter.blit": ('int', 'PySide2.QtGui.QMatrix4x4', 'PySide2.QtGui.QMatrix3x3'),
+ "QOpenGLTextureBlitter.create": (),
+ "QOpenGLTextureBlitter.destroy": (),
+ "QOpenGLTextureBlitter.isCreated": (),
+ "QOpenGLTextureBlitter.release": (),
+ "QOpenGLTextureBlitter.setOpacity": ('float',),
+ "QOpenGLTextureBlitter.setRedBlueSwizzle": ('bool',),
+ "QOpenGLTextureBlitter.supportsExternalOESTarget": (),
+ "QOpenGLTextureBlitter.targetTransform": ('PySide2.QtCore.QRectF', 'PySide2.QtCore.QRect'),
+
+ # class PySide2.QtGui.QOpenGLTimeMonitor:
+ "QOpenGLTimeMonitor.__init__": ('PySide2.QtCore.QObject',),
+ "QOpenGLTimeMonitor.create": (),
+ "QOpenGLTimeMonitor.destroy": (),
+ "QOpenGLTimeMonitor.isCreated": (),
+ "QOpenGLTimeMonitor.isResultAvailable": (),
+ "QOpenGLTimeMonitor.objectIds": (),
+ "QOpenGLTimeMonitor.recordSample": (),
+ "QOpenGLTimeMonitor.reset": (),
+ "QOpenGLTimeMonitor.sampleCount": (),
+ "QOpenGLTimeMonitor.setSampleCount": ('int',),
+ "QOpenGLTimeMonitor.waitForIntervals": (),
+ "QOpenGLTimeMonitor.waitForSamples": (),
+
+ # class PySide2.QtGui.QOpenGLTimerQuery:
+ "QOpenGLTimerQuery.__init__": ('PySide2.QtCore.QObject',),
+ "QOpenGLTimerQuery.begin": (),
+ "QOpenGLTimerQuery.create": (),
+ "QOpenGLTimerQuery.destroy": (),
+ "QOpenGLTimerQuery.end": (),
+ "QOpenGLTimerQuery.isCreated": (),
+ "QOpenGLTimerQuery.isResultAvailable": (),
+ "QOpenGLTimerQuery.objectId": (),
+ "QOpenGLTimerQuery.recordTimestamp": (),
+ "QOpenGLTimerQuery.waitForResult": (),
+ "QOpenGLTimerQuery.waitForTimestamp": (),
+
+ # class PySide2.QtGui.QOpenGLVersionProfile:
+ "QOpenGLVersionProfile.__init__": [(), ('PySide2.QtGui.QOpenGLVersionProfile',), ('PySide2.QtGui.QSurfaceFormat',)],
+ "QOpenGLVersionProfile.__copy__": (),
+ "QOpenGLVersionProfile.hasProfiles": (),
+ "QOpenGLVersionProfile.isLegacyVersion": (),
+ "QOpenGLVersionProfile.isValid": (),
+ "QOpenGLVersionProfile.profile": (),
+ "QOpenGLVersionProfile.setProfile": ('PySide2.QtGui.QSurfaceFormat.OpenGLContextProfile',),
+ "QOpenGLVersionProfile.setVersion": ('int', 'int'),
+ "QOpenGLVersionProfile.version": (),
+
+ # class PySide2.QtGui.QOpenGLVertexArrayObject:
+ "QOpenGLVertexArrayObject.__init__": ('PySide2.QtCore.QObject',),
+ "QOpenGLVertexArrayObject.bind": (),
+ "QOpenGLVertexArrayObject.create": (),
+ "QOpenGLVertexArrayObject.destroy": (),
+ "QOpenGLVertexArrayObject.isCreated": (),
+ "QOpenGLVertexArrayObject.objectId": (),
+ "QOpenGLVertexArrayObject.release": (),
+
+ # class PySide2.QtGui.QOpenGLWindow:
+ "QOpenGLWindow.__init__": [('PySide2.QtGui.QOpenGLContext', 'PySide2.QtGui.QOpenGLWindow.UpdateBehavior', 'PySide2.QtGui.QWindow'), ('PySide2.QtGui.QOpenGLWindow.UpdateBehavior', 'PySide2.QtGui.QWindow')],
+ "QOpenGLWindow.context": (),
+ "QOpenGLWindow.defaultFramebufferObject": (),
+ "QOpenGLWindow.doneCurrent": (),
+ "QOpenGLWindow.grabFramebuffer": (),
+ "QOpenGLWindow.initializeGL": (),
+ "QOpenGLWindow.isValid": (),
+ "QOpenGLWindow.makeCurrent": (),
+ "QOpenGLWindow.metric": ('PySide2.QtGui.QPaintDevice.PaintDeviceMetric',),
+ "QOpenGLWindow.paintEvent": ('PySide2.QtGui.QPaintEvent',),
+ "QOpenGLWindow.paintGL": (),
+ "QOpenGLWindow.paintOverGL": (),
+ "QOpenGLWindow.paintUnderGL": (),
+ "QOpenGLWindow.redirected": ('PySide2.QtCore.QPoint',),
+ "QOpenGLWindow.resizeEvent": ('PySide2.QtGui.QResizeEvent',),
+ "QOpenGLWindow.resizeGL": ('int', 'int'),
+ "QOpenGLWindow.shareContext": (),
+ "QOpenGLWindow.updateBehavior": (),
+
+ # class PySide2.QtGui.QPageLayout:
+ "QPageLayout.__init__": [(), ('PySide2.QtGui.QPageLayout',), ('PySide2.QtGui.QPageSize', 'PySide2.QtGui.QPageLayout.Orientation', 'PySide2.QtCore.QMarginsF', 'PySide2.QtGui.QPageLayout.Unit', 'PySide2.QtCore.QMarginsF')],
+ "QPageLayout.__copy__": (),
+ "QPageLayout.fullRect": [(), ('PySide2.QtGui.QPageLayout.Unit',)],
+ "QPageLayout.fullRectPixels": ('int',),
+ "QPageLayout.fullRectPoints": (),
+ "QPageLayout.isEquivalentTo": ('PySide2.QtGui.QPageLayout',),
+ "QPageLayout.isValid": (),
+ "QPageLayout.margins": [(), ('PySide2.QtGui.QPageLayout.Unit',)],
+ "QPageLayout.marginsPixels": ('int',),
+ "QPageLayout.marginsPoints": (),
+ "QPageLayout.maximumMargins": (),
+ "QPageLayout.minimumMargins": (),
+ "QPageLayout.mode": (),
+ "QPageLayout.orientation": (),
+ "QPageLayout.pageSize": (),
+ "QPageLayout.paintRect": [(), ('PySide2.QtGui.QPageLayout.Unit',)],
+ "QPageLayout.paintRectPixels": ('int',),
+ "QPageLayout.paintRectPoints": (),
+ "QPageLayout.setBottomMargin": ('float',),
+ "QPageLayout.setLeftMargin": ('float',),
+ "QPageLayout.setMargins": ('PySide2.QtCore.QMarginsF',),
+ "QPageLayout.setMinimumMargins": ('PySide2.QtCore.QMarginsF',),
+ "QPageLayout.setMode": ('PySide2.QtGui.QPageLayout.Mode',),
+ "QPageLayout.setOrientation": ('PySide2.QtGui.QPageLayout.Orientation',),
+ "QPageLayout.setPageSize": ('PySide2.QtGui.QPageSize', 'PySide2.QtCore.QMarginsF'),
+ "QPageLayout.setRightMargin": ('float',),
+ "QPageLayout.setTopMargin": ('float',),
+ "QPageLayout.setUnits": ('PySide2.QtGui.QPageLayout.Unit',),
+ "QPageLayout.swap": ('PySide2.QtGui.QPageLayout',),
+ "QPageLayout.units": (),
+
+ # class PySide2.QtGui.QPageSize:
+ "QPageSize.__init__": [(), ('PySide2.QtCore.QSize', 'str', 'PySide2.QtGui.QPageSize.SizeMatchPolicy'), ('PySide2.QtCore.QSizeF', 'PySide2.QtGui.QPageSize.Unit', 'str', 'PySide2.QtGui.QPageSize.SizeMatchPolicy'), ('PySide2.QtGui.QPageSize',), ('PySide2.QtGui.QPageSize.PageSizeId',)],
+ "QPageSize.__copy__": (),
+ "QPageSize.definitionSize": [(), ('PySide2.QtGui.QPageSize.PageSizeId',)],
+ "QPageSize.definitionUnits": [(), ('PySide2.QtGui.QPageSize.PageSizeId',)],
+ "QPageSize.id": [(), ('PySide2.QtCore.QSize', 'PySide2.QtGui.QPageSize.SizeMatchPolicy'), ('PySide2.QtCore.QSizeF', 'PySide2.QtGui.QPageSize.Unit', 'PySide2.QtGui.QPageSize.SizeMatchPolicy'), ('int',)],
+ "QPageSize.isEquivalentTo": ('PySide2.QtGui.QPageSize',),
+ "QPageSize.isValid": (),
+ "QPageSize.key": [(), ('PySide2.QtGui.QPageSize.PageSizeId',)],
+ "QPageSize.name": [(), ('PySide2.QtGui.QPageSize.PageSizeId',)],
+ "QPageSize.rect": ('PySide2.QtGui.QPageSize.Unit',),
+ "QPageSize.rectPixels": ('int',),
+ "QPageSize.rectPoints": (),
+ "QPageSize.size": [('PySide2.QtGui.QPageSize.PageSizeId', 'PySide2.QtGui.QPageSize.Unit'), ('PySide2.QtGui.QPageSize.Unit',)],
+ "QPageSize.sizePixels": [('PySide2.QtGui.QPageSize.PageSizeId', 'int'), ('int',)],
+ "QPageSize.sizePoints": [(), ('PySide2.QtGui.QPageSize.PageSizeId',)],
+ "QPageSize.swap": ('PySide2.QtGui.QPageSize',),
+ "QPageSize.windowsId": [(), ('PySide2.QtGui.QPageSize.PageSizeId',)],
+
+ # class PySide2.QtGui.QPagedPaintDevice:
+ "QPagedPaintDevice.__init__": (),
+ "QPagedPaintDevice.devicePageLayout": (),
+ "QPagedPaintDevice.margins": (),
+ "QPagedPaintDevice.newPage": (),
+ "QPagedPaintDevice.pageLayout": (),
+ "QPagedPaintDevice.pageSize": (),
+ "QPagedPaintDevice.pageSizeMM": (),
+ "QPagedPaintDevice.setMargins": ('PySide2.QtGui.QPagedPaintDevice.Margins',),
+ "QPagedPaintDevice.setPageLayout": ('PySide2.QtGui.QPageLayout',),
+ "QPagedPaintDevice.setPageMargins": [('PySide2.QtCore.QMarginsF',), ('PySide2.QtCore.QMarginsF', 'PySide2.QtGui.QPageLayout.Unit')],
+ "QPagedPaintDevice.setPageOrientation": ('PySide2.QtGui.QPageLayout.Orientation',),
+ "QPagedPaintDevice.setPageSize": [('PySide2.QtGui.QPageSize',), ('PySide2.QtGui.QPagedPaintDevice.PageSize',)],
+ "QPagedPaintDevice.setPageSizeMM": ('PySide2.QtCore.QSizeF',),
+
+ # class PySide2.QtGui.QPaintDevice:
+ "QPaintDevice.__init__": (),
+ "QPaintDevice.colorCount": (),
+ "QPaintDevice.depth": (),
+ "QPaintDevice.devType": (),
+ "QPaintDevice.devicePixelRatio": (),
+ "QPaintDevice.devicePixelRatioF": (),
+ "QPaintDevice.devicePixelRatioFScale": (),
+ "QPaintDevice.height": (),
+ "QPaintDevice.heightMM": (),
+ "QPaintDevice.initPainter": ('PySide2.QtGui.QPainter',),
+ "QPaintDevice.logicalDpiX": (),
+ "QPaintDevice.logicalDpiY": (),
+ "QPaintDevice.metric": ('PySide2.QtGui.QPaintDevice.PaintDeviceMetric',),
+ "QPaintDevice.paintEngine": (),
+ "QPaintDevice.paintingActive": (),
+ "QPaintDevice.physicalDpiX": (),
+ "QPaintDevice.physicalDpiY": (),
+ "QPaintDevice.redirected": ('PySide2.QtCore.QPoint',),
+ "QPaintDevice.sharedPainter": (),
+ "QPaintDevice.width": (),
+ "QPaintDevice.widthMM": (),
+
+ # class PySide2.QtGui.QPaintDeviceWindow:
+ "QPaintDeviceWindow.event": ('PySide2.QtCore.QEvent',),
+ "QPaintDeviceWindow.exposeEvent": ('PySide2.QtGui.QExposeEvent',),
+ "QPaintDeviceWindow.metric": ('PySide2.QtGui.QPaintDevice.PaintDeviceMetric',),
+ "QPaintDeviceWindow.paintEngine": (),
+ "QPaintDeviceWindow.paintEvent": ('PySide2.QtGui.QPaintEvent',),
+ "QPaintDeviceWindow.update": [(), ('PySide2.QtCore.QRect',), ('PySide2.QtGui.QRegion',)],
+
+ # class PySide2.QtGui.QPaintEngine:
+ "QPaintEngine.__init__": ('PySide2.libpyside.PaintEngineFeatures',),
+ "QPaintEngine.begin": ('PySide2.QtGui.QPaintDevice',),
+ "QPaintEngine.clearDirty": ('PySide2.libpyside.DirtyFlags',),
+ "QPaintEngine.coordinateOffset": (),
+ "QPaintEngine.drawEllipse": [('PySide2.QtCore.QRect',), ('PySide2.QtCore.QRectF',)],
+ "QPaintEngine.drawImage": ('PySide2.QtCore.QRectF', 'PySide2.QtGui.QImage', 'PySide2.QtCore.QRectF', 'PySide2.libpyside.ImageConversionFlags'),
+ "QPaintEngine.drawLines": [('PySide2.QtCore.QLine', 'int'), ('PySide2.QtCore.QLineF', 'int')],
+ "QPaintEngine.drawPath": ('PySide2.QtGui.QPainterPath',),
+ "QPaintEngine.drawPixmap": ('PySide2.QtCore.QRectF', 'PySide2.QtGui.QPixmap', 'PySide2.QtCore.QRectF'),
+ "QPaintEngine.drawPoints": [('PySide2.QtCore.QPoint', 'int'), ('PySide2.QtCore.QPointF', 'int')],
+ "QPaintEngine.drawPolygon": [('PySide2.QtCore.QPoint', 'int', 'PySide2.QtGui.QPaintEngine.PolygonDrawMode'), ('PySide2.QtCore.QPointF', 'int', 'PySide2.QtGui.QPaintEngine.PolygonDrawMode')],
+ "QPaintEngine.drawRects": [('PySide2.QtCore.QRect', 'int'), ('PySide2.QtCore.QRectF', 'int')],
+ "QPaintEngine.drawTextItem": ('PySide2.QtCore.QPointF', 'PySide2.QtGui.QTextItem'),
+ "QPaintEngine.drawTiledPixmap": ('PySide2.QtCore.QRectF', 'PySide2.QtGui.QPixmap', 'PySide2.QtCore.QPointF'),
+ "QPaintEngine.end": (),
+ "QPaintEngine.hasFeature": ('PySide2.libpyside.PaintEngineFeatures',),
+ "QPaintEngine.isActive": (),
+ "QPaintEngine.isExtended": (),
+ "QPaintEngine.paintDevice": (),
+ "QPaintEngine.painter": (),
+ "QPaintEngine.setActive": ('bool',),
+ "QPaintEngine.setDirty": ('PySide2.libpyside.DirtyFlags',),
+ "QPaintEngine.setSystemClip": ('PySide2.QtGui.QRegion',),
+ "QPaintEngine.setSystemRect": ('PySide2.QtCore.QRect',),
+ "QPaintEngine.syncState": (),
+ "QPaintEngine.systemClip": (),
+ "QPaintEngine.systemRect": (),
+ "QPaintEngine.testDirty": ('PySide2.libpyside.DirtyFlags',),
+ "QPaintEngine.type": (),
+ "QPaintEngine.updateState": ('PySide2.QtGui.QPaintEngineState',),
+
+ # class PySide2.QtGui.QPaintEngineState:
+ "QPaintEngineState.__init__": (),
+ "QPaintEngineState.backgroundBrush": (),
+ "QPaintEngineState.backgroundMode": (),
+ "QPaintEngineState.brush": (),
+ "QPaintEngineState.brushNeedsResolving": (),
+ "QPaintEngineState.brushOrigin": (),
+ "QPaintEngineState.clipOperation": (),
+ "QPaintEngineState.clipPath": (),
+ "QPaintEngineState.clipRegion": (),
+ "QPaintEngineState.compositionMode": (),
+ "QPaintEngineState.font": (),
+ "QPaintEngineState.isClipEnabled": (),
+ "QPaintEngineState.matrix": (),
+ "QPaintEngineState.opacity": (),
+ "QPaintEngineState.painter": (),
+ "QPaintEngineState.pen": (),
+ "QPaintEngineState.penNeedsResolving": (),
+ "QPaintEngineState.renderHints": (),
+ "QPaintEngineState.state": (),
+ "QPaintEngineState.transform": (),
+
+ # class PySide2.QtGui.QPaintEvent:
+ "QPaintEvent.__init__": [('PySide2.QtCore.QRect',), ('PySide2.QtGui.QRegion',)],
+ "QPaintEvent.rect": (),
+ "QPaintEvent.region": (),
+
+ # class PySide2.QtGui.QPainter:
+ "QPainter.__init__": [(), ('PySide2.QtGui.QPaintDevice',)],
+ "QPainter.background": (),
+ "QPainter.backgroundMode": (),
+ "QPainter.begin": ('PySide2.QtGui.QPaintDevice',),
+ "QPainter.beginNativePainting": (),
+ "QPainter.boundingRect": [('PySide2.QtCore.QRect', 'int', 'str'), ('PySide2.QtCore.QRectF', 'int', 'str'), ('PySide2.QtCore.QRectF', 'str', 'PySide2.QtGui.QTextOption'), ('int', 'int', 'int', 'int', 'int', 'str')],
+ "QPainter.brush": (),
+ "QPainter.brushOrigin": (),
+ "QPainter.clipBoundingRect": (),
+ "QPainter.clipPath": (),
+ "QPainter.clipRegion": (),
+ "QPainter.combinedMatrix": (),
+ "QPainter.combinedTransform": (),
+ "QPainter.compositionMode": (),
+ "QPainter.device": (),
+ "QPainter.deviceMatrix": (),
+ "QPainter.deviceTransform": (),
+ "QPainter.drawArc": [('PySide2.QtCore.QRect', 'int', 'int'), ('PySide2.QtCore.QRectF', 'int', 'int'), ('int', 'int', 'int', 'int', 'int', 'int')],
+ "QPainter.drawChord": [('PySide2.QtCore.QRect', 'int', 'int'), ('PySide2.QtCore.QRectF', 'int', 'int'), ('int', 'int', 'int', 'int', 'int', 'int')],
+ "QPainter.drawConvexPolygon": [('PySide2.QtGui.QPolygon',), ('PySide2.QtGui.QPolygonF',), ('list',)],
+ "QPainter.drawEllipse": [('PySide2.QtCore.QPoint', 'int', 'int'), ('PySide2.QtCore.QPointF', 'float', 'float'), ('PySide2.QtCore.QRect',), ('PySide2.QtCore.QRectF',), ('int', 'int', 'int', 'int')],
+ "QPainter.drawImage": [('PySide2.QtCore.QPoint', 'PySide2.QtGui.QImage'), ('PySide2.QtCore.QPoint', 'PySide2.QtGui.QImage', 'PySide2.QtCore.QRect', 'PySide2.libpyside.ImageConversionFlags'), ('PySide2.QtCore.QPointF', 'PySide2.QtGui.QImage'), ('PySide2.QtCore.QPointF', 'PySide2.QtGui.QImage', 'PySide2.QtCore.QRectF', 'PySide2.libpyside.ImageConversionFlags'), ('PySide2.QtCore.QRect', 'PySide2.QtGui.QImage'), ('PySide2.QtCore.QRect', 'PySide2.QtGui.QImage', 'PySide2.QtCore.QRect', 'PySide2.libpyside.ImageConversionFlags'), ('PySide2.QtCore.QRectF', 'PySide2.QtGui.QImage'), ('PySide2.QtCore.QRectF', 'PySide2.QtGui.QImage', 'PySide2.QtCore.QRectF', 'PySide2.libpyside.ImageConversionFlags'), ('int', 'int', 'PySide2.QtGui.QImage', 'int', 'int', 'int', 'int', 'PySide2.libpyside.ImageConversionFlags')],
+ "QPainter.drawLine": [('PySide2.QtCore.QLine',), ('PySide2.QtCore.QLineF',), ('PySide2.QtCore.QPoint', 'PySide2.QtCore.QPoint'), ('PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF'), ('int', 'int', 'int', 'int')],
+ "QPainter.drawLines": ('list',),
+ "QPainter.drawPath": ('PySide2.QtGui.QPainterPath',),
+ "QPainter.drawPicture": [('PySide2.QtCore.QPoint', 'PySide2.QtGui.QPicture'), ('PySide2.QtCore.QPointF', 'PySide2.QtGui.QPicture'), ('int', 'int', 'PySide2.QtGui.QPicture')],
+ "QPainter.drawPie": [('PySide2.QtCore.QRect', 'int', 'int'), ('PySide2.QtCore.QRectF', 'int', 'int'), ('int', 'int', 'int', 'int', 'int', 'int')],
+ "QPainter.drawPixmap": [('PySide2.QtCore.QPoint', 'PySide2.QtGui.QPixmap'), ('PySide2.QtCore.QPoint', 'PySide2.QtGui.QPixmap', 'PySide2.QtCore.QRect'), ('PySide2.QtCore.QPointF', 'PySide2.QtGui.QPixmap'), ('PySide2.QtCore.QPointF', 'PySide2.QtGui.QPixmap', 'PySide2.QtCore.QRectF'), ('PySide2.QtCore.QRect', 'PySide2.QtGui.QPixmap'), ('PySide2.QtCore.QRect', 'PySide2.QtGui.QPixmap', 'PySide2.QtCore.QRect'), ('PySide2.QtCore.QRectF', 'PySide2.QtGui.QPixmap', 'PySide2.QtCore.QRectF'), ('int', 'int', 'PySide2.QtGui.QPixmap'), ('int', 'int', 'PySide2.QtGui.QPixmap', 'int', 'int', 'int', 'int'), ('int', 'int', 'int', 'int', 'PySide2.QtGui.QPixmap'), ('int', 'int', 'int', 'int', 'PySide2.QtGui.QPixmap', 'int', 'int', 'int', 'int')],
+ "QPainter.drawPixmapFragments": ('PySide2.QtGui.QPainter.PixmapFragment', 'int', 'PySide2.QtGui.QPixmap', 'PySide2.libpyside.PixmapFragmentHints'),
+ "QPainter.drawPoint": [('PySide2.QtCore.QPoint',), ('PySide2.QtCore.QPointF',), ('int', 'int')],
+ "QPainter.drawPoints": [('PySide2.QtGui.QPolygon',), ('PySide2.QtGui.QPolygonF',), ('list',)],
+ "QPainter.drawPolygon": [('PySide2.QtGui.QPolygon', 'PySide2.QtCore.Qt.FillRule'), ('PySide2.QtGui.QPolygonF', 'PySide2.QtCore.Qt.FillRule'), ('list', 'PySide2.QtCore.Qt.FillRule')],
+ "QPainter.drawPolyline": [('PySide2.QtGui.QPolygon',), ('PySide2.QtGui.QPolygonF',), ('list',)],
+ "QPainter.drawRect": [('PySide2.QtCore.QRect',), ('PySide2.QtCore.QRectF',), ('int', 'int', 'int', 'int')],
+ "QPainter.drawRects": ('list',),
+ "QPainter.drawRoundRect": [('PySide2.QtCore.QRect', 'int', 'int'), ('PySide2.QtCore.QRectF', 'int', 'int'), ('int', 'int', 'int', 'int', 'int', 'int')],
+ "QPainter.drawRoundedRect": [('PySide2.QtCore.QRect', 'float', 'float', 'PySide2.QtCore.Qt.SizeMode'), ('PySide2.QtCore.QRectF', 'float', 'float', 'PySide2.QtCore.Qt.SizeMode'), ('int', 'int', 'int', 'int', 'float', 'float', 'PySide2.QtCore.Qt.SizeMode')],
+ "QPainter.drawStaticText": [('PySide2.QtCore.QPoint', 'PySide2.QtGui.QStaticText'), ('PySide2.QtCore.QPointF', 'PySide2.QtGui.QStaticText'), ('int', 'int', 'PySide2.QtGui.QStaticText')],
+ "QPainter.drawText": [('PySide2.QtCore.QPoint', 'str'), ('PySide2.QtCore.QPointF', 'str'), ('PySide2.QtCore.QRect', 'int', 'str', 'PySide2.QtCore.QRect'), ('PySide2.QtCore.QRectF', 'int', 'str', 'PySide2.QtCore.QRectF'), ('PySide2.QtCore.QRectF', 'str', 'PySide2.QtGui.QTextOption'), ('int', 'int', 'int', 'int', 'int', 'str', 'PySide2.QtCore.QRect'), ('int', 'int', 'str')],
+ "QPainter.drawTextItem": [('PySide2.QtCore.QPoint', 'PySide2.QtGui.QTextItem'), ('PySide2.QtCore.QPointF', 'PySide2.QtGui.QTextItem'), ('int', 'int', 'PySide2.QtGui.QTextItem')],
+ "QPainter.drawTiledPixmap": [('PySide2.QtCore.QRect', 'PySide2.QtGui.QPixmap', 'PySide2.QtCore.QPoint'), ('PySide2.QtCore.QRectF', 'PySide2.QtGui.QPixmap', 'PySide2.QtCore.QPointF'), ('int', 'int', 'int', 'int', 'PySide2.QtGui.QPixmap', 'int', 'int')],
+ "QPainter.end": (),
+ "QPainter.endNativePainting": (),
+ "QPainter.eraseRect": [('PySide2.QtCore.QRect',), ('PySide2.QtCore.QRectF',), ('int', 'int', 'int', 'int')],
+ "QPainter.fillPath": ('PySide2.QtGui.QPainterPath', 'PySide2.QtGui.QBrush'),
+ "QPainter.fillRect": [('PySide2.QtCore.QRect', 'PySide2.QtCore.Qt.BrushStyle'), ('PySide2.QtCore.QRect', 'PySide2.QtCore.Qt.GlobalColor'), ('PySide2.QtCore.QRect', 'PySide2.QtGui.QBrush'), ('PySide2.QtCore.QRect', 'PySide2.QtGui.QColor'), ('PySide2.QtCore.QRectF', 'PySide2.QtCore.Qt.BrushStyle'), ('PySide2.QtCore.QRectF', 'PySide2.QtCore.Qt.GlobalColor'), ('PySide2.QtCore.QRectF', 'PySide2.QtGui.QBrush'), ('PySide2.QtCore.QRectF', 'PySide2.QtGui.QColor'), ('int', 'int', 'int', 'int', 'PySide2.QtCore.Qt.BrushStyle'), ('int', 'int', 'int', 'int', 'PySide2.QtCore.Qt.GlobalColor'), ('int', 'int', 'int', 'int', 'PySide2.QtGui.QBrush'), ('int', 'int', 'int', 'int', 'PySide2.QtGui.QColor')],
+ "QPainter.font": (),
+ "QPainter.fontInfo": (),
+ "QPainter.fontMetrics": (),
+ "QPainter.hasClipping": (),
+ "QPainter.initFrom": ('PySide2.QtGui.QPaintDevice',),
+ "QPainter.isActive": (),
+ "QPainter.layoutDirection": (),
+ "QPainter.matrix": (),
+ "QPainter.matrixEnabled": (),
+ "QPainter.opacity": (),
+ "QPainter.paintEngine": (),
+ "QPainter.pen": (),
+ "QPainter.redirected": ('PySide2.QtGui.QPaintDevice', 'PySide2.QtCore.QPoint'),
+ "QPainter.renderHints": (),
+ "QPainter.resetMatrix": (),
+ "QPainter.resetTransform": (),
+ "QPainter.restore": (),
+ "QPainter.restoreRedirected": ('PySide2.QtGui.QPaintDevice',),
+ "QPainter.rotate": ('float',),
+ "QPainter.save": (),
+ "QPainter.scale": ('float', 'float'),
+ "QPainter.setBackground": ('PySide2.QtGui.QBrush',),
+ "QPainter.setBackgroundMode": ('PySide2.QtCore.Qt.BGMode',),
+ "QPainter.setBrush": [('PySide2.QtCore.Qt.BrushStyle',), ('PySide2.QtGui.QBrush',)],
+ "QPainter.setBrushOrigin": [('PySide2.QtCore.QPoint',), ('PySide2.QtCore.QPointF',), ('int', 'int')],
+ "QPainter.setClipPath": ('PySide2.QtGui.QPainterPath', 'PySide2.QtCore.Qt.ClipOperation'),
+ "QPainter.setClipRect": [('PySide2.QtCore.QRect', 'PySide2.QtCore.Qt.ClipOperation'), ('PySide2.QtCore.QRectF', 'PySide2.QtCore.Qt.ClipOperation'), ('int', 'int', 'int', 'int', 'PySide2.QtCore.Qt.ClipOperation')],
+ "QPainter.setClipRegion": ('PySide2.QtGui.QRegion', 'PySide2.QtCore.Qt.ClipOperation'),
+ "QPainter.setClipping": ('bool',),
+ "QPainter.setCompositionMode": ('PySide2.QtGui.QPainter.CompositionMode',),
+ "QPainter.setFont": ('PySide2.QtGui.QFont',),
+ "QPainter.setLayoutDirection": ('PySide2.QtCore.Qt.LayoutDirection',),
+ "QPainter.setMatrix": ('PySide2.QtGui.QMatrix', 'bool'),
+ "QPainter.setMatrixEnabled": ('bool',),
+ "QPainter.setOpacity": ('float',),
+ "QPainter.setPen": [('PySide2.QtCore.Qt.PenStyle',), ('PySide2.QtGui.QColor',), ('PySide2.QtGui.QPen',)],
+ "QPainter.setRedirected": ('PySide2.QtGui.QPaintDevice', 'PySide2.QtGui.QPaintDevice', 'PySide2.QtCore.QPoint'),
+ "QPainter.setRenderHint": ('PySide2.QtGui.QPainter.RenderHint', 'bool'),
+ "QPainter.setRenderHints": ('PySide2.libpyside.RenderHints', 'bool'),
+ "QPainter.setTransform": ('PySide2.QtGui.QTransform', 'bool'),
+ "QPainter.setViewTransformEnabled": ('bool',),
+ "QPainter.setViewport": [('PySide2.QtCore.QRect',), ('int', 'int', 'int', 'int')],
+ "QPainter.setWindow": [('PySide2.QtCore.QRect',), ('int', 'int', 'int', 'int')],
+ "QPainter.setWorldMatrix": ('PySide2.QtGui.QMatrix', 'bool'),
+ "QPainter.setWorldMatrixEnabled": ('bool',),
+ "QPainter.setWorldTransform": ('PySide2.QtGui.QTransform', 'bool'),
+ "QPainter.shear": ('float', 'float'),
+ "QPainter.strokePath": ('PySide2.QtGui.QPainterPath', 'PySide2.QtGui.QPen'),
+ "QPainter.testRenderHint": ('PySide2.QtGui.QPainter.RenderHint',),
+ "QPainter.transform": (),
+ "QPainter.translate": [('PySide2.QtCore.QPoint',), ('PySide2.QtCore.QPointF',), ('float', 'float')],
+ "QPainter.viewTransformEnabled": (),
+ "QPainter.viewport": (),
+ "QPainter.window": (),
+ "QPainter.worldMatrix": (),
+ "QPainter.worldMatrixEnabled": (),
+ "QPainter.worldTransform": (),
+
+ # class PySide2.QtGui.QPainterPath:
+ "QPainterPath.__init__": [(), ('PySide2.QtCore.QPointF',), ('PySide2.QtGui.QPainterPath',)],
+ "QPainterPath.__copy__": (),
+ "QPainterPath.addEllipse": [('PySide2.QtCore.QPointF', 'float', 'float'), ('PySide2.QtCore.QRectF',), ('float', 'float', 'float', 'float')],
+ "QPainterPath.addPath": ('PySide2.QtGui.QPainterPath',),
+ "QPainterPath.addPolygon": ('PySide2.QtGui.QPolygonF',),
+ "QPainterPath.addRect": [('PySide2.QtCore.QRectF',), ('float', 'float', 'float', 'float')],
+ "QPainterPath.addRegion": ('PySide2.QtGui.QRegion',),
+ "QPainterPath.addRoundRect": [('PySide2.QtCore.QRectF', 'int'), ('PySide2.QtCore.QRectF', 'int', 'int'), ('float', 'float', 'float', 'float', 'int'), ('float', 'float', 'float', 'float', 'int', 'int')],
+ "QPainterPath.addRoundedRect": [('PySide2.QtCore.QRectF', 'float', 'float', 'PySide2.QtCore.Qt.SizeMode'), ('float', 'float', 'float', 'float', 'float', 'float', 'PySide2.QtCore.Qt.SizeMode')],
+ "QPainterPath.addText": [('PySide2.QtCore.QPointF', 'PySide2.QtGui.QFont', 'str'), ('float', 'float', 'PySide2.QtGui.QFont', 'str')],
+ "QPainterPath.angleAtPercent": ('float',),
+ "QPainterPath.arcMoveTo": [('PySide2.QtCore.QRectF', 'float'), ('float', 'float', 'float', 'float', 'float')],
+ "QPainterPath.arcTo": [('PySide2.QtCore.QRectF', 'float', 'float'), ('float', 'float', 'float', 'float', 'float', 'float')],
+ "QPainterPath.boundingRect": (),
+ "QPainterPath.closeSubpath": (),
+ "QPainterPath.connectPath": ('PySide2.QtGui.QPainterPath',),
+ "QPainterPath.contains": [('PySide2.QtCore.QPointF',), ('PySide2.QtCore.QRectF',), ('PySide2.QtGui.QPainterPath',)],
+ "QPainterPath.controlPointRect": (),
+ "QPainterPath.cubicTo": [('PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF'), ('float', 'float', 'float', 'float', 'float', 'float')],
+ "QPainterPath.currentPosition": (),
+ "QPainterPath.elementAt": ('int',),
+ "QPainterPath.elementCount": (),
+ "QPainterPath.fillRule": (),
+ "QPainterPath.intersected": ('PySide2.QtGui.QPainterPath',),
+ "QPainterPath.intersects": [('PySide2.QtCore.QRectF',), ('PySide2.QtGui.QPainterPath',)],
+ "QPainterPath.isEmpty": (),
+ "QPainterPath.length": (),
+ "QPainterPath.lineTo": [('PySide2.QtCore.QPointF',), ('float', 'float')],
+ "QPainterPath.moveTo": [('PySide2.QtCore.QPointF',), ('float', 'float')],
+ "QPainterPath.percentAtLength": ('float',),
+ "QPainterPath.pointAtPercent": ('float',),
+ "QPainterPath.quadTo": [('PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF'), ('float', 'float', 'float', 'float')],
+ "QPainterPath.setElementPositionAt": ('int', 'float', 'float'),
+ "QPainterPath.setFillRule": ('PySide2.QtCore.Qt.FillRule',),
+ "QPainterPath.simplified": (),
+ "QPainterPath.slopeAtPercent": ('float',),
+ "QPainterPath.subtracted": ('PySide2.QtGui.QPainterPath',),
+ "QPainterPath.subtractedInverted": ('PySide2.QtGui.QPainterPath',),
+ "QPainterPath.swap": ('PySide2.QtGui.QPainterPath',),
+ "QPainterPath.toFillPolygon": [('PySide2.QtGui.QMatrix',), ('PySide2.QtGui.QTransform',)],
+ "QPainterPath.toFillPolygons": [('PySide2.QtGui.QMatrix',), ('PySide2.QtGui.QTransform',)],
+ "QPainterPath.toReversed": (),
+ "QPainterPath.toSubpathPolygons": [('PySide2.QtGui.QMatrix',), ('PySide2.QtGui.QTransform',)],
+ "QPainterPath.translate": [('PySide2.QtCore.QPointF',), ('float', 'float')],
+ "QPainterPath.translated": [('PySide2.QtCore.QPointF',), ('float', 'float')],
+ "QPainterPath.united": ('PySide2.QtGui.QPainterPath',),
+
+ # class PySide2.QtGui.QPainterPathStroker:
+ "QPainterPathStroker.__init__": [(), ('PySide2.QtGui.QPen',)],
+ "QPainterPathStroker.capStyle": (),
+ "QPainterPathStroker.createStroke": ('PySide2.QtGui.QPainterPath',),
+ "QPainterPathStroker.curveThreshold": (),
+ "QPainterPathStroker.dashOffset": (),
+ "QPainterPathStroker.dashPattern": (),
+ "QPainterPathStroker.joinStyle": (),
+ "QPainterPathStroker.miterLimit": (),
+ "QPainterPathStroker.setCapStyle": ('PySide2.QtCore.Qt.PenCapStyle',),
+ "QPainterPathStroker.setCurveThreshold": ('float',),
+ "QPainterPathStroker.setDashOffset": ('float',),
+ "QPainterPathStroker.setDashPattern": [('PySide2.QtCore.Qt.PenStyle',), ('list',)],
+ "QPainterPathStroker.setJoinStyle": ('PySide2.QtCore.Qt.PenJoinStyle',),
+ "QPainterPathStroker.setMiterLimit": ('float',),
+ "QPainterPathStroker.setWidth": ('float',),
+ "QPainterPathStroker.width": (),
+
+ # class PySide2.QtGui.QPalette:
+ "QPalette.__init__": [(), ('PySide2.QtCore.Qt.GlobalColor',), ('PySide2.QtGui.QBrush', 'PySide2.QtGui.QBrush', 'PySide2.QtGui.QBrush', 'PySide2.QtGui.QBrush', 'PySide2.QtGui.QBrush', 'PySide2.QtGui.QBrush', 'PySide2.QtGui.QBrush', 'PySide2.QtGui.QBrush', 'PySide2.QtGui.QBrush'), ('PySide2.QtGui.QColor',), ('PySide2.QtGui.QColor', 'PySide2.QtGui.QColor'), ('PySide2.QtGui.QColor', 'PySide2.QtGui.QColor', 'PySide2.QtGui.QColor', 'PySide2.QtGui.QColor', 'PySide2.QtGui.QColor', 'PySide2.QtGui.QColor', 'PySide2.QtGui.QColor'), ('PySide2.QtGui.QPalette',)],
+ "QPalette.__copy__": (),
+ "QPalette.alternateBase": (),
+ "QPalette.background": (),
+ "QPalette.base": (),
+ "QPalette.brightText": (),
+ "QPalette.brush": [('PySide2.QtGui.QPalette.ColorGroup', 'PySide2.QtGui.QPalette.ColorRole'), ('PySide2.QtGui.QPalette.ColorRole',)],
+ "QPalette.button": (),
+ "QPalette.buttonText": (),
+ "QPalette.cacheKey": (),
+ "QPalette.color": [('PySide2.QtGui.QPalette.ColorGroup', 'PySide2.QtGui.QPalette.ColorRole'), ('PySide2.QtGui.QPalette.ColorRole',)],
+ "QPalette.currentColorGroup": (),
+ "QPalette.dark": (),
+ "QPalette.foreground": (),
+ "QPalette.highlight": (),
+ "QPalette.highlightedText": (),
+ "QPalette.isBrushSet": ('PySide2.QtGui.QPalette.ColorGroup', 'PySide2.QtGui.QPalette.ColorRole'),
+ "QPalette.isCopyOf": ('PySide2.QtGui.QPalette',),
+ "QPalette.isEqual": ('PySide2.QtGui.QPalette.ColorGroup', 'PySide2.QtGui.QPalette.ColorGroup'),
+ "QPalette.light": (),
+ "QPalette.link": (),
+ "QPalette.linkVisited": (),
+ "QPalette.mid": (),
+ "QPalette.midlight": (),
+ "QPalette.resolve": [(), ('PySide2.QtGui.QPalette',), ('int',)],
+ "QPalette.setBrush": [('PySide2.QtGui.QPalette.ColorGroup', 'PySide2.QtGui.QPalette.ColorRole', 'PySide2.QtGui.QBrush'), ('PySide2.QtGui.QPalette.ColorRole', 'PySide2.QtGui.QBrush')],
+ "QPalette.setColor": [('PySide2.QtGui.QPalette.ColorGroup', 'PySide2.QtGui.QPalette.ColorRole', 'PySide2.QtGui.QColor'), ('PySide2.QtGui.QPalette.ColorRole', 'PySide2.QtGui.QColor')],
+ "QPalette.setColorGroup": ('PySide2.QtGui.QPalette.ColorGroup', 'PySide2.QtGui.QBrush', 'PySide2.QtGui.QBrush', 'PySide2.QtGui.QBrush', 'PySide2.QtGui.QBrush', 'PySide2.QtGui.QBrush', 'PySide2.QtGui.QBrush', 'PySide2.QtGui.QBrush', 'PySide2.QtGui.QBrush', 'PySide2.QtGui.QBrush'),
+ "QPalette.setCurrentColorGroup": ('PySide2.QtGui.QPalette.ColorGroup',),
+ "QPalette.shadow": (),
+ "QPalette.swap": ('PySide2.QtGui.QPalette',),
+ "QPalette.text": (),
+ "QPalette.toolTipBase": (),
+ "QPalette.toolTipText": (),
+ "QPalette.window": (),
+ "QPalette.windowText": (),
+
+ # class PySide2.QtGui.QPdfWriter:
+ "QPdfWriter.__init__": [('PySide2.QtCore.QIODevice',), ('str',)],
+ "QPdfWriter.creator": (),
+ "QPdfWriter.metric": ('PySide2.QtGui.QPaintDevice.PaintDeviceMetric',),
+ "QPdfWriter.newPage": (),
+ "QPdfWriter.paintEngine": (),
+ "QPdfWriter.pdfVersion": (),
+ "QPdfWriter.resolution": (),
+ "QPdfWriter.setCreator": ('str',),
+ "QPdfWriter.setMargins": ('PySide2.QtGui.QPagedPaintDevice.Margins',),
+ "QPdfWriter.setPageSize": ('PySide2.QtGui.QPagedPaintDevice.PageSize',),
+ "QPdfWriter.setPageSizeMM": ('PySide2.QtCore.QSizeF',),
+ "QPdfWriter.setPdfVersion": ('PySide2.QtGui.QPagedPaintDevice.PdfVersion',),
+ "QPdfWriter.setResolution": ('int',),
+ "QPdfWriter.setTitle": ('str',),
+ "QPdfWriter.title": (),
+
+ # class PySide2.QtGui.QPen:
+ "QPen.__init__": [(), ('PySide2.QtCore.Qt.PenStyle',), ('PySide2.QtGui.QBrush', 'float', 'PySide2.QtCore.Qt.PenStyle', 'PySide2.QtCore.Qt.PenCapStyle', 'PySide2.QtCore.Qt.PenJoinStyle'), ('PySide2.QtGui.QColor',), ('PySide2.QtGui.QPen',)],
+ "QPen.__copy__": (),
+ "QPen.brush": (),
+ "QPen.capStyle": (),
+ "QPen.color": (),
+ "QPen.dashOffset": (),
+ "QPen.dashPattern": (),
+ "QPen.isCosmetic": (),
+ "QPen.isSolid": (),
+ "QPen.joinStyle": (),
+ "QPen.miterLimit": (),
+ "QPen.setBrush": ('PySide2.QtGui.QBrush',),
+ "QPen.setCapStyle": ('PySide2.QtCore.Qt.PenCapStyle',),
+ "QPen.setColor": ('PySide2.QtGui.QColor',),
+ "QPen.setCosmetic": ('bool',),
+ "QPen.setDashOffset": ('float',),
+ "QPen.setDashPattern": ('list',),
+ "QPen.setJoinStyle": ('PySide2.QtCore.Qt.PenJoinStyle',),
+ "QPen.setMiterLimit": ('float',),
+ "QPen.setStyle": ('PySide2.QtCore.Qt.PenStyle',),
+ "QPen.setWidth": ('int',),
+ "QPen.setWidthF": ('float',),
+ "QPen.style": (),
+ "QPen.swap": ('PySide2.QtGui.QPen',),
+ "QPen.width": (),
+ "QPen.widthF": (),
+
+ # class PySide2.QtGui.QPicture:
+ "QPicture.__init__": [('PySide2.QtGui.QPicture',), ('int',)],
+ "QPicture.__copy__": (),
+ "QPicture.boundingRect": (),
+ "QPicture.data": (),
+ "QPicture.devType": (),
+ "QPicture.inputFormatList": (),
+ "QPicture.inputFormats": (),
+ "QPicture.isNull": (),
+ "QPicture.load": [('PySide2.QtCore.QIODevice', 'str'), ('str', 'str')],
+ "QPicture.metric": ('PySide2.QtGui.QPaintDevice.PaintDeviceMetric',),
+ "QPicture.outputFormatList": (),
+ "QPicture.outputFormats": (),
+ "QPicture.paintEngine": (),
+ "QPicture.pictureFormat": ('str',),
+ "QPicture.play": ('PySide2.QtGui.QPainter',),
+ "QPicture.save": [('PySide2.QtCore.QIODevice', 'str'), ('str', 'str')],
+ "QPicture.setBoundingRect": ('PySide2.QtCore.QRect',),
+ "QPicture.setData": ('str', 'int'),
+ "QPicture.size": (),
+ "QPicture.swap": ('PySide2.QtGui.QPicture',),
+
+ # class PySide2.QtGui.QPictureIO:
+ "QPictureIO.__init__": [(), ('PySide2.QtCore.QIODevice', 'str'), ('str', 'str')],
+ "QPictureIO.description": (),
+ "QPictureIO.fileName": (),
+ "QPictureIO.format": (),
+ "QPictureIO.gamma": (),
+ "QPictureIO.inputFormats": (),
+ "QPictureIO.ioDevice": (),
+ "QPictureIO.outputFormats": (),
+ "QPictureIO.parameters": (),
+ "QPictureIO.picture": (),
+ "QPictureIO.pictureFormat": [('PySide2.QtCore.QIODevice',), ('str',)],
+ "QPictureIO.quality": (),
+ "QPictureIO.read": (),
+ "QPictureIO.setDescription": ('str',),
+ "QPictureIO.setFileName": ('str',),
+ "QPictureIO.setFormat": ('str',),
+ "QPictureIO.setGamma": ('float',),
+ "QPictureIO.setIODevice": ('PySide2.QtCore.QIODevice',),
+ "QPictureIO.setParameters": ('str',),
+ "QPictureIO.setPicture": ('PySide2.QtGui.QPicture',),
+ "QPictureIO.setQuality": ('int',),
+ "QPictureIO.setStatus": ('int',),
+ "QPictureIO.status": (),
+ "QPictureIO.write": (),
+
+ # class PySide2.QtGui.QPixelFormat:
+ "QPixelFormat.__init__": [(), ('PySide2.QtGui.QPixelFormat',), ('PySide2.QtGui.QPixelFormat.ColorModel', 'Union[str, int]', 'Union[str, int]', 'Union[str, int]', 'Union[str, int]', 'Union[str, int]', 'Union[str, int]', 'PySide2.QtGui.QPixelFormat.AlphaUsage', 'PySide2.QtGui.QPixelFormat.AlphaPosition', 'PySide2.QtGui.QPixelFormat.AlphaPremultiplied', 'PySide2.QtGui.QPixelFormat.TypeInterpretation', 'PySide2.QtGui.QPixelFormat.ByteOrder', 'Union[str, int]')],
+ "QPixelFormat.__copy__": (),
+ "QPixelFormat.alphaPosition": (),
+ "QPixelFormat.alphaSize": (),
+ "QPixelFormat.alphaUsage": (),
+ "QPixelFormat.bitsPerPixel": (),
+ "QPixelFormat.blackSize": (),
+ "QPixelFormat.blueSize": (),
+ "QPixelFormat.brightnessSize": (),
+ "QPixelFormat.byteOrder": (),
+ "QPixelFormat.channelCount": (),
+ "QPixelFormat.colorModel": (),
+ "QPixelFormat.cyanSize": (),
+ "QPixelFormat.greenSize": (),
+ "QPixelFormat.hueSize": (),
+ "QPixelFormat.lightnessSize": (),
+ "QPixelFormat.magentaSize": (),
+ "QPixelFormat.premultiplied": (),
+ "QPixelFormat.redSize": (),
+ "QPixelFormat.saturationSize": (),
+ "QPixelFormat.subEnum": (),
+ "QPixelFormat.typeInterpretation": (),
+ "QPixelFormat.yellowSize": (),
+ "QPixelFormat.yuvLayout": (),
+
+ # class PySide2.QtGui.QPixmap:
+ "QPixmap.__init__": [(), ('List[str]',), ('PySide2.QtCore.QSize',), ('PySide2.QtGui.QImage',), ('PySide2.QtGui.QPixmap',), ('int', 'int'), ('str', 'str', 'PySide2.libpyside.ImageConversionFlags')],
+ "QPixmap.__copy__": (),
+ "QPixmap.cacheKey": (),
+ "QPixmap.convertFromImage": ('PySide2.QtGui.QImage', 'PySide2.libpyside.ImageConversionFlags'),
+ "QPixmap.copy": [('PySide2.QtCore.QRect',), ('int', 'int', 'int', 'int')],
+ "QPixmap.createHeuristicMask": ('bool',),
+ "QPixmap.createMaskFromColor": ('PySide2.QtGui.QColor', 'PySide2.QtCore.Qt.MaskMode'),
+ "QPixmap.defaultDepth": (),
+ "QPixmap.depth": (),
+ "QPixmap.devType": (),
+ "QPixmap.devicePixelRatio": (),
+ "QPixmap.fill": [('PySide2.QtGui.QColor',), ('PySide2.QtGui.QPaintDevice', 'PySide2.QtCore.QPoint'), ('PySide2.QtGui.QPaintDevice', 'int', 'int')],
+ "QPixmap.fromImage": ('PySide2.QtGui.QImage', 'PySide2.libpyside.ImageConversionFlags'),
+ "QPixmap.fromImageInPlace": ('PySide2.QtGui.QImage', 'PySide2.libpyside.ImageConversionFlags'),
+ "QPixmap.fromImageReader": ('PySide2.QtGui.QImageReader', 'PySide2.libpyside.ImageConversionFlags'),
+ "QPixmap.grabWidget": [('PySide2.QtCore.QObject', 'PySide2.QtCore.QRect'), ('PySide2.QtCore.QObject', 'int', 'int', 'int', 'int')],
+ "QPixmap.grabWindow": ('int', 'int', 'int', 'int', 'int'),
+ "QPixmap.hasAlpha": (),
+ "QPixmap.hasAlphaChannel": (),
+ "QPixmap.height": (),
+ "QPixmap.isNull": (),
+ "QPixmap.isQBitmap": (),
+ "QPixmap.load": ('str', 'str', 'PySide2.libpyside.ImageConversionFlags'),
+ "QPixmap.loadFromData": [('PySide2.QtCore.QByteArray', 'str', 'PySide2.libpyside.ImageConversionFlags'), ('Union[str, int]', 'int', 'str', 'PySide2.libpyside.ImageConversionFlags')],
+ "QPixmap.mask": (),
+ "QPixmap.metric": ('PySide2.QtGui.QPaintDevice.PaintDeviceMetric',),
+ "QPixmap.paintEngine": (),
+ "QPixmap.rect": (),
+ "QPixmap.save": [('PySide2.QtCore.QIODevice', 'str', 'int'), ('str', 'str', 'int')],
+ "QPixmap.scaled": [('PySide2.QtCore.QSize', 'PySide2.QtCore.Qt.AspectRatioMode', 'PySide2.QtCore.Qt.TransformationMode'), ('int', 'int', 'PySide2.QtCore.Qt.AspectRatioMode', 'PySide2.QtCore.Qt.TransformationMode')],
+ "QPixmap.scaledToHeight": ('int', 'PySide2.QtCore.Qt.TransformationMode'),
+ "QPixmap.scaledToWidth": ('int', 'PySide2.QtCore.Qt.TransformationMode'),
+ "QPixmap.scroll": [('int', 'int', 'PySide2.QtCore.QRect', 'PySide2.QtGui.QRegion'), ('int', 'int', 'int', 'int', 'int', 'int', 'PySide2.QtGui.QRegion')],
+ "QPixmap.setDevicePixelRatio": ('float',),
+ "QPixmap.setMask": ('PySide2.QtGui.QBitmap',),
+ "QPixmap.size": (),
+ "QPixmap.swap": ('PySide2.QtGui.QPixmap',),
+ "QPixmap.toImage": (),
+ "QPixmap.transformed": [('PySide2.QtGui.QMatrix', 'PySide2.QtCore.Qt.TransformationMode'), ('PySide2.QtGui.QTransform', 'PySide2.QtCore.Qt.TransformationMode')],
+ "QPixmap.trueMatrix": [('PySide2.QtGui.QMatrix', 'int', 'int'), ('PySide2.QtGui.QTransform', 'int', 'int')],
+ "QPixmap.width": (),
+
+ # class PySide2.QtGui.QPixmapCache:
+ "QPixmapCache.__init__": (),
+ "QPixmapCache.cacheLimit": (),
+ "QPixmapCache.clear": (),
+ "QPixmapCache.find": [('PySide2.QtGui.QPixmapCache.Key',), ('PySide2.QtGui.QPixmapCache.Key', 'PySide2.QtGui.QPixmap'), ('str',), ('str', 'PySide2.QtGui.QPixmap')],
+ "QPixmapCache.insert": [('PySide2.QtGui.QPixmap',), ('str', 'PySide2.QtGui.QPixmap')],
+ "QPixmapCache.remove": [('PySide2.QtGui.QPixmapCache.Key',), ('str',)],
+ "QPixmapCache.replace": ('PySide2.QtGui.QPixmapCache.Key', 'PySide2.QtGui.QPixmap'),
+ "QPixmapCache.setCacheLimit": ('int',),
+
+ # class PySide2.QtGui.QPointingDeviceUniqueId:
+ "QPointingDeviceUniqueId.__init__": [(), ('PySide2.QtGui.QPointingDeviceUniqueId',)],
+ "QPointingDeviceUniqueId.__copy__": (),
+ "QPointingDeviceUniqueId.fromNumericId": ('int',),
+ "QPointingDeviceUniqueId.isValid": (),
+ "QPointingDeviceUniqueId.numericId": (),
+
+ # class PySide2.QtGui.QPolygon:
+ "QPolygon.__init__": [(), ('PySide2.QtCore.QRect', 'bool'), ('PySide2.QtGui.QPolygon',), ('int',), ('list',)],
+ "QPolygon.__copy__": (),
+ "QPolygon.__reduce__": (),
+ "QPolygon.append": [('PySide2.QtCore.QPoint',), ('list',)],
+ "QPolygon.at": ('int',),
+ "QPolygon.back": (),
+ "QPolygon.boundingRect": (),
+ "QPolygon.capacity": (),
+ "QPolygon.clear": (),
+ "QPolygon.constData": (),
+ "QPolygon.constFirst": (),
+ "QPolygon.constLast": (),
+ "QPolygon.contains": ('PySide2.QtCore.QPoint',),
+ "QPolygon.containsPoint": ('PySide2.QtCore.QPoint', 'PySide2.QtCore.Qt.FillRule'),
+ "QPolygon.count": [(), ('PySide2.QtCore.QPoint',)],
+ "QPolygon.data": (),
+ "QPolygon.empty": (),
+ "QPolygon.endsWith": ('PySide2.QtCore.QPoint',),
+ "QPolygon.fill": ('PySide2.QtCore.QPoint', 'int'),
+ "QPolygon.first": (),
+ "QPolygon.fromList": ('list',),
+ "QPolygon.front": (),
+ "QPolygon.indexOf": ('PySide2.QtCore.QPoint', 'int'),
+ "QPolygon.insert": [('int', 'PySide2.QtCore.QPoint'), ('int', 'int', 'PySide2.QtCore.QPoint')],
+ "QPolygon.intersected": ('PySide2.QtGui.QPolygon',),
+ "QPolygon.intersects": ('PySide2.QtGui.QPolygon',),
+ "QPolygon.isEmpty": (),
+ "QPolygon.isSharedWith": ('list',),
+ "QPolygon.last": (),
+ "QPolygon.lastIndexOf": ('PySide2.QtCore.QPoint', 'int'),
+ "QPolygon.length": (),
+ "QPolygon.mid": ('int', 'int'),
+ "QPolygon.move": ('int', 'int'),
+ "QPolygon.pop_back": (),
+ "QPolygon.pop_front": (),
+ "QPolygon.prepend": ('PySide2.QtCore.QPoint',),
+ "QPolygon.push_back": ('PySide2.QtCore.QPoint',),
+ "QPolygon.push_front": ('PySide2.QtCore.QPoint',),
+ "QPolygon.remove": [('int',), ('int', 'int')],
+ "QPolygon.removeAll": ('PySide2.QtCore.QPoint',),
+ "QPolygon.removeAt": ('int',),
+ "QPolygon.removeFirst": (),
+ "QPolygon.removeLast": (),
+ "QPolygon.removeOne": ('PySide2.QtCore.QPoint',),
+ "QPolygon.replace": ('int', 'PySide2.QtCore.QPoint'),
+ "QPolygon.reserve": ('int',),
+ "QPolygon.resize": ('int',),
+ "QPolygon.setSharable": ('bool',),
+ "QPolygon.shrink_to_fit": (),
+ "QPolygon.size": (),
+ "QPolygon.squeeze": (),
+ "QPolygon.startsWith": ('PySide2.QtCore.QPoint',),
+ "QPolygon.subtracted": ('PySide2.QtGui.QPolygon',),
+ "QPolygon.swap": ('PySide2.QtGui.QPolygon',),
+ "QPolygon.takeAt": ('int',),
+ "QPolygon.takeFirst": (),
+ "QPolygon.takeLast": (),
+ "QPolygon.toList": (),
+ "QPolygon.translate": [('PySide2.QtCore.QPoint',), ('int', 'int')],
+ "QPolygon.translated": [('PySide2.QtCore.QPoint',), ('int', 'int')],
+ "QPolygon.united": ('PySide2.QtGui.QPolygon',),
+ "QPolygon.value": [('int',), ('int', 'PySide2.QtCore.QPoint')],
+
+ # class PySide2.QtGui.QPolygonF:
+ "QPolygonF.__init__": [(), ('PySide2.QtCore.QRectF',), ('PySide2.QtGui.QPolygon',), ('PySide2.QtGui.QPolygonF',), ('int',), ('list',)],
+ "QPolygonF.__copy__": (),
+ "QPolygonF.append": [('PySide2.QtCore.QPointF',), ('list',)],
+ "QPolygonF.at": ('int',),
+ "QPolygonF.back": (),
+ "QPolygonF.boundingRect": (),
+ "QPolygonF.capacity": (),
+ "QPolygonF.clear": (),
+ "QPolygonF.constData": (),
+ "QPolygonF.constFirst": (),
+ "QPolygonF.constLast": (),
+ "QPolygonF.contains": ('PySide2.QtCore.QPointF',),
+ "QPolygonF.containsPoint": ('PySide2.QtCore.QPointF', 'PySide2.QtCore.Qt.FillRule'),
+ "QPolygonF.count": [(), ('PySide2.QtCore.QPointF',)],
+ "QPolygonF.data": (),
+ "QPolygonF.empty": (),
+ "QPolygonF.endsWith": ('PySide2.QtCore.QPointF',),
+ "QPolygonF.fill": ('PySide2.QtCore.QPointF', 'int'),
+ "QPolygonF.first": (),
+ "QPolygonF.fromList": ('list',),
+ "QPolygonF.front": (),
+ "QPolygonF.indexOf": ('PySide2.QtCore.QPointF', 'int'),
+ "QPolygonF.insert": [('int', 'PySide2.QtCore.QPointF'), ('int', 'int', 'PySide2.QtCore.QPointF')],
+ "QPolygonF.intersected": ('PySide2.QtGui.QPolygonF',),
+ "QPolygonF.intersects": ('PySide2.QtGui.QPolygonF',),
+ "QPolygonF.isClosed": (),
+ "QPolygonF.isEmpty": (),
+ "QPolygonF.isSharedWith": ('list',),
+ "QPolygonF.last": (),
+ "QPolygonF.lastIndexOf": ('PySide2.QtCore.QPointF', 'int'),
+ "QPolygonF.length": (),
+ "QPolygonF.mid": ('int', 'int'),
+ "QPolygonF.move": ('int', 'int'),
+ "QPolygonF.pop_back": (),
+ "QPolygonF.pop_front": (),
+ "QPolygonF.prepend": ('PySide2.QtCore.QPointF',),
+ "QPolygonF.push_back": ('PySide2.QtCore.QPointF',),
+ "QPolygonF.push_front": ('PySide2.QtCore.QPointF',),
+ "QPolygonF.remove": [('int',), ('int', 'int')],
+ "QPolygonF.removeAll": ('PySide2.QtCore.QPointF',),
+ "QPolygonF.removeAt": ('int',),
+ "QPolygonF.removeFirst": (),
+ "QPolygonF.removeLast": (),
+ "QPolygonF.removeOne": ('PySide2.QtCore.QPointF',),
+ "QPolygonF.replace": ('int', 'PySide2.QtCore.QPointF'),
+ "QPolygonF.reserve": ('int',),
+ "QPolygonF.resize": ('int',),
+ "QPolygonF.setSharable": ('bool',),
+ "QPolygonF.shrink_to_fit": (),
+ "QPolygonF.size": (),
+ "QPolygonF.squeeze": (),
+ "QPolygonF.startsWith": ('PySide2.QtCore.QPointF',),
+ "QPolygonF.subtracted": ('PySide2.QtGui.QPolygonF',),
+ "QPolygonF.swap": ('PySide2.QtGui.QPolygonF',),
+ "QPolygonF.takeAt": ('int',),
+ "QPolygonF.takeFirst": (),
+ "QPolygonF.takeLast": (),
+ "QPolygonF.toList": (),
+ "QPolygonF.toPolygon": (),
+ "QPolygonF.translate": [('PySide2.QtCore.QPointF',), ('float', 'float')],
+ "QPolygonF.translated": [('PySide2.QtCore.QPointF',), ('float', 'float')],
+ "QPolygonF.united": ('PySide2.QtGui.QPolygonF',),
+ "QPolygonF.value": [('int',), ('int', 'PySide2.QtCore.QPointF')],
+
+ # class PySide2.QtGui.QPyTextObject:
+ "QPyTextObject.__init__": ('PySide2.QtCore.QObject',),
+ "QPyTextObject.drawObject": ('PySide2.QtGui.QPainter', 'PySide2.QtCore.QRectF', 'PySide2.QtGui.QTextDocument', 'int', 'PySide2.QtGui.QTextFormat'),
+ "QPyTextObject.intrinsicSize": ('PySide2.QtGui.QTextDocument', 'int', 'PySide2.QtGui.QTextFormat'),
+
+ # class PySide2.QtGui.QQuaternion:
+ "QQuaternion.__init__": [(), ('PySide2.QtGui.QVector4D',), ('float', 'PySide2.QtGui.QVector3D'), ('float', 'float', 'float', 'float')],
+ "QQuaternion.__copy__": (),
+ "QQuaternion.__reduce__": (),
+ "QQuaternion.conjugate": (),
+ "QQuaternion.conjugated": (),
+ "QQuaternion.dotProduct": ('PySide2.QtGui.QQuaternion', 'PySide2.QtGui.QQuaternion'),
+ "QQuaternion.fromAxes": ('PySide2.QtGui.QVector3D', 'PySide2.QtGui.QVector3D', 'PySide2.QtGui.QVector3D'),
+ "QQuaternion.fromAxisAndAngle": [('PySide2.QtGui.QVector3D', 'float'), ('float', 'float', 'float', 'float')],
+ "QQuaternion.fromDirection": ('PySide2.QtGui.QVector3D', 'PySide2.QtGui.QVector3D'),
+ "QQuaternion.fromEulerAngles": [('PySide2.QtGui.QVector3D',), ('float', 'float', 'float')],
+ "QQuaternion.fromRotationMatrix": ('PySide2.QtGui.QMatrix3x3',),
+ "QQuaternion.getAxes": ('PySide2.QtGui.QVector3D', 'PySide2.QtGui.QVector3D', 'PySide2.QtGui.QVector3D'),
+ "QQuaternion.inverted": (),
+ "QQuaternion.isIdentity": (),
+ "QQuaternion.isNull": (),
+ "QQuaternion.length": (),
+ "QQuaternion.lengthSquared": (),
+ "QQuaternion.nlerp": ('PySide2.QtGui.QQuaternion', 'PySide2.QtGui.QQuaternion', 'float'),
+ "QQuaternion.normalize": (),
+ "QQuaternion.normalized": (),
+ "QQuaternion.rotatedVector": ('PySide2.QtGui.QVector3D',),
+ "QQuaternion.rotationTo": ('PySide2.QtGui.QVector3D', 'PySide2.QtGui.QVector3D'),
+ "QQuaternion.scalar": (),
+ "QQuaternion.setScalar": ('float',),
+ "QQuaternion.setVector": [('PySide2.QtGui.QVector3D',), ('float', 'float', 'float')],
+ "QQuaternion.setX": ('float',),
+ "QQuaternion.setY": ('float',),
+ "QQuaternion.setZ": ('float',),
+ "QQuaternion.slerp": ('PySide2.QtGui.QQuaternion', 'PySide2.QtGui.QQuaternion', 'float'),
+ "QQuaternion.toEulerAngles": (),
+ "QQuaternion.toRotationMatrix": (),
+ "QQuaternion.toVector4D": (),
+ "QQuaternion.vector": (),
+ "QQuaternion.x": (),
+ "QQuaternion.y": (),
+ "QQuaternion.z": (),
+
+ # class PySide2.QtGui.QRadialGradient:
+ "QRadialGradient.__init__": [(), ('PySide2.QtCore.QPointF', 'float'), ('PySide2.QtCore.QPointF', 'float', 'PySide2.QtCore.QPointF'), ('PySide2.QtCore.QPointF', 'float', 'PySide2.QtCore.QPointF', 'float'), ('PySide2.QtGui.QRadialGradient',), ('float', 'float', 'float'), ('float', 'float', 'float', 'float', 'float'), ('float', 'float', 'float', 'float', 'float', 'float')],
+ "QRadialGradient.__copy__": (),
+ "QRadialGradient.center": (),
+ "QRadialGradient.centerRadius": (),
+ "QRadialGradient.focalPoint": (),
+ "QRadialGradient.focalRadius": (),
+ "QRadialGradient.radius": (),
+ "QRadialGradient.setCenter": [('PySide2.QtCore.QPointF',), ('float', 'float')],
+ "QRadialGradient.setCenterRadius": ('float',),
+ "QRadialGradient.setFocalPoint": [('PySide2.QtCore.QPointF',), ('float', 'float')],
+ "QRadialGradient.setFocalRadius": ('float',),
+ "QRadialGradient.setRadius": ('float',),
+
+ # class PySide2.QtGui.QRasterWindow:
+ "QRasterWindow.__init__": ('PySide2.QtGui.QWindow',),
+ "QRasterWindow.metric": ('PySide2.QtGui.QPaintDevice.PaintDeviceMetric',),
+ "QRasterWindow.redirected": ('PySide2.QtCore.QPoint',),
+
+ # class PySide2.QtGui.QRawFont:
+ "QRawFont.__init__": [(), ('PySide2.QtCore.QByteArray', 'float', 'PySide2.QtGui.QFont.HintingPreference'), ('PySide2.QtGui.QRawFont',), ('str', 'float', 'PySide2.QtGui.QFont.HintingPreference')],
+ "QRawFont.__copy__": (),
+ "QRawFont.advancesForGlyphIndexes": [('list',), ('list', 'PySide2.libpyside.LayoutFlags')],
+ "QRawFont.alphaMapForGlyph": ('int', 'PySide2.QtGui.QRawFont.AntialiasingType', 'PySide2.QtGui.QTransform'),
+ "QRawFont.ascent": (),
+ "QRawFont.averageCharWidth": (),
+ "QRawFont.boundingRect": ('int',),
+ "QRawFont.capHeight": (),
+ "QRawFont.descent": (),
+ "QRawFont.familyName": (),
+ "QRawFont.fontTable": ('str',),
+ "QRawFont.fromFont": ('PySide2.QtGui.QFont', 'PySide2.QtGui.QFontDatabase.WritingSystem'),
+ "QRawFont.glyphIndexesForString": ('str',),
+ "QRawFont.hintingPreference": (),
+ "QRawFont.isValid": (),
+ "QRawFont.leading": (),
+ "QRawFont.lineThickness": (),
+ "QRawFont.loadFromData": ('PySide2.QtCore.QByteArray', 'float', 'PySide2.QtGui.QFont.HintingPreference'),
+ "QRawFont.loadFromFile": ('str', 'float', 'PySide2.QtGui.QFont.HintingPreference'),
+ "QRawFont.maxCharWidth": (),
+ "QRawFont.pathForGlyph": ('int',),
+ "QRawFont.pixelSize": (),
+ "QRawFont.setPixelSize": ('float',),
+ "QRawFont.style": (),
+ "QRawFont.styleName": (),
+ "QRawFont.supportedWritingSystems": (),
+ "QRawFont.supportsCharacter": [('Union[str, int]',), ('int',)],
+ "QRawFont.swap": ('PySide2.QtGui.QRawFont',),
+ "QRawFont.underlinePosition": (),
+ "QRawFont.unitsPerEm": (),
+ "QRawFont.weight": (),
+ "QRawFont.xHeight": (),
+
+ # class PySide2.QtGui.QRegExpValidator:
+ "QRegExpValidator.__init__": [('PySide2.QtCore.QObject',), ('PySide2.QtCore.QRegExp', 'PySide2.QtCore.QObject')],
+ "QRegExpValidator.regExp": (),
+ "QRegExpValidator.setRegExp": ('PySide2.QtCore.QRegExp',),
+ "QRegExpValidator.validate": ('str', 'int'),
+
+ # class PySide2.QtGui.QRegion:
+ "QRegion.__init__": [(), ('PySide2.QtCore.QRect', 'PySide2.QtGui.QRegion.RegionType'), ('PySide2.QtGui.QBitmap',), ('PySide2.QtGui.QPolygon', 'PySide2.QtCore.Qt.FillRule'), ('PySide2.QtGui.QRegion',), ('int', 'int', 'int', 'int', 'PySide2.QtGui.QRegion.RegionType')],
+ "QRegion.__copy__": (),
+ "QRegion.begin": (),
+ "QRegion.boundingRect": (),
+ "QRegion.cbegin": (),
+ "QRegion.cend": (),
+ "QRegion.contains": [('PySide2.QtCore.QPoint',), ('PySide2.QtCore.QRect',)],
+ "QRegion.end": (),
+ "QRegion.intersected": [('PySide2.QtCore.QRect',), ('PySide2.QtGui.QRegion',)],
+ "QRegion.intersects": [('PySide2.QtCore.QRect',), ('PySide2.QtGui.QRegion',)],
+ "QRegion.isEmpty": (),
+ "QRegion.isNull": (),
+ "QRegion.rectCount": (),
+ "QRegion.rects": (),
+ "QRegion.setRects": ('PySide2.QtCore.QRect', 'int'),
+ "QRegion.subtracted": ('PySide2.QtGui.QRegion',),
+ "QRegion.swap": ('PySide2.QtGui.QRegion',),
+ "QRegion.translate": [('PySide2.QtCore.QPoint',), ('int', 'int')],
+ "QRegion.translated": [('PySide2.QtCore.QPoint',), ('int', 'int')],
+ "QRegion.united": [('PySide2.QtCore.QRect',), ('PySide2.QtGui.QRegion',)],
+ "QRegion.xored": ('PySide2.QtGui.QRegion',),
+
+ # class PySide2.QtGui.QResizeEvent:
+ "QResizeEvent.__init__": ('PySide2.QtCore.QSize', 'PySide2.QtCore.QSize'),
+ "QResizeEvent.oldSize": (),
+ "QResizeEvent.size": (),
+
+ # class PySide2.QtGui.QScreen:
+ "QScreen.angleBetween": ('PySide2.QtCore.Qt.ScreenOrientation', 'PySide2.QtCore.Qt.ScreenOrientation'),
+ "QScreen.availableGeometry": (),
+ "QScreen.availableSize": (),
+ "QScreen.availableVirtualGeometry": (),
+ "QScreen.availableVirtualSize": (),
+ "QScreen.depth": (),
+ "QScreen.devicePixelRatio": (),
+ "QScreen.geometry": (),
+ "QScreen.grabWindow": ('int', 'int', 'int', 'int', 'int'),
+ "QScreen.isLandscape": ('PySide2.QtCore.Qt.ScreenOrientation',),
+ "QScreen.isPortrait": ('PySide2.QtCore.Qt.ScreenOrientation',),
+ "QScreen.logicalDotsPerInch": (),
+ "QScreen.logicalDotsPerInchX": (),
+ "QScreen.logicalDotsPerInchY": (),
+ "QScreen.manufacturer": (),
+ "QScreen.mapBetween": ('PySide2.QtCore.Qt.ScreenOrientation', 'PySide2.QtCore.Qt.ScreenOrientation', 'PySide2.QtCore.QRect'),
+ "QScreen.model": (),
+ "QScreen.name": (),
+ "QScreen.nativeOrientation": (),
+ "QScreen.orientation": (),
+ "QScreen.orientationUpdateMask": (),
+ "QScreen.physicalDotsPerInch": (),
+ "QScreen.physicalDotsPerInchX": (),
+ "QScreen.physicalDotsPerInchY": (),
+ "QScreen.physicalSize": (),
+ "QScreen.primaryOrientation": (),
+ "QScreen.refreshRate": (),
+ "QScreen.serialNumber": (),
+ "QScreen.setOrientationUpdateMask": ('PySide2.libpyside.ScreenOrientations',),
+ "QScreen.size": (),
+ "QScreen.transformBetween": ('PySide2.QtCore.Qt.ScreenOrientation', 'PySide2.QtCore.Qt.ScreenOrientation', 'PySide2.QtCore.QRect'),
+ "QScreen.virtualGeometry": (),
+ "QScreen.virtualSiblings": (),
+ "QScreen.virtualSize": (),
+
+ # class PySide2.QtGui.QScrollEvent:
+ "QScrollEvent.__init__": ('PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'PySide2.QtGui.QScrollEvent.ScrollState'),
+ "QScrollEvent.contentPos": (),
+ "QScrollEvent.overshootDistance": (),
+ "QScrollEvent.scrollState": (),
+
+ # class PySide2.QtGui.QScrollPrepareEvent:
+ "QScrollPrepareEvent.__init__": ('PySide2.QtCore.QPointF',),
+ "QScrollPrepareEvent.contentPos": (),
+ "QScrollPrepareEvent.contentPosRange": (),
+ "QScrollPrepareEvent.setContentPos": ('PySide2.QtCore.QPointF',),
+ "QScrollPrepareEvent.setContentPosRange": ('PySide2.QtCore.QRectF',),
+ "QScrollPrepareEvent.setViewportSize": ('PySide2.QtCore.QSizeF',),
+ "QScrollPrepareEvent.startPos": (),
+ "QScrollPrepareEvent.viewportSize": (),
+
+ # class PySide2.QtGui.QSessionManager:
+ "QSessionManager.allowsErrorInteraction": (),
+ "QSessionManager.allowsInteraction": (),
+ "QSessionManager.cancel": (),
+ "QSessionManager.discardCommand": (),
+ "QSessionManager.isPhase2": (),
+ "QSessionManager.release": (),
+ "QSessionManager.requestPhase2": (),
+ "QSessionManager.restartCommand": (),
+ "QSessionManager.restartHint": (),
+ "QSessionManager.sessionId": (),
+ "QSessionManager.sessionKey": (),
+ "QSessionManager.setDiscardCommand": ('List[str]',),
+ "QSessionManager.setManagerProperty": [('str', 'List[str]'), ('str', 'str')],
+ "QSessionManager.setRestartCommand": ('List[str]',),
+ "QSessionManager.setRestartHint": ('PySide2.QtGui.QSessionManager.RestartHint',),
+
+ # class PySide2.QtGui.QShortcutEvent:
+ "QShortcutEvent.__init__": ('PySide2.QtGui.QKeySequence', 'int', 'bool'),
+ "QShortcutEvent.isAmbiguous": (),
+ "QShortcutEvent.key": (),
+ "QShortcutEvent.shortcutId": (),
+
+ # class PySide2.QtGui.QShowEvent:
+ "QShowEvent.__init__": (),
+
+ # class PySide2.QtGui.QStandardItem:
+ "QStandardItem.__init__": [(), ('PySide2.QtGui.QIcon', 'str'), ('PySide2.QtGui.QStandardItem',), ('int', 'int'), ('str',)],
+ "QStandardItem.accessibleDescription": (),
+ "QStandardItem.accessibleText": (),
+ "QStandardItem.appendColumn": ('list',),
+ "QStandardItem.appendRow": [('PySide2.QtGui.QStandardItem',), ('list',)],
+ "QStandardItem.appendRows": ('list',),
+ "QStandardItem.background": (),
+ "QStandardItem.checkState": (),
+ "QStandardItem.child": ('int', 'int'),
+ "QStandardItem.clone": (),
+ "QStandardItem.column": (),
+ "QStandardItem.columnCount": (),
+ "QStandardItem.data": ('int',),
+ "QStandardItem.emitDataChanged": (),
+ "QStandardItem.flags": (),
+ "QStandardItem.font": (),
+ "QStandardItem.foreground": (),
+ "QStandardItem.hasChildren": (),
+ "QStandardItem.icon": (),
+ "QStandardItem.index": (),
+ "QStandardItem.insertColumn": ('int', 'list'),
+ "QStandardItem.insertColumns": ('int', 'int'),
+ "QStandardItem.insertRow": [('int', 'PySide2.QtGui.QStandardItem'), ('int', 'list')],
+ "QStandardItem.insertRows": [('int', 'int'), ('int', 'list')],
+ "QStandardItem.isAutoTristate": (),
+ "QStandardItem.isCheckable": (),
+ "QStandardItem.isDragEnabled": (),
+ "QStandardItem.isDropEnabled": (),
+ "QStandardItem.isEditable": (),
+ "QStandardItem.isEnabled": (),
+ "QStandardItem.isSelectable": (),
+ "QStandardItem.isTristate": (),
+ "QStandardItem.isUserTristate": (),
+ "QStandardItem.model": (),
+ "QStandardItem.parent": (),
+ "QStandardItem.read": ('PySide2.QtCore.QDataStream',),
+ "QStandardItem.removeColumn": ('int',),
+ "QStandardItem.removeColumns": ('int', 'int'),
+ "QStandardItem.removeRow": ('int',),
+ "QStandardItem.removeRows": ('int', 'int'),
+ "QStandardItem.row": (),
+ "QStandardItem.rowCount": (),
+ "QStandardItem.setAccessibleDescription": ('str',),
+ "QStandardItem.setAccessibleText": ('str',),
+ "QStandardItem.setAutoTristate": ('bool',),
+ "QStandardItem.setBackground": ('PySide2.QtGui.QBrush',),
+ "QStandardItem.setCheckState": ('PySide2.QtCore.Qt.CheckState',),
+ "QStandardItem.setCheckable": ('bool',),
+ "QStandardItem.setChild": [('int', 'PySide2.QtGui.QStandardItem'), ('int', 'int', 'PySide2.QtGui.QStandardItem')],
+ "QStandardItem.setColumnCount": ('int',),
+ "QStandardItem.setData": ('Any', 'int'),
+ "QStandardItem.setDragEnabled": ('bool',),
+ "QStandardItem.setDropEnabled": ('bool',),
+ "QStandardItem.setEditable": ('bool',),
+ "QStandardItem.setEnabled": ('bool',),
+ "QStandardItem.setFlags": ('PySide2.libpyside.ItemFlags',),
+ "QStandardItem.setFont": ('PySide2.QtGui.QFont',),
+ "QStandardItem.setForeground": ('PySide2.QtGui.QBrush',),
+ "QStandardItem.setIcon": ('PySide2.QtGui.QIcon',),
+ "QStandardItem.setRowCount": ('int',),
+ "QStandardItem.setSelectable": ('bool',),
+ "QStandardItem.setSizeHint": ('PySide2.QtCore.QSize',),
+ "QStandardItem.setStatusTip": ('str',),
+ "QStandardItem.setText": ('str',),
+ "QStandardItem.setTextAlignment": ('PySide2.libpyside.Alignment',),
+ "QStandardItem.setToolTip": ('str',),
+ "QStandardItem.setTristate": ('bool',),
+ "QStandardItem.setUserTristate": ('bool',),
+ "QStandardItem.setWhatsThis": ('str',),
+ "QStandardItem.sizeHint": (),
+ "QStandardItem.sortChildren": ('int', 'PySide2.QtCore.Qt.SortOrder'),
+ "QStandardItem.statusTip": (),
+ "QStandardItem.takeChild": ('int', 'int'),
+ "QStandardItem.takeColumn": ('int',),
+ "QStandardItem.takeRow": ('int',),
+ "QStandardItem.text": (),
+ "QStandardItem.textAlignment": (),
+ "QStandardItem.toolTip": (),
+ "QStandardItem.type": (),
+ "QStandardItem.whatsThis": (),
+ "QStandardItem.write": ('PySide2.QtCore.QDataStream',),
+
+ # class PySide2.QtGui.QStandardItemModel:
+ "QStandardItemModel.__init__": [('PySide2.QtCore.QObject',), ('int', 'int', 'PySide2.QtCore.QObject')],
+ "QStandardItemModel.appendColumn": ('list',),
+ "QStandardItemModel.appendRow": [('PySide2.QtGui.QStandardItem',), ('list',)],
+ "QStandardItemModel.clear": (),
+ "QStandardItemModel.columnCount": ('PySide2.QtCore.QModelIndex',),
+ "QStandardItemModel.data": ('PySide2.QtCore.QModelIndex', 'int'),
+ "QStandardItemModel.dropMimeData": ('PySide2.QtCore.QMimeData', 'PySide2.QtCore.Qt.DropAction', 'int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QStandardItemModel.findItems": ('str', 'PySide2.libpyside.MatchFlags', 'int'),
+ "QStandardItemModel.flags": ('PySide2.QtCore.QModelIndex',),
+ "QStandardItemModel.hasChildren": ('PySide2.QtCore.QModelIndex',),
+ "QStandardItemModel.headerData": ('int', 'PySide2.QtCore.Qt.Orientation', 'int'),
+ "QStandardItemModel.horizontalHeaderItem": ('int',),
+ "QStandardItemModel.index": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QStandardItemModel.indexFromItem": ('PySide2.QtGui.QStandardItem',),
+ "QStandardItemModel.insertColumn": [('int', 'PySide2.QtCore.QModelIndex'), ('int', 'list')],
+ "QStandardItemModel.insertColumns": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QStandardItemModel.insertRow": [('int', 'PySide2.QtCore.QModelIndex'), ('int', 'PySide2.QtGui.QStandardItem'), ('int', 'list')],
+ "QStandardItemModel.insertRows": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QStandardItemModel.invisibleRootItem": (),
+ "QStandardItemModel.item": ('int', 'int'),
+ "QStandardItemModel.itemData": ('PySide2.QtCore.QModelIndex',),
+ "QStandardItemModel.itemFromIndex": ('PySide2.QtCore.QModelIndex',),
+ "QStandardItemModel.itemPrototype": (),
+ "QStandardItemModel.mimeData": ('List[int]',),
+ "QStandardItemModel.mimeTypes": (),
+ "QStandardItemModel.parent": [(), ('PySide2.QtCore.QModelIndex',)],
+ "QStandardItemModel.removeColumns": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QStandardItemModel.removeRows": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QStandardItemModel.rowCount": ('PySide2.QtCore.QModelIndex',),
+ "QStandardItemModel.setColumnCount": ('int',),
+ "QStandardItemModel.setData": ('PySide2.QtCore.QModelIndex', 'Any', 'int'),
+ "QStandardItemModel.setHeaderData": ('int', 'PySide2.QtCore.Qt.Orientation', 'Any', 'int'),
+ "QStandardItemModel.setHorizontalHeaderItem": ('int', 'PySide2.QtGui.QStandardItem'),
+ "QStandardItemModel.setHorizontalHeaderLabels": ('List[str]',),
+ "QStandardItemModel.setItem": [('int', 'PySide2.QtGui.QStandardItem'), ('int', 'int', 'PySide2.QtGui.QStandardItem')],
+ "QStandardItemModel.setItemData": ('PySide2.QtCore.QModelIndex', 'dict'),
+ "QStandardItemModel.setItemPrototype": ('PySide2.QtGui.QStandardItem',),
+ "QStandardItemModel.setItemRoleNames": ('dict',),
+ "QStandardItemModel.setRowCount": ('int',),
+ "QStandardItemModel.setSortRole": ('int',),
+ "QStandardItemModel.setVerticalHeaderItem": ('int', 'PySide2.QtGui.QStandardItem'),
+ "QStandardItemModel.setVerticalHeaderLabels": ('List[str]',),
+ "QStandardItemModel.sibling": ('int', 'int', 'PySide2.QtCore.QModelIndex'),
+ "QStandardItemModel.sort": ('int', 'PySide2.QtCore.Qt.SortOrder'),
+ "QStandardItemModel.sortRole": (),
+ "QStandardItemModel.supportedDropActions": (),
+ "QStandardItemModel.takeColumn": ('int',),
+ "QStandardItemModel.takeHorizontalHeaderItem": ('int',),
+ "QStandardItemModel.takeItem": ('int', 'int'),
+ "QStandardItemModel.takeRow": ('int',),
+ "QStandardItemModel.takeVerticalHeaderItem": ('int',),
+ "QStandardItemModel.verticalHeaderItem": ('int',),
+
+ # class PySide2.QtGui.QStaticText:
+ "QStaticText.__init__": [(), ('PySide2.QtGui.QStaticText',), ('str',)],
+ "QStaticText.__copy__": (),
+ "QStaticText.performanceHint": (),
+ "QStaticText.prepare": ('PySide2.QtGui.QTransform', 'PySide2.QtGui.QFont'),
+ "QStaticText.setPerformanceHint": ('PySide2.QtGui.QStaticText.PerformanceHint',),
+ "QStaticText.setText": ('str',),
+ "QStaticText.setTextFormat": ('PySide2.QtCore.Qt.TextFormat',),
+ "QStaticText.setTextOption": ('PySide2.QtGui.QTextOption',),
+ "QStaticText.setTextWidth": ('float',),
+ "QStaticText.size": (),
+ "QStaticText.swap": ('PySide2.QtGui.QStaticText',),
+ "QStaticText.text": (),
+ "QStaticText.textFormat": (),
+ "QStaticText.textOption": (),
+ "QStaticText.textWidth": (),
+
+ # class PySide2.QtGui.QStatusTipEvent:
+ "QStatusTipEvent.__init__": ('str',),
+ "QStatusTipEvent.tip": (),
+
+ # class PySide2.QtGui.QStyleHints:
+ "QStyleHints.cursorFlashTime": (),
+ "QStyleHints.fontSmoothingGamma": (),
+ "QStyleHints.keyboardAutoRepeatRate": (),
+ "QStyleHints.keyboardInputInterval": (),
+ "QStyleHints.mouseDoubleClickInterval": (),
+ "QStyleHints.mousePressAndHoldInterval": (),
+ "QStyleHints.mouseQuickSelectionThreshold": (),
+ "QStyleHints.passwordMaskCharacter": (),
+ "QStyleHints.passwordMaskDelay": (),
+ "QStyleHints.setCursorFlashTime": ('int',),
+ "QStyleHints.setFocusOnTouchRelease": (),
+ "QStyleHints.setKeyboardInputInterval": ('int',),
+ "QStyleHints.setMouseDoubleClickInterval": ('int',),
+ "QStyleHints.setMousePressAndHoldInterval": ('int',),
+ "QStyleHints.setMouseQuickSelectionThreshold": ('int',),
+ "QStyleHints.setStartDragDistance": ('int',),
+ "QStyleHints.setStartDragTime": ('int',),
+ "QStyleHints.setTabFocusBehavior": ('PySide2.QtCore.Qt.TabFocusBehavior',),
+ "QStyleHints.setUseHoverEffects": ('bool',),
+ "QStyleHints.setWheelScrollLines": ('int',),
+ "QStyleHints.showIsFullScreen": (),
+ "QStyleHints.showIsMaximized": (),
+ "QStyleHints.showShortcutsInContextMenus": (),
+ "QStyleHints.singleClickActivation": (),
+ "QStyleHints.startDragDistance": (),
+ "QStyleHints.startDragTime": (),
+ "QStyleHints.startDragVelocity": (),
+ "QStyleHints.tabFocusBehavior": (),
+ "QStyleHints.useHoverEffects": (),
+ "QStyleHints.useRtlExtensions": (),
+ "QStyleHints.wheelScrollLines": (),
+
+ # class PySide2.QtGui.QSurface:
+ "QSurface.__init__": ('PySide2.QtGui.QSurface.SurfaceClass',),
+ "QSurface.format": (),
+ "QSurface.size": (),
+ "QSurface.supportsOpenGL": (),
+ "QSurface.surfaceClass": (),
+ "QSurface.surfaceHandle": (),
+ "QSurface.surfaceType": (),
+
+ # class PySide2.QtGui.QSurfaceFormat:
+ "QSurfaceFormat.__init__": [(), ('PySide2.QtGui.QSurfaceFormat',), ('PySide2.libpyside.FormatOptions',)],
+ "QSurfaceFormat.__copy__": (),
+ "QSurfaceFormat.alphaBufferSize": (),
+ "QSurfaceFormat.blueBufferSize": (),
+ "QSurfaceFormat.colorSpace": (),
+ "QSurfaceFormat.defaultFormat": (),
+ "QSurfaceFormat.depthBufferSize": (),
+ "QSurfaceFormat.greenBufferSize": (),
+ "QSurfaceFormat.hasAlpha": (),
+ "QSurfaceFormat.majorVersion": (),
+ "QSurfaceFormat.minorVersion": (),
+ "QSurfaceFormat.options": (),
+ "QSurfaceFormat.profile": (),
+ "QSurfaceFormat.redBufferSize": (),
+ "QSurfaceFormat.renderableType": (),
+ "QSurfaceFormat.samples": (),
+ "QSurfaceFormat.setAlphaBufferSize": ('int',),
+ "QSurfaceFormat.setBlueBufferSize": ('int',),
+ "QSurfaceFormat.setColorSpace": ('PySide2.QtGui.QSurfaceFormat.ColorSpace',),
+ "QSurfaceFormat.setDefaultFormat": ('PySide2.QtGui.QSurfaceFormat',),
+ "QSurfaceFormat.setDepthBufferSize": ('int',),
+ "QSurfaceFormat.setGreenBufferSize": ('int',),
+ "QSurfaceFormat.setMajorVersion": ('int',),
+ "QSurfaceFormat.setMinorVersion": ('int',),
+ "QSurfaceFormat.setOption": [('PySide2.QtGui.QSurfaceFormat.FormatOption', 'bool'), ('PySide2.libpyside.FormatOptions',)],
+ "QSurfaceFormat.setOptions": ('PySide2.libpyside.FormatOptions',),
+ "QSurfaceFormat.setProfile": ('PySide2.QtGui.QSurfaceFormat.OpenGLContextProfile',),
+ "QSurfaceFormat.setRedBufferSize": ('int',),
+ "QSurfaceFormat.setRenderableType": ('PySide2.QtGui.QSurfaceFormat.RenderableType',),
+ "QSurfaceFormat.setSamples": ('int',),
+ "QSurfaceFormat.setStencilBufferSize": ('int',),
+ "QSurfaceFormat.setStereo": ('bool',),
+ "QSurfaceFormat.setSwapBehavior": ('PySide2.QtGui.QSurfaceFormat.SwapBehavior',),
+ "QSurfaceFormat.setSwapInterval": ('int',),
+ "QSurfaceFormat.setVersion": ('int', 'int'),
+ "QSurfaceFormat.stencilBufferSize": (),
+ "QSurfaceFormat.stereo": (),
+ "QSurfaceFormat.swapBehavior": (),
+ "QSurfaceFormat.swapInterval": (),
+ "QSurfaceFormat.testOption": [('PySide2.QtGui.QSurfaceFormat.FormatOption',), ('PySide2.libpyside.FormatOptions',)],
+ "QSurfaceFormat.version": (),
+
+ # class PySide2.QtGui.QSyntaxHighlighter:
+ "QSyntaxHighlighter.__init__": [('PySide2.QtCore.QObject',), ('PySide2.QtGui.QTextDocument',)],
+ "QSyntaxHighlighter.currentBlock": (),
+ "QSyntaxHighlighter.currentBlockState": (),
+ "QSyntaxHighlighter.currentBlockUserData": (),
+ "QSyntaxHighlighter.document": (),
+ "QSyntaxHighlighter.format": ('int',),
+ "QSyntaxHighlighter.highlightBlock": ('str',),
+ "QSyntaxHighlighter.previousBlockState": (),
+ "QSyntaxHighlighter.rehighlight": (),
+ "QSyntaxHighlighter.rehighlightBlock": ('PySide2.QtGui.QTextBlock',),
+ "QSyntaxHighlighter.setCurrentBlockState": ('int',),
+ "QSyntaxHighlighter.setCurrentBlockUserData": ('PySide2.QtGui.QTextBlockUserData',),
+ "QSyntaxHighlighter.setDocument": ('PySide2.QtGui.QTextDocument',),
+ "QSyntaxHighlighter.setFormat": [('int', 'int', 'PySide2.QtGui.QColor'), ('int', 'int', 'PySide2.QtGui.QFont'), ('int', 'int', 'PySide2.QtGui.QTextCharFormat')],
+
+ # class PySide2.QtGui.QTabletEvent:
+ "QTabletEvent.__init__": [('PySide2.QtCore.QEvent.Type', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'int', 'int', 'float', 'int', 'int', 'float', 'float', 'int', 'PySide2.libpyside.KeyboardModifiers', 'int'), ('PySide2.QtCore.QEvent.Type', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'int', 'int', 'float', 'int', 'int', 'float', 'float', 'int', 'PySide2.libpyside.KeyboardModifiers', 'int', 'PySide2.QtCore.Qt.MouseButton', 'PySide2.libpyside.MouseButtons')],
+ "QTabletEvent.button": (),
+ "QTabletEvent.buttons": (),
+ "QTabletEvent.device": (),
+ "QTabletEvent.globalPos": (),
+ "QTabletEvent.globalPosF": (),
+ "QTabletEvent.globalX": (),
+ "QTabletEvent.global""Y": (),
+ "QTabletEvent.hiResGlobalX": (),
+ "QTabletEvent.hiResGlobal""Y": (),
+ "QTabletEvent.pointerType": (),
+ "QTabletEvent.pos": (),
+ "QTabletEvent.posF": (),
+ "QTabletEvent.pressure": (),
+ "QTabletEvent.rotation": (),
+ "QTabletEvent.tangentialPressure": (),
+ "QTabletEvent.uniqueId": (),
+ "QTabletEvent.x": (),
+ "QTabletEvent.xTilt": (),
+ "QTabletEvent.y": (),
+ "QTabletEvent.yTilt": (),
+ "QTabletEvent.z": (),
+
+ # class PySide2.QtGui.QTextBlock:
+ "QTextBlock.__init__": [(), ('PySide2.QtGui.QTextBlock',)],
+ "QTextBlock.__copy__": (),
+ "QTextBlock.begin": (),
+ "QTextBlock.blockFormat": (),
+ "QTextBlock.blockFormatIndex": (),
+ "QTextBlock.blockNumber": (),
+ "QTextBlock.charFormat": (),
+ "QTextBlock.charFormatIndex": (),
+ "QTextBlock.clearLayout": (),
+ "QTextBlock.contains": ('int',),
+ "QTextBlock.document": (),
+ "QTextBlock.end": (),
+ "QTextBlock.firstLineNumber": (),
+ "QTextBlock.fragmentIndex": (),
+ "QTextBlock.isValid": (),
+ "QTextBlock.isVisible": (),
+ "QTextBlock.layout": (),
+ "QTextBlock.length": (),
+ "QTextBlock.lineCount": (),
+ "QTextBlock.position": (),
+ "QTextBlock.previous": (),
+ "QTextBlock.revision": (),
+ "QTextBlock.setLineCount": ('int',),
+ "QTextBlock.setRevision": ('int',),
+ "QTextBlock.setUserData": ('PySide2.QtGui.QTextBlockUserData',),
+ "QTextBlock.setUserState": ('int',),
+ "QTextBlock.setVisible": ('bool',),
+ "QTextBlock.text": (),
+ "QTextBlock.textDirection": (),
+ "QTextBlock.textFormats": (),
+ "QTextBlock.textList": (),
+ "QTextBlock.userData": (),
+ "QTextBlock.userState": (),
+
+ # class PySide2.QtGui.QTextBlockFormat:
+ "QTextBlockFormat.__init__": [(), ('PySide2.QtGui.QTextBlockFormat',), ('PySide2.QtGui.QTextFormat',)],
+ "QTextBlockFormat.__copy__": (),
+ "QTextBlockFormat.alignment": (),
+ "QTextBlockFormat.bottomMargin": (),
+ "QTextBlockFormat.indent": (),
+ "QTextBlockFormat.isValid": (),
+ "QTextBlockFormat.leftMargin": (),
+ "QTextBlockFormat.lineHeight": [(), ('float', 'float')],
+ "QTextBlockFormat.lineHeightType": (),
+ "QTextBlockFormat.nonBreakableLines": (),
+ "QTextBlockFormat.pageBreakPolicy": (),
+ "QTextBlockFormat.rightMargin": (),
+ "QTextBlockFormat.setAlignment": ('PySide2.libpyside.Alignment',),
+ "QTextBlockFormat.setBottomMargin": ('float',),
+ "QTextBlockFormat.setIndent": ('int',),
+ "QTextBlockFormat.setLeftMargin": ('float',),
+ "QTextBlockFormat.setLineHeight": ('float', 'int'),
+ "QTextBlockFormat.setNonBreakableLines": ('bool',),
+ "QTextBlockFormat.setPageBreakPolicy": ('PySide2.libpyside.PageBreakFlags',),
+ "QTextBlockFormat.setRightMargin": ('float',),
+ "QTextBlockFormat.setTabPositions": ('list',),
+ "QTextBlockFormat.setTextIndent": ('float',),
+ "QTextBlockFormat.setTopMargin": ('float',),
+ "QTextBlockFormat.tabPositions": (),
+ "QTextBlockFormat.textIndent": (),
+ "QTextBlockFormat.topMargin": (),
+
+ # class PySide2.QtGui.QTextBlockGroup:
+ "QTextBlockGroup.__init__": ('PySide2.QtGui.QTextDocument',),
+ "QTextBlockGroup.blockFormatChanged": ('PySide2.QtGui.QTextBlock',),
+ "QTextBlockGroup.blockInserted": ('PySide2.QtGui.QTextBlock',),
+ "QTextBlockGroup.blockList": (),
+ "QTextBlockGroup.blockRemoved": ('PySide2.QtGui.QTextBlock',),
+
+ # class PySide2.QtGui.QTextBlockUserData:
+ "QTextBlockUserData.__init__": (),
+
+ # class PySide2.QtGui.QTextCharFormat:
+ "QTextCharFormat.__init__": [(), ('PySide2.QtGui.QTextCharFormat',), ('PySide2.QtGui.QTextFormat',)],
+ "QTextCharFormat.__copy__": (),
+ "QTextCharFormat.anchorHref": (),
+ "QTextCharFormat.anchorName": (),
+ "QTextCharFormat.anchorNames": (),
+ "QTextCharFormat.font": (),
+ "QTextCharFormat.fontCapitalization": (),
+ "QTextCharFormat.fontFamily": (),
+ "QTextCharFormat.fontFixedPitch": (),
+ "QTextCharFormat.fontHintingPreference": (),
+ "QTextCharFormat.fontItalic": (),
+ "QTextCharFormat.fontKerning": (),
+ "QTextCharFormat.fontLetterSpacing": (),
+ "QTextCharFormat.fontLetterSpacingType": (),
+ "QTextCharFormat.fontOverline": (),
+ "QTextCharFormat.fontPointSize": (),
+ "QTextCharFormat.fontStretch": (),
+ "QTextCharFormat.fontStrikeOut": (),
+ "QTextCharFormat.fontStyleHint": (),
+ "QTextCharFormat.fontStyleStrategy": (),
+ "QTextCharFormat.fontUnderline": (),
+ "QTextCharFormat.fontWeight": (),
+ "QTextCharFormat.fontWordSpacing": (),
+ "QTextCharFormat.isAnchor": (),
+ "QTextCharFormat.isValid": (),
+ "QTextCharFormat.setAnchor": ('bool',),
+ "QTextCharFormat.setAnchorHref": ('str',),
+ "QTextCharFormat.setAnchorName": ('str',),
+ "QTextCharFormat.setAnchorNames": ('List[str]',),
+ "QTextCharFormat.setFont": [('PySide2.QtGui.QFont',), ('PySide2.QtGui.QFont', 'PySide2.QtGui.QTextCharFormat.FontPropertiesInheritanceBehavior')],
+ "QTextCharFormat.setFontCapitalization": ('PySide2.QtGui.QFont.Capitalization',),
+ "QTextCharFormat.setFontFamily": ('str',),
+ "QTextCharFormat.setFontFixedPitch": ('bool',),
+ "QTextCharFormat.setFontHintingPreference": ('PySide2.QtGui.QFont.HintingPreference',),
+ "QTextCharFormat.setFontItalic": ('bool',),
+ "QTextCharFormat.setFontKerning": ('bool',),
+ "QTextCharFormat.setFontLetterSpacing": ('float',),
+ "QTextCharFormat.setFontLetterSpacingType": ('PySide2.QtGui.QFont.SpacingType',),
+ "QTextCharFormat.setFontOverline": ('bool',),
+ "QTextCharFormat.setFontPointSize": ('float',),
+ "QTextCharFormat.setFontStretch": ('int',),
+ "QTextCharFormat.setFontStrikeOut": ('bool',),
+ "QTextCharFormat.setFontStyleHint": ('PySide2.QtGui.QFont.StyleHint', 'PySide2.QtGui.QFont.StyleStrategy'),
+ "QTextCharFormat.setFontStyleStrategy": ('PySide2.QtGui.QFont.StyleStrategy',),
+ "QTextCharFormat.setFontUnderline": ('bool',),
+ "QTextCharFormat.setFontWeight": ('int',),
+ "QTextCharFormat.setFontWordSpacing": ('float',),
+ "QTextCharFormat.setTableCellColumnSpan": ('int',),
+ "QTextCharFormat.setTableCellRowSpan": ('int',),
+ "QTextCharFormat.setTextOutline": ('PySide2.QtGui.QPen',),
+ "QTextCharFormat.setToolTip": ('str',),
+ "QTextCharFormat.setUnderlineColor": ('PySide2.QtGui.QColor',),
+ "QTextCharFormat.setUnderlineStyle": ('PySide2.QtGui.QTextCharFormat.UnderlineStyle',),
+ "QTextCharFormat.setVerticalAlignment": ('PySide2.QtGui.QTextCharFormat.VerticalAlignment',),
+ "QTextCharFormat.tableCellColumnSpan": (),
+ "QTextCharFormat.tableCellRowSpan": (),
+ "QTextCharFormat.textOutline": (),
+ "QTextCharFormat.toolTip": (),
+ "QTextCharFormat.underlineColor": (),
+ "QTextCharFormat.underlineStyle": (),
+ "QTextCharFormat.verticalAlignment": (),
+
+ # class PySide2.QtGui.QTextCursor:
+ "QTextCursor.__init__": [(), ('PySide2.QtGui.QTextBlock',), ('PySide2.QtGui.QTextCursor',), ('PySide2.QtGui.QTextDocument',), ('PySide2.QtGui.QTextFrame',)],
+ "QTextCursor.__copy__": (),
+ "QTextCursor.anchor": (),
+ "QTextCursor.atBlockEnd": (),
+ "QTextCursor.atBlockStart": (),
+ "QTextCursor.atEnd": (),
+ "QTextCursor.atStart": (),
+ "QTextCursor.beginEditBlock": (),
+ "QTextCursor.block": (),
+ "QTextCursor.blockCharFormat": (),
+ "QTextCursor.blockFormat": (),
+ "QTextCursor.blockNumber": (),
+ "QTextCursor.charFormat": (),
+ "QTextCursor.clearSelection": (),
+ "QTextCursor.columnNumber": (),
+ "QTextCursor.createList": [('PySide2.QtGui.QTextListFormat',), ('PySide2.QtGui.QTextListFormat.Style',)],
+ "QTextCursor.currentFrame": (),
+ "QTextCursor.currentList": (),
+ "QTextCursor.currentTable": (),
+ "QTextCursor.deleteChar": (),
+ "QTextCursor.deletePreviousChar": (),
+ "QTextCursor.document": (),
+ "QTextCursor.endEditBlock": (),