diff options
Diffstat (limited to 'sources/pyside2/tests')
39 files changed, 2036 insertions, 919 deletions
diff --git a/sources/pyside2/tests/Qt3DAnimation/CMakeLists.txt b/sources/pyside2/tests/Qt3DAnimation/CMakeLists.txt new file mode 100644 index 000000000..2f7cb08b9 --- /dev/null +++ b/sources/pyside2/tests/Qt3DAnimation/CMakeLists.txt @@ -0,0 +1 @@ +# Please add some tests, here diff --git a/sources/pyside2/tests/Qt3DCore/CMakeLists.txt b/sources/pyside2/tests/Qt3DCore/CMakeLists.txt new file mode 100644 index 000000000..2f7cb08b9 --- /dev/null +++ b/sources/pyside2/tests/Qt3DCore/CMakeLists.txt @@ -0,0 +1 @@ +# Please add some tests, here diff --git a/sources/pyside2/tests/Qt3DExtras/CMakeLists.txt b/sources/pyside2/tests/Qt3DExtras/CMakeLists.txt new file mode 100644 index 000000000..5f8d2e77b --- /dev/null +++ b/sources/pyside2/tests/Qt3DExtras/CMakeLists.txt @@ -0,0 +1 @@ +PYSIDE_TEST(qt3dextras_test.py) diff --git a/sources/pyside2/tests/Qt3DExtras/qt3dextras_test.py b/sources/pyside2/tests/Qt3DExtras/qt3dextras_test.py new file mode 100644 index 000000000..967886a14 --- /dev/null +++ b/sources/pyside2/tests/Qt3DExtras/qt3dextras_test.py @@ -0,0 +1,154 @@ +#!/usr/bin/python + +############################################################################# +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the test suite of PySide2. +## +## $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$ +## +############################################################################# + +'''Test cases for Q3DExtras''' + +from helper import UsesQGuiApplication +import unittest + +from PySide2.QtCore import(Property, QObject, QPropertyAnimation, QTimer, Signal, Slot) +from PySide2.QtGui import (QGuiApplication, QMatrix4x4, QQuaternion, QVector3D, QWindow) +from PySide2.Qt3DCore import (Qt3DCore) +from PySide2.Qt3DRender import (Qt3DRender) +from PySide2.Qt3DExtras import (Qt3DExtras) + +class OrbitTransformController(QObject): + def __init__(self, parent): + super(OrbitTransformController, self).__init__(parent) + self._target = None + self._matrix = QMatrix4x4() + self._radius = 1 + self._angle = 0 + + def setTarget(self, t): + self._target = t + + def getTarget(self): + return self._target + + def setRadius(self, radius): + if self._radius != radius: + self._radius = radius + self.updateMatrix() + self.radiusChanged.emit() + + def getRadius(self): + return self._radius + + def setAngle(self, angle): + if self._angle != angle: + self._angle = angle + self.updateMatrix() + self.angleChanged.emit() + + def getAngle(self): + return self._angle + + def updateMatrix(self): + 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: + self._target.setMatrix(self._matrix) + + angleChanged = Signal() + radiusChanged = Signal() + angle = Property(float, getAngle, setAngle, notify=angleChanged) + radius = Property(float, getRadius, setRadius, notify=radiusChanged) + +class Window(Qt3DExtras.Qt3DWindow): + def __init__(self): + super(Window, self).__init__() + + # Camera + self.camera().lens().setPerspectiveProjection(45, 16 / 9, 0.1, 1000) + self.camera().setPosition(QVector3D(0, 0, 40)) + self.camera().setViewCenter(QVector3D(0, 0, 0)) + + # For camera controls + self.createScene() + self.camController = Qt3DExtras.QOrbitCameraController(self.rootEntity) + self.camController.setLinearSpeed(50) + self.camController.setLookSpeed(180) + self.camController.setCamera(self.camera()) + + self.setRootEntity(self.rootEntity) + + def createScene(self): + # Root entity + self.rootEntity = Qt3DCore.QEntity() + + # Material + self.material = Qt3DExtras.QPhongMaterial(self.rootEntity) + + # Torus + self.torusEntity = Qt3DCore.QEntity(self.rootEntity) + self.torusMesh = Qt3DExtras.QTorusMesh() + self.torusMesh.setRadius(5) + self.torusMesh.setMinorRadius(1) + self.torusMesh.setRings(100) + self.torusMesh.setSlices(20) + + self.torusTransform = Qt3DCore.QTransform() + self.torusTransform.setScale3D(QVector3D(1.5, 1, 0.5)) + self.torusTransform.setRotation(QQuaternion.fromAxisAndAngle(QVector3D(1, 0, 0), 45)) + + self.torusEntity.addComponent(self.torusMesh) + self.torusEntity.addComponent(self.torusTransform) + self.torusEntity.addComponent(self.material) + + # Sphere + self.sphereEntity = Qt3DCore.QEntity(self.rootEntity) + self.sphereMesh = Qt3DExtras.QSphereMesh() + self.sphereMesh.setRadius(3) + + self.sphereTransform = Qt3DCore.QTransform() + self.controller = OrbitTransformController(self.sphereTransform) + self.controller.setTarget(self.sphereTransform) + self.controller.setRadius(20) + + self.sphereEntity.addComponent(self.sphereMesh) + self.sphereEntity.addComponent(self.sphereTransform) + self.sphereEntity.addComponent(self.material) + +class Qt3DExtrasTestCase(UsesQGuiApplication): + '''Tests related to Q3DExtras''' + + def test3DExtras(self): + + window = Window() + window.show() + while not window.isExposed(): + self.app.processEvents() + QTimer.singleShot(2000, self.app.quit) + self.app.exec_() + +if __name__ == '__main__': + unittest.main() diff --git a/sources/pyside2/tests/Qt3DInput/CMakeLists.txt b/sources/pyside2/tests/Qt3DInput/CMakeLists.txt new file mode 100644 index 000000000..2f7cb08b9 --- /dev/null +++ b/sources/pyside2/tests/Qt3DInput/CMakeLists.txt @@ -0,0 +1 @@ +# Please add some tests, here diff --git a/sources/pyside2/tests/Qt3DLogic/CMakeLists.txt b/sources/pyside2/tests/Qt3DLogic/CMakeLists.txt new file mode 100644 index 000000000..2f7cb08b9 --- /dev/null +++ b/sources/pyside2/tests/Qt3DLogic/CMakeLists.txt @@ -0,0 +1 @@ +# Please add some tests, here diff --git a/sources/pyside2/tests/Qt3DQuick/CMakeLists.txt b/sources/pyside2/tests/Qt3DQuick/CMakeLists.txt new file mode 100644 index 000000000..2f7cb08b9 --- /dev/null +++ b/sources/pyside2/tests/Qt3DQuick/CMakeLists.txt @@ -0,0 +1 @@ +# Please add some tests, here diff --git a/sources/pyside2/tests/Qt3DRender/CMakeLists.txt b/sources/pyside2/tests/Qt3DRender/CMakeLists.txt new file mode 100644 index 000000000..2f7cb08b9 --- /dev/null +++ b/sources/pyside2/tests/Qt3DRender/CMakeLists.txt @@ -0,0 +1 @@ +# Please add some tests, here diff --git a/sources/pyside2/tests/QtAxContainer/CMakeLists.txt b/sources/pyside2/tests/QtAxContainer/CMakeLists.txt new file mode 100644 index 000000000..2f7cb08b9 --- /dev/null +++ b/sources/pyside2/tests/QtAxContainer/CMakeLists.txt @@ -0,0 +1 @@ +# Please add some tests, here diff --git a/sources/pyside2/tests/QtCharts/CMakeLists.txt b/sources/pyside2/tests/QtCharts/CMakeLists.txt new file mode 100644 index 000000000..16e8b4bc9 --- /dev/null +++ b/sources/pyside2/tests/QtCharts/CMakeLists.txt @@ -0,0 +1 @@ +PYSIDE_TEST(qcharts_test.py) diff --git a/sources/pyside2/tests/QtCharts/qcharts_test.py b/sources/pyside2/tests/QtCharts/qcharts_test.py new file mode 100644 index 000000000..1503b2e54 --- /dev/null +++ b/sources/pyside2/tests/QtCharts/qcharts_test.py @@ -0,0 +1,63 @@ +#!/usr/bin/python + +############################################################################# +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the test suite of PySide2. +## +## $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$ +## +############################################################################# + +'''Test cases for QCharts''' + +from helper import UsesQApplication +import unittest + +from PySide2.QtCore import QRect, QSize, QTimer +from PySide2.QtGui import QGuiApplication, QScreen +from PySide2.QtCharts import QtCharts + +class QChartsTestCase(UsesQApplication): + '''Tests related to QCharts''' + + def testCharts(self): + self.series = QtCharts.QPieSeries() + self.series.append("Jane", 1); + self.series.append("Joe", 2); + self.series.append("Andy", 3); + self.series.append("Barbara", 4); + self.series.append("Axel", 5); + slice = self.series.slices()[1] + slice.setExploded(); + slice.setLabelVisible(); + self.chart = QtCharts.QChart() + self.chart.addSeries(self.series); + chartView = QtCharts.QChartView(self.chart) + screenSize = QGuiApplication.primaryScreen().geometry().size() + chartView.resize(screenSize / 2) + chartView.show() + QTimer.singleShot(500, self.app.quit) + self.app.exec_() + +if __name__ == '__main__': + unittest.main() diff --git a/sources/pyside2/tests/QtCore/CMakeLists.txt b/sources/pyside2/tests/QtCore/CMakeLists.txt index 9e66ebc0a..3a08cb45b 100644 --- a/sources/pyside2/tests/QtCore/CMakeLists.txt +++ b/sources/pyside2/tests/QtCore/CMakeLists.txt @@ -61,6 +61,7 @@ PYSIDE_TEST(qenum_test.py) PYSIDE_TEST(qevent_test.py) PYSIDE_TEST(qfileinfo_test.py) PYSIDE_TEST(qfile_test.py) +PYSIDE_TEST(qfileread_test.py) PYSIDE_TEST(qflags_test.py) PYSIDE_TEST(qinstallmsghandler_test.py) PYSIDE_TEST(qlinef_test.py) @@ -85,6 +86,7 @@ PYSIDE_TEST(qprocess_test.py) PYSIDE_TEST(qproperty_decorator.py) PYSIDE_TEST(qrect_test.py) PYSIDE_TEST(qregexp_test.py) +PYSIDE_TEST(qregularexpression_test.py) PYSIDE_TEST(qresource_test.py) PYSIDE_TEST(qsize_test.py) PYSIDE_TEST(qslot_object_test.py) @@ -105,6 +107,9 @@ PYSIDE_TEST(qtimer_timeout_test.py) PYSIDE_TEST(qtimezone_test.py) PYSIDE_TEST(qtnamespace_test.py) PYSIDE_TEST(qurl_test.py) +PYSIDE_TEST(qurlquery_test.py) +PYSIDE_TEST(quuid_test.py) +PYSIDE_TEST(qversionnumber_test.py) PYSIDE_TEST(repr_test.py) PYSIDE_TEST(setprop_on_ctor_test.py) PYSIDE_TEST(staticMetaObject_test.py) diff --git a/sources/pyside2/tests/QtCore/qfileread_test.py b/sources/pyside2/tests/QtCore/qfileread_test.py new file mode 100644 index 000000000..3912fe7e6 --- /dev/null +++ b/sources/pyside2/tests/QtCore/qfileread_test.py @@ -0,0 +1,82 @@ +############################################################################# +## +## Copyright (C) 2018 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the test suite of PySide2. +## +## $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$ +## +############################################################################# + +import unittest + +import os + +from PySide2.QtCore import QIODevice, QTemporaryFile + +class FileChild1(QTemporaryFile): + pass + +class FileChild2(QTemporaryFile): + def readData(self, maxlen): + return super(FileChild2, self).readData(maxlen) + def readLineData(self, maxlen): + return super(FileChild2, self).readLineData(maxlen) + +class readDataTest(unittest.TestCase): + '''Test case for readData and readLineData''' + + def setUp(self): + '''Acquire resources''' + self.filename1 = FileChild1() + self.assertTrue(self.filename1.open()) + self.filename1.write('Test text for testing') + + self.filename2 = FileChild2() + self.assertTrue(self.filename2.open()) + self.filename2.write('Test text for testing') + + def tearDown(self): + '''release resources''' + pass + + def testBasic(self): + '''QTemporaryFile.read''' + self.filename1.seek(0) + s1 = self.filename1.read(50) + self.assertEqual(s1, 'Test text for testing') + + + def testBug40(self): + self.filename2.seek(0) + s2 = self.filename2.read(50) + self.assertEqual(s2, 'Test text for testing') + + self.filename2.seek(0) + s2 = self.filename2.readLine(22) + self.assertEqual(s2, 'Test text for testing') + + self.filename1.seek(0) + s1 = self.filename1.read(50) + self.assertEqual(s1, s2) + +if __name__ == '__main__': + unittest.main() diff --git a/sources/pyside2/tests/QtCore/qmimedatabase_test.py b/sources/pyside2/tests/QtCore/qmimedatabase_test.py index 7bd9a4586..4c3ae220d 100644 --- a/sources/pyside2/tests/QtCore/qmimedatabase_test.py +++ b/sources/pyside2/tests/QtCore/qmimedatabase_test.py @@ -34,7 +34,7 @@ import unittest import ctypes import sys -from PySide2.QtCore import QMimeDatabase +from PySide2.QtCore import QMimeDatabase, QLocale class QMimeDatabaseTest(unittest.TestCase): def testMimeTypeForName(self): @@ -43,7 +43,8 @@ class QMimeDatabaseTest(unittest.TestCase): s0 = db.mimeTypeForName("application/x-zerosize") self.assertTrue(s0.isValid()) self.assertEqual(s0.name(), "application/x-zerosize") - self.assertEqual(s0.comment(), "empty document") + if "en" in QLocale().name(): + self.assertEqual(s0.comment(), "empty document") s0Again = db.mimeTypeForName("application/x-zerosize") self.assertEqual(s0Again.name(), s0.name()) diff --git a/sources/pyside2/tests/QtCore/qobject_test.py b/sources/pyside2/tests/QtCore/qobject_test.py index 482ae78be..bafa8a643 100644 --- a/sources/pyside2/tests/QtCore/qobject_test.py +++ b/sources/pyside2/tests/QtCore/qobject_test.py @@ -34,7 +34,12 @@ import unittest import py3kcompat as py3k -from PySide2.QtCore import QObject +from PySide2.QtCore import QObject, Signal, Qt + +class Obj(QObject): + signal = Signal() + def empty(self): + pass class ObjectNameCase(unittest.TestCase): '''Tests related to QObject object name''' @@ -67,6 +72,12 @@ class ObjectNameCase(unittest.TestCase): obj.setObjectName(name) self.assertEqual(obj.objectName(), name) + def testUniqueConnection(self): + obj = Obj() + # On first connect, UniqueConnection returns True, and on the second + # it must return False, and not a RuntimeError (PYSIDE-34) + self.assertTrue(obj.signal.connect(obj.empty, Qt.UniqueConnection)) + self.assertFalse(obj.signal.connect(obj.empty, Qt.UniqueConnection)) if __name__ == '__main__': unittest.main() diff --git a/sources/pyside2/tests/QtCore/qregularexpression_test.py b/sources/pyside2/tests/QtCore/qregularexpression_test.py new file mode 100644 index 000000000..e11b9b61c --- /dev/null +++ b/sources/pyside2/tests/QtCore/qregularexpression_test.py @@ -0,0 +1,56 @@ +#!/usr/bin/python + +############################################################################# +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the test suite of PySide2. +## +## $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$ +## +############################################################################# + +'''Unit tests for QRegularExpression''' + +import unittest +from PySide2.QtCore import QRegularExpression, QRegularExpressionMatch, QRegularExpressionMatchIterator + +class QRegularExpressionTest(unittest.TestCase): + + def testMatch(self): + re = QRegularExpression('^.*(word2).*$') + self.assertTrue(re.isValid()) + match = re.match('word1 word2 word3') + self.assertTrue(match.isValid()) + self.assertEqual(match.captured(1), 'word2') + + def testMatchIterator(self): + re = QRegularExpression('(\w+)') + self.assertTrue(re.isValid()) + count = 0 + it = re.globalMatch('word1 word2 word3'); + while it.hasNext(): + it.next() + count = count + 1 + self.assertEqual(count, 3) + +if __name__ == '__main__': + unittest.main() diff --git a/sources/pyside2/tests/QtCore/qurl_test.py b/sources/pyside2/tests/QtCore/qurl_test.py index 595e5931f..d5eb37d6e 100644 --- a/sources/pyside2/tests/QtCore/qurl_test.py +++ b/sources/pyside2/tests/QtCore/qurl_test.py @@ -33,6 +33,7 @@ import unittest from PySide2.QtCore import QUrl +from PySide2.QtCore import QUrlQuery class QUrlBasicConstructor(unittest.TestCase): '''Tests the basic constructors''' @@ -67,59 +68,96 @@ class QUrlBasicConstructor(unittest.TestCase): self.assertEqual(url.toString(), 'ftp://john:abc123@www.google.com:8080/mail/view') +class QueryItemsTest(unittest.TestCase): + '''Test query item management''' + + def testQueryItems(self): + url = QUrl('http://www.google.com/search?q=python&hl=en') + valid_data = [(('q'), ('python')), (('hl'), ('en'))] + + self.assertEqual(sorted(QUrlQuery(url.query()).queryItems()), sorted(valid_data)) + + def testEncodedQueryItems(self): + url = QUrl('http://www.google.com/search?q=python&hl=en') + valid_data = [(('q'), ('python')), (('hl'), ('en'))] + + self.assertEqual(sorted(QUrlQuery(url.query()).queryItems()), sorted(valid_data)) + + def testSetQueryItems(self): + urla = QUrl('http://www.google.com/search?q=python&hl=en') + urlb = QUrl('http://www.google.com/search') + + urlb.setQuery(urla.query()) + + self.assertEqual(urla, urlb) + + def testAddQueryItem(self): + url = QUrlQuery() + valid_data = [('hl', 'en'), ('user', 'konqui')] + + url.addQueryItem(*valid_data[0]) + self.assertEqual(url.queryItems()[0], valid_data[0]) + + url.addQueryItem(*valid_data[1]) + self.assertEqual(sorted(url.queryItems()), sorted(valid_data)) + + def testAllQueryItemsValues(self): + url = QUrlQuery() + key = 'key' + valid_data = ['data', 'valid', 'test'] + + for i, data in enumerate(valid_data): + url.addQueryItem(key, data) + self.assertEqual(url.allQueryItemValues(key), + list(valid_data[:i+1])) + def testPath(self): url = QUrl("http://qt-project.org/images/ban/pgs_front.jpg") self.assertEqual(url.path(), "/images/ban/pgs_front.jpg") # PYSIDE-345: No bindings for QUrlQuery -# class QueryItemsTest(unittest.TestCase): -# '''Test query item management''' -# -# def testQueryItems(self): -# #QUrl.queryItems -# url = QUrl('http://www.google.com/search?q=python&hl=en') -# valid_data = [(('q'), ('python')), (('hl'), ('en'))] -# -# self.assertEqual(sorted(url.queryItems()), sorted(valid_data)) -# -# def testEncodedQueryItems(self): -# #QUrl.encodedQueryItems -# url = QUrl('http://www.google.com/search?q=python&hl=en') -# valid_data = [(('q'), ('python')), (('hl'), ('en'))] -# -# self.assertEqual(sorted(url.encodedQueryItems()), sorted(valid_data)) -# -# def testSetQueryItems(self): -# #QUrl.setQueryItems -# urla = QUrl('http://www.google.com/search?q=python&hl=en') -# urlb = QUrl('http://www.google.com/search') -# -# urlb.setQueryItems(urla.queryItems()) -# -# self.assertEqual(urla, urlb) -# -# def testAddQueryItem(self): -# #QUrl.addQueryItem -# url = QUrl() -# valid_data = [('hl', 'en'), ('user', 'konqui')] -# -# url.addQueryItem(*valid_data[0]) -# self.assertEqual(url.queryItems()[0], valid_data[0]) -# -# url.addQueryItem(*valid_data[1]) -# self.assertEqual(sorted(url.queryItems()), sorted(valid_data)) -# -# def testAllEncodedQueryItemsValues(self): -# #QUrl.allEncodedQueryItemValues -# url = QUrl() -# key = 'key' -# valid_data = ['data', 'valid', 'test'] -# -# for i, data in enumerate(valid_data): -# url.addQueryItem(key, data) -# self.assertEqual(url.allEncodedQueryItemValues(key), -# list(valid_data[:i+1])) +class QueryItemsTest(unittest.TestCase): + '''Test query item management''' + + def testQueryItems(self): + url = QUrl('http://www.google.com/search?q=python&hl=en') + valid_data = [(('q'), ('python')), (('hl'), ('en'))] + + self.assertEqual(sorted(QUrlQuery(url.query()).queryItems()), sorted(valid_data)) + + def testEncodedQueryItems(self): + url = QUrl('http://www.google.com/search?q=python&hl=en') + valid_data = [(('q'), ('python')), (('hl'), ('en'))] + + self.assertEqual(sorted(QUrlQuery(url.query()).queryItems()), sorted(valid_data)) + + def testSetQueryItems(self): + urla = QUrl('http://www.google.com/search?q=python&hl=en') + urlb = QUrl('http://www.google.com/search') + + urlb.setQuery(urla.query()) + + self.assertEqual(urla, urlb) + + def testAddQueryItem(self): + url = QUrlQuery() + valid_data = [('hl', 'en'), ('user', 'konqui')] + + url.addQueryItem(*valid_data[0]) + self.assertEqual(url.queryItems()[0], valid_data[0]) + + url.addQueryItem(*valid_data[1]) + self.assertEqual(sorted(url.queryItems()), sorted(valid_data)) + + def testAllQueryItemsValues(self): + url = QUrlQuery() + key = 'key' + valid_data = ['data', 'valid', 'test'] + for i, data in enumerate(valid_data): + url.addQueryItem(key, data) + self.assertEqual(url.allQueryItemValues(key), + list(valid_data[:i+1])) if __name__ == '__main__': unittest.main() diff --git a/sources/pyside2/tests/QtCore/qurlquery_test.py b/sources/pyside2/tests/QtCore/qurlquery_test.py new file mode 100644 index 000000000..e42856e6d --- /dev/null +++ b/sources/pyside2/tests/QtCore/qurlquery_test.py @@ -0,0 +1,59 @@ +#!/usr/bin/python + +############################################################################# +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the test suite of PySide2. +## +## $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$ +## +############################################################################# + +'''Unit tests for QUrlQuery''' + +import unittest +import ctypes +import sys + +from PySide2.QtCore import QUrlQuery + +class QUrlQueryTest(unittest.TestCase): + def testConstructing(self): + empty = QUrlQuery() + self.assertTrue(empty.isEmpty()) + self.assertEqual(empty.queryPairDelimiter(), QUrlQuery.defaultQueryPairDelimiter()) + self.assertEqual(empty.queryValueDelimiter(), QUrlQuery.defaultQueryValueDelimiter()) + + empty.clear(); + self.assertTrue(empty.isEmpty()) + + def testAddRemove(self): + query = QUrlQuery() + + query.addQueryItem("a", "b"); + self.assertTrue(not query.isEmpty()) + self.assertTrue(query.hasQueryItem("a")) + self.assertEqual(query.queryItemValue("a"), "b") + self.assertEqual(query.allQueryItemValues("a"), ["b"]) + +if __name__ == '__main__': + unittest.main() diff --git a/sources/pyside2/tests/QtCore/quuid_test.py b/sources/pyside2/tests/QtCore/quuid_test.py new file mode 100644 index 000000000..64183884a --- /dev/null +++ b/sources/pyside2/tests/QtCore/quuid_test.py @@ -0,0 +1,45 @@ +#!/usr/bin/python + +############################################################################# +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the test suite of PySide2. +## +## $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$ +## +############################################################################# + +'''Unit tests for QUuid''' + +import unittest + +from PySide2.QtCore import QUuid + +class QUuidTest(unittest.TestCase): + def testFromString(self): + uuidString = '{fc69b59e-cc34-4436-a43c-ee95d128b8c5}' + uuid = QUuid(uuidString) + self.assertTrue(not uuid.isNull()) + self.assertEqual(uuid.toString(), uuidString) + +if __name__ == '__main__': + unittest.main() diff --git a/sources/pyside2/tests/QtCore/qversionnumber_test.py b/sources/pyside2/tests/QtCore/qversionnumber_test.py new file mode 100644 index 000000000..929772fa6 --- /dev/null +++ b/sources/pyside2/tests/QtCore/qversionnumber_test.py @@ -0,0 +1,48 @@ +#!/usr/bin/python + +############################################################################# +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the test suite of PySide2. +## +## $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$ +## +############################################################################# + +'''Unit tests for QVersionNumber''' + +import unittest + +from PySide2.QtCore import QVersionNumber + +class QVersionNumberTest(unittest.TestCase): + def testFromString(self): + versionString = '5.9.2' + version = QVersionNumber.fromString(versionString) + self.assertTrue(not version.isNull()) + self.assertEqual(version.majorVersion(), 5) + self.assertEqual(version.minorVersion(), 9) + self.assertEqual(version.microVersion(), 2) + self.assertEqual(version.toString(), versionString) + +if __name__ == '__main__': + unittest.main() diff --git a/sources/pyside2/tests/QtDataVisualization/CMakeLists.txt b/sources/pyside2/tests/QtDataVisualization/CMakeLists.txt new file mode 100644 index 000000000..61b347263 --- /dev/null +++ b/sources/pyside2/tests/QtDataVisualization/CMakeLists.txt @@ -0,0 +1 @@ +PYSIDE_TEST(datavisualization_test.py) diff --git a/sources/pyside2/tests/QtDataVisualization/datavisualization_test.py b/sources/pyside2/tests/QtDataVisualization/datavisualization_test.py new file mode 100644 index 000000000..7efd6122d --- /dev/null +++ b/sources/pyside2/tests/QtDataVisualization/datavisualization_test.py @@ -0,0 +1,85 @@ +#!/usr/bin/python + +############################################################################# +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the test suite of PySide2. +## +## $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$ +## +############################################################################# + +'''Test cases for QtDataVisualization''' + +from helper import UsesQGuiApplication +from PySide2.QtCore import QTimer +from PySide2.QtDataVisualization import QtDataVisualization +import unittest + +def dataToBarDataRow(data): + result = [] + for d in data: + result.append(QtDataVisualization.QBarDataItem(d)) + return result + +def dataToBarDataArray(data): + result = [] + for row in data: + result.append(dataToBarDataRow(row)) + return result + +class QtDataVisualizationTestCase(UsesQGuiApplication): + '''Tests related to QtDataVisualization''' + + def testBars(self): + self.bars = QtDataVisualization.Q3DBars() + self.columnAxis = QtDataVisualization.QCategory3DAxis() + self.columnAxis.setTitle('Columns') + self.columnAxis.setTitleVisible(True) + self.columnAxis.setLabels(['Column1', 'Column2']) + + self.rowAxis = QtDataVisualization.QCategory3DAxis() + self.rowAxis.setTitle('Rows') + self.rowAxis.setTitleVisible(True) + self.rowAxis.setLabels(['Row1', 'Row2']) + + self.valueAxis = QtDataVisualization.QValue3DAxis() + self.valueAxis.setTitle('Values') + self.valueAxis.setTitleVisible(True) + self.valueAxis.setRange(0, 5); + + self.bars.setRowAxis(self.rowAxis) + self.bars.setColumnAxis(self.columnAxis) + self.bars.setValueAxis(self.valueAxis) + + self.series = QtDataVisualization.QBar3DSeries() + self.arrayData = [[1, 2], [3, 4]] + self.series.dataProxy().addRows(dataToBarDataArray(self.arrayData)) + + self.bars.setPrimarySeries(self.series) + + self.bars.show() + QTimer.singleShot(500, self.app.quit) + self.app.exec_() + +if __name__ == '__main__': + unittest.main() diff --git a/sources/pyside2/tests/QtGui/CMakeLists.txt b/sources/pyside2/tests/QtGui/CMakeLists.txt index 63cf3c35f..eeb7c7e36 100644 --- a/sources/pyside2/tests/QtGui/CMakeLists.txt +++ b/sources/pyside2/tests/QtGui/CMakeLists.txt @@ -37,6 +37,7 @@ PYSIDE_TEST(qpolygonf_test.py) PYSIDE_TEST(qkeysequence_test.py) PYSIDE_TEST(qradialgradient_test.py) PYSIDE_TEST(qrasterwindow_test.py) +PYSIDE_TEST(qopenglwindow_test.py) PYSIDE_TEST(qregion_test.py) PYSIDE_TEST(qstylehints_test.py) PYSIDE_TEST(qtextdocument_undoredo_test.py) diff --git a/sources/pyside2/tests/QtGui/qopenglwindow_test.py b/sources/pyside2/tests/QtGui/qopenglwindow_test.py new file mode 100644 index 000000000..2d11a0238 --- /dev/null +++ b/sources/pyside2/tests/QtGui/qopenglwindow_test.py @@ -0,0 +1,104 @@ +############################################################################# +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the test suite of PySide2. +## +## $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$ +## +############################################################################# + +'''Unit test for QOpenGLContext, QOpenGLTexture, QOpenGLWindow and related classes''' + +import sys +import unittest + +from helper import UsesQApplication + +from PySide2.QtCore import QSize, QTimer, Qt +from PySide2.QtGui import (QColor, QGuiApplication, QImage, QOpenGLContext, + QOpenGLTexture, QSurfaceFormat, QOpenGLWindow) + +try: + from OpenGL import GL +except ImportError: + print("Skipping test due to missing OpenGL module") + sys.exit(0) + +class OpenGLWindow(QOpenGLWindow): + def __init__(self): + super(OpenGLWindow, self).__init__() + + self.m_functions = None + self.m_texture = None + self.visibleChanged.connect(self.slotVisibleChanged) + + def slotVisibleChanged(self, visible): + if not visible and self.m_texture is not None and self.context().makeCurrent(self): + self.m_texture = None + self.context().doneCurrent() + + def initializeGL(self): + self.m_functions = self.context().functions() + self.m_functions.initializeOpenGLFunctions() + image = QImage(QSize(200, 200), QImage.Format_RGBA8888) + image.fill(QColor(Qt.red)) + self.m_texture = QOpenGLTexture(image) + + def paintGL(self): + GL.glMatrixMode(GL.GL_MODELVIEW); + GL.glLoadIdentity(); + + GL.glMatrixMode(GL.GL_PROJECTION); + GL.glLoadIdentity(); + GL.glOrtho(0, 1, 1, 0, -1, 1); + + self.m_functions.glClear(GL.GL_COLOR_BUFFER_BIT) + self.m_functions.glEnable(GL.GL_TEXTURE_2D); + self.m_texture.bind() + + d = 0.5 + GL.glBegin(GL.GL_QUADS) + GL.glTexCoord2f(0, 0) + GL.glVertex2f(0, 0) + GL.glTexCoord2f(d, 0) + GL.glVertex2f(d, 0) + GL.glTexCoord2f(d, d) + GL.glVertex2f(d, d) + GL.glTexCoord2f(0, d) + GL.glVertex2f(0, d) + GL.glEnd() + self.m_texture.release() + + def resizeGL(self, w, h): + self.m_functions.glViewport(0, 0, self.width(), self.height()) + +class QOpenGLWindowTest(UsesQApplication): + # On macOS, glClear(), glViewport() are rejected due to GLbitfield/GLint not being resolved properly + def test(self): + openGlWindow = OpenGLWindow() + openGlWindow.resize(640, 480) + openGlWindow.show() + QTimer.singleShot(100, openGlWindow.close) + self.app.exec_() + +if __name__ == '__main__': + unittest.main() diff --git a/sources/pyside2/tests/QtHelp/CMakeLists.txt b/sources/pyside2/tests/QtHelp/CMakeLists.txt index d0ba2d80c..422dc51c7 100644 --- a/sources/pyside2/tests/QtHelp/CMakeLists.txt +++ b/sources/pyside2/tests/QtHelp/CMakeLists.txt @@ -1 +1,2 @@ PYSIDE_TEST(help_test.py) +PYSIDE_TEST(helpsearchengine_test.py) diff --git a/sources/pyside2/tests/QtHelp/helpsearchengine_test.py b/sources/pyside2/tests/QtHelp/helpsearchengine_test.py new file mode 100644 index 000000000..6bc4b684a --- /dev/null +++ b/sources/pyside2/tests/QtHelp/helpsearchengine_test.py @@ -0,0 +1,44 @@ +############################################################################# +## +## Copyright (C) 2018 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the test suite of PySide2. +## +## $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$ +## +############################################################################# + +import unittest + +from PySide2.QtHelp import QHelpEngineCore, QHelpSearchEngine, QHelpSearchResult + +from helper import UsesQApplication + +class QHelpSearchEngineTest(UsesQApplication): + + def testQHelpSearchEngine(self): + helpEngineCore = QHelpEngineCore('') + helpSearchEngine = QHelpSearchEngine(helpEngineCore) + helpSearchResult = helpSearchEngine.searchResults(0, 0) + self.assertEqual(len(helpSearchResult), 0) + +if __name__ == '__main__': + unittest.main() diff --git a/sources/pyside2/tests/QtTextToSpeech/CMakeLists.txt b/sources/pyside2/tests/QtTextToSpeech/CMakeLists.txt new file mode 100644 index 000000000..6f5851587 --- /dev/null +++ b/sources/pyside2/tests/QtTextToSpeech/CMakeLists.txt @@ -0,0 +1 @@ +PYSIDE_TEST(qtexttospeech_test.py) diff --git a/sources/pyside2/tests/QtTextToSpeech/qtexttospeech_test.py b/sources/pyside2/tests/QtTextToSpeech/qtexttospeech_test.py new file mode 100644 index 000000000..6f26f3691 --- /dev/null +++ b/sources/pyside2/tests/QtTextToSpeech/qtexttospeech_test.py @@ -0,0 +1,63 @@ +#!/usr/bin/python + +############################################################################# +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the test suite of PySide2. +## +## $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$ +## +############################################################################# + +'''Test cases for QTextToSpeech methods''' + +from helper import UsesQApplication +import sys +import unittest + +from PySide2.QtCore import QTimer + +try: + from PySide2.QtTextToSpeech import QTextToSpeech, QVoice +except ImportError: + print("Skipping test due to missing QtTextToSpeech module") + sys.exit(0) + +class QTextToSpeechTestCase(UsesQApplication): + '''Tests related to QTextToSpeech''' + def testSay(self): + engines = QTextToSpeech.availableEngines() + if not engines: + print('No QTextToSpeech engines available') + else: + speech = QTextToSpeech(engines[0]) + speech.stateChanged.connect(self._slotStateChanged) + speech.say("Hello, PySide2") + QTimer.singleShot(5000, self.app.quit) + self.app.exec_() + + def _slotStateChanged(self, state): + if (state == QTextToSpeech.State.Ready): + self.app.quit() + +if __name__ == '__main__': + unittest.main() diff --git a/sources/pyside2/tests/QtWidgets/CMakeLists.txt b/sources/pyside2/tests/QtWidgets/CMakeLists.txt index 46a07c9a3..4efd9d803 100644 --- a/sources/pyside2/tests/QtWidgets/CMakeLists.txt +++ b/sources/pyside2/tests/QtWidgets/CMakeLists.txt @@ -120,12 +120,14 @@ PYSIDE_TEST(qtabwidget_test.py) PYSIDE_TEST(qtabwidgetclear_test.py) PYSIDE_TEST(qtextedit_test.py) PYSIDE_TEST(qtextedit_signal_test.py) +PYSIDE_TEST(qtreeview_test.py) PYSIDE_TEST(qtoolbar_test.py) PYSIDE_TEST(qtoolbox_test.py) PYSIDE_TEST(qvalidator_test.py) PYSIDE_TEST(qvariant_test.py) PYSIDE_TEST(qwidget_setlayout_test.py) PYSIDE_TEST(qwidget_test.py) +PYSIDE_TEST(qcolormap_test.py) PYSIDE_TEST(reference_count_test.py) PYSIDE_TEST(returnquadruplesofnumbers_test.py) PYSIDE_TEST(standardpixmap_test.py) diff --git a/sources/pyside2/tests/QtWidgets/qcolormap_test.py b/sources/pyside2/tests/QtWidgets/qcolormap_test.py new file mode 100644 index 000000000..c71216592 --- /dev/null +++ b/sources/pyside2/tests/QtWidgets/qcolormap_test.py @@ -0,0 +1,43 @@ +############################################################################# +## +## Copyright (C) 2018 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the test suite of PySide2. +## +## $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$ +## +############################################################################# + +import unittest + +from PySide2.QtWidgets import QColormap +from helper import UsesQApplication + + +class QColormapTest(UsesQApplication): + + def testQColormap(self): + qc = QColormap.instance() + self.assertEqual(qc.size(), -1) + + +if __name__ == '__main__': + unittest.main() diff --git a/sources/pyside2/tests/QtWidgets/qlistwidget_test.py b/sources/pyside2/tests/QtWidgets/qlistwidget_test.py index b89d2f77c..063623b61 100644 --- a/sources/pyside2/tests/QtWidgets/qlistwidget_test.py +++ b/sources/pyside2/tests/QtWidgets/qlistwidget_test.py @@ -78,5 +78,12 @@ class QListWidgetTest(UsesQApplication): self.app.exec_() self.assertEqual(lst.count(), 1) + def testClear(self): + lst = QtWidgets.QListWidget() + lst.addItem("foo") + item = lst.item(0) + self.assertIsNone(lst.clear()) + self.assertRaises(RuntimeError, lambda: item.text()) + if __name__ == '__main__': unittest.main() diff --git a/sources/pyside2/tests/QtWidgets/qtreeview_test.py b/sources/pyside2/tests/QtWidgets/qtreeview_test.py new file mode 100644 index 000000000..a731ddafa --- /dev/null +++ b/sources/pyside2/tests/QtWidgets/qtreeview_test.py @@ -0,0 +1,89 @@ +############################################################################# +## +## Copyright (C) 2018 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the test suite of PySide2. +## +## $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$ +## +############################################################################# + +import unittest + +from PySide2.QtGui import QStandardItemModel +from PySide2.QtWidgets import QWidget, QTreeView, QVBoxLayout, QStyledItemDelegate +from helper import UsesQApplication + +class Widget(QWidget): + def __init__(self, parent=None): + QWidget.__init__(self, parent) + self.treeView = QTreeView(self) + layout = QVBoxLayout() + layout.addWidget(self.treeView) + self.setLayout(layout) + self.treeView.setModel(QStandardItemModel()) + + self.treeView.model().setHorizontalHeaderLabels(('3', '1', '5')) + +class QWidgetTest(UsesQApplication): + + def testDelegates(self): + widget = Widget() + t = widget.treeView + + # When calling setItemDelegateForColumn using a separate variable + # for the second argument (QAbstractItemDelegate), there was no problem + # on keeping the reference to this object, since the variable was kept + # alive (case A) + # Contrary, when instantiating this argument on the function call + # Using QStyledItemDelegate inside the call the reference of the + # object was lost, causing a segfault. (case B) + + # Case A + d = QStyledItemDelegate() + # Using QStyledItemDelegate from a variable so we keep the reference alive + # and we encounter no segfault. + t.setItemDelegateForColumn(0, d) + # This raised the Segmentation Fault too, because manually destroying + # the object caused a missing refrence. + del d + + # Getting the delegates + a = t.itemDelegateForColumn(0) + self.assertIsInstance(a, QStyledItemDelegate) + + # Case B + t.setItemDelegateForColumn(1, QStyledItemDelegate()) + + # Getting the delegates + b = t.itemDelegateForColumn(1) + self.assertIsInstance(b, QStyledItemDelegate) + + # Test for Rows + t.setItemDelegateForRow(0, QStyledItemDelegate()) + self.assertIsInstance(t.itemDelegateForRow(0), QStyledItemDelegate) + + # Test for general delegate + t.setItemDelegate(QStyledItemDelegate()) + self.assertIsInstance(t.itemDelegate(), QStyledItemDelegate) + +if __name__ == '__main__': + unittest.main() diff --git a/sources/pyside2/tests/pysidetest/CMakeLists.txt b/sources/pyside2/tests/pysidetest/CMakeLists.txt index 8c86a0ab4..c6d3bb13b 100644 --- a/sources/pyside2/tests/pysidetest/CMakeLists.txt +++ b/sources/pyside2/tests/pysidetest/CMakeLists.txt @@ -1,7 +1,7 @@ project(pysidetest) project(testbinding) -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.1) # On Windows, don't link to qtmain.lib for executables automatically. cmake_policy(SET CMP0020 OLD) @@ -38,26 +38,42 @@ ${CMAKE_CURRENT_BINARY_DIR}/testbinding/testview_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/testbinding/testbinding_module_wrapper.cpp ) +# Get per module include dirs. +# There are usually 3 paths there: +# ./qt/include/; ./qt/include/QtCore ; ./qt/mkspecs/linux-g++ +# on framework build they are: +# ./qt/lib/QtCore.framework; ./qt/lib/QtCore.framework/Headers ; ./qt/mkspecs/macx-clang +# Thus we use the second direct path, which contains the actual header files. + +list(GET Qt5Core_INCLUDE_DIRS 1 Qt5Core_DIRECT_INCLUDE_DIR) +list(GET Qt5Gui_INCLUDE_DIRS 1 Qt5Gui_DIRECT_INCLUDE_DIR) +list(GET Qt5Widgets_INCLUDE_DIRS 1 Qt5Widgets_DIRECT_INCLUDE_DIR) + +# Adjust include headers paths for frameworks. +set(shiboken_framework_include_dirs_option "") +if(CMAKE_HOST_APPLE AND QtCore_is_framework) + set(shiboken_framework_include_dirs "${QT_FRAMEWORK_INCLUDE_DIR}") + set(shiboken_framework_include_dirs_option "--framework-include-paths=${shiboken_framework_include_dirs}") +endif() + make_path(testbinding_include_dirs ${pyside2_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../../PySide2 ${CMAKE_CURRENT_SOURCE_DIR}/../../libpyside ${QT_INCLUDE_DIR} - ${QT_INCLUDE_DIR}/QtCore - ${QT_INCLUDE_DIR}/QtGui - ${QT_INCLUDE_DIR}/QtWidgets + ${Qt5Core_DIRECT_INCLUDE_DIR} + ${Qt5Gui_DIRECT_INCLUDE_DIR} + ${Qt5Widgets_DIRECT_INCLUDE_DIR} ) -make_path(testbinding_typesystem_path ${CMAKE_CURRENT_SOURCE_DIR} - ${pyside2_SOURCE_DIR} - ${QtCore_SOURCE_DIR} ${QtGui_SOURCE_DIR} ${QtWidgets_SOURCE_DIR} - ${QtCore_BINARY_DIR} ${QtGui_BINARY_DIR} ${QtWidgets_BINARY_DIR} - ) +make_path(testbinding_typesystem_path ${pyside2_SOURCE_DIR} + ${pyside2_BINARY_DIR}) add_custom_command(OUTPUT ${testbinding_SRC} COMMAND ${SHIBOKEN_BINARY} ${GENERATOR_EXTRA_FLAGS} ${CMAKE_CURRENT_SOURCE_DIR}/pysidetest_global.h --include-paths=${testbinding_include_dirs} + ${shiboken_framework_include_dirs_option} --typesystem-paths=${testbinding_typesystem_path} --output-directory=${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/typesystem_pysidetest.xml diff --git a/sources/pyside2/tests/pysidetest/typesystem_pysidetest.xml b/sources/pyside2/tests/pysidetest/typesystem_pysidetest.xml index 7895e7147..bf9c29386 100644 --- a/sources/pyside2/tests/pysidetest/typesystem_pysidetest.xml +++ b/sources/pyside2/tests/pysidetest/typesystem_pysidetest.xml @@ -1,6 +1,6 @@ <?xml version="1.0"?> <typesystem package="testbinding"> - <load-typesystem name="typesystem_widgets.xml" generate="no"/> + <load-typesystem name="QtWidgets/typesystem_widgets.xml" generate="no"/> <value-type name="IntValue"/> <primitive-type name="TypedefValue"> <!-- diff --git a/sources/pyside2/tests/registry/exists_darwin_5_9_3_ci.py b/sources/pyside2/tests/registry/exists_darwin_5_9_4_ci.py index 8f07c2746..bad44da92 100644 --- a/sources/pyside2/tests/registry/exists_darwin_5_9_3_ci.py +++ b/sources/pyside2/tests/registry/exists_darwin_5_9_4_ci.py @@ -1,6 +1,6 @@ ############################################################################# ## -## Copyright (C) 2017 The Qt Company Ltd. +## Copyright (C) 2018 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of PySide2. @@ -37,6 +37,14 @@ ## ############################################################################# +""" +This file contains the simplified signatures for all functions in PySide +for module 'exists_darwin_5_9_4_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 = {} @@ -106,13 +114,13 @@ if "PySide2.QtCore" in sys.modules: "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": ('PySide2.support.signature.typing.List', 'PySide2.support.signature.typing.List'), + "QAbstractItemModel.changePersistentIndexList": ('List[int]', 'List[int]'), "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": ('PySide2.support.signature.typing.List', 'PySide2.QtCore.QDataStream'), + "QAbstractItemModel.encodeData": ('List[int]', 'PySide2.QtCore.QDataStream'), "QAbstractItemModel.endInsertColumns": (), "QAbstractItemModel.endInsertRows": (), "QAbstractItemModel.endMoveColumns": (), @@ -131,8 +139,8 @@ if "PySide2.QtCore" in sys.modules: "QAbstractItemModel.insertRow": ('int', 'PySide2.QtCore.QModelIndex'), "QAbstractItemModel.insertRows": ('int', 'int', 'PySide2.QtCore.QModelIndex'), "QAbstractItemModel.itemData": ('PySide2.QtCore.QModelIndex',), - "QAbstractItemModel.match": ('PySide2.QtCore.QModelIndex', 'int', 'PySide2.support.signature.typing.Any', 'int', 'MatchFlags'), - "QAbstractItemModel.mimeData": ('PySide2.support.signature.typing.List',), + "QAbstractItemModel.match": ('PySide2.QtCore.QModelIndex', 'int', 'Any', 'int', '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'), @@ -148,8 +156,8 @@ if "PySide2.QtCore" in sys.modules: "QAbstractItemModel.revert": (), "QAbstractItemModel.roleNames": (), "QAbstractItemModel.rowCount": ('PySide2.QtCore.QModelIndex',), - "QAbstractItemModel.setData": ('PySide2.QtCore.QModelIndex', 'PySide2.support.signature.typing.Any', 'int'), - "QAbstractItemModel.setHeaderData": ('int', 'PySide2.QtCore.Qt.Orientation', 'PySide2.support.signature.typing.Any', 'int'), + "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'), @@ -184,12 +192,12 @@ if "PySide2.QtCore" in sys.modules: "QAbstractProxyModel.mapSelectionFromSource": ('PySide2.QtCore.QItemSelection',), "QAbstractProxyModel.mapSelectionToSource": ('PySide2.QtCore.QItemSelection',), "QAbstractProxyModel.mapToSource": ('PySide2.QtCore.QModelIndex',), - "QAbstractProxyModel.mimeData": ('PySide2.support.signature.typing.List',), + "QAbstractProxyModel.mimeData": ('List[int]',), "QAbstractProxyModel.mimeTypes": (), "QAbstractProxyModel.resetInternalData": (), "QAbstractProxyModel.revert": (), - "QAbstractProxyModel.setData": ('PySide2.QtCore.QModelIndex', 'PySide2.support.signature.typing.Any', 'int'), - "QAbstractProxyModel.setHeaderData": ('int', 'PySide2.QtCore.Qt.Orientation', 'PySide2.support.signature.typing.Any', 'int'), + "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'), @@ -249,7 +257,7 @@ if "PySide2.QtCore" in sys.modules: # class PySide2.QtCore.QBasicMutex: "QBasicMutex.__init__": (), - "QBasicMutex.isRecursive": [], + "QBasicMutex.isRecursive": (), "QBasicMutex.lock": (), "QBasicMutex.tryLock": (), "QBasicMutex.try_lock": (), @@ -284,7 +292,7 @@ if "PySide2.QtCore" in sys.modules: # class PySide2.QtCore.QBuffer: "QBuffer.__init__": [('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QObject',)], "QBuffer.atEnd": (), - "QBuffer.buffer": [], + "QBuffer.buffer": (), "QBuffer.canReadLine": (), "QBuffer.close": (), "QBuffer.connectNotify": ('PySide2.QtCore.QMetaMethod',), @@ -300,68 +308,68 @@ if "PySide2.QtCore" in sys.modules: "QBuffer.writeData": ('str', 'int'), # class PySide2.QtCore.QByteArray: - "QByteArray.__init__": [(), ('PySide2.QtCore.QByteArray',), ('int', 'PySide2.support.signature.typing.Union[str, int]')], + "QByteArray.__init__": [(), ('PySide2.QtCore.QByteArray',), ('int', 'Union[str, int]')], "QByteArray.__copy__": (), "QByteArray.__reduce__": (), - "QByteArray.append": [('PySide2.QtCore.QByteArray',), ('PySide2.support.signature.typing.Union[str, int]',), ('int', 'PySide2.support.signature.typing.Union[str, int]')], + "QByteArray.append": [('PySide2.QtCore.QByteArray',), ('Union[str, int]',), ('int', 'Union[str, int]')], "QByteArray.at": ('int',), "QByteArray.capacity": (), "QByteArray.cbegin": (), "QByteArray.cend": (), "QByteArray.chop": ('int',), "QByteArray.clear": (), - "QByteArray.contains": [('PySide2.QtCore.QByteArray',), ('PySide2.support.signature.typing.Union[str, int]',)], - "QByteArray.count": [(), ('PySide2.QtCore.QByteArray',), ('PySide2.support.signature.typing.Union[str, int]',)], - "QByteArray.data": [], - "QByteArray.endsWith": [('PySide2.QtCore.QByteArray',), ('PySide2.support.signature.typing.Union[str, int]',)], - "QByteArray.fill": ('PySide2.support.signature.typing.Union[str, int]', 'int'), + "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', 'Base64Options')], "QByteArray.fromHex": ('PySide2.QtCore.QByteArray',), - "QByteArray.fromPercentEncoding": ('PySide2.QtCore.QByteArray', 'PySide2.support.signature.typing.Union[str, int]'), + "QByteArray.fromPercentEncoding": ('PySide2.QtCore.QByteArray', 'Union[str, int]'), "QByteArray.fromRawData": ('str', 'int'), "QByteArray.indexOf": ('PySide2.QtCore.QByteArray', 'int'), - "QByteArray.insert": [('int', 'PySide2.QtCore.QByteArray'), ('int', 'int', 'PySide2.support.signature.typing.Union[str, 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', 'PySide2.support.signature.typing.Union[str, int]', 'bool'), + "QByteArray.leftJustified": ('int', 'Union[str, int]', 'bool'), "QByteArray.length": (), "QByteArray.mid": ('int', 'int'), - "QByteArray.number": [('float', 'PySide2.support.signature.typing.Union[str, int]', 'int'), ('int', 'int')], - "QByteArray.prepend": [('PySide2.QtCore.QByteArray',), ('PySide2.support.signature.typing.Union[str, int]',), ('int', 'PySide2.support.signature.typing.Union[str, 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'), ('PySide2.support.signature.typing.Union[str, int]', 'PySide2.QtCore.QByteArray'), ('PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]'), ('int', 'int', 'PySide2.QtCore.QByteArray'), ('str', 'PySide2.QtCore.QByteArray')], + "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', 'PySide2.support.signature.typing.Union[str, int]', 'bool'), - "QByteArray.setNum": [('float', 'PySide2.support.signature.typing.Union[str, int]', 'int'), ('int', 'int')], + "QByteArray.rightJustified": ('int', 'Union[str, int]', 'bool'), + "QByteArray.setNum": [('float', 'Union[str, int]', 'int'), ('int', 'int')], "QByteArray.setRawData": ('str', 'int'), - "QByteArray.simplified": [], + "QByteArray.simplified": (), "QByteArray.size": (), - "QByteArray.split": ('PySide2.support.signature.typing.Union[str, int]',), + "QByteArray.split": ('Union[str, int]',), "QByteArray.squeeze": (), - "QByteArray.startsWith": [('PySide2.QtCore.QByteArray',), ('PySide2.support.signature.typing.Union[str, int]',)], + "QByteArray.startsWith": [('PySide2.QtCore.QByteArray',), ('Union[str, int]',)], "QByteArray.swap": ('PySide2.QtCore.QByteArray',), "QByteArray.toBase64": [(), ('Base64Options',)], "QByteArray.toDouble": ('bool',), "QByteArray.toFloat": ('bool',), - "QByteArray.toHex": [(), ('PySide2.support.signature.typing.Union[str, int]',)], + "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', 'PySide2.support.signature.typing.Union[str, 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.toUpper": (), + "QByteArray.trimmed": (), "QByteArray.truncate": ('int',), # class PySide2.QtCore.QByteArrayMatcher: @@ -381,7 +389,7 @@ if "PySide2.QtCore" in sys.modules: # class PySide2.QtCore.QCollator: "QCollator.__init__": [('PySide2.QtCore.QCollator',), ('PySide2.QtCore.QLocale',)], "QCollator.caseSensitivity": (), - "QCollator.compare": [('PySide2.support.signature.typing.Union[str, int]', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'int'), ('str', 'str')], + "QCollator.compare": [('Union[str, int]', 'int', 'Union[str, int]', 'int'), ('str', 'str')], "QCollator.ignorePunctuation": (), "QCollator.locale": (), "QCollator.numericMode": (), @@ -398,14 +406,14 @@ if "PySide2.QtCore" in sys.modules: "QCollatorSortKey.swap": ('PySide2.QtCore.QCollatorSortKey',), # class PySide2.QtCore.QCommandLineOption: - "QCommandLineOption.__init__": [('PySide2.QtCore.QCommandLineOption',), ('PySide2.support.signature.typing.List',), ('PySide2.support.signature.typing.List', 'str', 'str', 'str'), ('str',), ('str', 'str', 'str', 'str')], + "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": ('PySide2.support.signature.typing.List',), + "QCommandLineOption.setDefaultValues": ('List[str]',), "QCommandLineOption.setDescription": ('str',), "QCommandLineOption.setFlags": ('Flags',), "QCommandLineOption.setHidden": ('bool',), @@ -426,9 +434,9 @@ if "PySide2.QtCore" in sys.modules: "QCommandLineParser.helpText": (), "QCommandLineParser.isSet": [('PySide2.QtCore.QCommandLineOption',), ('str',)], "QCommandLineParser.optionNames": (), - "QCommandLineParser.parse": ('PySide2.support.signature.typing.List',), + "QCommandLineParser.parse": ('List[str]',), "QCommandLineParser.positionalArguments": (), - "QCommandLineParser.process": [('PySide2.QtCore.QCoreApplication',), ('PySide2.support.signature.typing.List',)], + "QCommandLineParser.process": [('List[str]',), ('PySide2.QtCore.QCoreApplication',)], "QCommandLineParser.setApplicationDescription": ('str',), "QCommandLineParser.setOptionsAfterPositionalArgumentsMode": ('PySide2.QtCore.QCommandLineParser.OptionsAfterPositionalArgumentsMode',), "QCommandLineParser.setSingleDashWordOptionMode": ('PySide2.QtCore.QCommandLineParser.SingleDashWordOptionMode',), @@ -439,7 +447,7 @@ if "PySide2.QtCore" in sys.modules: "QCommandLineParser.values": [('PySide2.QtCore.QCommandLineOption',), ('str',)], # class PySide2.QtCore.QCoreApplication: - "QCoreApplication.__init__": ('PySide2.support.signature.typing.List',), + "QCoreApplication.__init__": ('List[str]',), "QCoreApplication.addLibraryPath": ('str',), "QCoreApplication.applicationDirPath": (), "QCoreApplication.applicationFilePath": (), @@ -474,7 +482,7 @@ if "PySide2.QtCore" in sys.modules: "QCoreApplication.setApplicationVersion": ('str',), "QCoreApplication.setAttribute": ('PySide2.QtCore.Qt.ApplicationAttribute', 'bool'), "QCoreApplication.setEventDispatcher": ('PySide2.QtCore.QAbstractEventDispatcher',), - "QCoreApplication.setLibraryPaths": ('PySide2.support.signature.typing.List',), + "QCoreApplication.setLibraryPaths": ('List[str]',), "QCoreApplication.setOrganizationDomain": ('str',), "QCoreApplication.setOrganizationName": ('str',), "QCoreApplication.setQuitLockEnabled": ('bool',), @@ -533,17 +541,17 @@ if "PySide2.QtCore" in sys.modules: "QDataStream.writeInt16": ('int',), "QDataStream.writeInt32": ('int',), "QDataStream.writeInt64": ('int',), - "QDataStream.writeInt8": ('PySide2.support.signature.typing.Union[str, int]',), - "QDataStream.writeQChar": ('PySide2.support.signature.typing.Union[str, int]',), + "QDataStream.writeInt8": ('Union[str, int]',), + "QDataStream.writeQChar": ('Union[str, int]',), "QDataStream.writeQString": ('str',), - "QDataStream.writeQStringList": ('PySide2.support.signature.typing.List',), - "QDataStream.writeQVariant": ('PySide2.support.signature.typing.Any',), + "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": ('PySide2.support.signature.typing.Union[str, int]',), + "QDataStream.writeUInt8": ('Union[str, int]',), # class PySide2.QtCore.QDate: "QDate.__init__": [(), ('PySide2.QtCore.QDate',), ('int', 'int', 'int')], @@ -561,7 +569,7 @@ if "PySide2.QtCore" in sys.modules: "QDate.daysTo": ('PySide2.QtCore.QDate',), "QDate.fromJulianDay": ('int',), "QDate.fromString": [('str', 'PySide2.QtCore.Qt.DateFormat'), ('str', 'str')], - "QDate.getDate": ['int', 'int', 'int'], + "QDate.getDate": ('int', 'int', 'int'), "QDate.isLeapYear": ('int',), "QDate.isNull": (), "QDate.isValid": [(), ('int', 'int', 'int')], @@ -645,8 +653,8 @@ if "PySide2.QtCore" in sys.modules: "QDir.currentPath": (), "QDir.dirName": (), "QDir.drives": (), - "QDir.entryInfoList": [('Filters', 'SortFlags'), ('PySide2.support.signature.typing.List', 'Filters', 'SortFlags')], - "QDir.entryList": [('Filters', 'SortFlags'), ('PySide2.support.signature.typing.List', 'Filters', 'SortFlags')], + "QDir.entryInfoList": [('Filters', 'SortFlags'), ('List[str]', 'Filters', 'SortFlags')], + "QDir.entryList": [('Filters', 'SortFlags'), ('List[str]', 'Filters', 'SortFlags')], "QDir.exists": [(), ('str',)], "QDir.filePath": ('str',), "QDir.filter": (), @@ -662,7 +670,7 @@ if "PySide2.QtCore" in sys.modules: "QDir.isRoot": (), "QDir.listSeparator": (), "QDir.makeAbsolute": (), - "QDir.match": [('PySide2.support.signature.typing.List', 'str'), ('str', 'str')], + "QDir.match": [('List[str]', 'str'), ('str', 'str')], "QDir.mkdir": ('str',), "QDir.mkpath": ('str',), "QDir.nameFilters": (), @@ -681,9 +689,9 @@ if "PySide2.QtCore" in sys.modules: "QDir.separator": (), "QDir.setCurrent": ('str',), "QDir.setFilter": ('Filters',), - "QDir.setNameFilters": ('PySide2.support.signature.typing.List',), + "QDir.setNameFilters": ('List[str]',), "QDir.setPath": ('str',), - "QDir.setSearchPaths": ('str', 'PySide2.support.signature.typing.List'), + "QDir.setSearchPaths": ('str', 'List[str]'), "QDir.setSorting": ('SortFlags',), "QDir.sorting": (), "QDir.swap": ('PySide2.QtCore.QDir',), @@ -692,12 +700,11 @@ if "PySide2.QtCore" in sys.modules: "QDir.toNativeSeparators": ('str',), # class PySide2.QtCore.QDirIterator: - "QDirIterator.__init__": [('PySide2.QtCore.QDir', 'IteratorFlags'), ('str', 'Filters', 'IteratorFlags'), ('str', 'IteratorFlags'), ('str', 'PySide2.support.signature.typing.List', 'Filters', 'IteratorFlags')], + "QDirIterator.__init__": [('PySide2.QtCore.QDir', 'IteratorFlags'), ('str', 'Filters', 'IteratorFlags'), ('str', 'IteratorFlags'), ('str', 'List[str]', 'Filters', 'IteratorFlags')], "QDirIterator.fileInfo": (), "QDirIterator.fileName": (), "QDirIterator.filePath": (), "QDirIterator.hasNext": (), - "QDirIterator.next": (), "QDirIterator.path": (), # class PySide2.QtCore.QDynamicPropertyChangeEvent: @@ -810,7 +817,7 @@ if "PySide2.QtCore" in sys.modules: "QFileDevice.seek": ('int',), "QFileDevice.setPermissions": ('Permissions',), "QFileDevice.size": (), - "QFileDevice.unmap": ('PySide2.support.signature.typing.Union[str, int]',), + "QFileDevice.unmap": ('Union[str, int]',), "QFileDevice.unsetError": (), "QFileDevice.writeData": ('str', 'int'), @@ -867,16 +874,16 @@ if "PySide2.QtCore" in sys.modules: "QFileSelector.allSelectors": (), "QFileSelector.extraSelectors": (), "QFileSelector.select": [('PySide2.QtCore.QUrl',), ('str',)], - "QFileSelector.setExtraSelectors": ('PySide2.support.signature.typing.List',), + "QFileSelector.setExtraSelectors": ('List[str]',), # class PySide2.QtCore.QFileSystemWatcher: - "QFileSystemWatcher.__init__": [('PySide2.QtCore.QObject',), ('PySide2.support.signature.typing.List', 'PySide2.QtCore.QObject')], + "QFileSystemWatcher.__init__": [('List[str]', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QObject',)], "QFileSystemWatcher.addPath": ('str',), - "QFileSystemWatcher.addPaths": ('PySide2.support.signature.typing.List',), + "QFileSystemWatcher.addPaths": ('List[str]',), "QFileSystemWatcher.directories": (), "QFileSystemWatcher.files": (), "QFileSystemWatcher.removePath": ('str',), - "QFileSystemWatcher.removePaths": ('PySide2.support.signature.typing.List',), + "QFileSystemWatcher.removePaths": ('List[str]',), # class PySide2.QtCore.QFinalState: "QFinalState.__init__": ('PySide2.QtCore.QState',), @@ -928,7 +935,7 @@ if "PySide2.QtCore" in sys.modules: "QIODevice.openMode": (), "QIODevice.peek": ('int',), "QIODevice.pos": (), - "QIODevice.putChar": ('PySide2.support.signature.typing.Union[str, int]',), + "QIODevice.putChar": ('Union[str, int]',), "QIODevice.read": ('int',), "QIODevice.readAll": (), "QIODevice.readChannelCount": (), @@ -945,7 +952,7 @@ if "PySide2.QtCore" in sys.modules: "QIODevice.setTextModeEnabled": ('bool',), "QIODevice.size": (), "QIODevice.startTransaction": (), - "QIODevice.ungetChar": ('PySide2.support.signature.typing.Union[str, int]',), + "QIODevice.ungetChar": ('Union[str, int]',), "QIODevice.waitForBytesWritten": ('int',), "QIODevice.waitForReadyRead": ('int',), "QIODevice.write": ('PySide2.QtCore.QByteArray',), @@ -957,7 +964,7 @@ if "PySide2.QtCore" in sys.modules: "QItemSelection.__copy__": (), "QItemSelection.append": [('PySide2.QtCore.QItemSelectionRange',), ('list',)], "QItemSelection.at": ('int',), - "QItemSelection.back": [], + "QItemSelection.back": (), "QItemSelection.clear": (), "QItemSelection.constFirst": (), "QItemSelection.constLast": (), @@ -966,16 +973,16 @@ if "PySide2.QtCore" in sys.modules: "QItemSelection.detachShared": (), "QItemSelection.empty": (), "QItemSelection.endsWith": ('PySide2.QtCore.QItemSelectionRange',), - "QItemSelection.first": [], + "QItemSelection.first": (), "QItemSelection.fromSet": ('set',), "QItemSelection.fromVector": ('list',), - "QItemSelection.front": [], + "QItemSelection.front": (), "QItemSelection.indexOf": ('PySide2.QtCore.QItemSelectionRange', 'int'), "QItemSelection.indexes": (), "QItemSelection.insert": ('int', 'PySide2.QtCore.QItemSelectionRange'), "QItemSelection.isEmpty": (), "QItemSelection.isSharedWith": ('list',), - "QItemSelection.last": [], + "QItemSelection.last": (), "QItemSelection.lastIndexOf": ('PySide2.QtCore.QItemSelectionRange', 'int'), "QItemSelection.length": (), "QItemSelection.merge": ('PySide2.QtCore.QItemSelection', 'SelectionFlags'), @@ -1018,7 +1025,7 @@ if "PySide2.QtCore" in sys.modules: "QItemSelectionModel.isColumnSelected": ('int', 'PySide2.QtCore.QModelIndex'), "QItemSelectionModel.isRowSelected": ('int', 'PySide2.QtCore.QModelIndex'), "QItemSelectionModel.isSelected": ('PySide2.QtCore.QModelIndex',), - "QItemSelectionModel.model": [], + "QItemSelectionModel.model": (), "QItemSelectionModel.reset": (), "QItemSelectionModel.rowIntersectsSelection": ('int', 'PySide2.QtCore.QModelIndex'), "QItemSelectionModel.select": [('PySide2.QtCore.QItemSelection', 'SelectionFlags'), ('PySide2.QtCore.QModelIndex', 'SelectionFlags')], @@ -1059,7 +1066,7 @@ if "PySide2.QtCore" in sys.modules: "QJsonArray.count": (), "QJsonArray.empty": (), "QJsonArray.first": (), - "QJsonArray.fromStringList": ('PySide2.support.signature.typing.List',), + "QJsonArray.fromStringList": ('List[str]',), "QJsonArray.fromVariantList": ('list',), "QJsonArray.insert": ('int', 'PySide2.QtCore.QJsonValue'), "QJsonArray.isEmpty": (), @@ -1084,7 +1091,7 @@ if "PySide2.QtCore" in sys.modules: "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": ('PySide2.support.signature.typing.Any',), + "QJsonDocument.fromVariant": ('Any',), "QJsonDocument.isArray": (), "QJsonDocument.isEmpty": (), "QJsonDocument.isNull": (), @@ -1105,7 +1112,7 @@ if "PySide2.QtCore" in sys.modules: # 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": ('PySide2.support.signature.typing.Any',), + "QJsonValue.fromVariant": ('Any',), "QJsonValue.isArray": (), "QJsonValue.isBool": (), "QJsonValue.isDouble": (), @@ -1123,8 +1130,8 @@ if "PySide2.QtCore" in sys.modules: "QJsonValue.type": (), # class PySide2.QtCore.QLibraryInfo: - "QLibraryInfo.buildDate": (), "QLibraryInfo.build": (), + "QLibraryInfo.buildDate": (), "QLibraryInfo.isDebugBuild": (), "QLibraryInfo.licensedProducts": (), "QLibraryInfo.licensee": (), @@ -1196,7 +1203,7 @@ if "PySide2.QtCore" in sys.modules: "QLocale.countriesForLanguage": ('PySide2.QtCore.QLocale.Language',), "QLocale.country": (), "QLocale.countryToString": ('PySide2.QtCore.QLocale.Country',), - "QLocale.createSeparatedList": ('PySide2.support.signature.typing.List',), + "QLocale.createSeparatedList": ('List[str]',), "QLocale.currencySymbol": ('PySide2.QtCore.QLocale.CurrencySymbolFormat',), "QLocale.dateFormat": ('PySide2.QtCore.QLocale.FormatType',), "QLocale.dateTimeFormat": ('PySide2.QtCore.QLocale.FormatType',), @@ -1218,7 +1225,7 @@ if "PySide2.QtCore" in sys.modules: "QLocale.percent": (), "QLocale.pmText": (), "QLocale.positiveSign": (), - "QLocale.quoteString": ['PySide2.QtCore.QLocale.QuotationStyle', 'str'], + "QLocale.quoteString": ('str', 'PySide2.QtCore.QLocale.QuotationStyle'), "QLocale.script": (), "QLocale.scriptToString": ('PySide2.QtCore.QLocale.Script',), "QLocale.setDefault": ('PySide2.QtCore.QLocale',), @@ -1238,7 +1245,7 @@ if "PySide2.QtCore" in sys.modules: "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', 'PySide2.support.signature.typing.Union[str, int]', 'int'), ('int',)], + "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'), @@ -1323,7 +1330,7 @@ if "PySide2.QtCore" in sys.modules: # class PySide2.QtCore.QMetaObject: "QMetaObject.__init__": (), - "QMetaObject.cast": ['PySide2.QtCore.QObject'], + "QMetaObject.cast": ('PySide2.QtCore.QObject',), "QMetaObject.checkConnectArgs": [('PySide2.QtCore.QMetaMethod', 'PySide2.QtCore.QMetaMethod'), ('str', 'str')], "QMetaObject.classInfo": ('int',), "QMetaObject.classInfoCount": (), @@ -1389,8 +1396,8 @@ if "PySide2.QtCore" in sys.modules: "QMetaProperty.type": (), "QMetaProperty.typeName": (), "QMetaProperty.userType": (), - "QMetaProperty.write": ('PySide2.QtCore.QObject', 'PySide2.support.signature.typing.Any'), - "QMetaProperty.writeOnGadget": ('int', 'PySide2.support.signature.typing.Any'), + "QMetaProperty.write": ('PySide2.QtCore.QObject', 'Any'), + "QMetaProperty.writeOnGadget": ('int', 'Any'), # class PySide2.QtCore.QMimeData: "QMimeData.__init__": (), @@ -1408,10 +1415,10 @@ if "PySide2.QtCore" in sys.modules: "QMimeData.imageData": (), "QMimeData.removeFormat": ('str',), "QMimeData.retrieveData": ('str', 'type'), - "QMimeData.setColorData": ('PySide2.support.signature.typing.Any',), + "QMimeData.setColorData": ('Any',), "QMimeData.setData": ('str', 'PySide2.QtCore.QByteArray'), "QMimeData.setHtml": ('str',), - "QMimeData.setImageData": ('PySide2.support.signature.typing.Any',), + "QMimeData.setImageData": ('Any',), "QMimeData.setText": ('str',), "QMimeData.setUrls": ('list',), "QMimeData.text": (), @@ -1464,7 +1471,7 @@ if "PySide2.QtCore" in sys.modules: # class PySide2.QtCore.QMutex: "QMutex.__init__": ('PySide2.QtCore.QMutex.RecursionMode',), - "QMutex.isRecursive": [], + "QMutex.isRecursive": (), "QMutex.lock": (), "QMutex.tryLock": [(), ('int',)], "QMutex.try_lock": (), @@ -1483,14 +1490,14 @@ if "PySide2.QtCore" in sys.modules: "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', 'PySide2.QtCore.QObject', 'str', 'PySide2.QtCore.Qt.ConnectionType'), ('PySide2.QtCore.QObject', 'str', 'PySide2.support.signature.typing.Callable', 'PySide2.QtCore.Qt.ConnectionType'), ('PySide2.QtCore.QObject', 'str', 'str', 'PySide2.QtCore.Qt.ConnectionType'), ('str', 'PySide2.QtCore.QObject', 'str', 'PySide2.QtCore.Qt.ConnectionType'), ('str', 'PySide2.support.signature.typing.Callable', 'PySide2.QtCore.Qt.ConnectionType')], + "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', 'PySide2.QtCore.QObject', 'str'), ('PySide2.QtCore.QObject', 'str', 'PySide2.support.signature.typing.Callable'), ('str', 'PySide2.QtCore.QObject', 'str'), ('str', 'PySide2.support.signature.typing.Callable')], + "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.dumpObjectInfo": (), + "QObject.dumpObjectTree": (), "QObject.dynamicPropertyNames": (), "QObject.emit": ('str', '...'), "QObject.event": ('PySide2.QtCore.QEvent',), @@ -1515,7 +1522,7 @@ if "PySide2.QtCore" in sys.modules: "QObject.senderSignalIndex": (), "QObject.setObjectName": ('str',), "QObject.setParent": ('PySide2.QtCore.QObject',), - "QObject.setProperty": ('str', 'PySide2.support.signature.typing.Any'), + "QObject.setProperty": ('str', 'Any'), "QObject.signalsBlocked": (), "QObject.startTimer": ('int', 'PySide2.QtCore.Qt.TimerType'), "QObject.thread": (), @@ -1603,7 +1610,7 @@ if "PySide2.QtCore" in sys.modules: "QProcess.closeReadChannel": ('PySide2.QtCore.QProcess.ProcessChannel',), "QProcess.closeWriteChannel": (), "QProcess.environment": (), - "QProcess.execute": [('str',), ('str', 'PySide2.support.signature.typing.List')], + "QProcess.execute": [('str',), ('str', 'List[str]')], "QProcess.exitCode": (), "QProcess.exitStatus": (), "QProcess.inputChannelMode": (), @@ -1620,8 +1627,8 @@ if "PySide2.QtCore" in sys.modules: "QProcess.readAllStandardOutput": (), "QProcess.readChannel": (), "QProcess.readData": ('str', 'int'), - "QProcess.setArguments": ('PySide2.support.signature.typing.List',), - "QProcess.setEnvironment": ('PySide2.support.signature.typing.List',), + "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',), @@ -1634,8 +1641,8 @@ if "PySide2.QtCore" in sys.modules: "QProcess.setStandardOutputProcess": ('PySide2.QtCore.QProcess',), "QProcess.setWorkingDirectory": ('str',), "QProcess.setupChildProcess": (), - "QProcess.start": [('OpenMode',), ('str', 'OpenMode'), ('str', 'PySide2.support.signature.typing.List', 'OpenMode')], - "QProcess.startDetached": [('str',), ('str', 'PySide2.support.signature.typing.List'), ('str', 'PySide2.support.signature.typing.List', 'str', 'int')], + "QProcess.start": [('OpenMode',), ('str', 'List[str]', 'OpenMode'), ('str', 'OpenMode')], + "QProcess.startDetached": [('str',), ('str', 'List[str]'), ('str', 'List[str]', 'str', 'int')], "QProcess.state": (), "QProcess.systemEnvironment": (), "QProcess.terminate": (), @@ -1667,7 +1674,7 @@ if "PySide2.QtCore" in sys.modules: "QPropertyAnimation.setPropertyName": ('PySide2.QtCore.QByteArray',), "QPropertyAnimation.setTargetObject": ('PySide2.QtCore.QObject',), "QPropertyAnimation.targetObject": (), - "QPropertyAnimation.updateCurrentValue": ('PySide2.support.signature.typing.Any',), + "QPropertyAnimation.updateCurrentValue": ('Any',), "QPropertyAnimation.updateState": ('PySide2.QtCore.QAbstractAnimation.State', 'PySide2.QtCore.QAbstractAnimation.State'), # class PySide2.QtCore.QReadLocker: @@ -1814,11 +1821,11 @@ if "PySide2.QtCore" in sys.modules: "QRegExp.__init__": [(), ('PySide2.QtCore.QRegExp',), ('str', 'PySide2.QtCore.Qt.CaseSensitivity', 'PySide2.QtCore.QRegExp.PatternSyntax')], "QRegExp.__copy__": (), "QRegExp.__reduce__": (), - "QRegExp.cap": ['int'], + "QRegExp.cap": ('int',), "QRegExp.captureCount": (), - "QRegExp.capturedTexts": [], + "QRegExp.capturedTexts": (), "QRegExp.caseSensitivity": (), - "QRegExp.errorString": [], + "QRegExp.errorString": (), "QRegExp.escape": ('str',), "QRegExp.exactMatch": ('str',), "QRegExp.indexIn": ('str', 'int', 'PySide2.QtCore.QRegExp.CaretMode'), @@ -1829,7 +1836,7 @@ if "PySide2.QtCore" in sys.modules: "QRegExp.matchedLength": (), "QRegExp.pattern": (), "QRegExp.patternSyntax": (), - "QRegExp.pos": ['int'], + "QRegExp.pos": ('int',), "QRegExp.replace": ('str', 'str'), "QRegExp.setCaseSensitivity": ('PySide2.QtCore.Qt.CaseSensitivity',), "QRegExp.setMinimal": ('bool',), @@ -1843,9 +1850,9 @@ if "PySide2.QtCore" in sys.modules: "QRegularExpression.captureCount": (), "QRegularExpression.errorString": (), "QRegularExpression.escape": ('str',), - "QRegularExpression.globalMatch": ['MatchOptions', 'PySide2.QtCore.QRegularExpression.MatchType', 'int', 'str'], + "QRegularExpression.globalMatch": ('str', 'int', 'PySide2.QtCore.QRegularExpression.MatchType', 'MatchOptions'), "QRegularExpression.isValid": (), - "QRegularExpression.match": ['MatchOptions', 'PySide2.QtCore.QRegularExpression.MatchType', 'int', 'str'], + "QRegularExpression.match": ('str', 'int', 'PySide2.QtCore.QRegularExpression.MatchType', 'MatchOptions'), "QRegularExpression.namedCaptureGroups": (), "QRegularExpression.optimize": (), "QRegularExpression.pattern": (), @@ -1880,7 +1887,6 @@ if "PySide2.QtCore" in sys.modules: "QRegularExpressionMatchIterator.isValid": (), "QRegularExpressionMatchIterator.matchOptions": (), "QRegularExpressionMatchIterator.matchType": (), - "QRegularExpressionMatchIterator.next": (), "QRegularExpressionMatchIterator.peekNext": (), "QRegularExpressionMatchIterator.regularExpression": (), "QRegularExpressionMatchIterator.swap": ('PySide2.QtCore.QRegularExpressionMatchIterator',), @@ -1899,13 +1905,13 @@ if "PySide2.QtCore" in sys.modules: "QResource.lastModified": (), "QResource.locale": (), "QResource.registerResource": ('str', 'str'), - "QResource.registerResourceData": ('PySide2.support.signature.typing.Union[str, int]', '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": ('PySide2.support.signature.typing.Union[str, int]', 'str'), + "QResource.unregisterResourceData": ('Union[str, int]', 'str'), # class PySide2.QtCore.QRunnable: "QRunnable.__init__": (), @@ -1972,10 +1978,10 @@ if "PySide2.QtCore" in sys.modules: "QSettings.setFallbacksEnabled": ('bool',), "QSettings.setIniCodec": [('PySide2.QtCore.QTextCodec',), ('str',)], "QSettings.setPath": ('PySide2.QtCore.QSettings.Format', 'PySide2.QtCore.QSettings.Scope', 'str'), - "QSettings.setValue": ('str', 'PySide2.support.signature.typing.Any'), + "QSettings.setValue": ('str', 'Any'), "QSettings.status": (), "QSettings.sync": (), - "QSettings.value": ('str', 'PySide2.support.signature.typing.Any'), + "QSettings.value": ('str', 'Any'), # class PySide2.QtCore.QSignalMapper: "QSignalMapper.__init__": ('PySide2.QtCore.QObject',), @@ -2070,14 +2076,14 @@ if "PySide2.QtCore" in sys.modules: "QSortFilterProxyModel.mapSelectionFromSource": ('PySide2.QtCore.QItemSelection',), "QSortFilterProxyModel.mapSelectionToSource": ('PySide2.QtCore.QItemSelection',), "QSortFilterProxyModel.mapToSource": ('PySide2.QtCore.QModelIndex',), - "QSortFilterProxyModel.match": ('PySide2.QtCore.QModelIndex', 'int', 'PySide2.support.signature.typing.Any', 'int', 'MatchFlags'), - "QSortFilterProxyModel.mimeData": ('PySide2.support.signature.typing.List',), + "QSortFilterProxyModel.match": ('PySide2.QtCore.QModelIndex', 'int', 'Any', 'int', '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', 'PySide2.support.signature.typing.Any', 'int'), + "QSortFilterProxyModel.setData": ('PySide2.QtCore.QModelIndex', 'Any', 'int'), "QSortFilterProxyModel.setDynamicSortFilter": ('bool',), "QSortFilterProxyModel.setFilterCaseSensitivity": ('PySide2.QtCore.Qt.CaseSensitivity',), "QSortFilterProxyModel.setFilterFixedString": ('str',), @@ -2085,7 +2091,7 @@ if "PySide2.QtCore" in sys.modules: "QSortFilterProxyModel.setFilterRegExp": [('PySide2.QtCore.QRegExp',), ('str',)], "QSortFilterProxyModel.setFilterRole": ('int',), "QSortFilterProxyModel.setFilterWildcard": ('str',), - "QSortFilterProxyModel.setHeaderData": ('int', 'PySide2.QtCore.Qt.Orientation', 'PySide2.support.signature.typing.Any', 'int'), + "QSortFilterProxyModel.setHeaderData": ('int', 'PySide2.QtCore.Qt.Orientation', 'Any', 'int'), "QSortFilterProxyModel.setSortCaseSensitivity": ('PySide2.QtCore.Qt.CaseSensitivity',), "QSortFilterProxyModel.setSortLocaleAware": ('bool',), "QSortFilterProxyModel.setSortRole": ('int',), @@ -2100,20 +2106,20 @@ if "PySide2.QtCore" in sys.modules: "QSortFilterProxyModel.supportedDropActions": (), # class PySide2.QtCore.QStandardPaths: - "QStandardPaths.writableLocation": ('PySide2.QtCore.QStandardPaths.StandardLocation',), "QStandardPaths.displayName": ('PySide2.QtCore.QStandardPaths.StandardLocation',), "QStandardPaths.enableTestMode": ('bool',), - "QStandardPaths.findExecutable": ('str', 'PySide2.support.signature.typing.List'), + "QStandardPaths.findExecutable": ('str', 'List[str]'), "QStandardPaths.isTestModeEnabled": (), "QStandardPaths.locate": ('PySide2.QtCore.QStandardPaths.StandardLocation', 'str', 'LocateOptions'), "QStandardPaths.locateAll": ('PySide2.QtCore.QStandardPaths.StandardLocation', 'str', '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', 'PySide2.support.signature.typing.Any'), + "QState.assignProperty": ('PySide2.QtCore.QObject', 'str', 'Any'), "QState.childMode": (), "QState.errorState": (), "QState.event": ('PySide2.QtCore.QEvent',), @@ -2134,7 +2140,7 @@ if "PySide2.QtCore" in sys.modules: "QStateMachine.beginSelectTransitions": ('PySide2.QtCore.QEvent',), "QStateMachine.cancelDelayedEvent": ('int',), "QStateMachine.clearError": (), - "QStateMachine.configuration": [], + "QStateMachine.configuration": (), "QStateMachine.defaultAnimations": (), "QStateMachine.endMicrostep": ('PySide2.QtCore.QEvent',), "QStateMachine.endSelectTransitions": ('PySide2.QtCore.QEvent',), @@ -2243,7 +2249,7 @@ if "PySide2.QtCore" in sys.modules: "QTextCodec.aliases": (), "QTextCodec.availableCodecs": (), "QTextCodec.availableMibs": (), - "QTextCodec.canEncode": [('PySide2.support.signature.typing.Union[str, int]',), ('str',)], + "QTextCodec.canEncode": [('Union[str, int]',), ('str',)], "QTextCodec.codecForHtml": [('PySide2.QtCore.QByteArray',), ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QTextCodec')], "QTextCodec.codecForLocale": (), "QTextCodec.codecForMib": ('int',), @@ -2300,7 +2306,7 @@ if "PySide2.QtCore" in sys.modules: "QTextStream.setIntegerBase": ('int',), "QTextStream.setLocale": ('PySide2.QtCore.QLocale',), "QTextStream.setNumberFlags": ('NumberFlags',), - "QTextStream.setPadChar": ('PySide2.support.signature.typing.Union[str, int]',), + "QTextStream.setPadChar": ('Union[str, int]',), "QTextStream.setRealNumberNotation": ('PySide2.QtCore.QTextStream.RealNumberNotation',), "QTextStream.setRealNumberPrecision": ('int',), "QTextStream.setStatus": ('PySide2.QtCore.QTextStream.Status',), @@ -2309,8 +2315,8 @@ if "PySide2.QtCore" in sys.modules: "QTextStream.string": (), # class PySide2.QtCore.QTextStreamManipulator: - "QTextStreamManipulator.exec_": ('PySide2.QtCore.QTextStream',), "QTextStreamManipulator.__copy__": (), + "QTextStreamManipulator.exec_": ('PySide2.QtCore.QTextStream',), # class PySide2.QtCore.QThread: "QThread.__init__": ('PySide2.QtCore.QObject',), @@ -2456,7 +2462,7 @@ if "PySide2.QtCore" in sys.modules: "QTimer.setInterval": ('int',), "QTimer.setSingleShot": ('bool',), "QTimer.setTimerType": ('PySide2.QtCore.Qt.TimerType',), - "QTimer.singleShot": [('int', 'PySide2.QtCore.QObject', 'str'), ('int', 'PySide2.QtCore.Qt.TimerType', 'PySide2.QtCore.QObject', 'str'), ('int', 'PySide2.support.signature.typing.Callable')], + "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',), @@ -2470,7 +2476,7 @@ if "PySide2.QtCore" in sys.modules: # class PySide2.QtCore.QTranslator: "QTranslator.__init__": ('PySide2.QtCore.QObject',), "QTranslator.isEmpty": (), - "QTranslator.load": [('PySide2.QtCore.QLocale', 'str', 'str', 'str', 'str'), ('PySide2.support.signature.typing.Union[str, int]', 'int', 'str'), ('str', 'str', 'str', 'str')], + "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: @@ -2487,7 +2493,7 @@ if "PySide2.QtCore" in sys.modules: "QUrl.fromEncoded": ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QUrl.ParsingMode'), "QUrl.fromLocalFile": ('str',), "QUrl.fromPercentEncoding": ('PySide2.QtCore.QByteArray',), - "QUrl.fromStringList": ('PySide2.support.signature.typing.List', 'PySide2.QtCore.QUrl.ParsingMode'), + "QUrl.fromStringList": ('List[str]', 'PySide2.QtCore.QUrl.ParsingMode'), "QUrl.fromUserInput": [('str',), ('str', 'str', 'UserInputResolutionOptions')], "QUrl.hasFragment": (), "QUrl.hasQuery": (), @@ -2508,7 +2514,7 @@ if "PySide2.QtCore" in sys.modules: "QUrl.setAuthority": ('str', 'PySide2.QtCore.QUrl.ParsingMode'), "QUrl.setFragment": ('str', 'PySide2.QtCore.QUrl.ParsingMode'), "QUrl.setHost": ('str', 'PySide2.QtCore.QUrl.ParsingMode'), - "QUrl.setIdnWhitelist": ('PySide2.support.signature.typing.List',), + "QUrl.setIdnWhitelist": ('List[str]',), "QUrl.setPassword": ('str', 'PySide2.QtCore.QUrl.ParsingMode'), "QUrl.setPath": ('str', 'PySide2.QtCore.QUrl.ParsingMode'), "QUrl.setPort": ('int',), @@ -2548,13 +2554,13 @@ if "PySide2.QtCore" in sys.modules: "QUrlQuery.removeAllQueryItems": ('str',), "QUrlQuery.removeQueryItem": ('str',), "QUrlQuery.setQuery": ('str',), - "QUrlQuery.setQueryDelimiters": ('PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]'), + "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',), ('PySide2.QtCore.QUuid',), ('int', 'int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]'), ('str',)], + "QUuid.__init__": [(), ('PySide2.QtCore.QByteArray',), ('PySide2.QtCore.QUuid',), ('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": (), @@ -2575,16 +2581,16 @@ if "PySide2.QtCore" in sys.modules: "QVariantAnimation.easingCurve": (), "QVariantAnimation.endValue": (), "QVariantAnimation.event": ('PySide2.QtCore.QEvent',), - "QVariantAnimation.interpolated": ('PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'float'), + "QVariantAnimation.interpolated": ('Any', 'Any', 'float'), "QVariantAnimation.keyValueAt": ('float',), "QVariantAnimation.setDuration": ('int',), "QVariantAnimation.setEasingCurve": ('PySide2.QtCore.QEasingCurve',), - "QVariantAnimation.setEndValue": ('PySide2.support.signature.typing.Any',), - "QVariantAnimation.setKeyValueAt": ('float', 'PySide2.support.signature.typing.Any'), - "QVariantAnimation.setStartValue": ('PySide2.support.signature.typing.Any',), + "QVariantAnimation.setEndValue": ('Any',), + "QVariantAnimation.setKeyValueAt": ('float', 'Any'), + "QVariantAnimation.setStartValue": ('Any',), "QVariantAnimation.startValue": (), "QVariantAnimation.updateCurrentTime": ('int',), - "QVariantAnimation.updateCurrentValue": ('PySide2.support.signature.typing.Any',), + "QVariantAnimation.updateCurrentValue": ('Any',), "QVariantAnimation.updateState": ('PySide2.QtCore.QAbstractAnimation.State', 'PySide2.QtCore.QAbstractAnimation.State'), # class PySide2.QtCore.QVersionNumber: @@ -2643,18 +2649,18 @@ if "PySide2.QtCore" in sys.modules: "QXmlStreamAttributes.constLast": (), "QXmlStreamAttributes.contains": ('PySide2.QtCore.QXmlStreamAttribute',), "QXmlStreamAttributes.count": [(), ('PySide2.QtCore.QXmlStreamAttribute',)], - "QXmlStreamAttributes.data": [], + "QXmlStreamAttributes.data": (), "QXmlStreamAttributes.empty": (), "QXmlStreamAttributes.endsWith": ('PySide2.QtCore.QXmlStreamAttribute',), "QXmlStreamAttributes.fill": ('PySide2.QtCore.QXmlStreamAttribute', 'int'), - "QXmlStreamAttributes.first": [], + "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.last": (), "QXmlStreamAttributes.lastIndexOf": ('PySide2.QtCore.QXmlStreamAttribute', 'int'), "QXmlStreamAttributes.length": (), "QXmlStreamAttributes.mid": ('int', 'int'), @@ -2790,10 +2796,6 @@ if "PySide2.QtCore" in sys.modules: "QXmlStreamWriter.writeStartElement": [('str',), ('str', 'str')], "QXmlStreamWriter.writeTextElement": [('str', 'str'), ('str', 'str', 'str')], - # class PySide2.QtCore.Qt: - "Qt.qt_getEnumName": [('Alignment',), ('DockWidgetAreas',), ('DropActions',), ('Edges',), ('ImageConversionFlags',), ('InputMethodHints',), ('InputMethodQueries',), ('ItemFlags',), ('KeyboardModifiers',), ('MatchFlags',), ('MouseButtons',), ('Orientations',), ('PySide2.QtCore.Qt.ApplicationAttribute',), ('PySide2.QtCore.Qt.ApplicationState',), ('PySide2.QtCore.Qt.ArrowType',), ('PySide2.QtCore.Qt.AspectRatioMode',), ('PySide2.QtCore.Qt.Axis',), ('PySide2.QtCore.Qt.BGMode',), ('PySide2.QtCore.Qt.BrushStyle',), ('PySide2.QtCore.Qt.CaseSensitivity',), ('PySide2.QtCore.Qt.CheckState',), ('PySide2.QtCore.Qt.ChecksumType',), ('PySide2.QtCore.Qt.ClipOperation',), ('PySide2.QtCore.Qt.ConnectionType',), ('PySide2.QtCore.Qt.ContextMenuPolicy',), ('PySide2.QtCore.Qt.Corner',), ('PySide2.QtCore.Qt.CursorMoveStyle',), ('PySide2.QtCore.Qt.CursorShape',), ('PySide2.QtCore.Qt.DateFormat',), ('PySide2.QtCore.Qt.DayOfWeek',), ('PySide2.QtCore.Qt.DockWidgetArea',), ('PySide2.QtCore.Qt.DropAction',), ('PySide2.QtCore.Qt.Edge',), ('PySide2.QtCore.Qt.EnterKeyType',), ('PySide2.QtCore.Qt.FillRule',), ('PySide2.QtCore.Qt.FocusPolicy',), ('PySide2.QtCore.Qt.FocusReason',), ('PySide2.QtCore.Qt.GestureState',), ('PySide2.QtCore.Qt.GestureType',), ('PySide2.QtCore.Qt.GlobalColor',), ('PySide2.QtCore.Qt.InputMethodHint',), ('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.ItemDataRole',), ('PySide2.QtCore.Qt.ItemSelectionMode',), ('PySide2.QtCore.Qt.ItemSelectionOperation',), ('PySide2.QtCore.Qt.Key',), ('PySide2.QtCore.Qt.LayoutDirection',), ('PySide2.QtCore.Qt.MaskMode',), ('PySide2.QtCore.Qt.MouseEventFlag',), ('PySide2.QtCore.Qt.MouseEventSource',), ('PySide2.QtCore.Qt.NativeGestureType',), ('PySide2.QtCore.Qt.Orientation',), ('PySide2.QtCore.Qt.PenCapStyle',), ('PySide2.QtCore.Qt.PenJoinStyle',), ('PySide2.QtCore.Qt.PenStyle',), ('PySide2.QtCore.Qt.ScreenOrientation',), ('PySide2.QtCore.Qt.ScrollBarPolicy',), ('PySide2.QtCore.Qt.ScrollPhase',), ('PySide2.QtCore.Qt.ShortcutContext',), ('PySide2.QtCore.Qt.SizeHint',), ('PySide2.QtCore.Qt.SizeMode',), ('PySide2.QtCore.Qt.SortOrder',), ('PySide2.QtCore.Qt.TabFocusBehavior',), ('PySide2.QtCore.Qt.TextElideMode',), ('PySide2.QtCore.Qt.TextFlag',), ('PySide2.QtCore.Qt.TextFormat',), ('PySide2.QtCore.Qt.TextInteractionFlag',), ('PySide2.QtCore.Qt.TimeSpec',), ('PySide2.QtCore.Qt.TimerType',), ('PySide2.QtCore.Qt.ToolBarArea',), ('PySide2.QtCore.Qt.ToolButtonStyle',), ('PySide2.QtCore.Qt.TransformationMode',), ('PySide2.QtCore.Qt.WidgetAttribute',), ('PySide2.QtCore.Qt.WindowModality',), ('PySide2.QtCore.Qt.WindowState',), ('PySide2.QtCore.Qt.WindowType',), ('ScreenOrientations',), ('TextInteractionFlags',), ('ToolBarAreas',), ('TouchPointStates',), ('WindowFlags',), ('WindowStates',)], - "Qt.qt_getEnumMetaObject": [('Alignment',), ('DockWidgetAreas',), ('DropActions',), ('Edges',), ('ImageConversionFlags',), ('InputMethodHints',), ('InputMethodQueries',), ('ItemFlags',), ('KeyboardModifiers',), ('MatchFlags',), ('MouseButtons',), ('Orientations',), ('PySide2.QtCore.Qt.ApplicationAttribute',), ('PySide2.QtCore.Qt.ApplicationState',), ('PySide2.QtCore.Qt.ArrowType',), ('PySide2.QtCore.Qt.AspectRatioMode',), ('PySide2.QtCore.Qt.Axis',), ('PySide2.QtCore.Qt.BGMode',), ('PySide2.QtCore.Qt.BrushStyle',), ('PySide2.QtCore.Qt.CaseSensitivity',), ('PySide2.QtCore.Qt.CheckState',), ('PySide2.QtCore.Qt.ChecksumType',), ('PySide2.QtCore.Qt.ClipOperation',), ('PySide2.QtCore.Qt.ConnectionType',), ('PySide2.QtCore.Qt.ContextMenuPolicy',), ('PySide2.QtCore.Qt.Corner',), ('PySide2.QtCore.Qt.CursorMoveStyle',), ('PySide2.QtCore.Qt.CursorShape',), ('PySide2.QtCore.Qt.DateFormat',), ('PySide2.QtCore.Qt.DayOfWeek',), ('PySide2.QtCore.Qt.DockWidgetArea',), ('PySide2.QtCore.Qt.DropAction',), ('PySide2.QtCore.Qt.Edge',), ('PySide2.QtCore.Qt.EnterKeyType',), ('PySide2.QtCore.Qt.FillRule',), ('PySide2.QtCore.Qt.FocusPolicy',), ('PySide2.QtCore.Qt.FocusReason',), ('PySide2.QtCore.Qt.GestureState',), ('PySide2.QtCore.Qt.GestureType',), ('PySide2.QtCore.Qt.GlobalColor',), ('PySide2.QtCore.Qt.InputMethodHint',), ('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.ItemDataRole',), ('PySide2.QtCore.Qt.ItemSelectionMode',), ('PySide2.QtCore.Qt.ItemSelectionOperation',), ('PySide2.QtCore.Qt.Key',), ('PySide2.QtCore.Qt.LayoutDirection',), ('PySide2.QtCore.Qt.MaskMode',), ('PySide2.QtCore.Qt.MouseEventFlag',), ('PySide2.QtCore.Qt.MouseEventSource',), ('PySide2.QtCore.Qt.NativeGestureType',), ('PySide2.QtCore.Qt.Orientation',), ('PySide2.QtCore.Qt.PenCapStyle',), ('PySide2.QtCore.Qt.PenJoinStyle',), ('PySide2.QtCore.Qt.PenStyle',), ('PySide2.QtCore.Qt.ScreenOrientation',), ('PySide2.QtCore.Qt.ScrollBarPolicy',), ('PySide2.QtCore.Qt.ScrollPhase',), ('PySide2.QtCore.Qt.ShortcutContext',), ('PySide2.QtCore.Qt.SizeHint',), ('PySide2.QtCore.Qt.SizeMode',), ('PySide2.QtCore.Qt.SortOrder',), ('PySide2.QtCore.Qt.TabFocusBehavior',), ('PySide2.QtCore.Qt.TextElideMode',), ('PySide2.QtCore.Qt.TextFlag',), ('PySide2.QtCore.Qt.TextFormat',), ('PySide2.QtCore.Qt.TextInteractionFlag',), ('PySide2.QtCore.Qt.TimeSpec',), ('PySide2.QtCore.Qt.TimerType',), ('PySide2.QtCore.Qt.ToolBarArea',), ('PySide2.QtCore.Qt.ToolButtonStyle',), ('PySide2.QtCore.Qt.TransformationMode',), ('PySide2.QtCore.Qt.WidgetAttribute',), ('PySide2.QtCore.Qt.WindowModality',), ('PySide2.QtCore.Qt.WindowState',), ('PySide2.QtCore.Qt.WindowType',), ('ScreenOrientations',), ('TextInteractionFlags',), ('ToolBarAreas',), ('TouchPointStates',), ('WindowFlags',), ('WindowStates',)], - # class PySide2.QtCore.QtMsgType: # class PySide2.QtCore.Signal: @@ -2837,13 +2839,13 @@ if "PySide2.QtGui" in sys.modules: "QAbstractTextDocumentLayout.unregisterHandler": ('int', 'PySide2.QtCore.QObject'), # class PySide2.QtGui.QAccessible: - "QAccessible.queryAccessibleInterface": ('PySide2.QtCore.QObject',), "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',), @@ -2900,8 +2902,8 @@ if "PySide2.QtGui" in sys.modules: "QBitmap.__init__": [(), ('PySide2.QtCore.QSize',), ('PySide2.QtGui.QBitmap',), ('PySide2.QtGui.QPixmap',), ('int', 'int'), ('str', 'str')], "QBitmap.__copy__": (), "QBitmap.clear": (), - "QBitmap.fromData": ('PySide2.QtCore.QSize', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.QtGui.QImage.Format'), - "QBitmap.fromImage": ['ImageConversionFlags', 'PySide2.QtGui.QImage'], + "QBitmap.fromData": ('PySide2.QtCore.QSize', 'Union[str, int]', 'PySide2.QtGui.QImage.Format'), + "QBitmap.fromImage": ('PySide2.QtGui.QImage', 'ImageConversionFlags'), "QBitmap.swap": [('PySide2.QtGui.QBitmap',), ('PySide2.QtGui.QPixmap',)], "QBitmap.transformed": [('PySide2.QtGui.QMatrix',), ('PySide2.QtGui.QMatrix', 'PySide2.QtCore.Qt.TransformationMode'), ('PySide2.QtGui.QTransform',)], @@ -2925,7 +2927,6 @@ if "PySide2.QtGui" in sys.modules: "QBrush.transform": (), # class PySide2.QtGui.QClipboard: - "QClipboard.setMimeData": ('PySide2.QtCore.QMimeData', 'PySide2.QtGui.QClipboard.Mode'), "QClipboard.clear": ('PySide2.QtGui.QClipboard.Mode',), "QClipboard.image": ('PySide2.QtGui.QClipboard.Mode',), "QClipboard.mimeData": ('PySide2.QtGui.QClipboard.Mode',), @@ -2934,6 +2935,7 @@ if "PySide2.QtGui" in sys.modules: "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": (), @@ -2944,7 +2946,7 @@ if "PySide2.QtGui" in sys.modules: "QCloseEvent.__init__": (), # class PySide2.QtGui.QColor: - "QColor.__init__": [(), ('PySide2.QtCore.Qt.GlobalColor',), ('PySide2.QtGui.QColor',), ('PySide2.support.signature.typing.Any',), ('int',), ('int', 'int', 'int', 'int'), ('str',)], + "QColor.__init__": [(), ('Any',), ('PySide2.QtCore.Qt.GlobalColor',), ('PySide2.QtGui.QColor',), ('int',), ('int', 'int', 'int', 'int'), ('str',)], "QColor.__copy__": (), "QColor.__reduce__": (), "QColor.__setstate__": ('object',), @@ -3044,9 +3046,9 @@ if "PySide2.QtGui" in sys.modules: # 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', 'KeyboardModifiers')], - "QContextMenuEvent.global"+"Y": (), "QContextMenuEvent.globalPos": (), "QContextMenuEvent.globalX": (), + "QContextMenuEvent.global""Y": (), "QContextMenuEvent.pos": (), "QContextMenuEvent.reason": (), "QContextMenuEvent.x": (), @@ -3130,9 +3132,9 @@ if "PySide2.QtGui" in sys.modules: # class PySide2.QtGui.QEnterEvent: "QEnterEvent.__init__": ('PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF'), - "QEnterEvent.global"+"Y": (), "QEnterEvent.globalPos": (), "QEnterEvent.globalX": (), + "QEnterEvent.global""Y": (), "QEnterEvent.localPos": (), "QEnterEvent.pos": (), "QEnterEvent.screenPos": (), @@ -3171,7 +3173,7 @@ if "PySide2.QtGui" in sys.modules: "QFont.hintingPreference": (), "QFont.initialize": (), "QFont.insertSubstitution": ('str', 'str'), - "QFont.insertSubstitutions": ('str', 'PySide2.support.signature.typing.List'), + "QFont.insertSubstitutions": ('str', 'List[str]'), "QFont.isCopyOf": ('PySide2.QtGui.QFont',), "QFont.italic": (), "QFont.kerning": (), @@ -3283,30 +3285,30 @@ if "PySide2.QtGui" in sys.modules: "QFontMetrics.ascent": (), "QFontMetrics.averageCharWidth": (), "QFontMetrics.boundingRect": [('PySide2.QtCore.QRect', 'int', 'str', 'int', 'int'), ('int', 'int', 'int', 'int', 'int', 'str', 'int', 'int'), ('str',)], - "QFontMetrics.boundingRectChar": ('PySide2.support.signature.typing.Union[str, int]',), + "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.inFont": ('PySide2.support.signature.typing.Union[str, int]',), + "QFontMetrics.inFont": ('Union[str, int]',), "QFontMetrics.inFontUcs4": ('int',), "QFontMetrics.leading": (), - "QFontMetrics.leftBearing": ('PySide2.support.signature.typing.Union[str, int]',), + "QFontMetrics.leftBearing": ('Union[str, int]',), "QFontMetrics.lineSpacing": (), "QFontMetrics.lineWidth": (), "QFontMetrics.maxWidth": (), "QFontMetrics.minLeftBearing": (), "QFontMetrics.minRightBearing": (), "QFontMetrics.overlinePos": (), - "QFontMetrics.rightBearing": ('PySide2.support.signature.typing.Union[str, int]',), + "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": ('PySide2.support.signature.typing.Union[str, int]',), + "QFontMetrics.widthChar": ('Union[str, int]',), "QFontMetrics.xHeight": (), # class PySide2.QtGui.QFontMetricsF: @@ -3315,29 +3317,29 @@ if "PySide2.QtGui" in sys.modules: "QFontMetricsF.ascent": (), "QFontMetricsF.averageCharWidth": (), "QFontMetricsF.boundingRect": [('PySide2.QtCore.QRectF', 'int', 'str', 'int', 'int'), ('str',)], - "QFontMetricsF.boundingRectChar": ('PySide2.support.signature.typing.Union[str, int]',), + "QFontMetricsF.boundingRectChar": ('Union[str, int]',), "QFontMetricsF.capHeight": (), "QFontMetricsF.descent": (), "QFontMetricsF.elidedText": ('str', 'PySide2.QtCore.Qt.TextElideMode', 'float', 'int'), "QFontMetricsF.height": (), - "QFontMetricsF.inFont": ('PySide2.support.signature.typing.Union[str, int]',), + "QFontMetricsF.inFont": ('Union[str, int]',), "QFontMetricsF.inFontUcs4": ('int',), "QFontMetricsF.leading": (), - "QFontMetricsF.leftBearing": ('PySide2.support.signature.typing.Union[str, int]',), + "QFontMetricsF.leftBearing": ('Union[str, int]',), "QFontMetricsF.lineSpacing": (), "QFontMetricsF.lineWidth": (), "QFontMetricsF.maxWidth": (), "QFontMetricsF.minLeftBearing": (), "QFontMetricsF.minRightBearing": (), "QFontMetricsF.overlinePos": (), - "QFontMetricsF.rightBearing": ('PySide2.support.signature.typing.Union[str, int]',), + "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": ('PySide2.support.signature.typing.Union[str, int]',), + "QFontMetricsF.widthChar": ('Union[str, int]',), "QFontMetricsF.xHeight": (), # class PySide2.QtGui.QGradient: @@ -3355,7 +3357,7 @@ if "PySide2.QtGui" in sys.modules: "QGradient.type": (), # class PySide2.QtGui.QGuiApplication: - "QGuiApplication.__init__": ('PySide2.support.signature.typing.List',), + "QGuiApplication.__init__": ('List[str]',), "QGuiApplication.allWindows": (), "QGuiApplication.applicationDisplayName": (), "QGuiApplication.applicationState": (), @@ -3407,9 +3409,9 @@ if "PySide2.QtGui" in sys.modules: # class PySide2.QtGui.QHelpEvent: "QHelpEvent.__init__": ('PySide2.QtCore.QEvent.Type', 'PySide2.QtCore.QPoint', 'PySide2.QtCore.QPoint'), - "QHelpEvent.global"+"Y": (), "QHelpEvent.globalPos": (), "QHelpEvent.globalX": (), + "QHelpEvent.global""Y": (), "QHelpEvent.pos": (), "QHelpEvent.x": (), "QHelpEvent.y": (), @@ -3441,7 +3443,7 @@ if "PySide2.QtGui" in sys.modules: "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.setIsMask": ('bool',), "QIcon.setThemeName": ('str',), - "QIcon.setThemeSearchPaths": ('PySide2.support.signature.typing.List',), + "QIcon.setThemeSearchPaths": ('List[str]',), "QIcon.swap": ('PySide2.QtGui.QIcon',), "QIcon.themeName": (), "QIcon.themeSearchPaths": (), @@ -3466,7 +3468,7 @@ if "PySide2.QtGui" in sys.modules: "QIconEngine.write": ('PySide2.QtCore.QDataStream',), # class PySide2.QtGui.QImage: - "QImage.__init__": [(), ('PySide2.QtCore.QSize', 'PySide2.QtGui.QImage.Format'), ('PySide2.QtGui.QImage',), ('PySide2.support.signature.typing.List',), ('PySide2.support.signature.typing.Union[str, int]', 'int', 'int', 'PySide2.QtGui.QImage.Format', 'PySide2.support.signature.typing.Callable', 'int'), ('PySide2.support.signature.typing.Union[str, int]', 'int', 'int', 'int', 'PySide2.QtGui.QImage.Format', 'PySide2.support.signature.typing.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.__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": (), @@ -3561,8 +3563,8 @@ if "PySide2.QtGui" in sys.modules: "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', 'PySide2.support.signature.typing.Any'), + "QImageIOHandler.setFormat": ('PySide2.QtCore.QByteArray',), + "QImageIOHandler.setOption": ('PySide2.QtGui.QImageIOHandler.ImageOption', 'Any'), "QImageIOHandler.supportsOption": ('PySide2.QtGui.QImageIOHandler.ImageOption',), "QImageIOHandler.write": ('PySide2.QtGui.QImage',), @@ -3735,7 +3737,7 @@ if "PySide2.QtGui" in sys.modules: "QMatrix.translate": ('float', 'float'), # class PySide2.QtGui.QMatrix2x2: - "QMatrix2x2.__init__": [('PySide2.QtGui.QMatrix2x2',), ('PySide2.support.signature.typing.Sequence',)], + "QMatrix2x2.__init__": [('PySide2.QtGui.QMatrix2x2',), ('Sequence',)], "QMatrix2x2.__copy__": (), "QMatrix2x2.__reduce__": (), "QMatrix2x2.data": (), @@ -3743,7 +3745,7 @@ if "PySide2.QtGui" in sys.modules: "QMatrix2x2.transposed": (), # class PySide2.QtGui.QMatrix2x3: - "QMatrix2x3.__init__": [('PySide2.QtGui.QMatrix2x3',), ('PySide2.support.signature.typing.Sequence',)], + "QMatrix2x3.__init__": [('PySide2.QtGui.QMatrix2x3',), ('Sequence',)], "QMatrix2x3.__copy__": (), "QMatrix2x3.__reduce__": (), "QMatrix2x3.data": (), @@ -3751,7 +3753,7 @@ if "PySide2.QtGui" in sys.modules: "QMatrix2x3.transposed": (), # class PySide2.QtGui.QMatrix2x4: - "QMatrix2x4.__init__": [('PySide2.QtGui.QMatrix2x4',), ('PySide2.support.signature.typing.Sequence',)], + "QMatrix2x4.__init__": [('PySide2.QtGui.QMatrix2x4',), ('Sequence',)], "QMatrix2x4.__copy__": (), "QMatrix2x4.__reduce__": (), "QMatrix2x4.data": (), @@ -3759,7 +3761,7 @@ if "PySide2.QtGui" in sys.modules: "QMatrix2x4.transposed": (), # class PySide2.QtGui.QMatrix3x2: - "QMatrix3x2.__init__": [('PySide2.QtGui.QMatrix3x2',), ('PySide2.support.signature.typing.Sequence',)], + "QMatrix3x2.__init__": [('PySide2.QtGui.QMatrix3x2',), ('Sequence',)], "QMatrix3x2.__copy__": (), "QMatrix3x2.__reduce__": (), "QMatrix3x2.data": (), @@ -3767,7 +3769,7 @@ if "PySide2.QtGui" in sys.modules: "QMatrix3x2.transposed": (), # class PySide2.QtGui.QMatrix3x3: - "QMatrix3x3.__init__": [('PySide2.QtGui.QMatrix3x3',), ('PySide2.support.signature.typing.Sequence',)], + "QMatrix3x3.__init__": [('PySide2.QtGui.QMatrix3x3',), ('Sequence',)], "QMatrix3x3.__copy__": (), "QMatrix3x3.__reduce__": (), "QMatrix3x3.data": (), @@ -3775,7 +3777,7 @@ if "PySide2.QtGui" in sys.modules: "QMatrix3x3.transposed": (), # class PySide2.QtGui.QMatrix3x4: - "QMatrix3x4.__init__": [('PySide2.QtGui.QMatrix3x4',), ('PySide2.support.signature.typing.Sequence',)], + "QMatrix3x4.__init__": [('PySide2.QtGui.QMatrix3x4',), ('Sequence',)], "QMatrix3x4.__copy__": (), "QMatrix3x4.__reduce__": (), "QMatrix3x4.data": (), @@ -3783,7 +3785,7 @@ if "PySide2.QtGui" in sys.modules: "QMatrix3x4.transposed": (), # class PySide2.QtGui.QMatrix4x2: - "QMatrix4x2.__init__": [('PySide2.QtGui.QMatrix4x2',), ('PySide2.support.signature.typing.Sequence',)], + "QMatrix4x2.__init__": [('PySide2.QtGui.QMatrix4x2',), ('Sequence',)], "QMatrix4x2.__copy__": (), "QMatrix4x2.__reduce__": (), "QMatrix4x2.data": (), @@ -3791,7 +3793,7 @@ if "PySide2.QtGui" in sys.modules: "QMatrix4x2.transposed": (), # class PySide2.QtGui.QMatrix4x3: - "QMatrix4x3.__init__": [('PySide2.QtGui.QMatrix4x3',), ('PySide2.support.signature.typing.Sequence',)], + "QMatrix4x3.__init__": [('PySide2.QtGui.QMatrix4x3',), ('Sequence',)], "QMatrix4x3.__copy__": (), "QMatrix4x3.__reduce__": (), "QMatrix4x3.data": (), @@ -3837,9 +3839,9 @@ if "PySide2.QtGui" in sys.modules: "QMouseEvent.button": (), "QMouseEvent.buttons": (), "QMouseEvent.flags": (), - "QMouseEvent.global"+"Y": (), "QMouseEvent.globalPos": (), "QMouseEvent.globalX": (), + "QMouseEvent.global""Y": (), "QMouseEvent.localPos": (), "QMouseEvent.pos": (), "QMouseEvent.screenPos": (), @@ -3942,7 +3944,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLContext.openGLModuleType": (), "QOpenGLContext.screen": (), "QOpenGLContext.setFormat": ('PySide2.QtGui.QSurfaceFormat',), - "QOpenGLContext.setNativeHandle": ('PySide2.support.signature.typing.Any',), + "QOpenGLContext.setNativeHandle": ('Any',), "QOpenGLContext.setScreen": ('PySide2.QtGui.QScreen',), "QOpenGLContext.setShareContext": ('PySide2.QtGui.QOpenGLContext',), "QOpenGLContext.shareContext": (), @@ -3953,8 +3955,8 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLContext.versionFunctions": ('PySide2.QtGui.QOpenGLVersionProfile',), # class PySide2.QtGui.QOpenGLContextGroup: - "QOpenGLContextGroup.shares": (), "QOpenGLContextGroup.currentContextGroup": (), + "QOpenGLContextGroup.shares": (), # class PySide2.QtGui.QOpenGLDebugLogger: "QOpenGLDebugLogger.__init__": ('PySide2.QtCore.QObject',), @@ -3989,7 +3991,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLExtraFunctions.glBeginQuery": ('int', 'int'), "QOpenGLExtraFunctions.glBeginTransformFeedback": ('int',), "QOpenGLExtraFunctions.glBindBufferBase": ('int', 'int', 'int'), - "QOpenGLExtraFunctions.glBindImageTexture": ('int', 'int', 'int', 'int', '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'), @@ -4042,6 +4044,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLExtraFunctions.glGetQueryiv": ('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.glGetUniformBlockIndex": ('int', 'str'), @@ -4083,15 +4086,15 @@ if "PySide2.QtGui" in sys.modules: "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', 'int', 'float'), - "QOpenGLExtraFunctions.glProgramUniformMatrix2x3fv": ('int', 'int', 'int', 'int', 'float'), - "QOpenGLExtraFunctions.glProgramUniformMatrix2x4fv": ('int', 'int', 'int', 'int', 'float'), - "QOpenGLExtraFunctions.glProgramUniformMatrix3fv": ('int', 'int', 'int', 'int', 'float'), - "QOpenGLExtraFunctions.glProgramUniformMatrix3x2fv": ('int', 'int', 'int', 'int', 'float'), - "QOpenGLExtraFunctions.glProgramUniformMatrix3x4fv": ('int', 'int', 'int', 'int', 'float'), - "QOpenGLExtraFunctions.glProgramUniformMatrix4fv": ('int', 'int', 'int', 'int', 'float'), - "QOpenGLExtraFunctions.glProgramUniformMatrix4x2fv": ('int', 'int', 'int', 'int', 'float'), - "QOpenGLExtraFunctions.glProgramUniformMatrix4x3fv": ('int', 'int', 'int', 'int', 'float'), + "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.glReadBuffer": ('int',), "QOpenGLExtraFunctions.glRenderbufferStorageMultisample": ('int', 'int', 'int', 'int', 'int'), "QOpenGLExtraFunctions.glSampleMaski": ('int', 'int'), @@ -4101,7 +4104,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLExtraFunctions.glSamplerParameteriv": ('int', 'int', 'int'), "QOpenGLExtraFunctions.glTexImage3D": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'), "QOpenGLExtraFunctions.glTexStorage2D": ('int', 'int', 'int', 'int', 'int'), - "QOpenGLExtraFunctions.glTexStorage2DMultisample": ('int', 'int', 'int', 'int', 'int', 'int'), + "QOpenGLExtraFunctions.glTexStorage2DMultisample": ('int', 'int', 'int', 'int', 'int', 'Union[str, int]'), "QOpenGLExtraFunctions.glTexStorage3D": ('int', 'int', 'int', 'int', 'int', 'int'), "QOpenGLExtraFunctions.glTexSubImage3D": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'), "QOpenGLExtraFunctions.glUniform1ui": ('int', 'int'), @@ -4113,18 +4116,18 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLExtraFunctions.glUniform4ui": ('int', 'int', 'int', 'int', 'int'), "QOpenGLExtraFunctions.glUniform4uiv": ('int', 'int', 'int'), "QOpenGLExtraFunctions.glUniformBlockBinding": ('int', 'int', 'int'), - "QOpenGLExtraFunctions.glUniformMatrix2x3fv": ('int', 'int', 'int', 'float'), - "QOpenGLExtraFunctions.glUniformMatrix2x4fv": ('int', 'int', 'int', 'float'), - "QOpenGLExtraFunctions.glUniformMatrix3x2fv": ('int', 'int', 'int', 'float'), - "QOpenGLExtraFunctions.glUniformMatrix3x4fv": ('int', 'int', 'int', 'float'), - "QOpenGLExtraFunctions.glUniformMatrix4x2fv": ('int', 'int', 'int', 'float'), - "QOpenGLExtraFunctions.glUniformMatrix4x3fv": ('int', 'int', 'int', 'float'), + "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', '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'), @@ -4190,7 +4193,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLFunctions.glClearColor": ('float', 'float', 'float', 'float'), "QOpenGLFunctions.glClearDepthf": ('float',), "QOpenGLFunctions.glClearStencil": ('int',), - "QOpenGLFunctions.glColorMask": ('int', 'int', 'int', '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'), @@ -4206,7 +4209,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLFunctions.glDeleteShader": ('int',), "QOpenGLFunctions.glDeleteTextures": ('int', 'int'), "QOpenGLFunctions.glDepthFunc": ('int',), - "QOpenGLFunctions.glDepthMask": ('int',), + "QOpenGLFunctions.glDepthMask": ('Union[str, int]',), "QOpenGLFunctions.glDepthRangef": ('float', 'float'), "QOpenGLFunctions.glDetachShader": ('int', 'int'), "QOpenGLFunctions.glDisable": ('int',), @@ -4236,6 +4239,7 @@ if "PySide2.QtGui" in sys.modules: "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'), @@ -4258,7 +4262,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLFunctions.glReadPixels": ('int', 'int', 'int', 'int', 'int', 'int', 'int'), "QOpenGLFunctions.glReleaseShaderCompiler": (), "QOpenGLFunctions.glRenderbufferStorage": ('int', 'int', 'int', 'int'), - "QOpenGLFunctions.glSampleCoverage": ('float', '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'), @@ -4289,9 +4293,9 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLFunctions.glUniform4fv": ('int', 'int', 'float'), "QOpenGLFunctions.glUniform4i": ('int', 'int', 'int', 'int', 'int'), "QOpenGLFunctions.glUniform4iv": ('int', 'int', 'int'), - "QOpenGLFunctions.glUniformMatrix2fv": ('int', 'int', 'int', 'float'), - "QOpenGLFunctions.glUniformMatrix3fv": ('int', 'int', 'int', 'float'), - "QOpenGLFunctions.glUniformMatrix4fv": ('int', 'int', 'int', 'float'), + "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'), @@ -4302,7 +4306,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLFunctions.glVertexAttrib3fv": ('int', 'float'), "QOpenGLFunctions.glVertexAttrib4f": ('int', 'float', 'float', 'float', 'float'), "QOpenGLFunctions.glVertexAttrib4fv": ('int', 'float'), - "QOpenGLFunctions.glVertexAttribPointer": ('int', 'int', 'int', 'int', 'int', 'int'), + "QOpenGLFunctions.glVertexAttribPointer": ('int', 'int', 'int', 'Union[str, int]', 'int', 'int'), "QOpenGLFunctions.glViewport": ('int', 'int', 'int', 'int'), "QOpenGLFunctions.hasOpenGLFeature": ('PySide2.QtGui.QOpenGLFunctions.OpenGLFeature',), "QOpenGLFunctions.initializeOpenGLFunctions": (), @@ -4371,7 +4375,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLShaderProgram.setDefaultInnerTessellationLevels": ('list',), "QOpenGLShaderProgram.setDefaultOuterTessellationLevels": ('list',), "QOpenGLShaderProgram.setPatchVertexCount": ('int',), - "QOpenGLShaderProgram.setUniformValue": [('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', 'PySide2.support.signature.typing.List'), ('int', 'float'), ('int', 'float', 'float'), ('int', 'float', 'float', 'float'), ('int', 'float', 'float', 'float', 'float'), ('int', 'int'), ('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', 'PySide2.support.signature.typing.List'), ('str', 'float'), ('str', 'float', 'float'), ('str', 'float', 'float', 'float'), ('str', 'float', 'float', 'float', 'float'), ('str', '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',)], @@ -4568,7 +4572,7 @@ if "PySide2.QtGui" in sys.modules: # class PySide2.QtGui.QPagedPaintDevice: "QPagedPaintDevice.__init__": (), - "QPagedPaintDevice.devicePageLayout": [], + "QPagedPaintDevice.devicePageLayout": (), "QPagedPaintDevice.margins": (), "QPagedPaintDevice.newPage": (), "QPagedPaintDevice.pageLayout": (), @@ -4605,9 +4609,9 @@ if "PySide2.QtGui" in sys.modules: "QPaintDevice.widthMM": (), # class PySide2.QtGui.QPaintDeviceWindow: - "QPaintDeviceWindow.metric": ('PySide2.QtGui.QPaintDevice.PaintDeviceMetric',), "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',)], @@ -4695,7 +4699,7 @@ if "PySide2.QtGui" in sys.modules: "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', 'ImageConversionFlags'), ('PySide2.QtCore.QPointF', 'PySide2.QtGui.QImage'), ('PySide2.QtCore.QPointF', 'PySide2.QtGui.QImage', 'PySide2.QtCore.QRectF', 'ImageConversionFlags'), ('PySide2.QtCore.QRect', 'PySide2.QtGui.QImage'), ('PySide2.QtCore.QRect', 'PySide2.QtGui.QImage', 'PySide2.QtCore.QRect', 'ImageConversionFlags'), ('PySide2.QtCore.QRectF', 'PySide2.QtGui.QImage'), ('PySide2.QtCore.QRectF', 'PySide2.QtGui.QImage', 'PySide2.QtCore.QRectF', 'ImageConversionFlags'), ('int', 'int', 'PySide2.QtGui.QImage', 'int', 'int', 'int', 'int', '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.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')], @@ -4706,7 +4710,7 @@ if "PySide2.QtGui" in sys.modules: "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.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')], @@ -4972,7 +4976,7 @@ if "PySide2.QtGui" in sys.modules: "QPictureIO.write": (), # class PySide2.QtGui.QPixelFormat: - "QPixelFormat.__init__": [(), ('PySide2.QtGui.QPixelFormat',), ('PySide2.QtGui.QPixelFormat.ColorModel', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.QtGui.QPixelFormat.AlphaUsage', 'PySide2.QtGui.QPixelFormat.AlphaPosition', 'PySide2.QtGui.QPixelFormat.AlphaPremultiplied', 'PySide2.QtGui.QPixelFormat.TypeInterpretation', 'PySide2.QtGui.QPixelFormat.ByteOrder', 'PySide2.support.signature.typing.Union[str, int]')], + "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": (), @@ -4998,7 +5002,7 @@ if "PySide2.QtGui" in sys.modules: "QPixelFormat.yuvLayout": (), # class PySide2.QtGui.QPixmap: - "QPixmap.__init__": [(), ('PySide2.QtCore.QSize',), ('PySide2.QtGui.QImage',), ('PySide2.QtGui.QPixmap',), ('PySide2.support.signature.typing.List',), ('int', 'int'), ('str', 'str', 'ImageConversionFlags')], + "QPixmap.__init__": [(), ('List[str]',), ('PySide2.QtCore.QSize',), ('PySide2.QtGui.QImage',), ('PySide2.QtGui.QPixmap',), ('int', 'int'), ('str', 'str', 'ImageConversionFlags')], "QPixmap.__copy__": (), "QPixmap.cacheKey": (), "QPixmap.convertFromImage": ('PySide2.QtGui.QImage', 'ImageConversionFlags'), @@ -5021,7 +5025,7 @@ if "PySide2.QtGui" in sys.modules: "QPixmap.isNull": (), "QPixmap.isQBitmap": (), "QPixmap.load": ('str', 'str', 'ImageConversionFlags'), - "QPixmap.loadFromData": [('PySide2.QtCore.QByteArray', 'str', 'ImageConversionFlags'), ('PySide2.support.signature.typing.Union[str, int]', 'int', 'str', 'ImageConversionFlags')], + "QPixmap.loadFromData": [('PySide2.QtCore.QByteArray', 'str', 'ImageConversionFlags'), ('Union[str, int]', 'int', 'str', 'ImageConversionFlags')], "QPixmap.mask": (), "QPixmap.metric": ('PySide2.QtGui.QPaintDevice.PaintDeviceMetric',), "QPixmap.paintEngine": (), @@ -5065,11 +5069,11 @@ if "PySide2.QtGui" in sys.modules: "QPolygon.contains": ('PySide2.QtCore.QPoint',), "QPolygon.containsPoint": ('PySide2.QtCore.QPoint', 'PySide2.QtCore.Qt.FillRule'), "QPolygon.count": [(), ('PySide2.QtCore.QPoint',)], - "QPolygon.data": [], + "QPolygon.data": (), "QPolygon.empty": (), "QPolygon.endsWith": ('PySide2.QtCore.QPoint',), "QPolygon.fill": ('PySide2.QtCore.QPoint', 'int'), - "QPolygon.first": [], + "QPolygon.first": (), "QPolygon.fromList": ('list',), "QPolygon.front": (), "QPolygon.indexOf": ('PySide2.QtCore.QPoint', 'int'), @@ -5077,7 +5081,7 @@ if "PySide2.QtGui" in sys.modules: "QPolygon.intersected": ('PySide2.QtGui.QPolygon',), "QPolygon.isEmpty": (), "QPolygon.isSharedWith": ('list',), - "QPolygon.last": [], + "QPolygon.last": (), "QPolygon.lastIndexOf": ('PySide2.QtCore.QPoint', 'int'), "QPolygon.length": (), "QPolygon.mid": ('int', 'int'), @@ -5125,11 +5129,11 @@ if "PySide2.QtGui" in sys.modules: "QPolygonF.contains": ('PySide2.QtCore.QPointF',), "QPolygonF.containsPoint": ('PySide2.QtCore.QPointF', 'PySide2.QtCore.Qt.FillRule'), "QPolygonF.count": [(), ('PySide2.QtCore.QPointF',)], - "QPolygonF.data": [], + "QPolygonF.data": (), "QPolygonF.empty": (), "QPolygonF.endsWith": ('PySide2.QtCore.QPointF',), "QPolygonF.fill": ('PySide2.QtCore.QPointF', 'int'), - "QPolygonF.first": [], + "QPolygonF.first": (), "QPolygonF.fromList": ('list',), "QPolygonF.front": (), "QPolygonF.indexOf": ('PySide2.QtCore.QPointF', 'int'), @@ -5138,7 +5142,7 @@ if "PySide2.QtGui" in sys.modules: "QPolygonF.isClosed": (), "QPolygonF.isEmpty": (), "QPolygonF.isSharedWith": ('list',), - "QPolygonF.last": [], + "QPolygonF.last": (), "QPolygonF.lastIndexOf": ('PySide2.QtCore.QPointF', 'int'), "QPolygonF.length": (), "QPolygonF.mid": ('int', 'int'), @@ -5262,7 +5266,7 @@ if "PySide2.QtGui" in sys.modules: "QRawFont.style": (), "QRawFont.styleName": (), "QRawFont.supportedWritingSystems": (), - "QRawFont.supportsCharacter": [('PySide2.support.signature.typing.Union[str, int]',), ('int',)], + "QRawFont.supportsCharacter": [('Union[str, int]',), ('int',)], "QRawFont.swap": ('PySide2.QtGui.QRawFont',), "QRawFont.underlinePosition": (), "QRawFont.unitsPerEm": (), @@ -5304,7 +5308,6 @@ if "PySide2.QtGui" in sys.modules: "QResizeEvent.size": (), # class PySide2.QtGui.QScreen: - "QScreen.physicalDotsPerInchX": (), "QScreen.angleBetween": ('PySide2.QtCore.Qt.ScreenOrientation', 'PySide2.QtCore.Qt.ScreenOrientation'), "QScreen.availableGeometry": (), "QScreen.availableSize": (), @@ -5327,6 +5330,7 @@ if "PySide2.QtGui" in sys.modules: "QScreen.orientation": (), "QScreen.orientationUpdateMask": (), "QScreen.physicalDotsPerInch": (), + "QScreen.physicalDotsPerInchX": (), "QScreen.physicalDotsPerInchY": (), "QScreen.physicalSize": (), "QScreen.primaryOrientation": (), @@ -5340,9 +5344,9 @@ if "PySide2.QtGui" in sys.modules: "QScreen.virtualSize": (), # class PySide2.QtGui.QSessionManager: - "QSessionManager.cancel": (), "QSessionManager.allowsErrorInteraction": (), "QSessionManager.allowsInteraction": (), + "QSessionManager.cancel": (), "QSessionManager.discardCommand": (), "QSessionManager.isPhase2": (), "QSessionManager.release": (), @@ -5351,9 +5355,9 @@ if "PySide2.QtGui" in sys.modules: "QSessionManager.restartHint": (), "QSessionManager.sessionId": (), "QSessionManager.sessionKey": (), - "QSessionManager.setDiscardCommand": ('PySide2.support.signature.typing.List',), - "QSessionManager.setManagerProperty": [('str', 'PySide2.support.signature.typing.List'), ('str', 'str')], - "QSessionManager.setRestartCommand": ('PySide2.support.signature.typing.List',), + "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: @@ -5413,7 +5417,7 @@ if "PySide2.QtGui" in sys.modules: "QStandardItem.setCheckable": ('bool',), "QStandardItem.setChild": [('int', 'PySide2.QtGui.QStandardItem'), ('int', 'int', 'PySide2.QtGui.QStandardItem')], "QStandardItem.setColumnCount": ('int',), - "QStandardItem.setData": ('PySide2.support.signature.typing.Any', 'int'), + "QStandardItem.setData": ('Any', 'int'), "QStandardItem.setDragEnabled": ('bool',), "QStandardItem.setDropEnabled": ('bool',), "QStandardItem.setEditable": ('bool',), @@ -5469,17 +5473,17 @@ if "PySide2.QtGui" in sys.modules: "QStandardItemModel.itemData": ('PySide2.QtCore.QModelIndex',), "QStandardItemModel.itemFromIndex": ('PySide2.QtCore.QModelIndex',), "QStandardItemModel.itemPrototype": (), - "QStandardItemModel.mimeData": ('PySide2.support.signature.typing.List',), + "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', 'PySide2.support.signature.typing.Any', 'int'), - "QStandardItemModel.setHeaderData": ('int', 'PySide2.QtCore.Qt.Orientation', 'PySide2.support.signature.typing.Any', '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": ('PySide2.support.signature.typing.List',), + "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',), @@ -5487,7 +5491,7 @@ if "PySide2.QtGui" in sys.modules: "QStandardItemModel.setRowCount": ('int',), "QStandardItemModel.setSortRole": ('int',), "QStandardItemModel.setVerticalHeaderItem": ('int', 'PySide2.QtGui.QStandardItem'), - "QStandardItemModel.setVerticalHeaderLabels": ('PySide2.support.signature.typing.List',), + "QStandardItemModel.setVerticalHeaderLabels": ('List[str]',), "QStandardItemModel.sibling": ('int', 'int', 'PySide2.QtCore.QModelIndex'), "QStandardItemModel.sort": ('int', 'PySide2.QtCore.Qt.SortOrder'), "QStandardItemModel.sortRole": (), @@ -5521,21 +5525,20 @@ if "PySide2.QtGui" in sys.modules: "QStatusTipEvent.tip": (), # class PySide2.QtGui.QStringListModel: - "QStringListModel.__init__": [('PySide2.QtCore.QObject',), ('PySide2.support.signature.typing.List', 'PySide2.QtCore.QObject')], + "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', 'PySide2.support.signature.typing.Any', 'int'), - "QStringListModel.setStringList": ('PySide2.support.signature.typing.List',), + "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.QtGui.QStyleHints: - "QStyleHints.setFocusOnTouchRelease": (), "QStyleHints.cursorFlashTime": (), "QStyleHints.fontSmoothingGamma": (), "QStyleHints.keyboardAutoRepeatRate": (), @@ -5545,6 +5548,7 @@ if "PySide2.QtGui" in sys.modules: "QStyleHints.passwordMaskCharacter": (), "QStyleHints.passwordMaskDelay": (), "QStyleHints.setCursorFlashTime": ('int',), + "QStyleHints.setFocusOnTouchRelease": (), "QStyleHints.setKeyboardInputInterval": ('int',), "QStyleHints.setMouseDoubleClickInterval": ('int',), "QStyleHints.setMousePressAndHoldInterval": ('int',), @@ -5635,12 +5639,12 @@ if "PySide2.QtGui" in sys.modules: "QTabletEvent.button": (), "QTabletEvent.buttons": (), "QTabletEvent.device": (), - "QTabletEvent.global"+"Y": (), "QTabletEvent.globalPos": (), "QTabletEvent.globalPosF": (), "QTabletEvent.globalX": (), - "QTabletEvent.hiResGlobal"+"Y": (), + "QTabletEvent.global""Y": (), "QTabletEvent.hiResGlobalX": (), + "QTabletEvent.hiResGlobal""Y": (), "QTabletEvent.pointerType": (), "QTabletEvent.pos": (), "QTabletEvent.posF": (), @@ -5674,7 +5678,6 @@ if "PySide2.QtGui" in sys.modules: "QTextBlock.layout": (), "QTextBlock.length": (), "QTextBlock.lineCount": (), - "QTextBlock.next": (), "QTextBlock.position": (), "QTextBlock.previous": (), "QTextBlock.revision": (), @@ -5757,7 +5760,7 @@ if "PySide2.QtGui" in sys.modules: "QTextCharFormat.setAnchor": ('bool',), "QTextCharFormat.setAnchorHref": ('str',), "QTextCharFormat.setAnchorName": ('str',), - "QTextCharFormat.setAnchorNames": ('PySide2.support.signature.typing.List',), + "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',), @@ -5855,7 +5858,7 @@ if "PySide2.QtGui" in sys.modules: # class PySide2.QtGui.QTextDocument: "QTextDocument.__init__": [('PySide2.QtCore.QObject',), ('str', 'PySide2.QtCore.QObject')], - "QTextDocument.addResource": ('int', 'PySide2.QtCore.QUrl', 'PySide2.support.signature.typing.Any'), + "QTextDocument.addResource": ('int', 'PySide2.QtCore.QUrl', 'Any'), "QTextDocument.adjustSize": (), "QTextDocument.allFormats": (), "QTextDocument.availableRedoSteps": (), @@ -5990,7 +5993,7 @@ if "PySide2.QtGui" in sys.modules: "QTextFormat.setLayoutDirection": ('PySide2.QtCore.Qt.LayoutDirection',), "QTextFormat.setObjectIndex": ('int',), "QTextFormat.setObjectType": ('int',), - "QTextFormat.setProperty": [('int', 'PySide2.support.signature.typing.Any'), ('int', 'list')], + "QTextFormat.setProperty": [('int', 'Any'), ('int', 'list')], "QTextFormat.stringProperty": ('int',), "QTextFormat.swap": ('PySide2.QtGui.QTextFormat',), "QTextFormat.toBlockFormat": (), @@ -6465,10 +6468,10 @@ if "PySide2.QtGui" in sys.modules: "QWheelEvent.angleDelta": (), "QWheelEvent.buttons": (), "QWheelEvent.delta": (), - "QWheelEvent.global"+"Y": (), "QWheelEvent.globalPos": (), "QWheelEvent.globalPosF": (), "QWheelEvent.globalX": (), + "QWheelEvent.global""Y": (), "QWheelEvent.inverted": (), "QWheelEvent.orientation": (), "QWheelEvent.phase": (), @@ -6967,7 +6970,7 @@ if "PySide2.QtWidgets" in sys.modules: "QAction.setAutoRepeat": ('bool',), "QAction.setCheckable": ('bool',), "QAction.setChecked": ('bool',), - "QAction.setData": ('PySide2.support.signature.typing.Any',), + "QAction.setData": ('Any',), "QAction.setDisabled": ('bool',), "QAction.setEnabled": ('bool',), "QAction.setFont": ('PySide2.QtGui.QFont',), @@ -7012,7 +7015,7 @@ if "PySide2.QtWidgets" in sys.modules: "QActionGroup.setVisible": ('bool',), # class PySide2.QtWidgets.QApplication: - "QApplication.__init__": ('PySide2.support.signature.typing.List',), + "QApplication.__init__": ('List[str]',), "QApplication.aboutQt": (), "QApplication.activeModalWidget": (), "QApplication.activePopupWidget": (), @@ -7197,6 +7200,19 @@ if "PySide2.QtWidgets" in sys.modules: "QColorDialog.standardColor": ('int',), "QColorDialog.testOption": ('PySide2.QtWidgets.QColorDialog.ColorDialogOption',), + # class PySide2.QtWidgets.QColormap: + "QColormap.__init__": ('PySide2.QtWidgets.QColormap',), + "QColormap.__copy__": (), + "QColormap.cleanup": (), + "QColormap.colorAt": ('int',), + "QColormap.colormap": (), + "QColormap.depth": (), + "QColormap.initialize": (), + "QColormap.instance": ('int',), + "QColormap.mode": (), + "QColormap.pixel": ('PySide2.QtGui.QColor',), + "QColormap.size": (), + # class PySide2.QtWidgets.QColumnView: "QColumnView.__init__": ('PySide2.QtWidgets.QWidget',), "QColumnView.columnWidths": (), @@ -7228,8 +7244,8 @@ if "PySide2.QtWidgets" in sys.modules: # class PySide2.QtWidgets.QComboBox: "QComboBox.__init__": ('PySide2.QtWidgets.QWidget',), - "QComboBox.addItem": [('PySide2.QtGui.QIcon', 'str', 'PySide2.support.signature.typing.Any'), ('str', 'PySide2.support.signature.typing.Any')], - "QComboBox.addItems": ('PySide2.support.signature.typing.List',), + "QComboBox.addItem": [('PySide2.QtGui.QIcon', 'str', 'Any'), ('str', 'Any')], + "QComboBox.addItems": ('List[str]',), "QComboBox.autoCompletion": (), "QComboBox.autoCompletionCaseSensitivity": (), "QComboBox.changeEvent": ('PySide2.QtCore.QEvent',), @@ -7243,7 +7259,7 @@ if "PySide2.QtWidgets" in sys.modules: "QComboBox.currentText": (), "QComboBox.duplicatesEnabled": (), "QComboBox.event": ('PySide2.QtCore.QEvent',), - "QComboBox.findData": ('PySide2.support.signature.typing.Any', 'int', 'MatchFlags'), + "QComboBox.findData": ('Any', 'int', 'MatchFlags'), "QComboBox.findText": ('str', 'MatchFlags'), "QComboBox.focusInEvent": ('PySide2.QtGui.QFocusEvent',), "QComboBox.focusOutEvent": ('PySide2.QtGui.QFocusEvent',), @@ -7253,9 +7269,9 @@ if "PySide2.QtWidgets" in sys.modules: "QComboBox.iconSize": (), "QComboBox.initStyleOption": ('PySide2.QtWidgets.QStyleOptionComboBox',), "QComboBox.inputMethodEvent": ('PySide2.QtGui.QInputMethodEvent',), - "QComboBox.inputMethodQuery": [('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.InputMethodQuery', 'PySide2.support.signature.typing.Any')], - "QComboBox.insertItem": [('int', 'PySide2.QtGui.QIcon', 'str', 'PySide2.support.signature.typing.Any'), ('int', 'str', 'PySide2.support.signature.typing.Any')], - "QComboBox.insertItems": ('int', 'PySide2.support.signature.typing.List'), + "QComboBox.inputMethodQuery": [('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.InputMethodQuery', 'Any')], + "QComboBox.insertItem": [('int', 'PySide2.QtGui.QIcon', 'str', 'Any'), ('int', 'str', 'Any')], + "QComboBox.insertItems": ('int', 'List[str]'), "QComboBox.insertPolicy": (), "QComboBox.insertSeparator": ('int',), "QComboBox.isEditable": (), @@ -7289,7 +7305,7 @@ if "PySide2.QtWidgets" in sys.modules: "QComboBox.setFrame": ('bool',), "QComboBox.setIconSize": ('PySide2.QtCore.QSize',), "QComboBox.setInsertPolicy": ('PySide2.QtWidgets.QComboBox.InsertPolicy',), - "QComboBox.setItemData": ('int', 'PySide2.support.signature.typing.Any', 'int'), + "QComboBox.setItemData": ('int', 'Any', 'int'), "QComboBox.setItemDelegate": ('PySide2.QtWidgets.QAbstractItemDelegate',), "QComboBox.setItemIcon": ('int', 'PySide2.QtGui.QIcon'), "QComboBox.setItemText": ('int', 'str'), @@ -7340,7 +7356,7 @@ if "PySide2.QtWidgets" in sys.modules: "QCommonStyle.unpolish": [('PySide2.QtWidgets.QApplication',), ('PySide2.QtWidgets.QWidget',)], # class PySide2.QtWidgets.QCompleter: - "QCompleter.__init__": [('PySide2.QtCore.QAbstractItemModel', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QObject',), ('PySide2.support.signature.typing.List', 'PySide2.QtCore.QObject')], + "QCompleter.__init__": [('List[str]', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QAbstractItemModel', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QObject',)], "QCompleter.caseSensitivity": (), "QCompleter.complete": ('PySide2.QtCore.QRect',), "QCompleter.completionColumn": (), @@ -7409,7 +7425,7 @@ if "PySide2.QtWidgets" in sys.modules: "QDateEdit.__init__": [('PySide2.QtCore.QDate', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtWidgets.QWidget',)], # class PySide2.QtWidgets.QDateTimeEdit: - "QDateTimeEdit.__init__": [('PySide2.QtCore.QDate', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtCore.QDateTime', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtCore.QTime', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtWidgets.QWidget',), ('PySide2.support.signature.typing.Any', 'type', 'PySide2.QtWidgets.QWidget')], + "QDateTimeEdit.__init__": [('Any', 'type', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtCore.QDate', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtCore.QDateTime', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtCore.QTime', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtWidgets.QWidget',)], "QDateTimeEdit.calendarPopup": (), "QDateTimeEdit.calendarWidget": (), "QDateTimeEdit.clear": (), @@ -7550,7 +7566,7 @@ if "PySide2.QtWidgets" in sys.modules: "QDialogButtonBox.standardButtons": (), # class PySide2.QtWidgets.QDirModel: - "QDirModel.__init__": [('PySide2.QtCore.QObject',), ('PySide2.support.signature.typing.List', 'Filters', 'SortFlags', 'PySide2.QtCore.QObject')], + "QDirModel.__init__": [('List[str]', 'Filters', 'SortFlags', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QObject',)], "QDirModel.columnCount": ('PySide2.QtCore.QModelIndex',), "QDirModel.data": ('PySide2.QtCore.QModelIndex', 'int'), "QDirModel.dropMimeData": ('PySide2.QtCore.QMimeData', 'PySide2.QtCore.Qt.DropAction', 'int', 'int', 'PySide2.QtCore.QModelIndex'), @@ -7567,7 +7583,7 @@ if "PySide2.QtWidgets" in sys.modules: "QDirModel.isDir": ('PySide2.QtCore.QModelIndex',), "QDirModel.isReadOnly": (), "QDirModel.lazyChildCount": (), - "QDirModel.mimeData": ('PySide2.support.signature.typing.List',), + "QDirModel.mimeData": ('List[int]',), "QDirModel.mimeTypes": (), "QDirModel.mkdir": ('PySide2.QtCore.QModelIndex', 'str'), "QDirModel.nameFilters": (), @@ -7577,11 +7593,11 @@ if "PySide2.QtWidgets" in sys.modules: "QDirModel.resolveSymlinks": (), "QDirModel.rmdir": ('PySide2.QtCore.QModelIndex',), "QDirModel.rowCount": ('PySide2.QtCore.QModelIndex',), - "QDirModel.setData": ('PySide2.QtCore.QModelIndex', 'PySide2.support.signature.typing.Any', 'int'), + "QDirModel.setData": ('PySide2.QtCore.QModelIndex', 'Any', 'int'), "QDirModel.setFilter": ('Filters',), "QDirModel.setIconProvider": ('PySide2.QtWidgets.QFileIconProvider',), "QDirModel.setLazyChildCount": ('bool',), - "QDirModel.setNameFilters": ('PySide2.support.signature.typing.List',), + "QDirModel.setNameFilters": ('List[str]',), "QDirModel.setReadOnly": ('bool',), "QDirModel.setResolveSymlinks": ('bool',), "QDirModel.setSorting": ('SortFlags',), @@ -7652,13 +7668,13 @@ if "PySide2.QtWidgets" in sys.modules: "QFileDialog.fileMode": (), "QFileDialog.filter": (), "QFileDialog.getExistingDirectory": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'Options'), - "QFileDialog.getExistingDirectoryUrl": ('PySide2.QtWidgets.QWidget', 'str', 'PySide2.QtCore.QUrl', 'Options', 'PySide2.support.signature.typing.List'), + "QFileDialog.getExistingDirectoryUrl": ('PySide2.QtWidgets.QWidget', 'str', 'PySide2.QtCore.QUrl', 'Options', 'List[str]'), "QFileDialog.getOpenFileName": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'str', 'str', 'Options'), "QFileDialog.getOpenFileNames": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'str', 'str', 'Options'), - "QFileDialog.getOpenFileUrl": ('PySide2.QtWidgets.QWidget', 'str', 'PySide2.QtCore.QUrl', 'str', 'str', 'Options', 'PySide2.support.signature.typing.List'), - "QFileDialog.getOpenFileUrls": ('PySide2.QtWidgets.QWidget', 'str', 'PySide2.QtCore.QUrl', 'str', 'str', 'Options', 'PySide2.support.signature.typing.List'), + "QFileDialog.getOpenFileUrl": ('PySide2.QtWidgets.QWidget', 'str', 'PySide2.QtCore.QUrl', 'str', 'str', 'Options', 'List[str]'), + "QFileDialog.getOpenFileUrls": ('PySide2.QtWidgets.QWidget', 'str', 'PySide2.QtCore.QUrl', 'str', 'str', 'Options', 'List[str]'), "QFileDialog.getSaveFileName": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'str', 'str', 'Options'), - "QFileDialog.getSaveFileUrl": ('PySide2.QtWidgets.QWidget', 'str', 'PySide2.QtCore.QUrl', 'str', 'str', 'Options', 'PySide2.support.signature.typing.List'), + "QFileDialog.getSaveFileUrl": ('PySide2.QtWidgets.QWidget', 'str', 'PySide2.QtCore.QUrl', 'str', 'str', 'Options', 'List[str]'), "QFileDialog.history": (), "QFileDialog.iconProvider": (), "QFileDialog.isNameFilterDetailsVisible": (), @@ -7688,21 +7704,21 @@ if "PySide2.QtWidgets" in sys.modules: "QFileDialog.setDirectoryUrl": ('PySide2.QtCore.QUrl',), "QFileDialog.setFileMode": ('PySide2.QtWidgets.QFileDialog.FileMode',), "QFileDialog.setFilter": ('Filters',), - "QFileDialog.setHistory": ('PySide2.support.signature.typing.List',), + "QFileDialog.setHistory": ('List[str]',), "QFileDialog.setIconProvider": ('PySide2.QtWidgets.QFileIconProvider',), "QFileDialog.setItemDelegate": ('PySide2.QtWidgets.QAbstractItemDelegate',), "QFileDialog.setLabelText": ('PySide2.QtWidgets.QFileDialog.DialogLabel', 'str'), - "QFileDialog.setMimeTypeFilters": ('PySide2.support.signature.typing.List',), + "QFileDialog.setMimeTypeFilters": ('List[str]',), "QFileDialog.setNameFilter": ('str',), "QFileDialog.setNameFilterDetailsVisible": ('bool',), - "QFileDialog.setNameFilters": ('PySide2.support.signature.typing.List',), + "QFileDialog.setNameFilters": ('List[str]',), "QFileDialog.setOption": ('PySide2.QtWidgets.QFileDialog.Option', 'bool'), "QFileDialog.setOptions": ('Options',), "QFileDialog.setProxyModel": ('PySide2.QtCore.QAbstractProxyModel',), "QFileDialog.setReadOnly": ('bool',), "QFileDialog.setResolveSymlinks": ('bool',), "QFileDialog.setSidebarUrls": ('list',), - "QFileDialog.setSupportedSchemes": ('PySide2.support.signature.typing.List',), + "QFileDialog.setSupportedSchemes": ('List[str]',), "QFileDialog.setViewMode": ('PySide2.QtWidgets.QFileDialog.ViewMode',), "QFileDialog.setVisible": ('bool',), "QFileDialog.sidebarUrls": (), @@ -7738,7 +7754,7 @@ if "PySide2.QtWidgets" in sys.modules: "QFileSystemModel.isDir": ('PySide2.QtCore.QModelIndex',), "QFileSystemModel.isReadOnly": (), "QFileSystemModel.lastModified": ('PySide2.QtCore.QModelIndex',), - "QFileSystemModel.mimeData": ('PySide2.support.signature.typing.List',), + "QFileSystemModel.mimeData": ('List[int]',), "QFileSystemModel.mimeTypes": (), "QFileSystemModel.mkdir": ('PySide2.QtCore.QModelIndex', 'str'), "QFileSystemModel.myComputer": ('int',), @@ -7751,11 +7767,11 @@ if "PySide2.QtWidgets" in sys.modules: "QFileSystemModel.rootDirectory": (), "QFileSystemModel.rootPath": (), "QFileSystemModel.rowCount": ('PySide2.QtCore.QModelIndex',), - "QFileSystemModel.setData": ('PySide2.QtCore.QModelIndex', 'PySide2.support.signature.typing.Any', 'int'), + "QFileSystemModel.setData": ('PySide2.QtCore.QModelIndex', 'Any', 'int'), "QFileSystemModel.setFilter": ('Filters',), "QFileSystemModel.setIconProvider": ('PySide2.QtWidgets.QFileIconProvider',), "QFileSystemModel.setNameFilterDisables": ('bool',), - "QFileSystemModel.setNameFilters": ('PySide2.support.signature.typing.List',), + "QFileSystemModel.setNameFilters": ('List[str]',), "QFileSystemModel.setReadOnly": ('bool',), "QFileSystemModel.setResolveSymlinks": ('bool',), "QFileSystemModel.setRootPath": ('str',), @@ -7897,8 +7913,8 @@ if "PySide2.QtWidgets" in sys.modules: "QGestureRecognizer.unregisterRecognizer": ('PySide2.QtCore.Qt.GestureType',), # class PySide2.QtWidgets.QGraphicsAnchor: - "QGraphicsAnchor.setSpacing": ('float',), "QGraphicsAnchor.setSizePolicy": ('PySide2.QtWidgets.QSizePolicy.Policy',), + "QGraphicsAnchor.setSpacing": ('float',), "QGraphicsAnchor.sizePolicy": (), "QGraphicsAnchor.spacing": (), "QGraphicsAnchor.unsetSpacing": (), @@ -7972,7 +7988,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsEllipseItem.__init__": [('PySide2.QtCore.QRectF', 'PySide2.QtWidgets.QGraphicsItem'), ('PySide2.QtWidgets.QGraphicsItem',), ('float', 'float', 'float', 'float', 'PySide2.QtWidgets.QGraphicsItem')], "QGraphicsEllipseItem.boundingRect": (), "QGraphicsEllipseItem.contains": ('PySide2.QtCore.QPointF',), - "QGraphicsEllipseItem.extension": ('PySide2.support.signature.typing.Any',), + "QGraphicsEllipseItem.extension": ('Any',), "QGraphicsEllipseItem.isObscuredBy": ('PySide2.QtWidgets.QGraphicsItem',), "QGraphicsEllipseItem.opaqueArea": (), "QGraphicsEllipseItem.paint": ('PySide2.QtGui.QPainter', 'PySide2.QtWidgets.QStyleOptionGraphicsItem', 'PySide2.QtWidgets.QWidget'), @@ -8062,7 +8078,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsItem.dropEvent": ('PySide2.QtWidgets.QGraphicsSceneDragDropEvent',), "QGraphicsItem.effectiveOpacity": (), "QGraphicsItem.ensureVisible": [('PySide2.QtCore.QRectF', 'int', 'int'), ('float', 'float', 'float', 'float', 'int', 'int')], - "QGraphicsItem.extension": ('PySide2.support.signature.typing.Any',), + "QGraphicsItem.extension": ('Any',), "QGraphicsItem.filtersChildEvents": (), "QGraphicsItem.flags": (), "QGraphicsItem.focusInEvent": ('PySide2.QtGui.QFocusEvent',), @@ -8099,7 +8115,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsItem.isVisibleTo": ('PySide2.QtWidgets.QGraphicsItem',), "QGraphicsItem.isWidget": (), "QGraphicsItem.isWindow": (), - "QGraphicsItem.itemChange": ('PySide2.QtWidgets.QGraphicsItem.GraphicsItemChange', 'PySide2.support.signature.typing.Any'), + "QGraphicsItem.itemChange": ('PySide2.QtWidgets.QGraphicsItem.GraphicsItemChange', 'Any'), "QGraphicsItem.itemTransform": ('PySide2.QtWidgets.QGraphicsItem', 'bool'), "QGraphicsItem.keyPressEvent": ('PySide2.QtGui.QKeyEvent',), "QGraphicsItem.keyReleaseEvent": ('PySide2.QtGui.QKeyEvent',), @@ -8153,7 +8169,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsItem.setBoundingRegionGranularity": ('float',), "QGraphicsItem.setCacheMode": ('PySide2.QtWidgets.QGraphicsItem.CacheMode', 'PySide2.QtCore.QSize'), "QGraphicsItem.setCursor": ('PySide2.QtGui.QCursor',), - "QGraphicsItem.setData": ('int', 'PySide2.support.signature.typing.Any'), + "QGraphicsItem.setData": ('int', 'Any'), "QGraphicsItem.setEnabled": ('bool',), "QGraphicsItem.setFiltersChildEvents": ('bool',), "QGraphicsItem.setFlag": ('PySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag', 'bool'), @@ -8183,7 +8199,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsItem.shape": (), "QGraphicsItem.show": (), "QGraphicsItem.stackBefore": ('PySide2.QtWidgets.QGraphicsItem',), - "QGraphicsItem.toGraphicsObject": [], + "QGraphicsItem.toGraphicsObject": (), "QGraphicsItem.toolTip": (), "QGraphicsItem.topLevelItem": (), "QGraphicsItem.topLevelWidget": (), @@ -8300,7 +8316,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsLineItem.__init__": [('PySide2.QtCore.QLineF', 'PySide2.QtWidgets.QGraphicsItem'), ('PySide2.QtWidgets.QGraphicsItem',), ('float', 'float', 'float', 'float', 'PySide2.QtWidgets.QGraphicsItem')], "QGraphicsLineItem.boundingRect": (), "QGraphicsLineItem.contains": ('PySide2.QtCore.QPointF',), - "QGraphicsLineItem.extension": ('PySide2.support.signature.typing.Any',), + "QGraphicsLineItem.extension": ('Any',), "QGraphicsLineItem.isObscuredBy": ('PySide2.QtWidgets.QGraphicsItem',), "QGraphicsLineItem.line": (), "QGraphicsLineItem.opaqueArea": (), @@ -8355,7 +8371,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsPathItem.__init__": [('PySide2.QtGui.QPainterPath', 'PySide2.QtWidgets.QGraphicsItem'), ('PySide2.QtWidgets.QGraphicsItem',)], "QGraphicsPathItem.boundingRect": (), "QGraphicsPathItem.contains": ('PySide2.QtCore.QPointF',), - "QGraphicsPathItem.extension": ('PySide2.support.signature.typing.Any',), + "QGraphicsPathItem.extension": ('Any',), "QGraphicsPathItem.isObscuredBy": ('PySide2.QtWidgets.QGraphicsItem',), "QGraphicsPathItem.opaqueArea": (), "QGraphicsPathItem.paint": ('PySide2.QtGui.QPainter', 'PySide2.QtWidgets.QStyleOptionGraphicsItem', 'PySide2.QtWidgets.QWidget'), @@ -8368,7 +8384,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsPixmapItem.__init__": [('PySide2.QtGui.QPixmap', 'PySide2.QtWidgets.QGraphicsItem'), ('PySide2.QtWidgets.QGraphicsItem',)], "QGraphicsPixmapItem.boundingRect": (), "QGraphicsPixmapItem.contains": ('PySide2.QtCore.QPointF',), - "QGraphicsPixmapItem.extension": ('PySide2.support.signature.typing.Any',), + "QGraphicsPixmapItem.extension": ('Any',), "QGraphicsPixmapItem.isObscuredBy": ('PySide2.QtWidgets.QGraphicsItem',), "QGraphicsPixmapItem.offset": (), "QGraphicsPixmapItem.opaqueArea": (), @@ -8387,7 +8403,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsPolygonItem.__init__": [('PySide2.QtGui.QPolygonF', 'PySide2.QtWidgets.QGraphicsItem'), ('PySide2.QtWidgets.QGraphicsItem',)], "QGraphicsPolygonItem.boundingRect": (), "QGraphicsPolygonItem.contains": ('PySide2.QtCore.QPointF',), - "QGraphicsPolygonItem.extension": ('PySide2.support.signature.typing.Any',), + "QGraphicsPolygonItem.extension": ('Any',), "QGraphicsPolygonItem.fillRule": (), "QGraphicsPolygonItem.isObscuredBy": ('PySide2.QtWidgets.QGraphicsItem',), "QGraphicsPolygonItem.opaqueArea": (), @@ -8418,7 +8434,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsProxyWidget.hoverMoveEvent": ('PySide2.QtWidgets.QGraphicsSceneHoverEvent',), "QGraphicsProxyWidget.inputMethodEvent": ('PySide2.QtGui.QInputMethodEvent',), "QGraphicsProxyWidget.inputMethodQuery": ('PySide2.QtCore.Qt.InputMethodQuery',), - "QGraphicsProxyWidget.itemChange": ('PySide2.QtWidgets.QGraphicsItem.GraphicsItemChange', 'PySide2.support.signature.typing.Any'), + "QGraphicsProxyWidget.itemChange": ('PySide2.QtWidgets.QGraphicsItem.GraphicsItemChange', 'Any'), "QGraphicsProxyWidget.keyPressEvent": ('PySide2.QtGui.QKeyEvent',), "QGraphicsProxyWidget.keyReleaseEvent": ('PySide2.QtGui.QKeyEvent',), "QGraphicsProxyWidget.mouseDoubleClickEvent": ('PySide2.QtWidgets.QGraphicsSceneMouseEvent',), @@ -8442,7 +8458,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsRectItem.__init__": [('PySide2.QtCore.QRectF', 'PySide2.QtWidgets.QGraphicsItem'), ('PySide2.QtWidgets.QGraphicsItem',), ('float', 'float', 'float', 'float', 'PySide2.QtWidgets.QGraphicsItem')], "QGraphicsRectItem.boundingRect": (), "QGraphicsRectItem.contains": ('PySide2.QtCore.QPointF',), - "QGraphicsRectItem.extension": ('PySide2.support.signature.typing.Any',), + "QGraphicsRectItem.extension": ('Any',), "QGraphicsRectItem.isObscuredBy": ('PySide2.QtWidgets.QGraphicsItem',), "QGraphicsRectItem.opaqueArea": (), "QGraphicsRectItem.paint": ('PySide2.QtGui.QPainter', 'PySide2.QtWidgets.QStyleOptionGraphicsItem', 'PySide2.QtWidgets.QWidget'), @@ -8690,7 +8706,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsSimpleTextItem.__init__": [('PySide2.QtWidgets.QGraphicsItem',), ('str', 'PySide2.QtWidgets.QGraphicsItem')], "QGraphicsSimpleTextItem.boundingRect": (), "QGraphicsSimpleTextItem.contains": ('PySide2.QtCore.QPointF',), - "QGraphicsSimpleTextItem.extension": ('PySide2.support.signature.typing.Any',), + "QGraphicsSimpleTextItem.extension": ('Any',), "QGraphicsSimpleTextItem.font": (), "QGraphicsSimpleTextItem.isObscuredBy": ('PySide2.QtWidgets.QGraphicsItem',), "QGraphicsSimpleTextItem.opaqueArea": (), @@ -8713,7 +8729,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsTextItem.dragLeaveEvent": ('PySide2.QtWidgets.QGraphicsSceneDragDropEvent',), "QGraphicsTextItem.dragMoveEvent": ('PySide2.QtWidgets.QGraphicsSceneDragDropEvent',), "QGraphicsTextItem.dropEvent": ('PySide2.QtWidgets.QGraphicsSceneDragDropEvent',), - "QGraphicsTextItem.extension": ('PySide2.support.signature.typing.Any',), + "QGraphicsTextItem.extension": ('Any',), "QGraphicsTextItem.focusInEvent": ('PySide2.QtGui.QFocusEvent',), "QGraphicsTextItem.focusOutEvent": ('PySide2.QtGui.QFocusEvent',), "QGraphicsTextItem.font": (), @@ -8770,7 +8786,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsView.dragMoveEvent": ('PySide2.QtGui.QDragMoveEvent',), "QGraphicsView.drawBackground": ('PySide2.QtGui.QPainter', 'PySide2.QtCore.QRectF'), "QGraphicsView.drawForeground": ('PySide2.QtGui.QPainter', 'PySide2.QtCore.QRectF'), - "QGraphicsView.drawItems": ('PySide2.QtGui.QPainter', 'int', 'PySide2.support.signature.typing.List', 'PySide2.support.signature.typing.List'), + "QGraphicsView.drawItems": ('PySide2.QtGui.QPainter', 'int', 'List[PySide2.QtWidgets.QGraphicsItem]', 'List[PySide2.QtWidgets.QStyleOptionGraphicsItem]'), "QGraphicsView.dropEvent": ('PySide2.QtGui.QDropEvent',), "QGraphicsView.ensureVisible": [('PySide2.QtCore.QRectF', 'int', 'int'), ('PySide2.QtWidgets.QGraphicsItem', 'int', 'int'), ('float', 'float', 'float', 'float', 'int', 'int')], "QGraphicsView.event": ('PySide2.QtCore.QEvent',), @@ -8873,7 +8889,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsWidget.insertAction": ('PySide2.QtWidgets.QAction', 'PySide2.QtWidgets.QAction'), "QGraphicsWidget.insertActions": ('PySide2.QtWidgets.QAction', 'list'), "QGraphicsWidget.isActiveWindow": (), - "QGraphicsWidget.itemChange": ('PySide2.QtWidgets.QGraphicsItem.GraphicsItemChange', 'PySide2.support.signature.typing.Any'), + "QGraphicsWidget.itemChange": ('PySide2.QtWidgets.QGraphicsItem.GraphicsItemChange', 'Any'), "QGraphicsWidget.layout": (), "QGraphicsWidget.layoutDirection": (), "QGraphicsWidget.moveEvent": ('PySide2.QtWidgets.QGraphicsSceneMoveEvent',), @@ -8881,7 +8897,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsWidget.paintWindowFrame": ('PySide2.QtGui.QPainter', 'PySide2.QtWidgets.QStyleOptionGraphicsItem', 'PySide2.QtWidgets.QWidget'), "QGraphicsWidget.palette": (), "QGraphicsWidget.polishEvent": (), - "QGraphicsWidget.propertyChange": ('str', 'PySide2.support.signature.typing.Any'), + "QGraphicsWidget.propertyChange": ('str', 'Any'), "QGraphicsWidget.rect": (), "QGraphicsWidget.releaseShortcut": ('int',), "QGraphicsWidget.removeAction": ('PySide2.QtWidgets.QAction',), @@ -9097,7 +9113,7 @@ if "PySide2.QtWidgets" in sys.modules: "QInputDialog.doubleValue": (), "QInputDialog.getDouble": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'float', 'float', 'float', 'int', 'bool', 'WindowFlags'), "QInputDialog.getInt": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'int', 'int', 'int', 'int', 'bool', 'WindowFlags'), - "QInputDialog.getItem": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'PySide2.support.signature.typing.List', 'int', 'bool', 'bool', 'WindowFlags', 'InputMethodHints'), + "QInputDialog.getItem": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'List[str]', 'int', 'bool', 'bool', 'WindowFlags', 'InputMethodHints'), "QInputDialog.getMultiLineText": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'str', 'bool', 'WindowFlags', 'InputMethodHints'), "QInputDialog.getText": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'PySide2.QtWidgets.QLineEdit.EchoMode', 'str', 'bool', 'WindowFlags', 'InputMethodHints'), "QInputDialog.inputMode": (), @@ -9112,7 +9128,7 @@ if "PySide2.QtWidgets" in sys.modules: "QInputDialog.open": [(), ('PySide2.QtCore.QObject', 'str')], "QInputDialog.setCancelButtonText": ('str',), "QInputDialog.setComboBoxEditable": ('bool',), - "QInputDialog.setComboBoxItems": ('PySide2.support.signature.typing.List',), + "QInputDialog.setComboBoxItems": ('List[str]',), "QInputDialog.setDoubleDecimals": ('int',), "QInputDialog.setDoubleMaximum": ('float',), "QInputDialog.setDoubleMinimum": ('float',), @@ -9138,8 +9154,8 @@ if "PySide2.QtWidgets" in sys.modules: # class PySide2.QtWidgets.QItemDelegate: "QItemDelegate.__init__": ('PySide2.QtCore.QObject',), "QItemDelegate.createEditor": ('PySide2.QtWidgets.QWidget', 'PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.QtCore.QModelIndex'), - "QItemDelegate.decoration": ('PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.support.signature.typing.Any'), - "QItemDelegate.doCheck": ('PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.QtCore.QRect', 'PySide2.support.signature.typing.Any'), + "QItemDelegate.decoration": ('PySide2.QtWidgets.QStyleOptionViewItem', 'Any'), + "QItemDelegate.doCheck": ('PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.QtCore.QRect', 'Any'), "QItemDelegate.drawBackground": ('PySide2.QtGui.QPainter', 'PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.QtCore.QModelIndex'), "QItemDelegate.drawCheck": ('PySide2.QtGui.QPainter', 'PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.QtCore.QRect', 'PySide2.QtCore.Qt.CheckState'), "QItemDelegate.drawDecoration": ('PySide2.QtGui.QPainter', 'PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.QtCore.QRect', 'PySide2.QtGui.QPixmap'), @@ -9374,7 +9390,7 @@ if "PySide2.QtWidgets" in sys.modules: "QLineEdit.initStyleOption": ('PySide2.QtWidgets.QStyleOptionFrame',), "QLineEdit.inputMask": (), "QLineEdit.inputMethodEvent": ('PySide2.QtGui.QInputMethodEvent',), - "QLineEdit.inputMethodQuery": [('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.InputMethodQuery', 'PySide2.support.signature.typing.Any')], + "QLineEdit.inputMethodQuery": [('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.InputMethodQuery', 'Any')], "QLineEdit.insert": ('str',), "QLineEdit.isClearButtonEnabled": (), "QLineEdit.isModified": (), @@ -9490,7 +9506,7 @@ if "PySide2.QtWidgets" in sys.modules: # class PySide2.QtWidgets.QListWidget: "QListWidget.__init__": ('PySide2.QtWidgets.QWidget',), "QListWidget.addItem": [('PySide2.QtWidgets.QListWidgetItem',), ('str',)], - "QListWidget.addItems": ('PySide2.support.signature.typing.List',), + "QListWidget.addItems": ('List[str]',), "QListWidget.clear": (), "QListWidget.closePersistentEditor": [('PySide2.QtCore.QModelIndex',), ('PySide2.QtWidgets.QListWidgetItem',)], "QListWidget.count": (), @@ -9503,7 +9519,7 @@ if "PySide2.QtWidgets" in sys.modules: "QListWidget.findItems": ('str', 'MatchFlags'), "QListWidget.indexFromItem": ('PySide2.QtWidgets.QListWidgetItem',), "QListWidget.insertItem": [('int', 'PySide2.QtWidgets.QListWidgetItem'), ('int', 'str')], - "QListWidget.insertItems": ('int', 'PySide2.support.signature.typing.List'), + "QListWidget.insertItems": ('int', 'List[str]'), "QListWidget.isItemHidden": ('PySide2.QtWidgets.QListWidgetItem',), "QListWidget.isItemSelected": ('PySide2.QtWidgets.QListWidgetItem',), "QListWidget.isSortingEnabled": (), @@ -9550,7 +9566,7 @@ if "PySide2.QtWidgets" in sys.modules: "QListWidgetItem.setBackground": ('PySide2.QtGui.QBrush',), "QListWidgetItem.setBackgroundColor": ('PySide2.QtGui.QColor',), "QListWidgetItem.setCheckState": ('PySide2.QtCore.Qt.CheckState',), - "QListWidgetItem.setData": ('int', 'PySide2.support.signature.typing.Any'), + "QListWidgetItem.setData": ('int', 'Any'), "QListWidgetItem.setFlags": ('ItemFlags',), "QListWidgetItem.setFont": ('PySide2.QtGui.QFont',), "QListWidgetItem.setForeground": ('PySide2.QtGui.QBrush',), @@ -9978,7 +9994,7 @@ if "PySide2.QtWidgets" in sys.modules: "QPlainTextEdit.focusOutEvent": ('PySide2.QtGui.QFocusEvent',), "QPlainTextEdit.getPaintContext": (), "QPlainTextEdit.inputMethodEvent": ('PySide2.QtGui.QInputMethodEvent',), - "QPlainTextEdit.inputMethodQuery": [('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.InputMethodQuery', 'PySide2.support.signature.typing.Any')], + "QPlainTextEdit.inputMethodQuery": [('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.InputMethodQuery', 'Any')], "QPlainTextEdit.insertFromMimeData": ('PySide2.QtCore.QMimeData',), "QPlainTextEdit.insertPlainText": ('str',), "QPlainTextEdit.isReadOnly": (), @@ -10176,7 +10192,7 @@ if "PySide2.QtWidgets" in sys.modules: "QScrollBar.wheelEvent": ('PySide2.QtGui.QWheelEvent',), # class PySide2.QtWidgets.QShortcut: - "QShortcut.__init__": [('PySide2.QtGui.QKeySequence', 'PySide2.QtWidgets.QWidget', 'PySide2.support.signature.typing.Callable', 'PySide2.QtCore.Qt.ShortcutContext'), ('PySide2.QtGui.QKeySequence', 'PySide2.QtWidgets.QWidget', 'str', 'str', 'PySide2.QtCore.Qt.ShortcutContext'), ('PySide2.QtWidgets.QWidget',)], + "QShortcut.__init__": [('PySide2.QtGui.QKeySequence', 'PySide2.QtWidgets.QWidget', 'Callable', 'PySide2.QtCore.Qt.ShortcutContext'), ('PySide2.QtGui.QKeySequence', 'PySide2.QtWidgets.QWidget', 'str', 'str', 'PySide2.QtCore.Qt.ShortcutContext'), ('PySide2.QtWidgets.QWidget',)], "QShortcut.autoRepeat": (), "QShortcut.context": (), "QShortcut.event": ('PySide2.QtCore.QEvent',), @@ -10533,7 +10549,7 @@ if "PySide2.QtWidgets" in sys.modules: # class PySide2.QtWidgets.QStyledItemDelegate: "QStyledItemDelegate.__init__": ('PySide2.QtCore.QObject',), "QStyledItemDelegate.createEditor": ('PySide2.QtWidgets.QWidget', 'PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.QtCore.QModelIndex'), - "QStyledItemDelegate.displayText": ('PySide2.support.signature.typing.Any', 'PySide2.QtCore.QLocale'), + "QStyledItemDelegate.displayText": ('Any', 'PySide2.QtCore.QLocale'), "QStyledItemDelegate.editorEvent": ('PySide2.QtCore.QEvent', 'PySide2.QtCore.QAbstractItemModel', 'PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.QtCore.QModelIndex'), "QStyledItemDelegate.eventFilter": ('PySide2.QtCore.QObject', 'PySide2.QtCore.QEvent'), "QStyledItemDelegate.initStyleOption": ('PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.QtCore.QModelIndex'), @@ -10614,7 +10630,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTabBar.setSelectionBehaviorOnRemove": ('PySide2.QtWidgets.QTabBar.SelectionBehavior',), "QTabBar.setShape": ('PySide2.QtWidgets.QTabBar.Shape',), "QTabBar.setTabButton": ('int', 'PySide2.QtWidgets.QTabBar.ButtonPosition', 'PySide2.QtWidgets.QWidget'), - "QTabBar.setTabData": ('int', 'PySide2.support.signature.typing.Any'), + "QTabBar.setTabData": ('int', 'Any'), "QTabBar.setTabEnabled": ('int', 'bool'), "QTabBar.setTabIcon": ('int', 'PySide2.QtGui.QIcon'), "QTabBar.setTabText": ('int', 'str'), @@ -10822,7 +10838,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTableWidget.setCurrentCell": [('int', 'int'), ('int', 'int', 'SelectionFlags')], "QTableWidget.setCurrentItem": [('PySide2.QtWidgets.QTableWidgetItem',), ('PySide2.QtWidgets.QTableWidgetItem', 'SelectionFlags')], "QTableWidget.setHorizontalHeaderItem": ('int', 'PySide2.QtWidgets.QTableWidgetItem'), - "QTableWidget.setHorizontalHeaderLabels": ('PySide2.support.signature.typing.List',), + "QTableWidget.setHorizontalHeaderLabels": ('List[str]',), "QTableWidget.setItem": ('int', 'int', 'PySide2.QtWidgets.QTableWidgetItem'), "QTableWidget.setItemPrototype": ('PySide2.QtWidgets.QTableWidgetItem',), "QTableWidget.setItemSelected": ('PySide2.QtWidgets.QTableWidgetItem', 'bool'), @@ -10831,7 +10847,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTableWidget.setRowCount": ('int',), "QTableWidget.setSortingEnabled": ('bool',), "QTableWidget.setVerticalHeaderItem": ('int', 'PySide2.QtWidgets.QTableWidgetItem'), - "QTableWidget.setVerticalHeaderLabels": ('PySide2.support.signature.typing.List',), + "QTableWidget.setVerticalHeaderLabels": ('List[str]',), "QTableWidget.sortItems": ('int', 'PySide2.QtCore.Qt.SortOrder'), "QTableWidget.supportedDropActions": (), "QTableWidget.takeHorizontalHeaderItem": ('int',), @@ -10860,7 +10876,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTableWidgetItem.setBackground": ('PySide2.QtGui.QBrush',), "QTableWidgetItem.setBackgroundColor": ('PySide2.QtGui.QColor',), "QTableWidgetItem.setCheckState": ('PySide2.QtCore.Qt.CheckState',), - "QTableWidgetItem.setData": ('int', 'PySide2.support.signature.typing.Any'), + "QTableWidgetItem.setData": ('int', 'Any'), "QTableWidgetItem.setFlags": ('ItemFlags',), "QTableWidgetItem.setFont": ('PySide2.QtGui.QFont',), "QTableWidgetItem.setForeground": ('PySide2.QtGui.QBrush',), @@ -10933,7 +10949,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTextBrowser.searchPaths": (), "QTextBrowser.setOpenExternalLinks": ('bool',), "QTextBrowser.setOpenLinks": ('bool',), - "QTextBrowser.setSearchPaths": ('PySide2.support.signature.typing.List',), + "QTextBrowser.setSearchPaths": ('List[str]',), "QTextBrowser.setSource": ('PySide2.QtCore.QUrl',), "QTextBrowser.source": (), @@ -10978,7 +10994,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTextEdit.fontUnderline": (), "QTextEdit.fontWeight": (), "QTextEdit.inputMethodEvent": ('PySide2.QtGui.QInputMethodEvent',), - "QTextEdit.inputMethodQuery": [('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.InputMethodQuery', 'PySide2.support.signature.typing.Any')], + "QTextEdit.inputMethodQuery": [('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.InputMethodQuery', 'Any')], "QTextEdit.insertFromMimeData": ('PySide2.QtCore.QMimeData',), "QTextEdit.insertHtml": ('str',), "QTextEdit.insertPlainText": ('str',), @@ -11148,10 +11164,10 @@ if "PySide2.QtWidgets" in sys.modules: "QToolButton.toolButtonStyle": (), # class PySide2.QtWidgets.QToolTip: - "QToolTip.palette": (), "QToolTip.font": (), "QToolTip.hideText": (), "QToolTip.isVisible": (), + "QToolTip.palette": (), "QToolTip.setFont": ('PySide2.QtGui.QFont',), "QToolTip.setPalette": ('PySide2.QtGui.QPalette',), "QToolTip.showText": [('PySide2.QtCore.QPoint', 'str', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtCore.QPoint', 'str', 'PySide2.QtWidgets.QWidget', 'PySide2.QtCore.QRect'), ('PySide2.QtCore.QPoint', 'str', 'PySide2.QtWidgets.QWidget', 'PySide2.QtCore.QRect', 'int')], @@ -11273,7 +11289,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTreeWidget.expandItem": ('PySide2.QtWidgets.QTreeWidgetItem',), "QTreeWidget.findItems": ('str', 'MatchFlags', 'int'), "QTreeWidget.headerItem": (), - "QTreeWidget.indexFromItem": ['PySide2.QtWidgets.QTreeWidgetItem', 'int'], + "QTreeWidget.indexFromItem": ('PySide2.QtWidgets.QTreeWidgetItem', 'int'), "QTreeWidget.indexOfTopLevelItem": ('PySide2.QtWidgets.QTreeWidgetItem',), "QTreeWidget.insertTopLevelItem": ('int', 'PySide2.QtWidgets.QTreeWidgetItem'), "QTreeWidget.insertTopLevelItems": ('int', 'list'), @@ -11299,7 +11315,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTreeWidget.setFirstItemColumnSpanned": ('PySide2.QtWidgets.QTreeWidgetItem', 'bool'), "QTreeWidget.setHeaderItem": ('PySide2.QtWidgets.QTreeWidgetItem',), "QTreeWidget.setHeaderLabel": ('str',), - "QTreeWidget.setHeaderLabels": ('PySide2.support.signature.typing.List',), + "QTreeWidget.setHeaderLabels": ('List[str]',), "QTreeWidget.setItemExpanded": ('PySide2.QtWidgets.QTreeWidgetItem', 'bool'), "QTreeWidget.setItemHidden": ('PySide2.QtWidgets.QTreeWidgetItem', 'bool'), "QTreeWidget.setItemSelected": ('PySide2.QtWidgets.QTreeWidgetItem', 'bool'), @@ -11315,7 +11331,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTreeWidget.visualItemRect": ('PySide2.QtWidgets.QTreeWidgetItem',), # class PySide2.QtWidgets.QTreeWidgetItem: - "QTreeWidgetItem.__init__": [('PySide2.QtWidgets.QTreeWidget', 'PySide2.QtWidgets.QTreeWidgetItem', 'int'), ('PySide2.QtWidgets.QTreeWidget', 'PySide2.support.signature.typing.List', 'int'), ('PySide2.QtWidgets.QTreeWidget', 'int'), ('PySide2.QtWidgets.QTreeWidgetItem',), ('PySide2.QtWidgets.QTreeWidgetItem', 'PySide2.QtWidgets.QTreeWidgetItem', 'int'), ('PySide2.QtWidgets.QTreeWidgetItem', 'PySide2.support.signature.typing.List', 'int'), ('PySide2.QtWidgets.QTreeWidgetItem', 'int'), ('PySide2.support.signature.typing.List', 'int'), ('int',)], + "QTreeWidgetItem.__init__": [('List[str]', 'int'), ('PySide2.QtWidgets.QTreeWidget', 'List[str]', 'int'), ('PySide2.QtWidgets.QTreeWidget', 'PySide2.QtWidgets.QTreeWidgetItem', 'int'), ('PySide2.QtWidgets.QTreeWidget', 'int'), ('PySide2.QtWidgets.QTreeWidgetItem',), ('PySide2.QtWidgets.QTreeWidgetItem', 'List[str]', 'int'), ('PySide2.QtWidgets.QTreeWidgetItem', 'PySide2.QtWidgets.QTreeWidgetItem', 'int'), ('PySide2.QtWidgets.QTreeWidgetItem', 'int'), ('int',)], "QTreeWidgetItem.addChild": ('PySide2.QtWidgets.QTreeWidgetItem',), "QTreeWidgetItem.addChildren": ('list',), "QTreeWidgetItem.background": ('int',), @@ -11347,7 +11363,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTreeWidgetItem.setBackgroundColor": ('int', 'PySide2.QtGui.QColor'), "QTreeWidgetItem.setCheckState": ('int', 'PySide2.QtCore.Qt.CheckState'), "QTreeWidgetItem.setChildIndicatorPolicy": ('PySide2.QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy',), - "QTreeWidgetItem.setData": ('int', 'int', 'PySide2.support.signature.typing.Any'), + "QTreeWidgetItem.setData": ('int', 'int', 'Any'), "QTreeWidgetItem.setDisabled": ('bool',), "QTreeWidgetItem.setExpanded": ('bool',), "QTreeWidgetItem.setFirstColumnSpanned": ('bool',), @@ -11457,8 +11473,8 @@ if "PySide2.QtWidgets" in sys.modules: "QVBoxLayout.__init__": [(), ('PySide2.QtWidgets.QWidget',)], # class PySide2.QtWidgets.QWhatsThis: - "QWhatsThis.enterWhatsThisMode": (), "QWhatsThis.createAction": ('PySide2.QtCore.QObject',), + "QWhatsThis.enterWhatsThisMode": (), "QWhatsThis.hideText": (), "QWhatsThis.inWhatsThisMode": (), "QWhatsThis.leaveWhatsThisMode": (), @@ -11767,7 +11783,6 @@ if "PySide2.QtWidgets" in sys.modules: "QWizard.field": ('str',), "QWizard.hasVisitedPage": ('int',), "QWizard.initializePage": ('int',), - "QWizard.next": (), "QWizard.nextId": (), "QWizard.options": (), "QWizard.page": ('int',), @@ -11781,7 +11796,7 @@ if "PySide2.QtWidgets" in sys.modules: "QWizard.setButtonLayout": ('list',), "QWizard.setButtonText": ('PySide2.QtWidgets.QWizard.WizardButton', 'str'), "QWizard.setDefaultProperty": ('str', 'str', 'str'), - "QWizard.setField": ('str', 'PySide2.support.signature.typing.Any'), + "QWizard.setField": ('str', 'Any'), "QWizard.setOption": ('PySide2.QtWidgets.QWizard.WizardOption', 'bool'), "QWizard.setOptions": ('WizardOptions',), "QWizard.setPage": ('int', 'PySide2.QtWidgets.QWizardPage'), @@ -11816,7 +11831,7 @@ if "PySide2.QtWidgets" in sys.modules: "QWizardPage.registerField": ('str', 'PySide2.QtWidgets.QWidget', 'str', 'str'), "QWizardPage.setButtonText": ('PySide2.QtWidgets.QWizard.WizardButton', 'str'), "QWizardPage.setCommitPage": ('bool',), - "QWizardPage.setField": ('str', 'PySide2.support.signature.typing.Any'), + "QWizardPage.setField": ('str', 'Any'), "QWizardPage.setFinalPage": ('bool',), "QWizardPage.setPixmap": ('PySide2.QtWidgets.QWizard.WizardPixmap', 'PySide2.QtGui.QPixmap'), "QWizardPage.setSubTitle": ('str',), @@ -11875,7 +11890,7 @@ if "PySide2.QtPrintSupport" in sys.modules: "QPrintEngine.newPage": (), "QPrintEngine.printerState": (), "QPrintEngine.property": ('PySide2.QtPrintSupport.QPrintEngine.PrintEnginePropertyKey',), - "QPrintEngine.setProperty": ('PySide2.QtPrintSupport.QPrintEngine.PrintEnginePropertyKey', 'PySide2.support.signature.typing.Any'), + "QPrintEngine.setProperty": ('PySide2.QtPrintSupport.QPrintEngine.PrintEnginePropertyKey', 'Any'), # class PySide2.QtPrintSupport.QPrintPreviewDialog: "QPrintPreviewDialog.__init__": [('PySide2.QtPrintSupport.QPrinter', 'PySide2.QtWidgets.QWidget', 'WindowFlags'), ('PySide2.QtWidgets.QWidget', 'WindowFlags')], @@ -12122,7 +12137,7 @@ if "PySide2.QtSql" in sys.modules: "QSqlField.precision": (), "QSqlField.requiredStatus": (), "QSqlField.setAutoValue": ('bool',), - "QSqlField.setDefaultValue": ('PySide2.support.signature.typing.Any',), + "QSqlField.setDefaultValue": ('Any',), "QSqlField.setGenerated": ('bool',), "QSqlField.setLength": ('int',), "QSqlField.setName": ('str',), @@ -12132,7 +12147,7 @@ if "PySide2.QtSql" in sys.modules: "QSqlField.setRequiredStatus": ('PySide2.QtSql.QSqlField.RequiredStatus',), "QSqlField.setSqlType": ('int',), "QSqlField.setType": ('type',), - "QSqlField.setValue": ('PySide2.support.signature.typing.Any',), + "QSqlField.setValue": ('Any',), "QSqlField.type": (), "QSqlField.typeID": (), "QSqlField.value": (), @@ -12151,9 +12166,9 @@ if "PySide2.QtSql" in sys.modules: # class PySide2.QtSql.QSqlQuery: "QSqlQuery.__init__": [('PySide2.QtSql.QSqlDatabase',), ('PySide2.QtSql.QSqlQuery',), ('PySide2.QtSql.QSqlResult',), ('str', 'PySide2.QtSql.QSqlDatabase')], "QSqlQuery.__copy__": (), - "QSqlQuery.addBindValue": ('PySide2.support.signature.typing.Any', 'ParamType'), + "QSqlQuery.addBindValue": ('Any', 'ParamType'), "QSqlQuery.at": (), - "QSqlQuery.bindValue": [('int', 'PySide2.support.signature.typing.Any', 'ParamType'), ('str', 'PySide2.support.signature.typing.Any', 'ParamType')], + "QSqlQuery.bindValue": [('int', 'Any', 'ParamType'), ('str', 'Any', 'ParamType')], "QSqlQuery.boundValue": [('int',), ('str',)], "QSqlQuery.boundValues": (), "QSqlQuery.clear": (), @@ -12172,7 +12187,6 @@ if "PySide2.QtSql" in sys.modules: "QSqlQuery.lastError": (), "QSqlQuery.lastInsertId": (), "QSqlQuery.lastQuery": (), - "QSqlQuery.next": (), "QSqlQuery.nextResult": (), "QSqlQuery.numRowsAffected": (), "QSqlQuery.numericalPrecisionPolicy": (), @@ -12212,7 +12226,7 @@ if "PySide2.QtSql" in sys.modules: "QSqlQueryModel.record": [(), ('int',)], "QSqlQueryModel.removeColumns": ('int', 'int', 'PySide2.QtCore.QModelIndex'), "QSqlQueryModel.rowCount": ('PySide2.QtCore.QModelIndex',), - "QSqlQueryModel.setHeaderData": ('int', 'PySide2.QtCore.Qt.Orientation', 'PySide2.support.signature.typing.Any', 'int'), + "QSqlQueryModel.setHeaderData": ('int', 'PySide2.QtCore.Qt.Orientation', 'Any', 'int'), "QSqlQueryModel.setLastError": ('PySide2.QtSql.QSqlError',), "QSqlQueryModel.setQuery": [('PySide2.QtSql.QSqlQuery',), ('str', 'PySide2.QtSql.QSqlDatabase')], @@ -12236,7 +12250,7 @@ if "PySide2.QtSql" in sys.modules: "QSqlRecord.replace": ('int', 'PySide2.QtSql.QSqlField'), "QSqlRecord.setGenerated": [('int', 'bool'), ('str', 'bool')], "QSqlRecord.setNull": [('int',), ('str',)], - "QSqlRecord.setValue": [('int', 'PySide2.support.signature.typing.Any'), ('str', 'PySide2.support.signature.typing.Any')], + "QSqlRecord.setValue": [('int', 'Any'), ('str', 'Any')], "QSqlRecord.value": [('int',), ('str',)], # class PySide2.QtSql.QSqlRelation: @@ -12265,7 +12279,7 @@ if "PySide2.QtSql" in sys.modules: "QSqlRelationalTableModel.revertRow": ('int',), "QSqlRelationalTableModel.select": (), "QSqlRelationalTableModel.selectStatement": (), - "QSqlRelationalTableModel.setData": ('PySide2.QtCore.QModelIndex', 'PySide2.support.signature.typing.Any', 'int'), + "QSqlRelationalTableModel.setData": ('PySide2.QtCore.QModelIndex', 'Any', 'int'), "QSqlRelationalTableModel.setJoinMode": ('PySide2.QtSql.QSqlRelationalTableModel.JoinMode',), "QSqlRelationalTableModel.setRelation": ('int', 'PySide2.QtSql.QSqlRelation'), "QSqlRelationalTableModel.setTable": ('str',), @@ -12273,9 +12287,9 @@ if "PySide2.QtSql" in sys.modules: # class PySide2.QtSql.QSqlResult: "QSqlResult.__init__": ('PySide2.QtSql.QSqlDriver',), - "QSqlResult.addBindValue": ('PySide2.support.signature.typing.Any', 'ParamType'), + "QSqlResult.addBindValue": ('Any', 'ParamType'), "QSqlResult.at": (), - "QSqlResult.bindValue": [('int', 'PySide2.support.signature.typing.Any', 'ParamType'), ('str', 'PySide2.support.signature.typing.Any', 'ParamType')], + "QSqlResult.bindValue": [('int', 'Any', 'ParamType'), ('str', 'Any', 'ParamType')], "QSqlResult.bindValueType": [('int',), ('str',)], "QSqlResult.bindingSyntax": (), "QSqlResult.boundValue": [('int',), ('str',)], @@ -12350,7 +12364,7 @@ if "PySide2.QtSql" in sys.modules: "QSqlTableModel.select": (), "QSqlTableModel.selectRow": ('int',), "QSqlTableModel.selectStatement": (), - "QSqlTableModel.setData": ('PySide2.QtCore.QModelIndex', 'PySide2.support.signature.typing.Any', 'int'), + "QSqlTableModel.setData": ('PySide2.QtCore.QModelIndex', 'Any', 'int'), "QSqlTableModel.setEditStrategy": ('PySide2.QtSql.QSqlTableModel.EditStrategy',), "QSqlTableModel.setFilter": ('str',), "QSqlTableModel.setPrimaryKey": ('PySide2.QtSql.QSqlIndex',), @@ -12415,7 +12429,7 @@ if "PySide2.QtNetwork" in sys.modules: "QAbstractSocket.setReadBufferSize": ('int',), "QAbstractSocket.setSocketDescriptor": ('int', 'PySide2.QtNetwork.QAbstractSocket.SocketState', 'OpenMode'), "QAbstractSocket.setSocketError": ('PySide2.QtNetwork.QAbstractSocket.SocketError',), - "QAbstractSocket.setSocketOption": ('PySide2.QtNetwork.QAbstractSocket.SocketOption', 'PySide2.support.signature.typing.Any'), + "QAbstractSocket.setSocketOption": ('PySide2.QtNetwork.QAbstractSocket.SocketOption', 'Any'), "QAbstractSocket.setSocketState": ('PySide2.QtNetwork.QAbstractSocket.SocketState',), "QAbstractSocket.socketDescriptor": (), "QAbstractSocket.socketOption": ('PySide2.QtNetwork.QAbstractSocket.SocketOption',), @@ -12435,7 +12449,7 @@ if "PySide2.QtNetwork" in sys.modules: "QAuthenticator.options": (), "QAuthenticator.password": (), "QAuthenticator.realm": (), - "QAuthenticator.setOption": ('str', 'PySide2.support.signature.typing.Any'), + "QAuthenticator.setOption": ('str', 'Any'), "QAuthenticator.setPassword": ('str',), "QAuthenticator.setRealm": ('str',), "QAuthenticator.setUser": ('str',), @@ -12446,7 +12460,7 @@ if "PySide2.QtNetwork" in sys.modules: "QHostAddress.__copy__": (), "QHostAddress.clear": (), "QHostAddress.isEqual": ('PySide2.QtNetwork.QHostAddress', 'ConversionMode'), - "QHostAddress.isInSubnet": [('PySide2.QtNetwork.QHostAddress', 'int'), ('PySide2.support.signature.typing.Tuple',)], + "QHostAddress.isInSubnet": [('PySide2.QtNetwork.QHostAddress', 'int'), ('Tuple[Any, Any]',)], "QHostAddress.isLoopback": (), "QHostAddress.isMulticast": (), "QHostAddress.isNull": (), @@ -12704,7 +12718,7 @@ if "PySide2.QtNetwork" in sys.modules: "QNetworkProxy.rawHeaderList": (), "QNetworkProxy.setApplicationProxy": ('PySide2.QtNetwork.QNetworkProxy',), "QNetworkProxy.setCapabilities": ('Capabilities',), - "QNetworkProxy.setHeader": ('PySide2.QtNetwork.QNetworkRequest.KnownHeaders', 'PySide2.support.signature.typing.Any'), + "QNetworkProxy.setHeader": ('PySide2.QtNetwork.QNetworkRequest.KnownHeaders', 'Any'), "QNetworkProxy.setHostName": ('str',), "QNetworkProxy.setPassword": ('str',), "QNetworkProxy.setPort": ('int',), @@ -12761,10 +12775,10 @@ if "PySide2.QtNetwork" in sys.modules: "QNetworkReply.rawHeaderList": (), "QNetworkReply.readBufferSize": (), "QNetworkReply.request": (), - "QNetworkReply.setAttribute": ('PySide2.QtNetwork.QNetworkRequest.Attribute', 'PySide2.support.signature.typing.Any'), + "QNetworkReply.setAttribute": ('PySide2.QtNetwork.QNetworkRequest.Attribute', 'Any'), "QNetworkReply.setError": ('PySide2.QtNetwork.QNetworkReply.NetworkError', 'str'), "QNetworkReply.setFinished": ('bool',), - "QNetworkReply.setHeader": ('PySide2.QtNetwork.QNetworkRequest.KnownHeaders', 'PySide2.support.signature.typing.Any'), + "QNetworkReply.setHeader": ('PySide2.QtNetwork.QNetworkRequest.KnownHeaders', 'Any'), "QNetworkReply.setOperation": ('PySide2.QtNetwork.QNetworkAccessManager.Operation',), "QNetworkReply.setRawHeader": ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QByteArray'), "QNetworkReply.setReadBufferSize": ('int',), @@ -12780,7 +12794,7 @@ if "PySide2.QtNetwork" in sys.modules: # class PySide2.QtNetwork.QNetworkRequest: "QNetworkRequest.__init__": [('PySide2.QtCore.QUrl',), ('PySide2.QtNetwork.QNetworkRequest',)], "QNetworkRequest.__copy__": (), - "QNetworkRequest.attribute": ('PySide2.QtNetwork.QNetworkRequest.Attribute', 'PySide2.support.signature.typing.Any'), + "QNetworkRequest.attribute": ('PySide2.QtNetwork.QNetworkRequest.Attribute', 'Any'), "QNetworkRequest.hasRawHeader": ('PySide2.QtCore.QByteArray',), "QNetworkRequest.header": ('PySide2.QtNetwork.QNetworkRequest.KnownHeaders',), "QNetworkRequest.maximumRedirectsAllowed": (), @@ -12788,8 +12802,8 @@ if "PySide2.QtNetwork" in sys.modules: "QNetworkRequest.priority": (), "QNetworkRequest.rawHeader": ('PySide2.QtCore.QByteArray',), "QNetworkRequest.rawHeaderList": (), - "QNetworkRequest.setAttribute": ('PySide2.QtNetwork.QNetworkRequest.Attribute', 'PySide2.support.signature.typing.Any'), - "QNetworkRequest.setHeader": ('PySide2.QtNetwork.QNetworkRequest.KnownHeaders', 'PySide2.support.signature.typing.Any'), + "QNetworkRequest.setAttribute": ('PySide2.QtNetwork.QNetworkRequest.Attribute', 'Any'), + "QNetworkRequest.setHeader": ('PySide2.QtNetwork.QNetworkRequest.KnownHeaders', 'Any'), "QNetworkRequest.setMaximumRedirectsAllowed": ('int',), "QNetworkRequest.setOriginatingObject": ('PySide2.QtCore.QObject',), "QNetworkRequest.setPriority": ('PySide2.QtNetwork.QNetworkRequest.Priority',), @@ -12818,7 +12832,7 @@ if "PySide2.QtNetwork" in sys.modules: "QNetworkSession.open": (), "QNetworkSession.reject": (), "QNetworkSession.sessionProperty": ('str',), - "QNetworkSession.setSessionProperty": ('str', 'PySide2.support.signature.typing.Any'), + "QNetworkSession.setSessionProperty": ('str', 'Any'), "QNetworkSession.state": (), "QNetworkSession.stop": (), "QNetworkSession.usagePolicies": (), @@ -12983,7 +12997,7 @@ if "PySide2.QtNetwork" in sys.modules: "QSslSocket.setProtocol": ('PySide2.QtNetwork.QSsl.SslProtocol',), "QSslSocket.setReadBufferSize": ('int',), "QSslSocket.setSocketDescriptor": ('int', 'PySide2.QtNetwork.QAbstractSocket.SocketState', 'OpenMode'), - "QSslSocket.setSocketOption": ('PySide2.QtNetwork.QAbstractSocket.SocketOption', 'PySide2.support.signature.typing.Any'), + "QSslSocket.setSocketOption": ('PySide2.QtNetwork.QAbstractSocket.SocketOption', 'Any'), "QSslSocket.setSslConfiguration": ('PySide2.QtNetwork.QSslConfiguration',), "QSslSocket.socketOption": ('PySide2.QtNetwork.QAbstractSocket.SocketOption',), "QSslSocket.sslConfiguration": (), @@ -13046,9 +13060,8 @@ if "PySide2.QtTest" in sys.modules: dict.update({ # class PySide2.QtTest.QTest: - "QTest.waitForEvents": (), "QTest.addColumnInternal": ('int', 'str'), - "QTest.asciiToKey": ('PySide2.support.signature.typing.Union[str, int]',), + "QTest.asciiToKey": ('Union[str, int]',), "QTest.compare_string_helper": ('str', 'str', 'str', 'str', 'str', 'int'), "QTest.createTouchDevice": ('PySide2.QtGui.QTouchDevice.DeviceType',), "QTest.currentAppName": (), @@ -13056,11 +13069,11 @@ if "PySide2.QtTest" in sys.modules: "QTest.currentTestFailed": (), "QTest.currentTestFunction": (), "QTest.ignoreMessage": [('PySide2.QtCore.QtMsgType', 'PySide2.QtCore.QRegularExpression'), ('PySide2.QtCore.QtMsgType', 'str')], - "QTest.keyClick": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtGui.QWindow', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int')], + "QTest.keyClick": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtGui.QWindow', 'Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'Union[str, int]', 'KeyboardModifiers', 'int')], "QTest.keyClicks": ('PySide2.QtWidgets.QWidget', 'str', 'KeyboardModifiers', 'int'), - "QTest.keyEvent": [('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtGui.QWindow', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtWidgets.QWidget', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int')], - "QTest.keyPress": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtGui.QWindow', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int')], - "QTest.keyRelease": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtGui.QWindow', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int')], + "QTest.keyEvent": [('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtGui.QWindow', 'Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtWidgets.QWidget', 'Union[str, int]', 'KeyboardModifiers', 'int')], + "QTest.keyPress": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtGui.QWindow', 'Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'Union[str, int]', 'KeyboardModifiers', 'int')], + "QTest.keyRelease": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtGui.QWindow', 'Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'Union[str, int]', 'KeyboardModifiers', 'int')], "QTest.keyToAscii": ('PySide2.QtCore.Qt.Key',), "QTest.mouseClick": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.MouseButton', 'KeyboardModifiers', 'PySide2.QtCore.QPoint', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.MouseButton', 'KeyboardModifiers', 'PySide2.QtCore.QPoint', 'int')], "QTest.mouseDClick": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.MouseButton', 'KeyboardModifiers', 'PySide2.QtCore.QPoint', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.MouseButton', 'KeyboardModifiers', 'PySide2.QtCore.QPoint', 'int')], @@ -13070,18 +13083,19 @@ if "PySide2.QtTest" in sys.modules: "QTest.mouseRelease": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.MouseButton', 'KeyboardModifiers', 'PySide2.QtCore.QPoint', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.MouseButton', 'KeyboardModifiers', 'PySide2.QtCore.QPoint', 'int')], "QTest.qElementData": ('str', 'int'), "QTest.qExpectFail": ('str', 'str', 'PySide2.QtTest.QTest.TestFailMode', 'str', 'int'), - "QTest.qFindTestData": ['int', 'str', 'str', 'str'], + "QTest.qFindTestData": ('str', 'str', 'int', 'str'), "QTest.qGlobalData": ('str', 'int'), "QTest.qSkip": ('str', 'str', 'int'), "QTest.qWaitForWindowActive": ('PySide2.QtWidgets.QWidget', 'int'), "QTest.qWaitForWindowExposed": ('PySide2.QtWidgets.QWidget', 'int'), - "QTest.sendKeyEvent": [('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'str', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'str', 'KeyboardModifiers', 'int')], + "QTest.sendKeyEvent": [('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'str', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'str', 'KeyboardModifiers', 'int')], "QTest.setBenchmarkResult": ('float', 'PySide2.QtTest.QTest.QBenchmarkMetric'), "QTest.setMainSourcePath": ('str', 'str'), "QTest.simulateEvent": [('PySide2.QtGui.QWindow', 'bool', 'int', 'KeyboardModifiers', 'str', 'bool', 'int'), ('PySide2.QtWidgets.QWidget', 'bool', 'int', 'KeyboardModifiers', 'str', 'bool', 'int')], "QTest.testObject": (), "QTest.toPrettyCString": ('str', 'int'), "QTest.touchEvent": [('PySide2.QtGui.QWindow', 'PySide2.QtGui.QTouchDevice', 'bool'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtGui.QTouchDevice', 'bool')], + "QTest.waitForEvents": (), }) # Module PySide2.QtConcurrent @@ -13096,9 +13110,9 @@ if "PySide2.QtMacExtras" in sys.modules: dict.update({ # class PySide2.QtMacExtras.QMacPasteboardMime: - "QMacPasteboardMime.__init__": ('PySide2.support.signature.typing.Union[str, int]',), + "QMacPasteboardMime.__init__": ('Union[str, int]',), "QMacPasteboardMime.canConvert": ('str', 'str'), - "QMacPasteboardMime.convertFromMime": ('str', 'PySide2.support.signature.typing.Any', 'str'), + "QMacPasteboardMime.convertFromMime": ('str', 'Any', 'str'), "QMacPasteboardMime.convertToMime": ('str', 'list', 'str'), "QMacPasteboardMime.convertorName": (), "QMacPasteboardMime.count": ('PySide2.QtCore.QMimeData',), @@ -13460,7 +13474,6 @@ if "PySide2.QtXml" in sys.modules: "QXmlInputSource.data": (), "QXmlInputSource.fetchData": (), "QXmlInputSource.fromRawData": ('PySide2.QtCore.QByteArray', 'bool'), - "QXmlInputSource.next": (), "QXmlInputSource.reset": (), "QXmlInputSource.setData": [('PySide2.QtCore.QByteArray',), ('str',)], @@ -13511,7 +13524,7 @@ if "PySide2.QtXml" in sys.modules: "QXmlReader.hasFeature": ('str',), "QXmlReader.hasProperty": ('str',), "QXmlReader.lexicalHandler": (), - "QXmlReader.parse": ['PySide2.QtXml.QXmlInputSource'], + "QXmlReader.parse": ('PySide2.QtXml.QXmlInputSource',), "QXmlReader.property": ('str', 'bool'), "QXmlReader.setContentHandler": ('PySide2.QtXml.QXmlContentHandler',), "QXmlReader.setDTDHandler": ('PySide2.QtXml.QXmlDTDHandler',), @@ -13582,7 +13595,7 @@ if "PySide2.QtXmlPatterns" in sys.modules: # class PySide2.QtXmlPatterns.QAbstractXmlReceiver: "QAbstractXmlReceiver.__init__": (), - "QAbstractXmlReceiver.atomicValue": ('PySide2.support.signature.typing.Any',), + "QAbstractXmlReceiver.atomicValue": ('Any',), "QAbstractXmlReceiver.attribute": ('PySide2.QtXmlPatterns.QXmlName', 'str'), "QAbstractXmlReceiver.characters": ('str',), "QAbstractXmlReceiver.comment": ('str',), @@ -13609,7 +13622,7 @@ if "PySide2.QtXmlPatterns" in sys.modules: # class PySide2.QtXmlPatterns.QXmlFormatter: "QXmlFormatter.__init__": ('PySide2.QtXmlPatterns.QXmlQuery', 'PySide2.QtCore.QIODevice'), - "QXmlFormatter.atomicValue": ('PySide2.support.signature.typing.Any',), + "QXmlFormatter.atomicValue": ('Any',), "QXmlFormatter.attribute": ('PySide2.QtXmlPatterns.QXmlName', 'str'), "QXmlFormatter.characters": ('str',), "QXmlFormatter.comment": ('str',), @@ -13624,7 +13637,7 @@ if "PySide2.QtXmlPatterns" in sys.modules: "QXmlFormatter.startOfSequence": (), # class PySide2.QtXmlPatterns.QXmlItem: - "QXmlItem.__init__": [(), ('PySide2.QtXmlPatterns.QXmlItem',), ('PySide2.QtXmlPatterns.QXmlNodeModelIndex',), ('PySide2.support.signature.typing.Any',)], + "QXmlItem.__init__": [(), ('Any',), ('PySide2.QtXmlPatterns.QXmlItem',), ('PySide2.QtXmlPatterns.QXmlNodeModelIndex',)], "QXmlItem.__copy__": (), "QXmlItem.isAtomicValue": (), "QXmlItem.isNode": (), @@ -13677,7 +13690,6 @@ if "PySide2.QtXmlPatterns" in sys.modules: "QXmlResultItems.__init__": (), "QXmlResultItems.current": (), "QXmlResultItems.hasError": (), - "QXmlResultItems.next": (), # class PySide2.QtXmlPatterns.QXmlSchema: "QXmlSchema.__init__": [(), ('PySide2.QtXmlPatterns.QXmlSchema',)], @@ -13703,7 +13715,7 @@ if "PySide2.QtXmlPatterns" in sys.modules: # class PySide2.QtXmlPatterns.QXmlSerializer: "QXmlSerializer.__init__": ('PySide2.QtXmlPatterns.QXmlQuery', 'PySide2.QtCore.QIODevice'), - "QXmlSerializer.atomicValue": ('PySide2.support.signature.typing.Any',), + "QXmlSerializer.atomicValue": ('Any',), "QXmlSerializer.attribute": ('PySide2.QtXmlPatterns.QXmlName', 'str'), "QXmlSerializer.characters": ('str',), "QXmlSerializer.codec": (), @@ -13725,11 +13737,11 @@ if "PySide2.QtHelp" in sys.modules: dict.update({ # class PySide2.QtHelp.QHelpContentItem: - "QHelpContentItem.parent": (), "QHelpContentItem.__copy__": (), "QHelpContentItem.child": ('int',), "QHelpContentItem.childCount": (), "QHelpContentItem.childPosition": ('PySide2.QtHelp.QHelpContentItem',), + "QHelpContentItem.parent": (), "QHelpContentItem.row": (), "QHelpContentItem.title": (), "QHelpContentItem.url": (), @@ -13757,17 +13769,17 @@ if "PySide2.QtHelp" in sys.modules: # class PySide2.QtHelp.QHelpEngineCore: "QHelpEngineCore.__init__": ('str', 'PySide2.QtCore.QObject'), - "QHelpEngineCore.addCustomFilter": ('str', 'PySide2.support.signature.typing.List'), + "QHelpEngineCore.addCustomFilter": ('str', 'List[str]'), "QHelpEngineCore.autoSaveFilter": (), "QHelpEngineCore.collectionFile": (), "QHelpEngineCore.copyCollectionFile": ('str',), "QHelpEngineCore.currentFilter": (), "QHelpEngineCore.customFilters": (), - "QHelpEngineCore.customValue": ('str', 'PySide2.support.signature.typing.Any'), + "QHelpEngineCore.customValue": ('str', 'Any'), "QHelpEngineCore.documentationFileName": ('str',), "QHelpEngineCore.error": (), "QHelpEngineCore.fileData": ('PySide2.QtCore.QUrl',), - "QHelpEngineCore.files": ('str', 'PySide2.support.signature.typing.List', 'str'), + "QHelpEngineCore.files": ('str', 'List[str]', 'str'), "QHelpEngineCore.filterAttributeSets": ('str',), "QHelpEngineCore.filterAttributes": [(), ('str',)], "QHelpEngineCore.findFile": ('PySide2.QtCore.QUrl',), @@ -13782,15 +13794,15 @@ if "PySide2.QtHelp" in sys.modules: "QHelpEngineCore.setAutoSaveFilter": ('bool',), "QHelpEngineCore.setCollectionFile": ('str',), "QHelpEngineCore.setCurrentFilter": ('str',), - "QHelpEngineCore.setCustomValue": ('str', 'PySide2.support.signature.typing.Any'), + "QHelpEngineCore.setCustomValue": ('str', 'Any'), "QHelpEngineCore.setupData": (), "QHelpEngineCore.unregisterDocumentation": ('str',), # class PySide2.QtHelp.QHelpIndexModel: - "QHelpIndexModel.linksForKeyword": ('str',), "QHelpIndexModel.createIndex": [('int', 'int', 'int'), ('int', 'int', 'object'), ('str',)], "QHelpIndexModel.filter": ('str', 'str'), "QHelpIndexModel.isCreatingIndex": (), + "QHelpIndexModel.linksForKeyword": ('str',), # class PySide2.QtHelp.QHelpIndexWidget: "QHelpIndexWidget.activateCurrentItem": (), @@ -13810,9 +13822,10 @@ if "PySide2.QtHelp" in sys.modules: "QHelpSearchEngine.search": [('list',), ('str',)], "QHelpSearchEngine.searchInput": (), "QHelpSearchEngine.searchResultCount": (), + "QHelpSearchEngine.searchResults": ('int', 'int'), # class PySide2.QtHelp.QHelpSearchQuery: - "QHelpSearchQuery.__init__": [(), ('PySide2.QtHelp.QHelpSearchQuery',), ('PySide2.QtHelp.QHelpSearchQuery.FieldName', 'PySide2.support.signature.typing.List')], + "QHelpSearchQuery.__init__": [(), ('PySide2.QtHelp.QHelpSearchQuery',), ('PySide2.QtHelp.QHelpSearchQuery.FieldName', 'List[str]')], "QHelpSearchQuery.__copy__": (), # class PySide2.QtHelp.QHelpSearchQueryWidget: @@ -13828,9 +13841,15 @@ if "PySide2.QtHelp" in sys.modules: "QHelpSearchQueryWidget.setQuery": ('list',), "QHelpSearchQueryWidget.setSearchInput": ('str',), + # class PySide2.QtHelp.QHelpSearchResult: + "QHelpSearchResult.__init__": [(), ('PySide2.QtCore.QUrl', 'str', 'str'), ('PySide2.QtHelp.QHelpSearchResult',)], + "QHelpSearchResult.snippet": (), + "QHelpSearchResult.title": (), + "QHelpSearchResult.url": (), + # class PySide2.QtHelp.QHelpSearchResultWidget: - "QHelpSearchResultWidget.linkAt": ('PySide2.QtCore.QPoint',), "QHelpSearchResultWidget.changeEvent": ('PySide2.QtCore.QEvent',), + "QHelpSearchResultWidget.linkAt": ('PySide2.QtCore.QPoint',), }) # Module PySide2.QtMultimedia @@ -13932,7 +13951,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QAudioBuffer.__copy__": (), "QAudioBuffer.byteCount": (), "QAudioBuffer.constData": (), - "QAudioBuffer.data": [], + "QAudioBuffer.data": (), "QAudioBuffer.duration": (), "QAudioBuffer.format": (), "QAudioBuffer.frameCount": (), @@ -13947,7 +13966,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QAudioDecoder.bufferAvailable": (), "QAudioDecoder.duration": (), "QAudioDecoder.errorString": (), - "QAudioDecoder.hasSupport": ('str', 'PySide2.support.signature.typing.List'), + "QAudioDecoder.hasSupport": ('str', 'List[str]'), "QAudioDecoder.position": (), "QAudioDecoder.read": (), "QAudioDecoder.setAudioFormat": ('PySide2.QtMultimedia.QAudioFormat',), @@ -14010,7 +14029,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QAudioEncoderSettings.setChannelCount": ('int',), "QAudioEncoderSettings.setCodec": ('str',), "QAudioEncoderSettings.setEncodingMode": ('PySide2.QtMultimedia.QMultimedia.EncodingMode',), - "QAudioEncoderSettings.setEncodingOption": ('str', 'PySide2.support.signature.typing.Any'), + "QAudioEncoderSettings.setEncodingOption": ('str', 'Any'), "QAudioEncoderSettings.setEncodingOptions": ('dict',), "QAudioEncoderSettings.setQuality": ('PySide2.QtMultimedia.QMultimedia.EncodingQuality',), "QAudioEncoderSettings.setSampleRate": ('int',), @@ -14180,7 +14199,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QCameraExposureControl.actualValue": ('PySide2.QtMultimedia.QCameraExposureControl.ExposureParameter',), "QCameraExposureControl.isParameterSupported": ('PySide2.QtMultimedia.QCameraExposureControl.ExposureParameter',), "QCameraExposureControl.requestedValue": ('PySide2.QtMultimedia.QCameraExposureControl.ExposureParameter',), - "QCameraExposureControl.setValue": ('PySide2.QtMultimedia.QCameraExposureControl.ExposureParameter', 'PySide2.support.signature.typing.Any'), + "QCameraExposureControl.setValue": ('PySide2.QtMultimedia.QCameraExposureControl.ExposureParameter', 'Any'), # class PySide2.QtMultimedia.QCameraFocusZone: "QCameraFocusZone.__init__": [(), ('PySide2.QtCore.QRectF', 'PySide2.QtMultimedia.QCameraFocusZone.FocusZoneStatus'), ('PySide2.QtMultimedia.QCameraFocusZone',)], @@ -14222,9 +14241,9 @@ if "PySide2.QtMultimedia" in sys.modules: # class PySide2.QtMultimedia.QCameraImageProcessingControl: "QCameraImageProcessingControl.__init__": ('PySide2.QtCore.QObject',), "QCameraImageProcessingControl.isParameterSupported": ('PySide2.QtMultimedia.QCameraImageProcessingControl.ProcessingParameter',), - "QCameraImageProcessingControl.isParameterValueSupported": ('PySide2.QtMultimedia.QCameraImageProcessingControl.ProcessingParameter', 'PySide2.support.signature.typing.Any'), + "QCameraImageProcessingControl.isParameterValueSupported": ('PySide2.QtMultimedia.QCameraImageProcessingControl.ProcessingParameter', 'Any'), "QCameraImageProcessingControl.parameter": ('PySide2.QtMultimedia.QCameraImageProcessingControl.ProcessingParameter',), - "QCameraImageProcessingControl.setParameter": ('PySide2.QtMultimedia.QCameraImageProcessingControl.ProcessingParameter', 'PySide2.support.signature.typing.Any'), + "QCameraImageProcessingControl.setParameter": ('PySide2.QtMultimedia.QCameraImageProcessingControl.ProcessingParameter', 'Any'), # class PySide2.QtMultimedia.QCameraInfo: "QCameraInfo.__init__": [('PySide2.QtCore.QByteArray',), ('PySide2.QtMultimedia.QCamera',), ('PySide2.QtMultimedia.QCameraInfo',)], @@ -14268,7 +14287,7 @@ if "PySide2.QtMultimedia" in sys.modules: # class PySide2.QtMultimedia.QCameraViewfinderSettingsControl: "QCameraViewfinderSettingsControl.__init__": ('PySide2.QtCore.QObject',), "QCameraViewfinderSettingsControl.isViewfinderParameterSupported": ('PySide2.QtMultimedia.QCameraViewfinderSettingsControl.ViewfinderParameter',), - "QCameraViewfinderSettingsControl.setViewfinderParameter": ('PySide2.QtMultimedia.QCameraViewfinderSettingsControl.ViewfinderParameter', 'PySide2.support.signature.typing.Any'), + "QCameraViewfinderSettingsControl.setViewfinderParameter": ('PySide2.QtMultimedia.QCameraViewfinderSettingsControl.ViewfinderParameter', 'Any'), "QCameraViewfinderSettingsControl.viewfinderParameter": ('PySide2.QtMultimedia.QCameraViewfinderSettingsControl.ViewfinderParameter',), # class PySide2.QtMultimedia.QCameraViewfinderSettingsControl2: @@ -14304,7 +14323,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QImageEncoderSettings.quality": (), "QImageEncoderSettings.resolution": (), "QImageEncoderSettings.setCodec": ('str',), - "QImageEncoderSettings.setEncodingOption": ('str', 'PySide2.support.signature.typing.Any'), + "QImageEncoderSettings.setEncodingOption": ('str', 'Any'), "QImageEncoderSettings.setEncodingOptions": ('dict',), "QImageEncoderSettings.setQuality": ('PySide2.QtMultimedia.QMultimedia.EncodingQuality',), "QImageEncoderSettings.setResolution": [('PySide2.QtCore.QSize',), ('int', 'int')], @@ -14355,7 +14374,6 @@ if "PySide2.QtMultimedia" in sys.modules: "QMediaNetworkAccessControl.setConfigurations": ('list',), # class PySide2.QtMultimedia.QMediaObject: - "QMediaObject.notifyInterval": (), "QMediaObject.addPropertyWatch": ('PySide2.QtCore.QByteArray',), "QMediaObject.availability": (), "QMediaObject.availableMetaData": (), @@ -14363,6 +14381,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QMediaObject.isAvailable": (), "QMediaObject.isMetaDataAvailable": (), "QMediaObject.metaData": ('str',), + "QMediaObject.notifyInterval": (), "QMediaObject.removePropertyWatch": ('PySide2.QtCore.QByteArray',), "QMediaObject.setNotifyInterval": ('int',), "QMediaObject.unbind": ('PySide2.QtCore.QObject',), @@ -14377,7 +14396,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QMediaPlayer.currentNetworkConfiguration": (), "QMediaPlayer.duration": (), "QMediaPlayer.errorString": (), - "QMediaPlayer.hasSupport": ('str', 'PySide2.support.signature.typing.List', 'Flags'), + "QMediaPlayer.hasSupport": ('str', 'List[str]', 'Flags'), "QMediaPlayer.isAudioAvailable": (), "QMediaPlayer.isMuted": (), "QMediaPlayer.isSeekable": (), @@ -14447,7 +14466,6 @@ if "PySide2.QtMultimedia" in sys.modules: "QMediaPlaylist.mediaCount": (), "QMediaPlaylist.mediaObject": (), "QMediaPlaylist.moveMedia": ('int', 'int'), - "QMediaPlaylist.next": (), "QMediaPlaylist.nextIndex": ('int',), "QMediaPlaylist.playbackMode": (), "QMediaPlaylist.previous": (), @@ -14483,7 +14501,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QMediaRecorder.setContainerFormat": ('str',), "QMediaRecorder.setEncodingSettings": ('PySide2.QtMultimedia.QAudioEncoderSettings', 'PySide2.QtMultimedia.QVideoEncoderSettings', 'str'), "QMediaRecorder.setMediaObject": ('PySide2.QtMultimedia.QMediaObject',), - "QMediaRecorder.setMetaData": ('str', 'PySide2.support.signature.typing.Any'), + "QMediaRecorder.setMetaData": ('str', 'Any'), "QMediaRecorder.setMuted": ('bool',), "QMediaRecorder.setOutputLocation": ('PySide2.QtCore.QUrl',), "QMediaRecorder.setVideoSettings": ('PySide2.QtMultimedia.QVideoEncoderSettings',), @@ -14691,7 +14709,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QVideoEncoderSettings.setBitRate": ('int',), "QVideoEncoderSettings.setCodec": ('str',), "QVideoEncoderSettings.setEncodingMode": ('PySide2.QtMultimedia.QMultimedia.EncodingMode',), - "QVideoEncoderSettings.setEncodingOption": ('str', 'PySide2.support.signature.typing.Any'), + "QVideoEncoderSettings.setEncodingOption": ('str', 'Any'), "QVideoEncoderSettings.setEncodingOptions": ('dict',), "QVideoEncoderSettings.setFrameRate": ('float',), "QVideoEncoderSettings.setQuality": ('PySide2.QtMultimedia.QMultimedia.EncodingQuality',), @@ -14712,7 +14730,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QVideoFrame.__init__": [(), ('PySide2.QtGui.QImage',), ('PySide2.QtMultimedia.QAbstractVideoBuffer', 'PySide2.QtCore.QSize', 'PySide2.QtMultimedia.QVideoFrame.PixelFormat'), ('PySide2.QtMultimedia.QVideoFrame',), ('int', 'PySide2.QtCore.QSize', 'int', 'PySide2.QtMultimedia.QVideoFrame.PixelFormat')], "QVideoFrame.__copy__": (), "QVideoFrame.availableMetaData": (), - "QVideoFrame.bits": [], + "QVideoFrame.bits": (), "QVideoFrame.bytesPerLine": [(), ('int',)], "QVideoFrame.endTime": (), "QVideoFrame.fieldType": (), @@ -14733,7 +14751,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QVideoFrame.planeCount": (), "QVideoFrame.setEndTime": ('int',), "QVideoFrame.setFieldType": ('PySide2.QtMultimedia.QVideoFrame.FieldType',), - "QVideoFrame.setMetaData": ('str', 'PySide2.support.signature.typing.Any'), + "QVideoFrame.setMetaData": ('str', 'Any'), "QVideoFrame.setStartTime": ('int',), "QVideoFrame.size": (), "QVideoFrame.startTime": (), @@ -14767,7 +14785,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QVideoSurfaceFormat.setFrameRate": ('float',), "QVideoSurfaceFormat.setFrameSize": [('PySide2.QtCore.QSize',), ('int', 'int')], "QVideoSurfaceFormat.setPixelAspectRatio": [('PySide2.QtCore.QSize',), ('int', 'int')], - "QVideoSurfaceFormat.setProperty": ('str', 'PySide2.support.signature.typing.Any'), + "QVideoSurfaceFormat.setProperty": ('str', 'Any'), "QVideoSurfaceFormat.setScanLineDirection": ('PySide2.QtMultimedia.QVideoSurfaceFormat.Direction',), "QVideoSurfaceFormat.setViewport": ('PySide2.QtCore.QRect',), "QVideoSurfaceFormat.setYCbCrColorSpace": ('PySide2.QtMultimedia.QVideoSurfaceFormat.YCbCrColorSpace',), @@ -14810,7 +14828,7 @@ if "PySide2.QtMultimediaWidgets" in sys.modules: "QGraphicsVideoItem.__init__": ('PySide2.QtWidgets.QGraphicsItem',), "QGraphicsVideoItem.aspectRatioMode": (), "QGraphicsVideoItem.boundingRect": (), - "QGraphicsVideoItem.itemChange": ('PySide2.QtWidgets.QGraphicsItem.GraphicsItemChange', 'PySide2.support.signature.typing.Any'), + "QGraphicsVideoItem.itemChange": ('PySide2.QtWidgets.QGraphicsItem.GraphicsItemChange', 'Any'), "QGraphicsVideoItem.mediaObject": (), "QGraphicsVideoItem.nativeSize": (), "QGraphicsVideoItem.offset": (), @@ -15167,7 +15185,7 @@ if "PySide2.QtQml" in sys.modules: "QJSEngine.newObject": (), "QJSEngine.newQMetaObject": ('PySide2.QtCore.QMetaObject',), "QJSEngine.newQObject": ('PySide2.QtCore.QObject',), - "QJSEngine.toScriptValue": ('PySide2.support.signature.typing.Any',), + "QJSEngine.toScriptValue": ('Any',), # class PySide2.QtQml.QJSValue: "QJSValue.__init__": [('PySide2.QtQml.QJSValue',), ('PySide2.QtQml.QJSValue.SpecialValue',), ('bool',), ('float',), ('int',), ('str',)], @@ -15213,7 +15231,6 @@ if "PySide2.QtQml" in sys.modules: "QJSValueIterator.__init__": ('PySide2.QtQml.QJSValue',), "QJSValueIterator.hasNext": (), "QJSValueIterator.name": (), - "QJSValueIterator.next": (), "QJSValueIterator.value": (), # class PySide2.QtQml.QQmlAbstractUrlInterceptor: @@ -15224,7 +15241,7 @@ if "PySide2.QtQml" in sys.modules: "QQmlApplicationEngine.__init__": [('PySide2.QtCore.QObject',), ('PySide2.QtCore.QUrl', 'PySide2.QtCore.QObject'), ('str', 'PySide2.QtCore.QObject')], "QQmlApplicationEngine.load": [('PySide2.QtCore.QUrl',), ('str',)], "QQmlApplicationEngine.loadData": ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QUrl'), - "QQmlApplicationEngine.rootObjects": [], + "QQmlApplicationEngine.rootObjects": (), # class PySide2.QtQml.QQmlComponent: "QQmlComponent.__init__": [('PySide2.QtCore.QObject',), ('PySide2.QtQml.QQmlEngine', 'PySide2.QtCore.QObject'), ('PySide2.QtQml.QQmlEngine', 'PySide2.QtCore.QUrl', 'PySide2.QtCore.QObject'), ('PySide2.QtQml.QQmlEngine', 'PySide2.QtCore.QUrl', 'PySide2.QtQml.QQmlComponent.CompilationMode', 'PySide2.QtCore.QObject'), ('PySide2.QtQml.QQmlEngine', 'str', 'PySide2.QtCore.QObject'), ('PySide2.QtQml.QQmlEngine', 'str', 'PySide2.QtQml.QQmlComponent.CompilationMode', 'PySide2.QtCore.QObject')], @@ -15256,7 +15273,7 @@ if "PySide2.QtQml" in sys.modules: "QQmlContext.resolvedUrl": ('PySide2.QtCore.QUrl',), "QQmlContext.setBaseUrl": ('PySide2.QtCore.QUrl',), "QQmlContext.setContextObject": ('PySide2.QtCore.QObject',), - "QQmlContext.setContextProperty": [('str', 'PySide2.QtCore.QObject'), ('str', 'PySide2.support.signature.typing.Any')], + "QQmlContext.setContextProperty": [('str', 'Any'), ('str', 'PySide2.QtCore.QObject')], # class PySide2.QtQml.QQmlDebuggingEnabler: "QQmlDebuggingEnabler.__init__": ('bool',), @@ -15265,7 +15282,7 @@ if "PySide2.QtQml" in sys.modules: "QQmlDebuggingEnabler.inspectorServices": (), "QQmlDebuggingEnabler.nativeDebuggerServices": (), "QQmlDebuggingEnabler.profilerServices": (), - "QQmlDebuggingEnabler.setServices": ('PySide2.support.signature.typing.List',), + "QQmlDebuggingEnabler.setServices": ('List[str]',), "QQmlDebuggingEnabler.startDebugConnector": ('str', 'dict'), "QQmlDebuggingEnabler.startTcpDebugServer": ('int', 'PySide2.QtQml.QQmlDebuggingEnabler.StartMode', 'str'), @@ -15294,13 +15311,13 @@ if "PySide2.QtQml" in sys.modules: "QQmlEngine.rootContext": (), "QQmlEngine.setBaseUrl": ('PySide2.QtCore.QUrl',), "QQmlEngine.setContextForObject": ('PySide2.QtCore.QObject', 'PySide2.QtQml.QQmlContext'), - "QQmlEngine.setImportPathList": ('PySide2.support.signature.typing.List',), + "QQmlEngine.setImportPathList": ('List[str]',), "QQmlEngine.setIncubationController": ('PySide2.QtQml.QQmlIncubationController',), "QQmlEngine.setNetworkAccessManagerFactory": ('PySide2.QtQml.QQmlNetworkAccessManagerFactory',), "QQmlEngine.setObjectOwnership": ('PySide2.QtCore.QObject', 'PySide2.QtQml.QQmlEngine.ObjectOwnership'), "QQmlEngine.setOfflineStoragePath": ('str',), "QQmlEngine.setOutputWarningsToStandardError": ('bool',), - "QQmlEngine.setPluginPathList": ('PySide2.support.signature.typing.List',), + "QQmlEngine.setPluginPathList": ('List[str]',), "QQmlEngine.setUrlInterceptor": ('PySide2.QtQml.QQmlAbstractUrlInterceptor',), "QQmlEngine.trimComponentCache": (), "QQmlEngine.urlInterceptor": (), @@ -15375,7 +15392,7 @@ if "PySide2.QtQml" in sys.modules: "QQmlFileSelector.__init__": ('PySide2.QtQml.QQmlEngine', 'PySide2.QtCore.QObject'), "QQmlFileSelector.get": ('PySide2.QtQml.QQmlEngine',), "QQmlFileSelector.selector": (), - "QQmlFileSelector.setExtraSelectors": ['PySide2.support.signature.typing.List'], + "QQmlFileSelector.setExtraSelectors": ('List[str]',), "QQmlFileSelector.setSelector": ('PySide2.QtCore.QFileSelector',), # class PySide2.QtQml.QQmlImageProviderBase: @@ -15454,18 +15471,18 @@ if "PySide2.QtQml" in sys.modules: "QQmlProperty.read": [(), ('PySide2.QtCore.QObject', 'str'), ('PySide2.QtCore.QObject', 'str', 'PySide2.QtQml.QQmlContext'), ('PySide2.QtCore.QObject', 'str', 'PySide2.QtQml.QQmlEngine')], "QQmlProperty.reset": (), "QQmlProperty.type": (), - "QQmlProperty.write": [('PySide2.QtCore.QObject', 'str', 'PySide2.support.signature.typing.Any'), ('PySide2.QtCore.QObject', 'str', 'PySide2.support.signature.typing.Any', 'PySide2.QtQml.QQmlContext'), ('PySide2.QtCore.QObject', 'str', 'PySide2.support.signature.typing.Any', 'PySide2.QtQml.QQmlEngine'), ('PySide2.support.signature.typing.Any',)], + "QQmlProperty.write": [('Any',), ('PySide2.QtCore.QObject', 'str', 'Any'), ('PySide2.QtCore.QObject', 'str', 'Any', 'PySide2.QtQml.QQmlContext'), ('PySide2.QtCore.QObject', 'str', 'Any', 'PySide2.QtQml.QQmlEngine')], # class PySide2.QtQml.QQmlPropertyMap: "QQmlPropertyMap.__init__": ('PySide2.QtCore.QObject',), "QQmlPropertyMap.clear": ('str',), "QQmlPropertyMap.contains": ('str',), "QQmlPropertyMap.count": (), - "QQmlPropertyMap.insert": ('str', 'PySide2.support.signature.typing.Any'), + "QQmlPropertyMap.insert": ('str', 'Any'), "QQmlPropertyMap.isEmpty": (), "QQmlPropertyMap.keys": (), "QQmlPropertyMap.size": (), - "QQmlPropertyMap.updateValue": ('str', 'PySide2.support.signature.typing.Any'), + "QQmlPropertyMap.updateValue": ('str', 'Any'), "QQmlPropertyMap.value": ('str',), # class PySide2.QtQml.QQmlPropertyValueSource: @@ -15665,9 +15682,9 @@ if "PySide2.QtQuick" in sys.modules: "QQuickItem.z": (), # class PySide2.QtQuick.QQuickItemGrabResult: - "QQuickItemGrabResult.saveToFile": ['str'], "QQuickItemGrabResult.event": ('PySide2.QtCore.QEvent',), "QQuickItemGrabResult.image": (), + "QQuickItemGrabResult.saveToFile": ('str',), "QQuickItemGrabResult.url": (), # class PySide2.QtQuick.QQuickPaintedItem: @@ -15822,7 +15839,7 @@ if "PySide2.QtQuick" in sys.modules: # class PySide2.QtQuick.QSGBasicGeometryNode: "QSGBasicGeometryNode.__init__": ('PySide2.QtQuick.QSGNode.NodeType',), "QSGBasicGeometryNode.clipList": (), - "QSGBasicGeometryNode.geometry": [], + "QSGBasicGeometryNode.geometry": (), "QSGBasicGeometryNode.matrix": (), "QSGBasicGeometryNode.setGeometry": ('PySide2.QtQuick.QSGGeometry',), "QSGBasicGeometryNode.setRendererClipList": ('PySide2.QtQuick.QSGClipNode',), @@ -15857,9 +15874,9 @@ if "PySide2.QtQuick" in sys.modules: "QSGGeometry.defaultAttributes_TexturedPoint2D": (), "QSGGeometry.drawingMode": (), "QSGGeometry.indexCount": (), - "QSGGeometry.indexData": [], - "QSGGeometry.indexDataAsUInt": [], - "QSGGeometry.indexDataAsUShort": [], + "QSGGeometry.indexData": (), + "QSGGeometry.indexDataAsUInt": (), + "QSGGeometry.indexDataAsUShort": (), "QSGGeometry.indexDataPattern": (), "QSGGeometry.indexType": (), "QSGGeometry.lineWidth": (), @@ -15875,10 +15892,10 @@ if "PySide2.QtQuick" in sys.modules: "QSGGeometry.updateRectGeometry": ('PySide2.QtQuick.QSGGeometry', 'PySide2.QtCore.QRectF'), "QSGGeometry.updateTexturedRectGeometry": ('PySide2.QtQuick.QSGGeometry', 'PySide2.QtCore.QRectF', 'PySide2.QtCore.QRectF'), "QSGGeometry.vertexCount": (), - "QSGGeometry.vertexData": [], - "QSGGeometry.vertexDataAsColoredPoint2D": [], - "QSGGeometry.vertexDataAsPoint2D": [], - "QSGGeometry.vertexDataAsTexturedPoint2D": [], + "QSGGeometry.vertexData": (), + "QSGGeometry.vertexDataAsColoredPoint2D": (), + "QSGGeometry.vertexDataAsPoint2D": (), + "QSGGeometry.vertexDataAsTexturedPoint2D": (), "QSGGeometry.vertexDataPattern": (), # class PySide2.QtQuick.QSGGeometryNode: @@ -16059,7 +16076,7 @@ if "PySide2.QtTextToSpeech" in sys.modules: "QTextToSpeechEngine.__init__": ('PySide2.QtCore.QObject',), "QTextToSpeechEngine.availableLocales": (), "QTextToSpeechEngine.availableVoices": (), - "QTextToSpeechEngine.createVoice": ('str', 'PySide2.QtTextToSpeech.QVoice.Gender', 'PySide2.QtTextToSpeech.QVoice.Age', 'PySide2.support.signature.typing.Any'), + "QTextToSpeechEngine.createVoice": ('str', 'PySide2.QtTextToSpeech.QVoice.Gender', 'PySide2.QtTextToSpeech.QVoice.Age', 'Any'), "QTextToSpeechEngine.locale": (), "QTextToSpeechEngine.pause": (), "QTextToSpeechEngine.pitch": (), @@ -16164,7 +16181,7 @@ if "PySide2.QtDataVisualization" in sys.modules: dict.update({ # class PySide2.QtDataVisualization.QtDataVisualization: - "QtDataVisualization.qDefaultSurfaceFormat": ['bool'], + "QtDataVisualization.qDefaultSurfaceFormat": ('bool',), }) # Module PySide2.QtUiTools @@ -16225,12 +16242,12 @@ if "PySide2.QtWebEngineWidgets" in sys.modules: "QWebEngineCertificateError.url": (), # class PySide2.QtWebEngineWidgets.QWebEngineDownloadItem: - "QWebEngineDownloadItem.mimeType": (), "QWebEngineDownloadItem.accept": (), "QWebEngineDownloadItem.cancel": (), "QWebEngineDownloadItem.id": (), "QWebEngineDownloadItem.interruptReasonString": (), "QWebEngineDownloadItem.isFinished": (), + "QWebEngineDownloadItem.mimeType": (), "QWebEngineDownloadItem.path": (), "QWebEngineDownloadItem.receivedBytes": (), "QWebEngineDownloadItem.setPath": ('str',), @@ -16254,7 +16271,7 @@ if "PySide2.QtWebEngineWidgets" in sys.modules: "QWebEnginePage.action": ('PySide2.QtWebEngineWidgets.QWebEnginePage.WebAction',), "QWebEnginePage.backgroundColor": (), "QWebEnginePage.certificateError": ('PySide2.QtWebEngineWidgets.QWebEngineCertificateError',), - "QWebEnginePage.chooseFiles": ('PySide2.QtWebEngineWidgets.QWebEnginePage.FileSelectionMode', 'PySide2.support.signature.typing.List', 'PySide2.support.signature.typing.List'), + "QWebEnginePage.chooseFiles": ('PySide2.QtWebEngineWidgets.QWebEnginePage.FileSelectionMode', 'List[str]', 'List[str]'), "QWebEnginePage.contentsSize": (), "QWebEnginePage.createStandardContextMenu": (), "QWebEnginePage.createWindow": ('PySide2.QtWebEngineWidgets.QWebEnginePage.WebWindowType',), @@ -16317,7 +16334,7 @@ if "PySide2.QtWebEngineWidgets" in sys.modules: "QWebEngineProfile.setPersistentCookiesPolicy": ('PySide2.QtWebEngineWidgets.QWebEngineProfile.PersistentCookiesPolicy',), "QWebEngineProfile.setPersistentStoragePath": ('str',), "QWebEngineProfile.setSpellCheckEnabled": ('bool',), - "QWebEngineProfile.setSpellCheckLanguages": ('PySide2.support.signature.typing.List',), + "QWebEngineProfile.setSpellCheckLanguages": ('List[str]',), "QWebEngineProfile.spellCheckLanguages": (), "QWebEngineProfile.storageName": (), "QWebEngineProfile.visitedLinksContainsUrl": ('PySide2.QtCore.QUrl',), diff --git a/sources/pyside2/tests/registry/exists_linux_5_9_3_ci.py b/sources/pyside2/tests/registry/exists_linux_5_9_4_ci.py index 9e7503e6c..59d696884 100644 --- a/sources/pyside2/tests/registry/exists_linux_5_9_3_ci.py +++ b/sources/pyside2/tests/registry/exists_linux_5_9_4_ci.py @@ -1,6 +1,6 @@ ############################################################################# ## -## Copyright (C) 2017 The Qt Company Ltd. +## Copyright (C) 2018 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of PySide2. @@ -37,6 +37,14 @@ ## ############################################################################# +""" +This file contains the simplified signatures for all functions in PySide +for module 'exists_linux_5_9_4_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 = {} @@ -249,7 +257,7 @@ if "PySide2.QtCore" in sys.modules: # class PySide2.QtCore.QBasicMutex: "QBasicMutex.__init__": (), - "QBasicMutex.isRecursive": [], + "QBasicMutex.isRecursive": (), "QBasicMutex.lock": (), "QBasicMutex.tryLock": (), "QBasicMutex.try_lock": (), @@ -284,7 +292,7 @@ if "PySide2.QtCore" in sys.modules: # class PySide2.QtCore.QBuffer: "QBuffer.__init__": [('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QObject',)], "QBuffer.atEnd": (), - "QBuffer.buffer": [], + "QBuffer.buffer": (), "QBuffer.canReadLine": (), "QBuffer.close": (), "QBuffer.connectNotify": ('PySide2.QtCore.QMetaMethod',), @@ -312,7 +320,7 @@ if "PySide2.QtCore" in sys.modules: "QByteArray.clear": (), "QByteArray.contains": [('PySide2.QtCore.QByteArray',), ('Union[str, int]',)], "QByteArray.count": [(), ('PySide2.QtCore.QByteArray',), ('Union[str, int]',)], - "QByteArray.data": [], + "QByteArray.data": (), "QByteArray.endsWith": [('PySide2.QtCore.QByteArray',), ('Union[str, int]',)], "QByteArray.fill": ('Union[str, int]', 'int'), "QByteArray.fromBase64": [('PySide2.QtCore.QByteArray',), ('PySide2.QtCore.QByteArray', 'Base64Options')], @@ -340,7 +348,7 @@ if "PySide2.QtCore" in sys.modules: "QByteArray.rightJustified": ('int', 'Union[str, int]', 'bool'), "QByteArray.setNum": [('float', 'Union[str, int]', 'int'), ('int', 'int')], "QByteArray.setRawData": ('str', 'int'), - "QByteArray.simplified": [], + "QByteArray.simplified": (), "QByteArray.size": (), "QByteArray.split": ('Union[str, int]',), "QByteArray.squeeze": (), @@ -353,15 +361,15 @@ if "PySide2.QtCore" in sys.modules: "QByteArray.toInt": ('bool', 'int'), "QByteArray.toLong": ('bool', 'int'), "QByteArray.toLongLong": ('bool', 'int'), - "QByteArray.toLower": [], + "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.toUpper": (), + "QByteArray.trimmed": (), "QByteArray.truncate": ('int',), # class PySide2.QtCore.QByteArrayMatcher: @@ -561,7 +569,7 @@ if "PySide2.QtCore" in sys.modules: "QDate.daysTo": ('PySide2.QtCore.QDate',), "QDate.fromJulianDay": ('int',), "QDate.fromString": [('str', 'PySide2.QtCore.Qt.DateFormat'), ('str', 'str')], - "QDate.getDate": ['int', 'int', 'int'], + "QDate.getDate": ('int', 'int', 'int'), "QDate.isLeapYear": ('int',), "QDate.isNull": (), "QDate.isValid": [(), ('int', 'int', 'int')], @@ -697,7 +705,6 @@ if "PySide2.QtCore" in sys.modules: "QDirIterator.fileName": (), "QDirIterator.filePath": (), "QDirIterator.hasNext": (), - "QDirIterator.next": (), "QDirIterator.path": (), # class PySide2.QtCore.QDynamicPropertyChangeEvent: @@ -957,7 +964,7 @@ if "PySide2.QtCore" in sys.modules: "QItemSelection.__copy__": (), "QItemSelection.append": [('PySide2.QtCore.QItemSelectionRange',), ('list',)], "QItemSelection.at": ('int',), - "QItemSelection.back": [], + "QItemSelection.back": (), "QItemSelection.clear": (), "QItemSelection.constFirst": (), "QItemSelection.constLast": (), @@ -966,16 +973,16 @@ if "PySide2.QtCore" in sys.modules: "QItemSelection.detachShared": (), "QItemSelection.empty": (), "QItemSelection.endsWith": ('PySide2.QtCore.QItemSelectionRange',), - "QItemSelection.first": [], + "QItemSelection.first": (), "QItemSelection.fromSet": ('set',), "QItemSelection.fromVector": ('list',), - "QItemSelection.front": [], + "QItemSelection.front": (), "QItemSelection.indexOf": ('PySide2.QtCore.QItemSelectionRange', 'int'), "QItemSelection.indexes": (), "QItemSelection.insert": ('int', 'PySide2.QtCore.QItemSelectionRange'), "QItemSelection.isEmpty": (), "QItemSelection.isSharedWith": ('list',), - "QItemSelection.last": [], + "QItemSelection.last": (), "QItemSelection.lastIndexOf": ('PySide2.QtCore.QItemSelectionRange', 'int'), "QItemSelection.length": (), "QItemSelection.merge": ('PySide2.QtCore.QItemSelection', 'SelectionFlags'), @@ -1018,7 +1025,7 @@ if "PySide2.QtCore" in sys.modules: "QItemSelectionModel.isColumnSelected": ('int', 'PySide2.QtCore.QModelIndex'), "QItemSelectionModel.isRowSelected": ('int', 'PySide2.QtCore.QModelIndex'), "QItemSelectionModel.isSelected": ('PySide2.QtCore.QModelIndex',), - "QItemSelectionModel.model": [], + "QItemSelectionModel.model": (), "QItemSelectionModel.reset": (), "QItemSelectionModel.rowIntersectsSelection": ('int', 'PySide2.QtCore.QModelIndex'), "QItemSelectionModel.select": [('PySide2.QtCore.QItemSelection', 'SelectionFlags'), ('PySide2.QtCore.QModelIndex', 'SelectionFlags')], @@ -1123,13 +1130,13 @@ if "PySide2.QtCore" in sys.modules: "QJsonValue.type": (), # class PySide2.QtCore.QLibraryInfo: - "QLibraryInfo.platformPluginArguments": ('str',), "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: @@ -1218,7 +1225,7 @@ if "PySide2.QtCore" in sys.modules: "QLocale.percent": (), "QLocale.pmText": (), "QLocale.positiveSign": (), - "QLocale.quoteString": ['PySide2.QtCore.QLocale.QuotationStyle', 'str'], + "QLocale.quoteString": ('str', 'PySide2.QtCore.QLocale.QuotationStyle'), "QLocale.script": (), "QLocale.scriptToString": ('PySide2.QtCore.QLocale.Script',), "QLocale.setDefault": ('PySide2.QtCore.QLocale',), @@ -1323,7 +1330,7 @@ if "PySide2.QtCore" in sys.modules: # class PySide2.QtCore.QMetaObject: "QMetaObject.__init__": (), - "QMetaObject.cast": ['PySide2.QtCore.QObject'], + "QMetaObject.cast": ('PySide2.QtCore.QObject',), "QMetaObject.checkConnectArgs": [('PySide2.QtCore.QMetaMethod', 'PySide2.QtCore.QMetaMethod'), ('str', 'str')], "QMetaObject.classInfo": ('int',), "QMetaObject.classInfoCount": (), @@ -1464,7 +1471,7 @@ if "PySide2.QtCore" in sys.modules: # class PySide2.QtCore.QMutex: "QMutex.__init__": ('PySide2.QtCore.QMutex.RecursionMode',), - "QMutex.isRecursive": [], + "QMutex.isRecursive": (), "QMutex.lock": (), "QMutex.tryLock": [(), ('int',)], "QMutex.try_lock": (), @@ -1489,8 +1496,8 @@ if "PySide2.QtCore" in sys.modules: "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.dumpObjectInfo": (), + "QObject.dumpObjectTree": (), "QObject.dynamicPropertyNames": (), "QObject.emit": ('str', '...'), "QObject.event": ('PySide2.QtCore.QEvent',), @@ -1814,11 +1821,11 @@ if "PySide2.QtCore" in sys.modules: "QRegExp.__init__": [(), ('PySide2.QtCore.QRegExp',), ('str', 'PySide2.QtCore.Qt.CaseSensitivity', 'PySide2.QtCore.QRegExp.PatternSyntax')], "QRegExp.__copy__": (), "QRegExp.__reduce__": (), - "QRegExp.cap": ['int'], + "QRegExp.cap": ('int',), "QRegExp.captureCount": (), - "QRegExp.capturedTexts": [], + "QRegExp.capturedTexts": (), "QRegExp.caseSensitivity": (), - "QRegExp.errorString": [], + "QRegExp.errorString": (), "QRegExp.escape": ('str',), "QRegExp.exactMatch": ('str',), "QRegExp.indexIn": ('str', 'int', 'PySide2.QtCore.QRegExp.CaretMode'), @@ -1829,7 +1836,7 @@ if "PySide2.QtCore" in sys.modules: "QRegExp.matchedLength": (), "QRegExp.pattern": (), "QRegExp.patternSyntax": (), - "QRegExp.pos": ['int'], + "QRegExp.pos": ('int',), "QRegExp.replace": ('str', 'str'), "QRegExp.setCaseSensitivity": ('PySide2.QtCore.Qt.CaseSensitivity',), "QRegExp.setMinimal": ('bool',), @@ -1843,9 +1850,9 @@ if "PySide2.QtCore" in sys.modules: "QRegularExpression.captureCount": (), "QRegularExpression.errorString": (), "QRegularExpression.escape": ('str',), - "QRegularExpression.globalMatch": ['MatchOptions', 'PySide2.QtCore.QRegularExpression.MatchType', 'int', 'str'], + "QRegularExpression.globalMatch": ('str', 'int', 'PySide2.QtCore.QRegularExpression.MatchType', 'MatchOptions'), "QRegularExpression.isValid": (), - "QRegularExpression.match": ['MatchOptions', 'PySide2.QtCore.QRegularExpression.MatchType', 'int', 'str'], + "QRegularExpression.match": ('str', 'int', 'PySide2.QtCore.QRegularExpression.MatchType', 'MatchOptions'), "QRegularExpression.namedCaptureGroups": (), "QRegularExpression.optimize": (), "QRegularExpression.pattern": (), @@ -1880,7 +1887,6 @@ if "PySide2.QtCore" in sys.modules: "QRegularExpressionMatchIterator.isValid": (), "QRegularExpressionMatchIterator.matchOptions": (), "QRegularExpressionMatchIterator.matchType": (), - "QRegularExpressionMatchIterator.next": (), "QRegularExpressionMatchIterator.peekNext": (), "QRegularExpressionMatchIterator.regularExpression": (), "QRegularExpressionMatchIterator.swap": ('PySide2.QtCore.QRegularExpressionMatchIterator',), @@ -2100,7 +2106,6 @@ if "PySide2.QtCore" in sys.modules: "QSortFilterProxyModel.supportedDropActions": (), # class PySide2.QtCore.QStandardPaths: - "QStandardPaths.writableLocation": ('PySide2.QtCore.QStandardPaths.StandardLocation',), "QStandardPaths.displayName": ('PySide2.QtCore.QStandardPaths.StandardLocation',), "QStandardPaths.enableTestMode": ('bool',), "QStandardPaths.findExecutable": ('str', 'List[str]'), @@ -2109,6 +2114,7 @@ if "PySide2.QtCore" in sys.modules: "QStandardPaths.locateAll": ('PySide2.QtCore.QStandardPaths.StandardLocation', 'str', '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')], @@ -2134,7 +2140,7 @@ if "PySide2.QtCore" in sys.modules: "QStateMachine.beginSelectTransitions": ('PySide2.QtCore.QEvent',), "QStateMachine.cancelDelayedEvent": ('int',), "QStateMachine.clearError": (), - "QStateMachine.configuration": [], + "QStateMachine.configuration": (), "QStateMachine.defaultAnimations": (), "QStateMachine.endMicrostep": ('PySide2.QtCore.QEvent',), "QStateMachine.endSelectTransitions": ('PySide2.QtCore.QEvent',), @@ -2642,18 +2648,18 @@ if "PySide2.QtCore" in sys.modules: "QXmlStreamAttributes.constLast": (), "QXmlStreamAttributes.contains": ('PySide2.QtCore.QXmlStreamAttribute',), "QXmlStreamAttributes.count": [(), ('PySide2.QtCore.QXmlStreamAttribute',)], - "QXmlStreamAttributes.data": [], + "QXmlStreamAttributes.data": (), "QXmlStreamAttributes.empty": (), "QXmlStreamAttributes.endsWith": ('PySide2.QtCore.QXmlStreamAttribute',), "QXmlStreamAttributes.fill": ('PySide2.QtCore.QXmlStreamAttribute', 'int'), - "QXmlStreamAttributes.first": [], + "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.last": (), "QXmlStreamAttributes.lastIndexOf": ('PySide2.QtCore.QXmlStreamAttribute', 'int'), "QXmlStreamAttributes.length": (), "QXmlStreamAttributes.mid": ('int', 'int'), @@ -2789,10 +2795,6 @@ if "PySide2.QtCore" in sys.modules: "QXmlStreamWriter.writeStartElement": [('str',), ('str', 'str')], "QXmlStreamWriter.writeTextElement": [('str', 'str'), ('str', 'str', 'str')], - # class PySide2.QtCore.Qt: - "Qt.qt_getEnumName": [('Alignment',), ('DockWidgetAreas',), ('DropActions',), ('Edges',), ('ImageConversionFlags',), ('InputMethodHints',), ('InputMethodQueries',), ('ItemFlags',), ('KeyboardModifiers',), ('MatchFlags',), ('MouseButtons',), ('Orientations',), ('PySide2.QtCore.Qt.ApplicationAttribute',), ('PySide2.QtCore.Qt.ApplicationState',), ('PySide2.QtCore.Qt.ArrowType',), ('PySide2.QtCore.Qt.AspectRatioMode',), ('PySide2.QtCore.Qt.Axis',), ('PySide2.QtCore.Qt.BGMode',), ('PySide2.QtCore.Qt.BrushStyle',), ('PySide2.QtCore.Qt.CaseSensitivity',), ('PySide2.QtCore.Qt.CheckState',), ('PySide2.QtCore.Qt.ChecksumType',), ('PySide2.QtCore.Qt.ClipOperation',), ('PySide2.QtCore.Qt.ConnectionType',), ('PySide2.QtCore.Qt.ContextMenuPolicy',), ('PySide2.QtCore.Qt.Corner',), ('PySide2.QtCore.Qt.CursorMoveStyle',), ('PySide2.QtCore.Qt.CursorShape',), ('PySide2.QtCore.Qt.DateFormat',), ('PySide2.QtCore.Qt.DayOfWeek',), ('PySide2.QtCore.Qt.DockWidgetArea',), ('PySide2.QtCore.Qt.DropAction',), ('PySide2.QtCore.Qt.Edge',), ('PySide2.QtCore.Qt.EnterKeyType',), ('PySide2.QtCore.Qt.FillRule',), ('PySide2.QtCore.Qt.FocusPolicy',), ('PySide2.QtCore.Qt.FocusReason',), ('PySide2.QtCore.Qt.GestureState',), ('PySide2.QtCore.Qt.GestureType',), ('PySide2.QtCore.Qt.GlobalColor',), ('PySide2.QtCore.Qt.InputMethodHint',), ('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.ItemDataRole',), ('PySide2.QtCore.Qt.ItemSelectionMode',), ('PySide2.QtCore.Qt.ItemSelectionOperation',), ('PySide2.QtCore.Qt.Key',), ('PySide2.QtCore.Qt.LayoutDirection',), ('PySide2.QtCore.Qt.MaskMode',), ('PySide2.QtCore.Qt.MouseEventFlag',), ('PySide2.QtCore.Qt.MouseEventSource',), ('PySide2.QtCore.Qt.NativeGestureType',), ('PySide2.QtCore.Qt.Orientation',), ('PySide2.QtCore.Qt.PenCapStyle',), ('PySide2.QtCore.Qt.PenJoinStyle',), ('PySide2.QtCore.Qt.PenStyle',), ('PySide2.QtCore.Qt.ScreenOrientation',), ('PySide2.QtCore.Qt.ScrollBarPolicy',), ('PySide2.QtCore.Qt.ScrollPhase',), ('PySide2.QtCore.Qt.ShortcutContext',), ('PySide2.QtCore.Qt.SizeHint',), ('PySide2.QtCore.Qt.SizeMode',), ('PySide2.QtCore.Qt.SortOrder',), ('PySide2.QtCore.Qt.TabFocusBehavior',), ('PySide2.QtCore.Qt.TextElideMode',), ('PySide2.QtCore.Qt.TextFlag',), ('PySide2.QtCore.Qt.TextFormat',), ('PySide2.QtCore.Qt.TextInteractionFlag',), ('PySide2.QtCore.Qt.TimeSpec',), ('PySide2.QtCore.Qt.TimerType',), ('PySide2.QtCore.Qt.ToolBarArea',), ('PySide2.QtCore.Qt.ToolButtonStyle',), ('PySide2.QtCore.Qt.TransformationMode',), ('PySide2.QtCore.Qt.WidgetAttribute',), ('PySide2.QtCore.Qt.WindowModality',), ('PySide2.QtCore.Qt.WindowState',), ('PySide2.QtCore.Qt.WindowType',), ('ScreenOrientations',), ('TextInteractionFlags',), ('ToolBarAreas',), ('TouchPointStates',), ('WindowFlags',), ('WindowStates',)], - "Qt.qt_getEnumMetaObject": [('Alignment',), ('DockWidgetAreas',), ('DropActions',), ('Edges',), ('ImageConversionFlags',), ('InputMethodHints',), ('InputMethodQueries',), ('ItemFlags',), ('KeyboardModifiers',), ('MatchFlags',), ('MouseButtons',), ('Orientations',), ('PySide2.QtCore.Qt.ApplicationAttribute',), ('PySide2.QtCore.Qt.ApplicationState',), ('PySide2.QtCore.Qt.ArrowType',), ('PySide2.QtCore.Qt.AspectRatioMode',), ('PySide2.QtCore.Qt.Axis',), ('PySide2.QtCore.Qt.BGMode',), ('PySide2.QtCore.Qt.BrushStyle',), ('PySide2.QtCore.Qt.CaseSensitivity',), ('PySide2.QtCore.Qt.CheckState',), ('PySide2.QtCore.Qt.ChecksumType',), ('PySide2.QtCore.Qt.ClipOperation',), ('PySide2.QtCore.Qt.ConnectionType',), ('PySide2.QtCore.Qt.ContextMenuPolicy',), ('PySide2.QtCore.Qt.Corner',), ('PySide2.QtCore.Qt.CursorMoveStyle',), ('PySide2.QtCore.Qt.CursorShape',), ('PySide2.QtCore.Qt.DateFormat',), ('PySide2.QtCore.Qt.DayOfWeek',), ('PySide2.QtCore.Qt.DockWidgetArea',), ('PySide2.QtCore.Qt.DropAction',), ('PySide2.QtCore.Qt.Edge',), ('PySide2.QtCore.Qt.EnterKeyType',), ('PySide2.QtCore.Qt.FillRule',), ('PySide2.QtCore.Qt.FocusPolicy',), ('PySide2.QtCore.Qt.FocusReason',), ('PySide2.QtCore.Qt.GestureState',), ('PySide2.QtCore.Qt.GestureType',), ('PySide2.QtCore.Qt.GlobalColor',), ('PySide2.QtCore.Qt.InputMethodHint',), ('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.ItemDataRole',), ('PySide2.QtCore.Qt.ItemSelectionMode',), ('PySide2.QtCore.Qt.ItemSelectionOperation',), ('PySide2.QtCore.Qt.Key',), ('PySide2.QtCore.Qt.LayoutDirection',), ('PySide2.QtCore.Qt.MaskMode',), ('PySide2.QtCore.Qt.MouseEventFlag',), ('PySide2.QtCore.Qt.MouseEventSource',), ('PySide2.QtCore.Qt.NativeGestureType',), ('PySide2.QtCore.Qt.Orientation',), ('PySide2.QtCore.Qt.PenCapStyle',), ('PySide2.QtCore.Qt.PenJoinStyle',), ('PySide2.QtCore.Qt.PenStyle',), ('PySide2.QtCore.Qt.ScreenOrientation',), ('PySide2.QtCore.Qt.ScrollBarPolicy',), ('PySide2.QtCore.Qt.ScrollPhase',), ('PySide2.QtCore.Qt.ShortcutContext',), ('PySide2.QtCore.Qt.SizeHint',), ('PySide2.QtCore.Qt.SizeMode',), ('PySide2.QtCore.Qt.SortOrder',), ('PySide2.QtCore.Qt.TabFocusBehavior',), ('PySide2.QtCore.Qt.TextElideMode',), ('PySide2.QtCore.Qt.TextFlag',), ('PySide2.QtCore.Qt.TextFormat',), ('PySide2.QtCore.Qt.TextInteractionFlag',), ('PySide2.QtCore.Qt.TimeSpec',), ('PySide2.QtCore.Qt.TimerType',), ('PySide2.QtCore.Qt.ToolBarArea',), ('PySide2.QtCore.Qt.ToolButtonStyle',), ('PySide2.QtCore.Qt.TransformationMode',), ('PySide2.QtCore.Qt.WidgetAttribute',), ('PySide2.QtCore.Qt.WindowModality',), ('PySide2.QtCore.Qt.WindowState',), ('PySide2.QtCore.Qt.WindowType',), ('ScreenOrientations',), ('TextInteractionFlags',), ('ToolBarAreas',), ('TouchPointStates',), ('WindowFlags',), ('WindowStates',)], - # class PySide2.QtCore.QtMsgType: # class PySide2.QtCore.Signal: @@ -2836,11 +2838,11 @@ if "PySide2.QtGui" in sys.modules: "QAbstractTextDocumentLayout.unregisterHandler": ('int', 'PySide2.QtCore.QObject'), # class PySide2.QtGui.QAccessible: - "QAccessible.isActive": (), "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',), @@ -2900,7 +2902,7 @@ if "PySide2.QtGui" in sys.modules: "QBitmap.__copy__": (), "QBitmap.clear": (), "QBitmap.fromData": ('PySide2.QtCore.QSize', 'Union[str, int]', 'PySide2.QtGui.QImage.Format'), - "QBitmap.fromImage": ['ImageConversionFlags', 'PySide2.QtGui.QImage'], + "QBitmap.fromImage": ('PySide2.QtGui.QImage', 'ImageConversionFlags'), "QBitmap.swap": [('PySide2.QtGui.QBitmap',), ('PySide2.QtGui.QPixmap',)], "QBitmap.transformed": [('PySide2.QtGui.QMatrix',), ('PySide2.QtGui.QMatrix', 'PySide2.QtCore.Qt.TransformationMode'), ('PySide2.QtGui.QTransform',)], @@ -2924,7 +2926,6 @@ if "PySide2.QtGui" in sys.modules: "QBrush.transform": (), # class PySide2.QtGui.QClipboard: - "QClipboard.setText": ('str', 'PySide2.QtGui.QClipboard.Mode'), "QClipboard.clear": ('PySide2.QtGui.QClipboard.Mode',), "QClipboard.image": ('PySide2.QtGui.QClipboard.Mode',), "QClipboard.mimeData": ('PySide2.QtGui.QClipboard.Mode',), @@ -2935,6 +2936,7 @@ if "PySide2.QtGui" in sys.modules: "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')], @@ -3043,9 +3045,9 @@ if "PySide2.QtGui" in sys.modules: # 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', 'KeyboardModifiers')], - "QContextMenuEvent.global"+"Y": (), "QContextMenuEvent.globalPos": (), "QContextMenuEvent.globalX": (), + "QContextMenuEvent.global""Y": (), "QContextMenuEvent.pos": (), "QContextMenuEvent.reason": (), "QContextMenuEvent.x": (), @@ -3129,9 +3131,9 @@ if "PySide2.QtGui" in sys.modules: # class PySide2.QtGui.QEnterEvent: "QEnterEvent.__init__": ('PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF'), - "QEnterEvent.global"+"Y": (), "QEnterEvent.globalPos": (), "QEnterEvent.globalX": (), + "QEnterEvent.global""Y": (), "QEnterEvent.localPos": (), "QEnterEvent.pos": (), "QEnterEvent.screenPos": (), @@ -3406,9 +3408,9 @@ if "PySide2.QtGui" in sys.modules: # class PySide2.QtGui.QHelpEvent: "QHelpEvent.__init__": ('PySide2.QtCore.QEvent.Type', 'PySide2.QtCore.QPoint', 'PySide2.QtCore.QPoint'), - "QHelpEvent.global"+"Y": (), "QHelpEvent.globalPos": (), "QHelpEvent.globalX": (), + "QHelpEvent.global""Y": (), "QHelpEvent.pos": (), "QHelpEvent.x": (), "QHelpEvent.y": (), @@ -3465,7 +3467,7 @@ if "PySide2.QtGui" in sys.modules: "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[[bytes], NoneType]', 'int'), ('Union[str, int]', 'int', 'int', 'int', 'PySide2.QtGui.QImage.Format', 'Callable[[bytes], NoneType]', '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.__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": (), @@ -3560,7 +3562,7 @@ if "PySide2.QtGui" in sys.modules: "QImageIOHandler.option": ('PySide2.QtGui.QImageIOHandler.ImageOption',), "QImageIOHandler.read": ('PySide2.QtGui.QImage',), "QImageIOHandler.setDevice": ('PySide2.QtCore.QIODevice',), - "QImageIOHandler.setFormat": ['PySide2.QtCore.QByteArray'], + "QImageIOHandler.setFormat": ('PySide2.QtCore.QByteArray',), "QImageIOHandler.setOption": ('PySide2.QtGui.QImageIOHandler.ImageOption', 'Any'), "QImageIOHandler.supportsOption": ('PySide2.QtGui.QImageIOHandler.ImageOption',), "QImageIOHandler.write": ('PySide2.QtGui.QImage',), @@ -3836,9 +3838,9 @@ if "PySide2.QtGui" in sys.modules: "QMouseEvent.button": (), "QMouseEvent.buttons": (), "QMouseEvent.flags": (), - "QMouseEvent.global"+"Y": (), "QMouseEvent.globalPos": (), "QMouseEvent.globalX": (), + "QMouseEvent.global""Y": (), "QMouseEvent.localPos": (), "QMouseEvent.pos": (), "QMouseEvent.screenPos": (), @@ -3952,8 +3954,8 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLContext.versionFunctions": ('PySide2.QtGui.QOpenGLVersionProfile',), # class PySide2.QtGui.QOpenGLContextGroup: - "QOpenGLContextGroup.shares": (), "QOpenGLContextGroup.currentContextGroup": (), + "QOpenGLContextGroup.shares": (), # class PySide2.QtGui.QOpenGLDebugLogger: "QOpenGLDebugLogger.__init__": ('PySide2.QtCore.QObject',), @@ -4041,6 +4043,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLExtraFunctions.glGetQueryiv": ('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.glGetUniformBlockIndex": ('int', 'str'), @@ -4235,6 +4238,7 @@ if "PySide2.QtGui" in sys.modules: "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'), @@ -4567,7 +4571,7 @@ if "PySide2.QtGui" in sys.modules: # class PySide2.QtGui.QPagedPaintDevice: "QPagedPaintDevice.__init__": (), - "QPagedPaintDevice.devicePageLayout": [], + "QPagedPaintDevice.devicePageLayout": (), "QPagedPaintDevice.margins": (), "QPagedPaintDevice.newPage": (), "QPagedPaintDevice.pageLayout": (), @@ -4604,10 +4608,10 @@ if "PySide2.QtGui" in sys.modules: "QPaintDevice.widthMM": (), # class PySide2.QtGui.QPaintDeviceWindow: - "QPaintDeviceWindow.paintEngine": (), "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',)], @@ -4694,7 +4698,7 @@ if "PySide2.QtGui" in sys.modules: "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', 'ImageConversionFlags'), ('PySide2.QtCore.QPointF', 'PySide2.QtGui.QImage'), ('PySide2.QtCore.QPointF', 'PySide2.QtGui.QImage', 'PySide2.QtCore.QRectF', 'ImageConversionFlags'), ('PySide2.QtCore.QRect', 'PySide2.QtGui.QImage'), ('PySide2.QtCore.QRect', 'PySide2.QtGui.QImage', 'PySide2.QtCore.QRect', 'ImageConversionFlags'), ('PySide2.QtCore.QRectF', 'PySide2.QtGui.QImage'), ('PySide2.QtCore.QRectF', 'PySide2.QtGui.QImage', 'PySide2.QtCore.QRectF', 'ImageConversionFlags'), ('int', 'int', 'PySide2.QtGui.QImage', 'int', 'int', 'int', 'int', '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.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')], @@ -4705,7 +4709,7 @@ if "PySide2.QtGui" in sys.modules: "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.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')], @@ -5064,11 +5068,11 @@ if "PySide2.QtGui" in sys.modules: "QPolygon.contains": ('PySide2.QtCore.QPoint',), "QPolygon.containsPoint": ('PySide2.QtCore.QPoint', 'PySide2.QtCore.Qt.FillRule'), "QPolygon.count": [(), ('PySide2.QtCore.QPoint',)], - "QPolygon.data": [], + "QPolygon.data": (), "QPolygon.empty": (), "QPolygon.endsWith": ('PySide2.QtCore.QPoint',), "QPolygon.fill": ('PySide2.QtCore.QPoint', 'int'), - "QPolygon.first": [], + "QPolygon.first": (), "QPolygon.fromList": ('list',), "QPolygon.front": (), "QPolygon.indexOf": ('PySide2.QtCore.QPoint', 'int'), @@ -5076,7 +5080,7 @@ if "PySide2.QtGui" in sys.modules: "QPolygon.intersected": ('PySide2.QtGui.QPolygon',), "QPolygon.isEmpty": (), "QPolygon.isSharedWith": ('list',), - "QPolygon.last": [], + "QPolygon.last": (), "QPolygon.lastIndexOf": ('PySide2.QtCore.QPoint', 'int'), "QPolygon.length": (), "QPolygon.mid": ('int', 'int'), @@ -5124,11 +5128,11 @@ if "PySide2.QtGui" in sys.modules: "QPolygonF.contains": ('PySide2.QtCore.QPointF',), "QPolygonF.containsPoint": ('PySide2.QtCore.QPointF', 'PySide2.QtCore.Qt.FillRule'), "QPolygonF.count": [(), ('PySide2.QtCore.QPointF',)], - "QPolygonF.data": [], + "QPolygonF.data": (), "QPolygonF.empty": (), "QPolygonF.endsWith": ('PySide2.QtCore.QPointF',), "QPolygonF.fill": ('PySide2.QtCore.QPointF', 'int'), - "QPolygonF.first": [], + "QPolygonF.first": (), "QPolygonF.fromList": ('list',), "QPolygonF.front": (), "QPolygonF.indexOf": ('PySide2.QtCore.QPointF', 'int'), @@ -5137,7 +5141,7 @@ if "PySide2.QtGui" in sys.modules: "QPolygonF.isClosed": (), "QPolygonF.isEmpty": (), "QPolygonF.isSharedWith": ('list',), - "QPolygonF.last": [], + "QPolygonF.last": (), "QPolygonF.lastIndexOf": ('PySide2.QtCore.QPointF', 'int'), "QPolygonF.length": (), "QPolygonF.mid": ('int', 'int'), @@ -5303,7 +5307,6 @@ if "PySide2.QtGui" in sys.modules: "QResizeEvent.size": (), # class PySide2.QtGui.QScreen: - "QScreen.virtualGeometry": (), "QScreen.angleBetween": ('PySide2.QtCore.Qt.ScreenOrientation', 'PySide2.QtCore.Qt.ScreenOrientation'), "QScreen.availableGeometry": (), "QScreen.availableSize": (), @@ -5335,11 +5338,11 @@ if "PySide2.QtGui" in sys.modules: "QScreen.setOrientationUpdateMask": ('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.QSessionManager: - "QSessionManager.restartCommand": (), "QSessionManager.allowsErrorInteraction": (), "QSessionManager.allowsInteraction": (), "QSessionManager.cancel": (), @@ -5347,6 +5350,7 @@ if "PySide2.QtGui" in sys.modules: "QSessionManager.isPhase2": (), "QSessionManager.release": (), "QSessionManager.requestPhase2": (), + "QSessionManager.restartCommand": (), "QSessionManager.restartHint": (), "QSessionManager.sessionId": (), "QSessionManager.sessionKey": (), @@ -5534,7 +5538,6 @@ if "PySide2.QtGui" in sys.modules: "QStringListModel.supportedDropActions": (), # class PySide2.QtGui.QStyleHints: - "QStyleHints.useRtlExtensions": (), "QStyleHints.cursorFlashTime": (), "QStyleHints.fontSmoothingGamma": (), "QStyleHints.keyboardAutoRepeatRate": (), @@ -5561,6 +5564,7 @@ if "PySide2.QtGui" in sys.modules: "QStyleHints.startDragVelocity": (), "QStyleHints.tabFocusBehavior": (), "QStyleHints.useHoverEffects": (), + "QStyleHints.useRtlExtensions": (), "QStyleHints.wheelScrollLines": (), # class PySide2.QtGui.QSurface: @@ -5634,12 +5638,12 @@ if "PySide2.QtGui" in sys.modules: "QTabletEvent.button": (), "QTabletEvent.buttons": (), "QTabletEvent.device": (), - "QTabletEvent.global"+"Y": (), "QTabletEvent.globalPos": (), "QTabletEvent.globalPosF": (), "QTabletEvent.globalX": (), - "QTabletEvent.hiResGlobal"+"Y": (), + "QTabletEvent.global""Y": (), "QTabletEvent.hiResGlobalX": (), + "QTabletEvent.hiResGlobal""Y": (), "QTabletEvent.pointerType": (), "QTabletEvent.pos": (), "QTabletEvent.posF": (), @@ -5673,7 +5677,6 @@ if "PySide2.QtGui" in sys.modules: "QTextBlock.layout": (), "QTextBlock.length": (), "QTextBlock.lineCount": (), - "QTextBlock.next": (), "QTextBlock.position": (), "QTextBlock.previous": (), "QTextBlock.revision": (), @@ -6464,10 +6467,10 @@ if "PySide2.QtGui" in sys.modules: "QWheelEvent.angleDelta": (), "QWheelEvent.buttons": (), "QWheelEvent.delta": (), - "QWheelEvent.global"+"Y": (), "QWheelEvent.globalPos": (), "QWheelEvent.globalPosF": (), "QWheelEvent.globalX": (), + "QWheelEvent.global""Y": (), "QWheelEvent.inverted": (), "QWheelEvent.orientation": (), "QWheelEvent.phase": (), @@ -7196,6 +7199,19 @@ if "PySide2.QtWidgets" in sys.modules: "QColorDialog.standardColor": ('int',), "QColorDialog.testOption": ('PySide2.QtWidgets.QColorDialog.ColorDialogOption',), + # class PySide2.QtWidgets.QColormap: + "QColormap.__init__": ('PySide2.QtWidgets.QColormap',), + "QColormap.__copy__": (), + "QColormap.cleanup": (), + "QColormap.colorAt": ('int',), + "QColormap.colormap": (), + "QColormap.depth": (), + "QColormap.initialize": (), + "QColormap.instance": ('int',), + "QColormap.mode": (), + "QColormap.pixel": ('PySide2.QtGui.QColor',), + "QColormap.size": (), + # class PySide2.QtWidgets.QColumnView: "QColumnView.__init__": ('PySide2.QtWidgets.QWidget',), "QColumnView.columnWidths": (), @@ -7896,10 +7912,10 @@ if "PySide2.QtWidgets" in sys.modules: "QGestureRecognizer.unregisterRecognizer": ('PySide2.QtCore.Qt.GestureType',), # class PySide2.QtWidgets.QGraphicsAnchor: - "QGraphicsAnchor.spacing": (), "QGraphicsAnchor.setSizePolicy": ('PySide2.QtWidgets.QSizePolicy.Policy',), "QGraphicsAnchor.setSpacing": ('float',), "QGraphicsAnchor.sizePolicy": (), + "QGraphicsAnchor.spacing": (), "QGraphicsAnchor.unsetSpacing": (), # class PySide2.QtWidgets.QGraphicsAnchorLayout: @@ -8182,7 +8198,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsItem.shape": (), "QGraphicsItem.show": (), "QGraphicsItem.stackBefore": ('PySide2.QtWidgets.QGraphicsItem',), - "QGraphicsItem.toGraphicsObject": [], + "QGraphicsItem.toGraphicsObject": (), "QGraphicsItem.toolTip": (), "QGraphicsItem.topLevelItem": (), "QGraphicsItem.topLevelWidget": (), @@ -11146,13 +11162,13 @@ if "PySide2.QtWidgets" in sys.modules: "QToolButton.toolButtonStyle": (), # class PySide2.QtWidgets.QToolTip: - "QToolTip.showText": [('PySide2.QtCore.QPoint', 'str', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtCore.QPoint', 'str', 'PySide2.QtWidgets.QWidget', 'PySide2.QtCore.QRect'), ('PySide2.QtCore.QPoint', 'str', 'PySide2.QtWidgets.QWidget', 'PySide2.QtCore.QRect', 'int')], "QToolTip.font": (), "QToolTip.hideText": (), "QToolTip.isVisible": (), "QToolTip.palette": (), "QToolTip.setFont": ('PySide2.QtGui.QFont',), "QToolTip.setPalette": ('PySide2.QtGui.QPalette',), + "QToolTip.showText": [('PySide2.QtCore.QPoint', 'str', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtCore.QPoint', 'str', 'PySide2.QtWidgets.QWidget', 'PySide2.QtCore.QRect'), ('PySide2.QtCore.QPoint', 'str', 'PySide2.QtWidgets.QWidget', 'PySide2.QtCore.QRect', 'int')], "QToolTip.text": (), # class PySide2.QtWidgets.QTreeView: @@ -11271,7 +11287,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTreeWidget.expandItem": ('PySide2.QtWidgets.QTreeWidgetItem',), "QTreeWidget.findItems": ('str', 'MatchFlags', 'int'), "QTreeWidget.headerItem": (), - "QTreeWidget.indexFromItem": ['PySide2.QtWidgets.QTreeWidgetItem', 'int'], + "QTreeWidget.indexFromItem": ('PySide2.QtWidgets.QTreeWidgetItem', 'int'), "QTreeWidget.indexOfTopLevelItem": ('PySide2.QtWidgets.QTreeWidgetItem',), "QTreeWidget.insertTopLevelItem": ('int', 'PySide2.QtWidgets.QTreeWidgetItem'), "QTreeWidget.insertTopLevelItems": ('int', 'list'), @@ -11455,12 +11471,12 @@ if "PySide2.QtWidgets" in sys.modules: "QVBoxLayout.__init__": [(), ('PySide2.QtWidgets.QWidget',)], # class PySide2.QtWidgets.QWhatsThis: - "QWhatsThis.showText": ('PySide2.QtCore.QPoint', 'str', 'PySide2.QtWidgets.QWidget'), "QWhatsThis.createAction": ('PySide2.QtCore.QObject',), "QWhatsThis.enterWhatsThisMode": (), "QWhatsThis.hideText": (), "QWhatsThis.inWhatsThisMode": (), "QWhatsThis.leaveWhatsThisMode": (), + "QWhatsThis.showText": ('PySide2.QtCore.QPoint', 'str', 'PySide2.QtWidgets.QWidget'), # class PySide2.QtWidgets.QWidget: "QWidget.__init__": ('PySide2.QtWidgets.QWidget', 'WindowFlags'), @@ -11765,7 +11781,6 @@ if "PySide2.QtWidgets" in sys.modules: "QWizard.field": ('str',), "QWizard.hasVisitedPage": ('int',), "QWizard.initializePage": ('int',), - "QWizard.next": (), "QWizard.nextId": (), "QWizard.options": (), "QWizard.page": ('int',), @@ -12170,7 +12185,6 @@ if "PySide2.QtSql" in sys.modules: "QSqlQuery.lastError": (), "QSqlQuery.lastInsertId": (), "QSqlQuery.lastQuery": (), - "QSqlQuery.next": (), "QSqlQuery.nextResult": (), "QSqlQuery.numRowsAffected": (), "QSqlQuery.numericalPrecisionPolicy": (), @@ -12859,12 +12873,12 @@ if "PySide2.QtTest" in sys.modules: dict.update({ # class PySide2.QtTest.QTest: - "QTest.currentDataTag": (), "QTest.addColumnInternal": ('int', 'str'), "QTest.asciiToKey": ('Union[str, int]',), "QTest.compare_string_helper": ('str', 'str', 'str', 'str', 'str', 'int'), "QTest.createTouchDevice": ('PySide2.QtGui.QTouchDevice.DeviceType',), "QTest.currentAppName": (), + "QTest.currentDataTag": (), "QTest.currentTestFailed": (), "QTest.currentTestFunction": (), "QTest.ignoreMessage": [('PySide2.QtCore.QtMsgType', 'PySide2.QtCore.QRegularExpression'), ('PySide2.QtCore.QtMsgType', 'str')], @@ -12882,7 +12896,7 @@ if "PySide2.QtTest" in sys.modules: "QTest.mouseRelease": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.MouseButton', 'KeyboardModifiers', 'PySide2.QtCore.QPoint', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.MouseButton', 'KeyboardModifiers', 'PySide2.QtCore.QPoint', 'int')], "QTest.qElementData": ('str', 'int'), "QTest.qExpectFail": ('str', 'str', 'PySide2.QtTest.QTest.TestFailMode', 'str', 'int'), - "QTest.qFindTestData": ['int', 'str', 'str', 'str'], + "QTest.qFindTestData": ('str', 'str', 'int', 'str'), "QTest.qGlobalData": ('str', 'int'), "QTest.qSkip": ('str', 'str', 'int'), "QTest.qWaitForWindowActive": ('PySide2.QtWidgets.QWidget', 'int'), @@ -12909,9 +12923,9 @@ if "PySide2.QtX11Extras" in sys.modules: dict.update({ # class PySide2.QtX11Extras.QX11Info: - "QX11Info.appRootWindow": ('int',), "QX11Info.appDpiX": ('int',), "QX11Info.appDpiY": ('int',), + "QX11Info.appRootWindow": ('int',), "QX11Info.appScreen": (), "QX11Info.appTime": (), "QX11Info.appUserTime": (), @@ -13253,7 +13267,6 @@ if "PySide2.QtXml" in sys.modules: "QXmlInputSource.data": (), "QXmlInputSource.fetchData": (), "QXmlInputSource.fromRawData": ('PySide2.QtCore.QByteArray', 'bool'), - "QXmlInputSource.next": (), "QXmlInputSource.reset": (), "QXmlInputSource.setData": [('PySide2.QtCore.QByteArray',), ('str',)], @@ -13304,7 +13317,7 @@ if "PySide2.QtXml" in sys.modules: "QXmlReader.hasFeature": ('str',), "QXmlReader.hasProperty": ('str',), "QXmlReader.lexicalHandler": (), - "QXmlReader.parse": ['PySide2.QtXml.QXmlInputSource'], + "QXmlReader.parse": ('PySide2.QtXml.QXmlInputSource',), "QXmlReader.property": ('str', 'bool'), "QXmlReader.setContentHandler": ('PySide2.QtXml.QXmlContentHandler',), "QXmlReader.setDTDHandler": ('PySide2.QtXml.QXmlDTDHandler',), @@ -13470,7 +13483,6 @@ if "PySide2.QtXmlPatterns" in sys.modules: "QXmlResultItems.__init__": (), "QXmlResultItems.current": (), "QXmlResultItems.hasError": (), - "QXmlResultItems.next": (), # class PySide2.QtXmlPatterns.QXmlSchema: "QXmlSchema.__init__": [(), ('PySide2.QtXmlPatterns.QXmlSchema',)], @@ -13528,12 +13540,12 @@ if "PySide2.QtHelp" in sys.modules: "QHelpContentItem.url": (), # class PySide2.QtHelp.QHelpContentModel: - "QHelpContentModel.isCreatingContents": (), "QHelpContentModel.columnCount": ('PySide2.QtCore.QModelIndex',), "QHelpContentModel.contentItemAt": ('PySide2.QtCore.QModelIndex',), "QHelpContentModel.createContents": ('str',), "QHelpContentModel.data": ('PySide2.QtCore.QModelIndex', 'int'), "QHelpContentModel.index": ('int', 'int', 'PySide2.QtCore.QModelIndex'), + "QHelpContentModel.isCreatingContents": (), "QHelpContentModel.parent": [(), ('PySide2.QtCore.QModelIndex',)], "QHelpContentModel.rowCount": ('PySide2.QtCore.QModelIndex',), @@ -13580,9 +13592,9 @@ if "PySide2.QtHelp" in sys.modules: "QHelpEngineCore.unregisterDocumentation": ('str',), # class PySide2.QtHelp.QHelpIndexModel: - "QHelpIndexModel.isCreatingIndex": (), "QHelpIndexModel.createIndex": [('int', 'int', 'int'), ('int', 'int', 'object'), ('str',)], "QHelpIndexModel.filter": ('str', 'str'), + "QHelpIndexModel.isCreatingIndex": (), "QHelpIndexModel.linksForKeyword": ('str',), # class PySide2.QtHelp.QHelpIndexWidget: @@ -13603,6 +13615,7 @@ if "PySide2.QtHelp" in sys.modules: "QHelpSearchEngine.search": [('list',), ('str',)], "QHelpSearchEngine.searchInput": (), "QHelpSearchEngine.searchResultCount": (), + "QHelpSearchEngine.searchResults": ('int', 'int'), # class PySide2.QtHelp.QHelpSearchQuery: "QHelpSearchQuery.__init__": [(), ('PySide2.QtHelp.QHelpSearchQuery',), ('PySide2.QtHelp.QHelpSearchQuery.FieldName', 'List[str]')], @@ -13621,6 +13634,12 @@ if "PySide2.QtHelp" in sys.modules: "QHelpSearchQueryWidget.setQuery": ('list',), "QHelpSearchQueryWidget.setSearchInput": ('str',), + # class PySide2.QtHelp.QHelpSearchResult: + "QHelpSearchResult.__init__": [(), ('PySide2.QtCore.QUrl', 'str', 'str'), ('PySide2.QtHelp.QHelpSearchResult',)], + "QHelpSearchResult.snippet": (), + "QHelpSearchResult.title": (), + "QHelpSearchResult.url": (), + # class PySide2.QtHelp.QHelpSearchResultWidget: "QHelpSearchResultWidget.changeEvent": ('PySide2.QtCore.QEvent',), "QHelpSearchResultWidget.linkAt": ('PySide2.QtCore.QPoint',), @@ -13725,7 +13744,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QAudioBuffer.__copy__": (), "QAudioBuffer.byteCount": (), "QAudioBuffer.constData": (), - "QAudioBuffer.data": [], + "QAudioBuffer.data": (), "QAudioBuffer.duration": (), "QAudioBuffer.format": (), "QAudioBuffer.frameCount": (), @@ -14148,9 +14167,9 @@ if "PySide2.QtMultimedia" in sys.modules: "QMediaNetworkAccessControl.setConfigurations": ('list',), # class PySide2.QtMultimedia.QMediaObject: - "QMediaObject.availableMetaData": (), "QMediaObject.addPropertyWatch": ('PySide2.QtCore.QByteArray',), "QMediaObject.availability": (), + "QMediaObject.availableMetaData": (), "QMediaObject.bind": ('PySide2.QtCore.QObject',), "QMediaObject.isAvailable": (), "QMediaObject.isMetaDataAvailable": (), @@ -14240,7 +14259,6 @@ if "PySide2.QtMultimedia" in sys.modules: "QMediaPlaylist.mediaCount": (), "QMediaPlaylist.mediaObject": (), "QMediaPlaylist.moveMedia": ('int', 'int'), - "QMediaPlaylist.next": (), "QMediaPlaylist.nextIndex": ('int',), "QMediaPlaylist.playbackMode": (), "QMediaPlaylist.previous": (), @@ -14505,7 +14523,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QVideoFrame.__init__": [(), ('PySide2.QtGui.QImage',), ('PySide2.QtMultimedia.QAbstractVideoBuffer', 'PySide2.QtCore.QSize', 'PySide2.QtMultimedia.QVideoFrame.PixelFormat'), ('PySide2.QtMultimedia.QVideoFrame',), ('int', 'PySide2.QtCore.QSize', 'int', 'PySide2.QtMultimedia.QVideoFrame.PixelFormat')], "QVideoFrame.__copy__": (), "QVideoFrame.availableMetaData": (), - "QVideoFrame.bits": [], + "QVideoFrame.bits": (), "QVideoFrame.bytesPerLine": [(), ('int',)], "QVideoFrame.endTime": (), "QVideoFrame.fieldType": (), @@ -15006,7 +15024,6 @@ if "PySide2.QtQml" in sys.modules: "QJSValueIterator.__init__": ('PySide2.QtQml.QJSValue',), "QJSValueIterator.hasNext": (), "QJSValueIterator.name": (), - "QJSValueIterator.next": (), "QJSValueIterator.value": (), # class PySide2.QtQml.QQmlAbstractUrlInterceptor: @@ -15017,7 +15034,7 @@ if "PySide2.QtQml" in sys.modules: "QQmlApplicationEngine.__init__": [('PySide2.QtCore.QObject',), ('PySide2.QtCore.QUrl', 'PySide2.QtCore.QObject'), ('str', 'PySide2.QtCore.QObject')], "QQmlApplicationEngine.load": [('PySide2.QtCore.QUrl',), ('str',)], "QQmlApplicationEngine.loadData": ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QUrl'), - "QQmlApplicationEngine.rootObjects": [], + "QQmlApplicationEngine.rootObjects": (), # class PySide2.QtQml.QQmlComponent: "QQmlComponent.__init__": [('PySide2.QtCore.QObject',), ('PySide2.QtQml.QQmlEngine', 'PySide2.QtCore.QObject'), ('PySide2.QtQml.QQmlEngine', 'PySide2.QtCore.QUrl', 'PySide2.QtCore.QObject'), ('PySide2.QtQml.QQmlEngine', 'PySide2.QtCore.QUrl', 'PySide2.QtQml.QQmlComponent.CompilationMode', 'PySide2.QtCore.QObject'), ('PySide2.QtQml.QQmlEngine', 'str', 'PySide2.QtCore.QObject'), ('PySide2.QtQml.QQmlEngine', 'str', 'PySide2.QtQml.QQmlComponent.CompilationMode', 'PySide2.QtCore.QObject')], @@ -15168,7 +15185,7 @@ if "PySide2.QtQml" in sys.modules: "QQmlFileSelector.__init__": ('PySide2.QtQml.QQmlEngine', 'PySide2.QtCore.QObject'), "QQmlFileSelector.get": ('PySide2.QtQml.QQmlEngine',), "QQmlFileSelector.selector": (), - "QQmlFileSelector.setExtraSelectors": ['List[str]'], + "QQmlFileSelector.setExtraSelectors": ('List[str]',), "QQmlFileSelector.setSelector": ('PySide2.QtCore.QFileSelector',), # class PySide2.QtQml.QQmlImageProviderBase: @@ -15458,9 +15475,9 @@ if "PySide2.QtQuick" in sys.modules: "QQuickItem.z": (), # class PySide2.QtQuick.QQuickItemGrabResult: - "QQuickItemGrabResult.saveToFile": ['str'], "QQuickItemGrabResult.event": ('PySide2.QtCore.QEvent',), "QQuickItemGrabResult.image": (), + "QQuickItemGrabResult.saveToFile": ('str',), "QQuickItemGrabResult.url": (), # class PySide2.QtQuick.QQuickPaintedItem: @@ -15615,7 +15632,7 @@ if "PySide2.QtQuick" in sys.modules: # class PySide2.QtQuick.QSGBasicGeometryNode: "QSGBasicGeometryNode.__init__": ('PySide2.QtQuick.QSGNode.NodeType',), "QSGBasicGeometryNode.clipList": (), - "QSGBasicGeometryNode.geometry": [], + "QSGBasicGeometryNode.geometry": (), "QSGBasicGeometryNode.matrix": (), "QSGBasicGeometryNode.setGeometry": ('PySide2.QtQuick.QSGGeometry',), "QSGBasicGeometryNode.setRendererClipList": ('PySide2.QtQuick.QSGClipNode',), @@ -15650,9 +15667,9 @@ if "PySide2.QtQuick" in sys.modules: "QSGGeometry.defaultAttributes_TexturedPoint2D": (), "QSGGeometry.drawingMode": (), "QSGGeometry.indexCount": (), - "QSGGeometry.indexData": [], - "QSGGeometry.indexDataAsUInt": [], - "QSGGeometry.indexDataAsUShort": [], + "QSGGeometry.indexData": (), + "QSGGeometry.indexDataAsUInt": (), + "QSGGeometry.indexDataAsUShort": (), "QSGGeometry.indexDataPattern": (), "QSGGeometry.indexType": (), "QSGGeometry.lineWidth": (), @@ -15668,10 +15685,10 @@ if "PySide2.QtQuick" in sys.modules: "QSGGeometry.updateRectGeometry": ('PySide2.QtQuick.QSGGeometry', 'PySide2.QtCore.QRectF'), "QSGGeometry.updateTexturedRectGeometry": ('PySide2.QtQuick.QSGGeometry', 'PySide2.QtCore.QRectF', 'PySide2.QtCore.QRectF'), "QSGGeometry.vertexCount": (), - "QSGGeometry.vertexData": [], - "QSGGeometry.vertexDataAsColoredPoint2D": [], - "QSGGeometry.vertexDataAsPoint2D": [], - "QSGGeometry.vertexDataAsTexturedPoint2D": [], + "QSGGeometry.vertexData": (), + "QSGGeometry.vertexDataAsColoredPoint2D": (), + "QSGGeometry.vertexDataAsPoint2D": (), + "QSGGeometry.vertexDataAsTexturedPoint2D": (), "QSGGeometry.vertexDataPattern": (), # class PySide2.QtQuick.QSGGeometryNode: @@ -15957,7 +15974,7 @@ if "PySide2.QtDataVisualization" in sys.modules: dict.update({ # class PySide2.QtDataVisualization.QtDataVisualization: - "QtDataVisualization.qDefaultSurfaceFormat": ['bool'], + "QtDataVisualization.qDefaultSurfaceFormat": ('bool',), }) # Module PySide2.QtUiTools @@ -16018,13 +16035,13 @@ if "PySide2.QtWebEngineWidgets" in sys.modules: "QWebEngineCertificateError.url": (), # class PySide2.QtWebEngineWidgets.QWebEngineDownloadItem: - "QWebEngineDownloadItem.path": (), "QWebEngineDownloadItem.accept": (), "QWebEngineDownloadItem.cancel": (), "QWebEngineDownloadItem.id": (), "QWebEngineDownloadItem.interruptReasonString": (), "QWebEngineDownloadItem.isFinished": (), "QWebEngineDownloadItem.mimeType": (), + "QWebEngineDownloadItem.path": (), "QWebEngineDownloadItem.receivedBytes": (), "QWebEngineDownloadItem.setPath": ('str',), "QWebEngineDownloadItem.state": (), diff --git a/sources/pyside2/tests/registry/exists_win32_5_9_3_ci.py b/sources/pyside2/tests/registry/exists_win32_5_9_4_ci.py index 4a6862a98..8d7c8a7e0 100644 --- a/sources/pyside2/tests/registry/exists_win32_5_9_3_ci.py +++ b/sources/pyside2/tests/registry/exists_win32_5_9_4_ci.py @@ -1,6 +1,6 @@ ############################################################################# ## -## Copyright (C) 2017 The Qt Company Ltd. +## Copyright (C) 2018 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of PySide2. @@ -37,6 +37,14 @@ ## ############################################################################# +""" +This file contains the simplified signatures for all functions in PySide +for module 'exists_win32_5_9_4_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 = {} @@ -108,13 +116,13 @@ if "PySide2.QtCore" in sys.modules: "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": ('PySide2.support.signature.typing.List', 'PySide2.support.signature.typing.List'), + "QAbstractItemModel.changePersistentIndexList": ('List[int]', 'List[int]'), "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": ('PySide2.support.signature.typing.List', 'PySide2.QtCore.QDataStream'), + "QAbstractItemModel.encodeData": ('List[int]', 'PySide2.QtCore.QDataStream'), "QAbstractItemModel.endInsertColumns": (), "QAbstractItemModel.endInsertRows": (), "QAbstractItemModel.endMoveColumns": (), @@ -133,8 +141,8 @@ if "PySide2.QtCore" in sys.modules: "QAbstractItemModel.insertRow": ('int', 'PySide2.QtCore.QModelIndex'), "QAbstractItemModel.insertRows": ('int', 'int', 'PySide2.QtCore.QModelIndex'), "QAbstractItemModel.itemData": ('PySide2.QtCore.QModelIndex',), - "QAbstractItemModel.match": ('PySide2.QtCore.QModelIndex', 'int', 'PySide2.support.signature.typing.Any', 'int', 'MatchFlags'), - "QAbstractItemModel.mimeData": ('PySide2.support.signature.typing.List',), + "QAbstractItemModel.match": ('PySide2.QtCore.QModelIndex', 'int', 'Any', 'int', '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'), @@ -150,8 +158,8 @@ if "PySide2.QtCore" in sys.modules: "QAbstractItemModel.revert": (), "QAbstractItemModel.roleNames": (), "QAbstractItemModel.rowCount": ('PySide2.QtCore.QModelIndex',), - "QAbstractItemModel.setData": ('PySide2.QtCore.QModelIndex', 'PySide2.support.signature.typing.Any', 'int'), - "QAbstractItemModel.setHeaderData": ('int', 'PySide2.QtCore.Qt.Orientation', 'PySide2.support.signature.typing.Any', 'int'), + "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'), @@ -186,12 +194,12 @@ if "PySide2.QtCore" in sys.modules: "QAbstractProxyModel.mapSelectionFromSource": ('PySide2.QtCore.QItemSelection',), "QAbstractProxyModel.mapSelectionToSource": ('PySide2.QtCore.QItemSelection',), "QAbstractProxyModel.mapToSource": ('PySide2.QtCore.QModelIndex',), - "QAbstractProxyModel.mimeData": ('PySide2.support.signature.typing.List',), + "QAbstractProxyModel.mimeData": ('List[int]',), "QAbstractProxyModel.mimeTypes": (), "QAbstractProxyModel.resetInternalData": (), "QAbstractProxyModel.revert": (), - "QAbstractProxyModel.setData": ('PySide2.QtCore.QModelIndex', 'PySide2.support.signature.typing.Any', 'int'), - "QAbstractProxyModel.setHeaderData": ('int', 'PySide2.QtCore.Qt.Orientation', 'PySide2.support.signature.typing.Any', 'int'), + "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'), @@ -251,7 +259,7 @@ if "PySide2.QtCore" in sys.modules: # class PySide2.QtCore.QBasicMutex: "QBasicMutex.__init__": (), - "QBasicMutex.isRecursive": [], + "QBasicMutex.isRecursive": (), "QBasicMutex.lock": (), "QBasicMutex.tryLock": (), "QBasicMutex.try_lock": (), @@ -286,7 +294,7 @@ if "PySide2.QtCore" in sys.modules: # class PySide2.QtCore.QBuffer: "QBuffer.__init__": [('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QObject',)], "QBuffer.atEnd": (), - "QBuffer.buffer": [], + "QBuffer.buffer": (), "QBuffer.canReadLine": (), "QBuffer.close": (), "QBuffer.connectNotify": ('PySide2.QtCore.QMetaMethod',), @@ -302,68 +310,68 @@ if "PySide2.QtCore" in sys.modules: "QBuffer.writeData": ('str', 'int'), # class PySide2.QtCore.QByteArray: - "QByteArray.__init__": [(), ('PySide2.QtCore.QByteArray',), ('int', 'PySide2.support.signature.typing.Union[str, int]')], + "QByteArray.__init__": [(), ('PySide2.QtCore.QByteArray',), ('int', 'Union[str, int]')], "QByteArray.__copy__": (), "QByteArray.__reduce__": (), - "QByteArray.append": [('PySide2.QtCore.QByteArray',), ('PySide2.support.signature.typing.Union[str, int]',), ('int', 'PySide2.support.signature.typing.Union[str, int]')], + "QByteArray.append": [('PySide2.QtCore.QByteArray',), ('Union[str, int]',), ('int', 'Union[str, int]')], "QByteArray.at": ('int',), "QByteArray.capacity": (), "QByteArray.cbegin": (), "QByteArray.cend": (), "QByteArray.chop": ('int',), "QByteArray.clear": (), - "QByteArray.contains": [('PySide2.QtCore.QByteArray',), ('PySide2.support.signature.typing.Union[str, int]',)], - "QByteArray.count": [(), ('PySide2.QtCore.QByteArray',), ('PySide2.support.signature.typing.Union[str, int]',)], - "QByteArray.data": [], - "QByteArray.endsWith": [('PySide2.QtCore.QByteArray',), ('PySide2.support.signature.typing.Union[str, int]',)], - "QByteArray.fill": ('PySide2.support.signature.typing.Union[str, int]', 'int'), + "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', 'Base64Options')], "QByteArray.fromHex": ('PySide2.QtCore.QByteArray',), - "QByteArray.fromPercentEncoding": ('PySide2.QtCore.QByteArray', 'PySide2.support.signature.typing.Union[str, int]'), + "QByteArray.fromPercentEncoding": ('PySide2.QtCore.QByteArray', 'Union[str, int]'), "QByteArray.fromRawData": ('str', 'int'), "QByteArray.indexOf": ('PySide2.QtCore.QByteArray', 'int'), - "QByteArray.insert": [('int', 'PySide2.QtCore.QByteArray'), ('int', 'int', 'PySide2.support.signature.typing.Union[str, 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', 'PySide2.support.signature.typing.Union[str, int]', 'bool'), + "QByteArray.leftJustified": ('int', 'Union[str, int]', 'bool'), "QByteArray.length": (), "QByteArray.mid": ('int', 'int'), - "QByteArray.number": [('float', 'PySide2.support.signature.typing.Union[str, int]', 'int'), ('int', 'int')], - "QByteArray.prepend": [('PySide2.QtCore.QByteArray',), ('PySide2.support.signature.typing.Union[str, int]',), ('int', 'PySide2.support.signature.typing.Union[str, 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'), ('PySide2.support.signature.typing.Union[str, int]', 'PySide2.QtCore.QByteArray'), ('PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]'), ('int', 'int', 'PySide2.QtCore.QByteArray'), ('str', 'PySide2.QtCore.QByteArray')], + "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', 'PySide2.support.signature.typing.Union[str, int]', 'bool'), - "QByteArray.setNum": [('float', 'PySide2.support.signature.typing.Union[str, int]', 'int'), ('int', 'int')], + "QByteArray.rightJustified": ('int', 'Union[str, int]', 'bool'), + "QByteArray.setNum": [('float', 'Union[str, int]', 'int'), ('int', 'int')], "QByteArray.setRawData": ('str', 'int'), - "QByteArray.simplified": [], + "QByteArray.simplified": (), "QByteArray.size": (), - "QByteArray.split": ('PySide2.support.signature.typing.Union[str, int]',), + "QByteArray.split": ('Union[str, int]',), "QByteArray.squeeze": (), - "QByteArray.startsWith": [('PySide2.QtCore.QByteArray',), ('PySide2.support.signature.typing.Union[str, int]',)], + "QByteArray.startsWith": [('PySide2.QtCore.QByteArray',), ('Union[str, int]',)], "QByteArray.swap": ('PySide2.QtCore.QByteArray',), "QByteArray.toBase64": [(), ('Base64Options',)], "QByteArray.toDouble": ('bool',), "QByteArray.toFloat": ('bool',), - "QByteArray.toHex": [(), ('PySide2.support.signature.typing.Union[str, int]',)], + "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', 'PySide2.support.signature.typing.Union[str, 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.toUpper": (), + "QByteArray.trimmed": (), "QByteArray.truncate": ('int',), # class PySide2.QtCore.QByteArrayMatcher: @@ -383,7 +391,7 @@ if "PySide2.QtCore" in sys.modules: # class PySide2.QtCore.QCollator: "QCollator.__init__": [('PySide2.QtCore.QCollator',), ('PySide2.QtCore.QLocale',)], "QCollator.caseSensitivity": (), - "QCollator.compare": [('PySide2.support.signature.typing.Union[str, int]', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'int'), ('str', 'str')], + "QCollator.compare": [('Union[str, int]', 'int', 'Union[str, int]', 'int'), ('str', 'str')], "QCollator.ignorePunctuation": (), "QCollator.locale": (), "QCollator.numericMode": (), @@ -400,14 +408,14 @@ if "PySide2.QtCore" in sys.modules: "QCollatorSortKey.swap": ('PySide2.QtCore.QCollatorSortKey',), # class PySide2.QtCore.QCommandLineOption: - "QCommandLineOption.__init__": [('PySide2.QtCore.QCommandLineOption',), ('PySide2.support.signature.typing.List',), ('PySide2.support.signature.typing.List', 'str', 'str', 'str'), ('str',), ('str', 'str', 'str', 'str')], + "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": ('PySide2.support.signature.typing.List',), + "QCommandLineOption.setDefaultValues": ('List[str]',), "QCommandLineOption.setDescription": ('str',), "QCommandLineOption.setFlags": ('Flags',), "QCommandLineOption.setHidden": ('bool',), @@ -428,9 +436,9 @@ if "PySide2.QtCore" in sys.modules: "QCommandLineParser.helpText": (), "QCommandLineParser.isSet": [('PySide2.QtCore.QCommandLineOption',), ('str',)], "QCommandLineParser.optionNames": (), - "QCommandLineParser.parse": ('PySide2.support.signature.typing.List',), + "QCommandLineParser.parse": ('List[str]',), "QCommandLineParser.positionalArguments": (), - "QCommandLineParser.process": [('PySide2.QtCore.QCoreApplication',), ('PySide2.support.signature.typing.List',)], + "QCommandLineParser.process": [('List[str]',), ('PySide2.QtCore.QCoreApplication',)], "QCommandLineParser.setApplicationDescription": ('str',), "QCommandLineParser.setOptionsAfterPositionalArgumentsMode": ('PySide2.QtCore.QCommandLineParser.OptionsAfterPositionalArgumentsMode',), "QCommandLineParser.setSingleDashWordOptionMode": ('PySide2.QtCore.QCommandLineParser.SingleDashWordOptionMode',), @@ -441,7 +449,7 @@ if "PySide2.QtCore" in sys.modules: "QCommandLineParser.values": [('PySide2.QtCore.QCommandLineOption',), ('str',)], # class PySide2.QtCore.QCoreApplication: - "QCoreApplication.__init__": ('PySide2.support.signature.typing.List',), + "QCoreApplication.__init__": ('List[str]',), "QCoreApplication.addLibraryPath": ('str',), "QCoreApplication.applicationDirPath": (), "QCoreApplication.applicationFilePath": (), @@ -476,7 +484,7 @@ if "PySide2.QtCore" in sys.modules: "QCoreApplication.setApplicationVersion": ('str',), "QCoreApplication.setAttribute": ('PySide2.QtCore.Qt.ApplicationAttribute', 'bool'), "QCoreApplication.setEventDispatcher": ('PySide2.QtCore.QAbstractEventDispatcher',), - "QCoreApplication.setLibraryPaths": ('PySide2.support.signature.typing.List',), + "QCoreApplication.setLibraryPaths": ('List[str]',), "QCoreApplication.setOrganizationDomain": ('str',), "QCoreApplication.setOrganizationName": ('str',), "QCoreApplication.setQuitLockEnabled": ('bool',), @@ -535,17 +543,17 @@ if "PySide2.QtCore" in sys.modules: "QDataStream.writeInt16": ('int',), "QDataStream.writeInt32": ('int',), "QDataStream.writeInt64": ('int',), - "QDataStream.writeInt8": ('PySide2.support.signature.typing.Union[str, int]',), - "QDataStream.writeQChar": ('PySide2.support.signature.typing.Union[str, int]',), + "QDataStream.writeInt8": ('Union[str, int]',), + "QDataStream.writeQChar": ('Union[str, int]',), "QDataStream.writeQString": ('str',), - "QDataStream.writeQStringList": ('PySide2.support.signature.typing.List',), - "QDataStream.writeQVariant": ('PySide2.support.signature.typing.Any',), + "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": ('PySide2.support.signature.typing.Union[str, int]',), + "QDataStream.writeUInt8": ('Union[str, int]',), # class PySide2.QtCore.QDate: "QDate.__init__": [(), ('PySide2.QtCore.QDate',), ('int', 'int', 'int')], @@ -563,7 +571,7 @@ if "PySide2.QtCore" in sys.modules: "QDate.daysTo": ('PySide2.QtCore.QDate',), "QDate.fromJulianDay": ('int',), "QDate.fromString": [('str', 'PySide2.QtCore.Qt.DateFormat'), ('str', 'str')], - "QDate.getDate": ['int', 'int', 'int'], + "QDate.getDate": ('int', 'int', 'int'), "QDate.isLeapYear": ('int',), "QDate.isNull": (), "QDate.isValid": [(), ('int', 'int', 'int')], @@ -647,8 +655,8 @@ if "PySide2.QtCore" in sys.modules: "QDir.currentPath": (), "QDir.dirName": (), "QDir.drives": (), - "QDir.entryInfoList": [('Filters', 'SortFlags'), ('PySide2.support.signature.typing.List', 'Filters', 'SortFlags')], - "QDir.entryList": [('Filters', 'SortFlags'), ('PySide2.support.signature.typing.List', 'Filters', 'SortFlags')], + "QDir.entryInfoList": [('Filters', 'SortFlags'), ('List[str]', 'Filters', 'SortFlags')], + "QDir.entryList": [('Filters', 'SortFlags'), ('List[str]', 'Filters', 'SortFlags')], "QDir.exists": [(), ('str',)], "QDir.filePath": ('str',), "QDir.filter": (), @@ -664,7 +672,7 @@ if "PySide2.QtCore" in sys.modules: "QDir.isRoot": (), "QDir.listSeparator": (), "QDir.makeAbsolute": (), - "QDir.match": [('PySide2.support.signature.typing.List', 'str'), ('str', 'str')], + "QDir.match": [('List[str]', 'str'), ('str', 'str')], "QDir.mkdir": ('str',), "QDir.mkpath": ('str',), "QDir.nameFilters": (), @@ -683,9 +691,9 @@ if "PySide2.QtCore" in sys.modules: "QDir.separator": (), "QDir.setCurrent": ('str',), "QDir.setFilter": ('Filters',), - "QDir.setNameFilters": ('PySide2.support.signature.typing.List',), + "QDir.setNameFilters": ('List[str]',), "QDir.setPath": ('str',), - "QDir.setSearchPaths": ('str', 'PySide2.support.signature.typing.List'), + "QDir.setSearchPaths": ('str', 'List[str]'), "QDir.setSorting": ('SortFlags',), "QDir.sorting": (), "QDir.swap": ('PySide2.QtCore.QDir',), @@ -694,12 +702,11 @@ if "PySide2.QtCore" in sys.modules: "QDir.toNativeSeparators": ('str',), # class PySide2.QtCore.QDirIterator: - "QDirIterator.__init__": [('PySide2.QtCore.QDir', 'IteratorFlags'), ('str', 'Filters', 'IteratorFlags'), ('str', 'IteratorFlags'), ('str', 'PySide2.support.signature.typing.List', 'Filters', 'IteratorFlags')], + "QDirIterator.__init__": [('PySide2.QtCore.QDir', 'IteratorFlags'), ('str', 'Filters', 'IteratorFlags'), ('str', 'IteratorFlags'), ('str', 'List[str]', 'Filters', 'IteratorFlags')], "QDirIterator.fileInfo": (), "QDirIterator.fileName": (), "QDirIterator.filePath": (), "QDirIterator.hasNext": (), - "QDirIterator.next": (), "QDirIterator.path": (), # class PySide2.QtCore.QDynamicPropertyChangeEvent: @@ -812,7 +819,7 @@ if "PySide2.QtCore" in sys.modules: "QFileDevice.seek": ('int',), "QFileDevice.setPermissions": ('Permissions',), "QFileDevice.size": (), - "QFileDevice.unmap": ('PySide2.support.signature.typing.Union[str, int]',), + "QFileDevice.unmap": ('Union[str, int]',), "QFileDevice.unsetError": (), "QFileDevice.writeData": ('str', 'int'), @@ -869,16 +876,16 @@ if "PySide2.QtCore" in sys.modules: "QFileSelector.allSelectors": (), "QFileSelector.extraSelectors": (), "QFileSelector.select": [('PySide2.QtCore.QUrl',), ('str',)], - "QFileSelector.setExtraSelectors": ('PySide2.support.signature.typing.List',), + "QFileSelector.setExtraSelectors": ('List[str]',), # class PySide2.QtCore.QFileSystemWatcher: - "QFileSystemWatcher.__init__": [('PySide2.QtCore.QObject',), ('PySide2.support.signature.typing.List', 'PySide2.QtCore.QObject')], + "QFileSystemWatcher.__init__": [('List[str]', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QObject',)], "QFileSystemWatcher.addPath": ('str',), - "QFileSystemWatcher.addPaths": ('PySide2.support.signature.typing.List',), + "QFileSystemWatcher.addPaths": ('List[str]',), "QFileSystemWatcher.directories": (), "QFileSystemWatcher.files": (), "QFileSystemWatcher.removePath": ('str',), - "QFileSystemWatcher.removePaths": ('PySide2.support.signature.typing.List',), + "QFileSystemWatcher.removePaths": ('List[str]',), # class PySide2.QtCore.QFinalState: "QFinalState.__init__": ('PySide2.QtCore.QState',), @@ -930,7 +937,7 @@ if "PySide2.QtCore" in sys.modules: "QIODevice.openMode": (), "QIODevice.peek": ('int',), "QIODevice.pos": (), - "QIODevice.putChar": ('PySide2.support.signature.typing.Union[str, int]',), + "QIODevice.putChar": ('Union[str, int]',), "QIODevice.read": ('int',), "QIODevice.readAll": (), "QIODevice.readChannelCount": (), @@ -947,7 +954,7 @@ if "PySide2.QtCore" in sys.modules: "QIODevice.setTextModeEnabled": ('bool',), "QIODevice.size": (), "QIODevice.startTransaction": (), - "QIODevice.ungetChar": ('PySide2.support.signature.typing.Union[str, int]',), + "QIODevice.ungetChar": ('Union[str, int]',), "QIODevice.waitForBytesWritten": ('int',), "QIODevice.waitForReadyRead": ('int',), "QIODevice.write": ('PySide2.QtCore.QByteArray',), @@ -959,7 +966,7 @@ if "PySide2.QtCore" in sys.modules: "QItemSelection.__copy__": (), "QItemSelection.append": [('PySide2.QtCore.QItemSelectionRange',), ('list',)], "QItemSelection.at": ('int',), - "QItemSelection.back": [], + "QItemSelection.back": (), "QItemSelection.clear": (), "QItemSelection.constFirst": (), "QItemSelection.constLast": (), @@ -968,16 +975,16 @@ if "PySide2.QtCore" in sys.modules: "QItemSelection.detachShared": (), "QItemSelection.empty": (), "QItemSelection.endsWith": ('PySide2.QtCore.QItemSelectionRange',), - "QItemSelection.first": [], + "QItemSelection.first": (), "QItemSelection.fromSet": ('set',), "QItemSelection.fromVector": ('list',), - "QItemSelection.front": [], + "QItemSelection.front": (), "QItemSelection.indexOf": ('PySide2.QtCore.QItemSelectionRange', 'int'), "QItemSelection.indexes": (), "QItemSelection.insert": ('int', 'PySide2.QtCore.QItemSelectionRange'), "QItemSelection.isEmpty": (), "QItemSelection.isSharedWith": ('list',), - "QItemSelection.last": [], + "QItemSelection.last": (), "QItemSelection.lastIndexOf": ('PySide2.QtCore.QItemSelectionRange', 'int'), "QItemSelection.length": (), "QItemSelection.merge": ('PySide2.QtCore.QItemSelection', 'SelectionFlags'), @@ -1020,7 +1027,7 @@ if "PySide2.QtCore" in sys.modules: "QItemSelectionModel.isColumnSelected": ('int', 'PySide2.QtCore.QModelIndex'), "QItemSelectionModel.isRowSelected": ('int', 'PySide2.QtCore.QModelIndex'), "QItemSelectionModel.isSelected": ('PySide2.QtCore.QModelIndex',), - "QItemSelectionModel.model": [], + "QItemSelectionModel.model": (), "QItemSelectionModel.reset": (), "QItemSelectionModel.rowIntersectsSelection": ('int', 'PySide2.QtCore.QModelIndex'), "QItemSelectionModel.select": [('PySide2.QtCore.QItemSelection', 'SelectionFlags'), ('PySide2.QtCore.QModelIndex', 'SelectionFlags')], @@ -1061,7 +1068,7 @@ if "PySide2.QtCore" in sys.modules: "QJsonArray.count": (), "QJsonArray.empty": (), "QJsonArray.first": (), - "QJsonArray.fromStringList": ('PySide2.support.signature.typing.List',), + "QJsonArray.fromStringList": ('List[str]',), "QJsonArray.fromVariantList": ('list',), "QJsonArray.insert": ('int', 'PySide2.QtCore.QJsonValue'), "QJsonArray.isEmpty": (), @@ -1086,7 +1093,7 @@ if "PySide2.QtCore" in sys.modules: "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": ('PySide2.support.signature.typing.Any',), + "QJsonDocument.fromVariant": ('Any',), "QJsonDocument.isArray": (), "QJsonDocument.isEmpty": (), "QJsonDocument.isNull": (), @@ -1107,7 +1114,7 @@ if "PySide2.QtCore" in sys.modules: # 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": ('PySide2.support.signature.typing.Any',), + "QJsonValue.fromVariant": ('Any',), "QJsonValue.isArray": (), "QJsonValue.isBool": (), "QJsonValue.isDouble": (), @@ -1198,7 +1205,7 @@ if "PySide2.QtCore" in sys.modules: "QLocale.countriesForLanguage": ('PySide2.QtCore.QLocale.Language',), "QLocale.country": (), "QLocale.countryToString": ('PySide2.QtCore.QLocale.Country',), - "QLocale.createSeparatedList": ('PySide2.support.signature.typing.List',), + "QLocale.createSeparatedList": ('List[str]',), "QLocale.currencySymbol": ('PySide2.QtCore.QLocale.CurrencySymbolFormat',), "QLocale.dateFormat": ('PySide2.QtCore.QLocale.FormatType',), "QLocale.dateTimeFormat": ('PySide2.QtCore.QLocale.FormatType',), @@ -1220,7 +1227,7 @@ if "PySide2.QtCore" in sys.modules: "QLocale.percent": (), "QLocale.pmText": (), "QLocale.positiveSign": (), - "QLocale.quoteString": ['PySide2.QtCore.QLocale.QuotationStyle', 'str'], + "QLocale.quoteString": ('str', 'PySide2.QtCore.QLocale.QuotationStyle'), "QLocale.script": (), "QLocale.scriptToString": ('PySide2.QtCore.QLocale.Script',), "QLocale.setDefault": ('PySide2.QtCore.QLocale',), @@ -1240,7 +1247,7 @@ if "PySide2.QtCore" in sys.modules: "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', 'PySide2.support.signature.typing.Union[str, int]', 'int'), ('int',)], + "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'), @@ -1325,7 +1332,7 @@ if "PySide2.QtCore" in sys.modules: # class PySide2.QtCore.QMetaObject: "QMetaObject.__init__": (), - "QMetaObject.cast": ['PySide2.QtCore.QObject'], + "QMetaObject.cast": ('PySide2.QtCore.QObject',), "QMetaObject.checkConnectArgs": [('PySide2.QtCore.QMetaMethod', 'PySide2.QtCore.QMetaMethod'), ('str', 'str')], "QMetaObject.classInfo": ('int',), "QMetaObject.classInfoCount": (), @@ -1391,8 +1398,8 @@ if "PySide2.QtCore" in sys.modules: "QMetaProperty.type": (), "QMetaProperty.typeName": (), "QMetaProperty.userType": (), - "QMetaProperty.write": ('PySide2.QtCore.QObject', 'PySide2.support.signature.typing.Any'), - "QMetaProperty.writeOnGadget": ('int', 'PySide2.support.signature.typing.Any'), + "QMetaProperty.write": ('PySide2.QtCore.QObject', 'Any'), + "QMetaProperty.writeOnGadget": ('int', 'Any'), # class PySide2.QtCore.QMimeData: "QMimeData.__init__": (), @@ -1410,10 +1417,10 @@ if "PySide2.QtCore" in sys.modules: "QMimeData.imageData": (), "QMimeData.removeFormat": ('str',), "QMimeData.retrieveData": ('str', 'type'), - "QMimeData.setColorData": ('PySide2.support.signature.typing.Any',), + "QMimeData.setColorData": ('Any',), "QMimeData.setData": ('str', 'PySide2.QtCore.QByteArray'), "QMimeData.setHtml": ('str',), - "QMimeData.setImageData": ('PySide2.support.signature.typing.Any',), + "QMimeData.setImageData": ('Any',), "QMimeData.setText": ('str',), "QMimeData.setUrls": ('list',), "QMimeData.text": (), @@ -1466,7 +1473,7 @@ if "PySide2.QtCore" in sys.modules: # class PySide2.QtCore.QMutex: "QMutex.__init__": ('PySide2.QtCore.QMutex.RecursionMode',), - "QMutex.isRecursive": [], + "QMutex.isRecursive": (), "QMutex.lock": (), "QMutex.tryLock": [(), ('int',)], "QMutex.try_lock": (), @@ -1485,14 +1492,14 @@ if "PySide2.QtCore" in sys.modules: "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', 'PySide2.QtCore.QObject', 'str', 'PySide2.QtCore.Qt.ConnectionType'), ('PySide2.QtCore.QObject', 'str', 'PySide2.support.signature.typing.Callable', 'PySide2.QtCore.Qt.ConnectionType'), ('PySide2.QtCore.QObject', 'str', 'str', 'PySide2.QtCore.Qt.ConnectionType'), ('str', 'PySide2.QtCore.QObject', 'str', 'PySide2.QtCore.Qt.ConnectionType'), ('str', 'PySide2.support.signature.typing.Callable', 'PySide2.QtCore.Qt.ConnectionType')], + "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', 'PySide2.QtCore.QObject', 'str'), ('PySide2.QtCore.QObject', 'str', 'PySide2.support.signature.typing.Callable'), ('str', 'PySide2.QtCore.QObject', 'str'), ('str', 'PySide2.support.signature.typing.Callable')], + "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.dumpObjectInfo": (), + "QObject.dumpObjectTree": (), "QObject.dynamicPropertyNames": (), "QObject.emit": ('str', '...'), "QObject.event": ('PySide2.QtCore.QEvent',), @@ -1517,7 +1524,7 @@ if "PySide2.QtCore" in sys.modules: "QObject.senderSignalIndex": (), "QObject.setObjectName": ('str',), "QObject.setParent": ('PySide2.QtCore.QObject',), - "QObject.setProperty": ('str', 'PySide2.support.signature.typing.Any'), + "QObject.setProperty": ('str', 'Any'), "QObject.signalsBlocked": (), "QObject.startTimer": ('int', 'PySide2.QtCore.Qt.TimerType'), "QObject.thread": (), @@ -1605,7 +1612,7 @@ if "PySide2.QtCore" in sys.modules: "QProcess.closeReadChannel": ('PySide2.QtCore.QProcess.ProcessChannel',), "QProcess.closeWriteChannel": (), "QProcess.environment": (), - "QProcess.execute": [('str',), ('str', 'PySide2.support.signature.typing.List')], + "QProcess.execute": [('str',), ('str', 'List[str]')], "QProcess.exitCode": (), "QProcess.exitStatus": (), "QProcess.inputChannelMode": (), @@ -1623,8 +1630,8 @@ if "PySide2.QtCore" in sys.modules: "QProcess.readAllStandardOutput": (), "QProcess.readChannel": (), "QProcess.readData": ('str', 'int'), - "QProcess.setArguments": ('PySide2.support.signature.typing.List',), - "QProcess.setEnvironment": ('PySide2.support.signature.typing.List',), + "QProcess.setArguments": ('List[str]',), + "QProcess.setEnvironment": ('List[str]',), "QProcess.setInputChannelMode": ('PySide2.QtCore.QProcess.InputChannelMode',), "QProcess.setNativeArguments": ('str',), "QProcess.setProcessChannelMode": ('PySide2.QtCore.QProcess.ProcessChannelMode',), @@ -1638,8 +1645,8 @@ if "PySide2.QtCore" in sys.modules: "QProcess.setStandardOutputProcess": ('PySide2.QtCore.QProcess',), "QProcess.setWorkingDirectory": ('str',), "QProcess.setupChildProcess": (), - "QProcess.start": [('OpenMode',), ('str', 'OpenMode'), ('str', 'PySide2.support.signature.typing.List', 'OpenMode')], - "QProcess.startDetached": [('str',), ('str', 'PySide2.support.signature.typing.List'), ('str', 'PySide2.support.signature.typing.List', 'str', 'int')], + "QProcess.start": [('OpenMode',), ('str', 'List[str]', 'OpenMode'), ('str', 'OpenMode')], + "QProcess.startDetached": [('str',), ('str', 'List[str]'), ('str', 'List[str]', 'str', 'int')], "QProcess.state": (), "QProcess.systemEnvironment": (), "QProcess.terminate": (), @@ -1671,7 +1678,7 @@ if "PySide2.QtCore" in sys.modules: "QPropertyAnimation.setPropertyName": ('PySide2.QtCore.QByteArray',), "QPropertyAnimation.setTargetObject": ('PySide2.QtCore.QObject',), "QPropertyAnimation.targetObject": (), - "QPropertyAnimation.updateCurrentValue": ('PySide2.support.signature.typing.Any',), + "QPropertyAnimation.updateCurrentValue": ('Any',), "QPropertyAnimation.updateState": ('PySide2.QtCore.QAbstractAnimation.State', 'PySide2.QtCore.QAbstractAnimation.State'), # class PySide2.QtCore.QReadLocker: @@ -1818,11 +1825,11 @@ if "PySide2.QtCore" in sys.modules: "QRegExp.__init__": [(), ('PySide2.QtCore.QRegExp',), ('str', 'PySide2.QtCore.Qt.CaseSensitivity', 'PySide2.QtCore.QRegExp.PatternSyntax')], "QRegExp.__copy__": (), "QRegExp.__reduce__": (), - "QRegExp.cap": ['int'], + "QRegExp.cap": ('int',), "QRegExp.captureCount": (), - "QRegExp.capturedTexts": [], + "QRegExp.capturedTexts": (), "QRegExp.caseSensitivity": (), - "QRegExp.errorString": [], + "QRegExp.errorString": (), "QRegExp.escape": ('str',), "QRegExp.exactMatch": ('str',), "QRegExp.indexIn": ('str', 'int', 'PySide2.QtCore.QRegExp.CaretMode'), @@ -1833,7 +1840,7 @@ if "PySide2.QtCore" in sys.modules: "QRegExp.matchedLength": (), "QRegExp.pattern": (), "QRegExp.patternSyntax": (), - "QRegExp.pos": ['int'], + "QRegExp.pos": ('int',), "QRegExp.replace": ('str', 'str'), "QRegExp.setCaseSensitivity": ('PySide2.QtCore.Qt.CaseSensitivity',), "QRegExp.setMinimal": ('bool',), @@ -1847,9 +1854,9 @@ if "PySide2.QtCore" in sys.modules: "QRegularExpression.captureCount": (), "QRegularExpression.errorString": (), "QRegularExpression.escape": ('str',), - "QRegularExpression.globalMatch": ['MatchOptions', 'PySide2.QtCore.QRegularExpression.MatchType', 'int', 'str'], + "QRegularExpression.globalMatch": ('str', 'int', 'PySide2.QtCore.QRegularExpression.MatchType', 'MatchOptions'), "QRegularExpression.isValid": (), - "QRegularExpression.match": ['MatchOptions', 'PySide2.QtCore.QRegularExpression.MatchType', 'int', 'str'], + "QRegularExpression.match": ('str', 'int', 'PySide2.QtCore.QRegularExpression.MatchType', 'MatchOptions'), "QRegularExpression.namedCaptureGroups": (), "QRegularExpression.optimize": (), "QRegularExpression.pattern": (), @@ -1884,7 +1891,6 @@ if "PySide2.QtCore" in sys.modules: "QRegularExpressionMatchIterator.isValid": (), "QRegularExpressionMatchIterator.matchOptions": (), "QRegularExpressionMatchIterator.matchType": (), - "QRegularExpressionMatchIterator.next": (), "QRegularExpressionMatchIterator.peekNext": (), "QRegularExpressionMatchIterator.regularExpression": (), "QRegularExpressionMatchIterator.swap": ('PySide2.QtCore.QRegularExpressionMatchIterator',), @@ -1903,13 +1909,13 @@ if "PySide2.QtCore" in sys.modules: "QResource.lastModified": (), "QResource.locale": (), "QResource.registerResource": ('str', 'str'), - "QResource.registerResourceData": ('PySide2.support.signature.typing.Union[str, int]', '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": ('PySide2.support.signature.typing.Union[str, int]', 'str'), + "QResource.unregisterResourceData": ('Union[str, int]', 'str'), # class PySide2.QtCore.QRunnable: "QRunnable.__init__": (), @@ -1976,10 +1982,10 @@ if "PySide2.QtCore" in sys.modules: "QSettings.setFallbacksEnabled": ('bool',), "QSettings.setIniCodec": [('PySide2.QtCore.QTextCodec',), ('str',)], "QSettings.setPath": ('PySide2.QtCore.QSettings.Format', 'PySide2.QtCore.QSettings.Scope', 'str'), - "QSettings.setValue": ('str', 'PySide2.support.signature.typing.Any'), + "QSettings.setValue": ('str', 'Any'), "QSettings.status": (), "QSettings.sync": (), - "QSettings.value": ('str', 'PySide2.support.signature.typing.Any'), + "QSettings.value": ('str', 'Any'), # class PySide2.QtCore.QSignalMapper: "QSignalMapper.__init__": ('PySide2.QtCore.QObject',), @@ -2074,14 +2080,14 @@ if "PySide2.QtCore" in sys.modules: "QSortFilterProxyModel.mapSelectionFromSource": ('PySide2.QtCore.QItemSelection',), "QSortFilterProxyModel.mapSelectionToSource": ('PySide2.QtCore.QItemSelection',), "QSortFilterProxyModel.mapToSource": ('PySide2.QtCore.QModelIndex',), - "QSortFilterProxyModel.match": ('PySide2.QtCore.QModelIndex', 'int', 'PySide2.support.signature.typing.Any', 'int', 'MatchFlags'), - "QSortFilterProxyModel.mimeData": ('PySide2.support.signature.typing.List',), + "QSortFilterProxyModel.match": ('PySide2.QtCore.QModelIndex', 'int', 'Any', 'int', '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', 'PySide2.support.signature.typing.Any', 'int'), + "QSortFilterProxyModel.setData": ('PySide2.QtCore.QModelIndex', 'Any', 'int'), "QSortFilterProxyModel.setDynamicSortFilter": ('bool',), "QSortFilterProxyModel.setFilterCaseSensitivity": ('PySide2.QtCore.Qt.CaseSensitivity',), "QSortFilterProxyModel.setFilterFixedString": ('str',), @@ -2089,7 +2095,7 @@ if "PySide2.QtCore" in sys.modules: "QSortFilterProxyModel.setFilterRegExp": [('PySide2.QtCore.QRegExp',), ('str',)], "QSortFilterProxyModel.setFilterRole": ('int',), "QSortFilterProxyModel.setFilterWildcard": ('str',), - "QSortFilterProxyModel.setHeaderData": ('int', 'PySide2.QtCore.Qt.Orientation', 'PySide2.support.signature.typing.Any', 'int'), + "QSortFilterProxyModel.setHeaderData": ('int', 'PySide2.QtCore.Qt.Orientation', 'Any', 'int'), "QSortFilterProxyModel.setSortCaseSensitivity": ('PySide2.QtCore.Qt.CaseSensitivity',), "QSortFilterProxyModel.setSortLocaleAware": ('bool',), "QSortFilterProxyModel.setSortRole": ('int',), @@ -2106,7 +2112,7 @@ if "PySide2.QtCore" in sys.modules: # class PySide2.QtCore.QStandardPaths: "QStandardPaths.displayName": ('PySide2.QtCore.QStandardPaths.StandardLocation',), "QStandardPaths.enableTestMode": ('bool',), - "QStandardPaths.findExecutable": ('str', 'PySide2.support.signature.typing.List'), + "QStandardPaths.findExecutable": ('str', 'List[str]'), "QStandardPaths.isTestModeEnabled": (), "QStandardPaths.locate": ('PySide2.QtCore.QStandardPaths.StandardLocation', 'str', 'LocateOptions'), "QStandardPaths.locateAll": ('PySide2.QtCore.QStandardPaths.StandardLocation', 'str', 'LocateOptions'), @@ -2117,7 +2123,7 @@ if "PySide2.QtCore" in sys.modules: # 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', 'PySide2.support.signature.typing.Any'), + "QState.assignProperty": ('PySide2.QtCore.QObject', 'str', 'Any'), "QState.childMode": (), "QState.errorState": (), "QState.event": ('PySide2.QtCore.QEvent',), @@ -2138,7 +2144,7 @@ if "PySide2.QtCore" in sys.modules: "QStateMachine.beginSelectTransitions": ('PySide2.QtCore.QEvent',), "QStateMachine.cancelDelayedEvent": ('int',), "QStateMachine.clearError": (), - "QStateMachine.configuration": [], + "QStateMachine.configuration": (), "QStateMachine.defaultAnimations": (), "QStateMachine.endMicrostep": ('PySide2.QtCore.QEvent',), "QStateMachine.endSelectTransitions": ('PySide2.QtCore.QEvent',), @@ -2247,7 +2253,7 @@ if "PySide2.QtCore" in sys.modules: "QTextCodec.aliases": (), "QTextCodec.availableCodecs": (), "QTextCodec.availableMibs": (), - "QTextCodec.canEncode": [('PySide2.support.signature.typing.Union[str, int]',), ('str',)], + "QTextCodec.canEncode": [('Union[str, int]',), ('str',)], "QTextCodec.codecForHtml": [('PySide2.QtCore.QByteArray',), ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QTextCodec')], "QTextCodec.codecForLocale": (), "QTextCodec.codecForMib": ('int',), @@ -2304,7 +2310,7 @@ if "PySide2.QtCore" in sys.modules: "QTextStream.setIntegerBase": ('int',), "QTextStream.setLocale": ('PySide2.QtCore.QLocale',), "QTextStream.setNumberFlags": ('NumberFlags',), - "QTextStream.setPadChar": ('PySide2.support.signature.typing.Union[str, int]',), + "QTextStream.setPadChar": ('Union[str, int]',), "QTextStream.setRealNumberNotation": ('PySide2.QtCore.QTextStream.RealNumberNotation',), "QTextStream.setRealNumberPrecision": ('int',), "QTextStream.setStatus": ('PySide2.QtCore.QTextStream.Status',), @@ -2460,7 +2466,7 @@ if "PySide2.QtCore" in sys.modules: "QTimer.setInterval": ('int',), "QTimer.setSingleShot": ('bool',), "QTimer.setTimerType": ('PySide2.QtCore.Qt.TimerType',), - "QTimer.singleShot": [('int', 'PySide2.QtCore.QObject', 'str'), ('int', 'PySide2.QtCore.Qt.TimerType', 'PySide2.QtCore.QObject', 'str'), ('int', 'PySide2.support.signature.typing.Callable')], + "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',), @@ -2474,7 +2480,7 @@ if "PySide2.QtCore" in sys.modules: # class PySide2.QtCore.QTranslator: "QTranslator.__init__": ('PySide2.QtCore.QObject',), "QTranslator.isEmpty": (), - "QTranslator.load": [('PySide2.QtCore.QLocale', 'str', 'str', 'str', 'str'), ('PySide2.support.signature.typing.Union[str, int]', 'int', 'str'), ('str', 'str', 'str', 'str')], + "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: @@ -2491,7 +2497,7 @@ if "PySide2.QtCore" in sys.modules: "QUrl.fromEncoded": ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QUrl.ParsingMode'), "QUrl.fromLocalFile": ('str',), "QUrl.fromPercentEncoding": ('PySide2.QtCore.QByteArray',), - "QUrl.fromStringList": ('PySide2.support.signature.typing.List', 'PySide2.QtCore.QUrl.ParsingMode'), + "QUrl.fromStringList": ('List[str]', 'PySide2.QtCore.QUrl.ParsingMode'), "QUrl.fromUserInput": [('str',), ('str', 'str', 'UserInputResolutionOptions')], "QUrl.hasFragment": (), "QUrl.hasQuery": (), @@ -2512,7 +2518,7 @@ if "PySide2.QtCore" in sys.modules: "QUrl.setAuthority": ('str', 'PySide2.QtCore.QUrl.ParsingMode'), "QUrl.setFragment": ('str', 'PySide2.QtCore.QUrl.ParsingMode'), "QUrl.setHost": ('str', 'PySide2.QtCore.QUrl.ParsingMode'), - "QUrl.setIdnWhitelist": ('PySide2.support.signature.typing.List',), + "QUrl.setIdnWhitelist": ('List[str]',), "QUrl.setPassword": ('str', 'PySide2.QtCore.QUrl.ParsingMode'), "QUrl.setPath": ('str', 'PySide2.QtCore.QUrl.ParsingMode'), "QUrl.setPort": ('int',), @@ -2552,13 +2558,13 @@ if "PySide2.QtCore" in sys.modules: "QUrlQuery.removeAllQueryItems": ('str',), "QUrlQuery.removeQueryItem": ('str',), "QUrlQuery.setQuery": ('str',), - "QUrlQuery.setQueryDelimiters": ('PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]'), + "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', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]'), ('str',)], + "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": (), @@ -2579,16 +2585,16 @@ if "PySide2.QtCore" in sys.modules: "QVariantAnimation.easingCurve": (), "QVariantAnimation.endValue": (), "QVariantAnimation.event": ('PySide2.QtCore.QEvent',), - "QVariantAnimation.interpolated": ('PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'float'), + "QVariantAnimation.interpolated": ('Any', 'Any', 'float'), "QVariantAnimation.keyValueAt": ('float',), "QVariantAnimation.setDuration": ('int',), "QVariantAnimation.setEasingCurve": ('PySide2.QtCore.QEasingCurve',), - "QVariantAnimation.setEndValue": ('PySide2.support.signature.typing.Any',), - "QVariantAnimation.setKeyValueAt": ('float', 'PySide2.support.signature.typing.Any'), - "QVariantAnimation.setStartValue": ('PySide2.support.signature.typing.Any',), + "QVariantAnimation.setEndValue": ('Any',), + "QVariantAnimation.setKeyValueAt": ('float', 'Any'), + "QVariantAnimation.setStartValue": ('Any',), "QVariantAnimation.startValue": (), "QVariantAnimation.updateCurrentTime": ('int',), - "QVariantAnimation.updateCurrentValue": ('PySide2.support.signature.typing.Any',), + "QVariantAnimation.updateCurrentValue": ('Any',), "QVariantAnimation.updateState": ('PySide2.QtCore.QAbstractAnimation.State', 'PySide2.QtCore.QAbstractAnimation.State'), # class PySide2.QtCore.QVersionNumber: @@ -2655,18 +2661,18 @@ if "PySide2.QtCore" in sys.modules: "QXmlStreamAttributes.constLast": (), "QXmlStreamAttributes.contains": ('PySide2.QtCore.QXmlStreamAttribute',), "QXmlStreamAttributes.count": [(), ('PySide2.QtCore.QXmlStreamAttribute',)], - "QXmlStreamAttributes.data": [], + "QXmlStreamAttributes.data": (), "QXmlStreamAttributes.empty": (), "QXmlStreamAttributes.endsWith": ('PySide2.QtCore.QXmlStreamAttribute',), "QXmlStreamAttributes.fill": ('PySide2.QtCore.QXmlStreamAttribute', 'int'), - "QXmlStreamAttributes.first": [], + "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.last": (), "QXmlStreamAttributes.lastIndexOf": ('PySide2.QtCore.QXmlStreamAttribute', 'int'), "QXmlStreamAttributes.length": (), "QXmlStreamAttributes.mid": ('int', 'int'), @@ -2802,10 +2808,6 @@ if "PySide2.QtCore" in sys.modules: "QXmlStreamWriter.writeStartElement": [('str',), ('str', 'str')], "QXmlStreamWriter.writeTextElement": [('str', 'str'), ('str', 'str', 'str')], - # class PySide2.QtCore.Qt: - "Qt.qt_getEnumMetaObject": [('Alignment',), ('DockWidgetAreas',), ('DropActions',), ('Edges',), ('ImageConversionFlags',), ('InputMethodHints',), ('InputMethodQueries',), ('ItemFlags',), ('KeyboardModifiers',), ('MatchFlags',), ('MouseButtons',), ('Orientations',), ('PySide2.QtCore.Qt.ApplicationAttribute',), ('PySide2.QtCore.Qt.ApplicationState',), ('PySide2.QtCore.Qt.ArrowType',), ('PySide2.QtCore.Qt.AspectRatioMode',), ('PySide2.QtCore.Qt.Axis',), ('PySide2.QtCore.Qt.BGMode',), ('PySide2.QtCore.Qt.BrushStyle',), ('PySide2.QtCore.Qt.CaseSensitivity',), ('PySide2.QtCore.Qt.CheckState',), ('PySide2.QtCore.Qt.ChecksumType',), ('PySide2.QtCore.Qt.ClipOperation',), ('PySide2.QtCore.Qt.ConnectionType',), ('PySide2.QtCore.Qt.ContextMenuPolicy',), ('PySide2.QtCore.Qt.Corner',), ('PySide2.QtCore.Qt.CursorMoveStyle',), ('PySide2.QtCore.Qt.CursorShape',), ('PySide2.QtCore.Qt.DateFormat',), ('PySide2.QtCore.Qt.DayOfWeek',), ('PySide2.QtCore.Qt.DockWidgetArea',), ('PySide2.QtCore.Qt.DropAction',), ('PySide2.QtCore.Qt.Edge',), ('PySide2.QtCore.Qt.EnterKeyType',), ('PySide2.QtCore.Qt.FillRule',), ('PySide2.QtCore.Qt.FocusPolicy',), ('PySide2.QtCore.Qt.FocusReason',), ('PySide2.QtCore.Qt.GestureState',), ('PySide2.QtCore.Qt.GestureType',), ('PySide2.QtCore.Qt.GlobalColor',), ('PySide2.QtCore.Qt.InputMethodHint',), ('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.ItemDataRole',), ('PySide2.QtCore.Qt.ItemSelectionMode',), ('PySide2.QtCore.Qt.ItemSelectionOperation',), ('PySide2.QtCore.Qt.Key',), ('PySide2.QtCore.Qt.LayoutDirection',), ('PySide2.QtCore.Qt.MaskMode',), ('PySide2.QtCore.Qt.MouseEventFlag',), ('PySide2.QtCore.Qt.MouseEventSource',), ('PySide2.QtCore.Qt.NativeGestureType',), ('PySide2.QtCore.Qt.Orientation',), ('PySide2.QtCore.Qt.PenCapStyle',), ('PySide2.QtCore.Qt.PenJoinStyle',), ('PySide2.QtCore.Qt.PenStyle',), ('PySide2.QtCore.Qt.ScreenOrientation',), ('PySide2.QtCore.Qt.ScrollBarPolicy',), ('PySide2.QtCore.Qt.ScrollPhase',), ('PySide2.QtCore.Qt.ShortcutContext',), ('PySide2.QtCore.Qt.SizeHint',), ('PySide2.QtCore.Qt.SizeMode',), ('PySide2.QtCore.Qt.SortOrder',), ('PySide2.QtCore.Qt.TabFocusBehavior',), ('PySide2.QtCore.Qt.TextElideMode',), ('PySide2.QtCore.Qt.TextFlag',), ('PySide2.QtCore.Qt.TextFormat',), ('PySide2.QtCore.Qt.TextInteractionFlag',), ('PySide2.QtCore.Qt.TimeSpec',), ('PySide2.QtCore.Qt.TimerType',), ('PySide2.QtCore.Qt.ToolBarArea',), ('PySide2.QtCore.Qt.ToolButtonStyle',), ('PySide2.QtCore.Qt.TransformationMode',), ('PySide2.QtCore.Qt.WidgetAttribute',), ('PySide2.QtCore.Qt.WindowModality',), ('PySide2.QtCore.Qt.WindowState',), ('PySide2.QtCore.Qt.WindowType',), ('ScreenOrientations',), ('TextInteractionFlags',), ('ToolBarAreas',), ('TouchPointStates',), ('WindowFlags',), ('WindowStates',)], - "Qt.qt_getEnumName": [('Alignment',), ('DockWidgetAreas',), ('DropActions',), ('Edges',), ('ImageConversionFlags',), ('InputMethodHints',), ('InputMethodQueries',), ('ItemFlags',), ('KeyboardModifiers',), ('MatchFlags',), ('MouseButtons',), ('Orientations',), ('PySide2.QtCore.Qt.ApplicationAttribute',), ('PySide2.QtCore.Qt.ApplicationState',), ('PySide2.QtCore.Qt.ArrowType',), ('PySide2.QtCore.Qt.AspectRatioMode',), ('PySide2.QtCore.Qt.Axis',), ('PySide2.QtCore.Qt.BGMode',), ('PySide2.QtCore.Qt.BrushStyle',), ('PySide2.QtCore.Qt.CaseSensitivity',), ('PySide2.QtCore.Qt.CheckState',), ('PySide2.QtCore.Qt.ChecksumType',), ('PySide2.QtCore.Qt.ClipOperation',), ('PySide2.QtCore.Qt.ConnectionType',), ('PySide2.QtCore.Qt.ContextMenuPolicy',), ('PySide2.QtCore.Qt.Corner',), ('PySide2.QtCore.Qt.CursorMoveStyle',), ('PySide2.QtCore.Qt.CursorShape',), ('PySide2.QtCore.Qt.DateFormat',), ('PySide2.QtCore.Qt.DayOfWeek',), ('PySide2.QtCore.Qt.DockWidgetArea',), ('PySide2.QtCore.Qt.DropAction',), ('PySide2.QtCore.Qt.Edge',), ('PySide2.QtCore.Qt.EnterKeyType',), ('PySide2.QtCore.Qt.FillRule',), ('PySide2.QtCore.Qt.FocusPolicy',), ('PySide2.QtCore.Qt.FocusReason',), ('PySide2.QtCore.Qt.GestureState',), ('PySide2.QtCore.Qt.GestureType',), ('PySide2.QtCore.Qt.GlobalColor',), ('PySide2.QtCore.Qt.InputMethodHint',), ('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.ItemDataRole',), ('PySide2.QtCore.Qt.ItemSelectionMode',), ('PySide2.QtCore.Qt.ItemSelectionOperation',), ('PySide2.QtCore.Qt.Key',), ('PySide2.QtCore.Qt.LayoutDirection',), ('PySide2.QtCore.Qt.MaskMode',), ('PySide2.QtCore.Qt.MouseEventFlag',), ('PySide2.QtCore.Qt.MouseEventSource',), ('PySide2.QtCore.Qt.NativeGestureType',), ('PySide2.QtCore.Qt.Orientation',), ('PySide2.QtCore.Qt.PenCapStyle',), ('PySide2.QtCore.Qt.PenJoinStyle',), ('PySide2.QtCore.Qt.PenStyle',), ('PySide2.QtCore.Qt.ScreenOrientation',), ('PySide2.QtCore.Qt.ScrollBarPolicy',), ('PySide2.QtCore.Qt.ScrollPhase',), ('PySide2.QtCore.Qt.ShortcutContext',), ('PySide2.QtCore.Qt.SizeHint',), ('PySide2.QtCore.Qt.SizeMode',), ('PySide2.QtCore.Qt.SortOrder',), ('PySide2.QtCore.Qt.TabFocusBehavior',), ('PySide2.QtCore.Qt.TextElideMode',), ('PySide2.QtCore.Qt.TextFlag',), ('PySide2.QtCore.Qt.TextFormat',), ('PySide2.QtCore.Qt.TextInteractionFlag',), ('PySide2.QtCore.Qt.TimeSpec',), ('PySide2.QtCore.Qt.TimerType',), ('PySide2.QtCore.Qt.ToolBarArea',), ('PySide2.QtCore.Qt.ToolButtonStyle',), ('PySide2.QtCore.Qt.TransformationMode',), ('PySide2.QtCore.Qt.WidgetAttribute',), ('PySide2.QtCore.Qt.WindowModality',), ('PySide2.QtCore.Qt.WindowState',), ('PySide2.QtCore.Qt.WindowType',), ('ScreenOrientations',), ('TextInteractionFlags',), ('ToolBarAreas',), ('TouchPointStates',), ('WindowFlags',), ('WindowStates',)], - # class PySide2.QtCore.QtMsgType: # class PySide2.QtCore.Signal: @@ -2912,8 +2914,8 @@ if "PySide2.QtGui" in sys.modules: "QBitmap.__init__": [(), ('PySide2.QtCore.QSize',), ('PySide2.QtGui.QBitmap',), ('PySide2.QtGui.QPixmap',), ('int', 'int'), ('str', 'str')], "QBitmap.__copy__": (), "QBitmap.clear": (), - "QBitmap.fromData": ('PySide2.QtCore.QSize', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.QtGui.QImage.Format'), - "QBitmap.fromImage": ['ImageConversionFlags', 'PySide2.QtGui.QImage'], + "QBitmap.fromData": ('PySide2.QtCore.QSize', 'Union[str, int]', 'PySide2.QtGui.QImage.Format'), + "QBitmap.fromImage": ('PySide2.QtGui.QImage', 'ImageConversionFlags'), "QBitmap.swap": [('PySide2.QtGui.QBitmap',), ('PySide2.QtGui.QPixmap',)], "QBitmap.transformed": [('PySide2.QtGui.QMatrix',), ('PySide2.QtGui.QMatrix', 'PySide2.QtCore.Qt.TransformationMode'), ('PySide2.QtGui.QTransform',)], @@ -2956,7 +2958,7 @@ if "PySide2.QtGui" in sys.modules: "QCloseEvent.__init__": (), # class PySide2.QtGui.QColor: - "QColor.__init__": [(), ('PySide2.QtCore.Qt.GlobalColor',), ('PySide2.QtGui.QColor',), ('PySide2.support.signature.typing.Any',), ('int',), ('int', 'int', 'int', 'int'), ('str',)], + "QColor.__init__": [(), ('Any',), ('PySide2.QtCore.Qt.GlobalColor',), ('PySide2.QtGui.QColor',), ('int',), ('int', 'int', 'int', 'int'), ('str',)], "QColor.__copy__": (), "QColor.__reduce__": (), "QColor.__setstate__": ('object',), @@ -3058,7 +3060,7 @@ if "PySide2.QtGui" in sys.modules: "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', 'KeyboardModifiers')], "QContextMenuEvent.globalPos": (), "QContextMenuEvent.globalX": (), - "QContextMenuEvent.global"+"Y": (), + "QContextMenuEvent.global""Y": (), "QContextMenuEvent.pos": (), "QContextMenuEvent.reason": (), "QContextMenuEvent.x": (), @@ -3144,7 +3146,7 @@ if "PySide2.QtGui" in sys.modules: "QEnterEvent.__init__": ('PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF', 'PySide2.QtCore.QPointF'), "QEnterEvent.globalPos": (), "QEnterEvent.globalX": (), - "QEnterEvent.global"+"Y": (), + "QEnterEvent.global""Y": (), "QEnterEvent.localPos": (), "QEnterEvent.pos": (), "QEnterEvent.screenPos": (), @@ -3183,7 +3185,7 @@ if "PySide2.QtGui" in sys.modules: "QFont.hintingPreference": (), "QFont.initialize": (), "QFont.insertSubstitution": ('str', 'str'), - "QFont.insertSubstitutions": ('str', 'PySide2.support.signature.typing.List'), + "QFont.insertSubstitutions": ('str', 'List[str]'), "QFont.isCopyOf": ('PySide2.QtGui.QFont',), "QFont.italic": (), "QFont.kerning": (), @@ -3295,30 +3297,30 @@ if "PySide2.QtGui" in sys.modules: "QFontMetrics.ascent": (), "QFontMetrics.averageCharWidth": (), "QFontMetrics.boundingRect": [('PySide2.QtCore.QRect', 'int', 'str', 'int', 'int'), ('int', 'int', 'int', 'int', 'int', 'str', 'int', 'int'), ('str',)], - "QFontMetrics.boundingRectChar": ('PySide2.support.signature.typing.Union[str, int]',), + "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.inFont": ('PySide2.support.signature.typing.Union[str, int]',), + "QFontMetrics.inFont": ('Union[str, int]',), "QFontMetrics.inFontUcs4": ('int',), "QFontMetrics.leading": (), - "QFontMetrics.leftBearing": ('PySide2.support.signature.typing.Union[str, int]',), + "QFontMetrics.leftBearing": ('Union[str, int]',), "QFontMetrics.lineSpacing": (), "QFontMetrics.lineWidth": (), "QFontMetrics.maxWidth": (), "QFontMetrics.minLeftBearing": (), "QFontMetrics.minRightBearing": (), "QFontMetrics.overlinePos": (), - "QFontMetrics.rightBearing": ('PySide2.support.signature.typing.Union[str, int]',), + "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": ('PySide2.support.signature.typing.Union[str, int]',), + "QFontMetrics.widthChar": ('Union[str, int]',), "QFontMetrics.xHeight": (), # class PySide2.QtGui.QFontMetricsF: @@ -3327,29 +3329,29 @@ if "PySide2.QtGui" in sys.modules: "QFontMetricsF.ascent": (), "QFontMetricsF.averageCharWidth": (), "QFontMetricsF.boundingRect": [('PySide2.QtCore.QRectF', 'int', 'str', 'int', 'int'), ('str',)], - "QFontMetricsF.boundingRectChar": ('PySide2.support.signature.typing.Union[str, int]',), + "QFontMetricsF.boundingRectChar": ('Union[str, int]',), "QFontMetricsF.capHeight": (), "QFontMetricsF.descent": (), "QFontMetricsF.elidedText": ('str', 'PySide2.QtCore.Qt.TextElideMode', 'float', 'int'), "QFontMetricsF.height": (), - "QFontMetricsF.inFont": ('PySide2.support.signature.typing.Union[str, int]',), + "QFontMetricsF.inFont": ('Union[str, int]',), "QFontMetricsF.inFontUcs4": ('int',), "QFontMetricsF.leading": (), - "QFontMetricsF.leftBearing": ('PySide2.support.signature.typing.Union[str, int]',), + "QFontMetricsF.leftBearing": ('Union[str, int]',), "QFontMetricsF.lineSpacing": (), "QFontMetricsF.lineWidth": (), "QFontMetricsF.maxWidth": (), "QFontMetricsF.minLeftBearing": (), "QFontMetricsF.minRightBearing": (), "QFontMetricsF.overlinePos": (), - "QFontMetricsF.rightBearing": ('PySide2.support.signature.typing.Union[str, int]',), + "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": ('PySide2.support.signature.typing.Union[str, int]',), + "QFontMetricsF.widthChar": ('Union[str, int]',), "QFontMetricsF.xHeight": (), # class PySide2.QtGui.QGradient: @@ -3367,7 +3369,7 @@ if "PySide2.QtGui" in sys.modules: "QGradient.type": (), # class PySide2.QtGui.QGuiApplication: - "QGuiApplication.__init__": ('PySide2.support.signature.typing.List',), + "QGuiApplication.__init__": ('List[str]',), "QGuiApplication.allWindows": (), "QGuiApplication.applicationDisplayName": (), "QGuiApplication.applicationState": (), @@ -3421,7 +3423,7 @@ if "PySide2.QtGui" in sys.modules: "QHelpEvent.__init__": ('PySide2.QtCore.QEvent.Type', 'PySide2.QtCore.QPoint', 'PySide2.QtCore.QPoint'), "QHelpEvent.globalPos": (), "QHelpEvent.globalX": (), - "QHelpEvent.global"+"Y": (), + "QHelpEvent.global""Y": (), "QHelpEvent.pos": (), "QHelpEvent.x": (), "QHelpEvent.y": (), @@ -3453,7 +3455,7 @@ if "PySide2.QtGui" in sys.modules: "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.setIsMask": ('bool',), "QIcon.setThemeName": ('str',), - "QIcon.setThemeSearchPaths": ('PySide2.support.signature.typing.List',), + "QIcon.setThemeSearchPaths": ('List[str]',), "QIcon.swap": ('PySide2.QtGui.QIcon',), "QIcon.themeName": (), "QIcon.themeSearchPaths": (), @@ -3478,7 +3480,7 @@ if "PySide2.QtGui" in sys.modules: "QIconEngine.write": ('PySide2.QtCore.QDataStream',), # class PySide2.QtGui.QImage: - "QImage.__init__": [(), ('PySide2.QtCore.QSize', 'PySide2.QtGui.QImage.Format'), ('PySide2.QtGui.QImage',), ('PySide2.support.signature.typing.List',), ('PySide2.support.signature.typing.Union[str, int]', 'int', 'int', 'PySide2.QtGui.QImage.Format', 'PySide2.support.signature.typing.Callable', 'int'), ('PySide2.support.signature.typing.Union[str, int]', 'int', 'int', 'int', 'PySide2.QtGui.QImage.Format', 'PySide2.support.signature.typing.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.__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": (), @@ -3573,8 +3575,8 @@ if "PySide2.QtGui" in sys.modules: "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', 'PySide2.support.signature.typing.Any'), + "QImageIOHandler.setFormat": ('PySide2.QtCore.QByteArray',), + "QImageIOHandler.setOption": ('PySide2.QtGui.QImageIOHandler.ImageOption', 'Any'), "QImageIOHandler.supportsOption": ('PySide2.QtGui.QImageIOHandler.ImageOption',), "QImageIOHandler.write": ('PySide2.QtGui.QImage',), @@ -3747,7 +3749,7 @@ if "PySide2.QtGui" in sys.modules: "QMatrix.translate": ('float', 'float'), # class PySide2.QtGui.QMatrix2x2: - "QMatrix2x2.__init__": [('PySide2.QtGui.QMatrix2x2',), ('PySide2.support.signature.typing.Sequence',)], + "QMatrix2x2.__init__": [('PySide2.QtGui.QMatrix2x2',), ('Sequence',)], "QMatrix2x2.__copy__": (), "QMatrix2x2.__reduce__": (), "QMatrix2x2.data": (), @@ -3755,7 +3757,7 @@ if "PySide2.QtGui" in sys.modules: "QMatrix2x2.transposed": (), # class PySide2.QtGui.QMatrix2x3: - "QMatrix2x3.__init__": [('PySide2.QtGui.QMatrix2x3',), ('PySide2.support.signature.typing.Sequence',)], + "QMatrix2x3.__init__": [('PySide2.QtGui.QMatrix2x3',), ('Sequence',)], "QMatrix2x3.__copy__": (), "QMatrix2x3.__reduce__": (), "QMatrix2x3.data": (), @@ -3763,7 +3765,7 @@ if "PySide2.QtGui" in sys.modules: "QMatrix2x3.transposed": (), # class PySide2.QtGui.QMatrix2x4: - "QMatrix2x4.__init__": [('PySide2.QtGui.QMatrix2x4',), ('PySide2.support.signature.typing.Sequence',)], + "QMatrix2x4.__init__": [('PySide2.QtGui.QMatrix2x4',), ('Sequence',)], "QMatrix2x4.__copy__": (), "QMatrix2x4.__reduce__": (), "QMatrix2x4.data": (), @@ -3771,7 +3773,7 @@ if "PySide2.QtGui" in sys.modules: "QMatrix2x4.transposed": (), # class PySide2.QtGui.QMatrix3x2: - "QMatrix3x2.__init__": [('PySide2.QtGui.QMatrix3x2',), ('PySide2.support.signature.typing.Sequence',)], + "QMatrix3x2.__init__": [('PySide2.QtGui.QMatrix3x2',), ('Sequence',)], "QMatrix3x2.__copy__": (), "QMatrix3x2.__reduce__": (), "QMatrix3x2.data": (), @@ -3779,7 +3781,7 @@ if "PySide2.QtGui" in sys.modules: "QMatrix3x2.transposed": (), # class PySide2.QtGui.QMatrix3x3: - "QMatrix3x3.__init__": [('PySide2.QtGui.QMatrix3x3',), ('PySide2.support.signature.typing.Sequence',)], + "QMatrix3x3.__init__": [('PySide2.QtGui.QMatrix3x3',), ('Sequence',)], "QMatrix3x3.__copy__": (), "QMatrix3x3.__reduce__": (), "QMatrix3x3.data": (), @@ -3787,7 +3789,7 @@ if "PySide2.QtGui" in sys.modules: "QMatrix3x3.transposed": (), # class PySide2.QtGui.QMatrix3x4: - "QMatrix3x4.__init__": [('PySide2.QtGui.QMatrix3x4',), ('PySide2.support.signature.typing.Sequence',)], + "QMatrix3x4.__init__": [('PySide2.QtGui.QMatrix3x4',), ('Sequence',)], "QMatrix3x4.__copy__": (), "QMatrix3x4.__reduce__": (), "QMatrix3x4.data": (), @@ -3795,7 +3797,7 @@ if "PySide2.QtGui" in sys.modules: "QMatrix3x4.transposed": (), # class PySide2.QtGui.QMatrix4x2: - "QMatrix4x2.__init__": [('PySide2.QtGui.QMatrix4x2',), ('PySide2.support.signature.typing.Sequence',)], + "QMatrix4x2.__init__": [('PySide2.QtGui.QMatrix4x2',), ('Sequence',)], "QMatrix4x2.__copy__": (), "QMatrix4x2.__reduce__": (), "QMatrix4x2.data": (), @@ -3803,7 +3805,7 @@ if "PySide2.QtGui" in sys.modules: "QMatrix4x2.transposed": (), # class PySide2.QtGui.QMatrix4x3: - "QMatrix4x3.__init__": [('PySide2.QtGui.QMatrix4x3',), ('PySide2.support.signature.typing.Sequence',)], + "QMatrix4x3.__init__": [('PySide2.QtGui.QMatrix4x3',), ('Sequence',)], "QMatrix4x3.__copy__": (), "QMatrix4x3.__reduce__": (), "QMatrix4x3.data": (), @@ -3851,7 +3853,7 @@ if "PySide2.QtGui" in sys.modules: "QMouseEvent.flags": (), "QMouseEvent.globalPos": (), "QMouseEvent.globalX": (), - "QMouseEvent.global"+"Y": (), + "QMouseEvent.global""Y": (), "QMouseEvent.localPos": (), "QMouseEvent.pos": (), "QMouseEvent.screenPos": (), @@ -3954,7 +3956,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLContext.openGLModuleType": (), "QOpenGLContext.screen": (), "QOpenGLContext.setFormat": ('PySide2.QtGui.QSurfaceFormat',), - "QOpenGLContext.setNativeHandle": ('PySide2.support.signature.typing.Any',), + "QOpenGLContext.setNativeHandle": ('Any',), "QOpenGLContext.setScreen": ('PySide2.QtGui.QScreen',), "QOpenGLContext.setShareContext": ('PySide2.QtGui.QOpenGLContext',), "QOpenGLContext.shareContext": (), @@ -4001,7 +4003,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLExtraFunctions.glBeginQuery": ('int', 'int'), "QOpenGLExtraFunctions.glBeginTransformFeedback": ('int',), "QOpenGLExtraFunctions.glBindBufferBase": ('int', 'int', 'int'), - "QOpenGLExtraFunctions.glBindImageTexture": ('int', 'int', 'int', 'PySide2.support.signature.typing.Union[str, int]', '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'), @@ -4054,6 +4056,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLExtraFunctions.glGetQueryiv": ('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.glGetUniformBlockIndex": ('int', 'str'), @@ -4095,15 +4098,15 @@ if "PySide2.QtGui" in sys.modules: "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', 'PySide2.support.signature.typing.Union[str, int]', 'float'), - "QOpenGLExtraFunctions.glProgramUniformMatrix2x3fv": ('int', 'int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'float'), - "QOpenGLExtraFunctions.glProgramUniformMatrix2x4fv": ('int', 'int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'float'), - "QOpenGLExtraFunctions.glProgramUniformMatrix3fv": ('int', 'int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'float'), - "QOpenGLExtraFunctions.glProgramUniformMatrix3x2fv": ('int', 'int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'float'), - "QOpenGLExtraFunctions.glProgramUniformMatrix3x4fv": ('int', 'int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'float'), - "QOpenGLExtraFunctions.glProgramUniformMatrix4fv": ('int', 'int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'float'), - "QOpenGLExtraFunctions.glProgramUniformMatrix4x2fv": ('int', 'int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'float'), - "QOpenGLExtraFunctions.glProgramUniformMatrix4x3fv": ('int', 'int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'float'), + "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.glReadBuffer": ('int',), "QOpenGLExtraFunctions.glRenderbufferStorageMultisample": ('int', 'int', 'int', 'int', 'int'), "QOpenGLExtraFunctions.glSampleMaski": ('int', 'int'), @@ -4113,7 +4116,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLExtraFunctions.glSamplerParameteriv": ('int', 'int', 'int'), "QOpenGLExtraFunctions.glTexImage3D": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'), "QOpenGLExtraFunctions.glTexStorage2D": ('int', 'int', 'int', 'int', 'int'), - "QOpenGLExtraFunctions.glTexStorage2DMultisample": ('int', 'int', 'int', 'int', 'int', 'PySide2.support.signature.typing.Union[str, int]'), + "QOpenGLExtraFunctions.glTexStorage2DMultisample": ('int', 'int', 'int', 'int', 'int', 'Union[str, int]'), "QOpenGLExtraFunctions.glTexStorage3D": ('int', 'int', 'int', 'int', 'int', 'int'), "QOpenGLExtraFunctions.glTexSubImage3D": ('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'), "QOpenGLExtraFunctions.glUniform1ui": ('int', 'int'), @@ -4125,18 +4128,18 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLExtraFunctions.glUniform4ui": ('int', 'int', 'int', 'int', 'int'), "QOpenGLExtraFunctions.glUniform4uiv": ('int', 'int', 'int'), "QOpenGLExtraFunctions.glUniformBlockBinding": ('int', 'int', 'int'), - "QOpenGLExtraFunctions.glUniformMatrix2x3fv": ('int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'float'), - "QOpenGLExtraFunctions.glUniformMatrix2x4fv": ('int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'float'), - "QOpenGLExtraFunctions.glUniformMatrix3x2fv": ('int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'float'), - "QOpenGLExtraFunctions.glUniformMatrix3x4fv": ('int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'float'), - "QOpenGLExtraFunctions.glUniformMatrix4x2fv": ('int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'float'), - "QOpenGLExtraFunctions.glUniformMatrix4x3fv": ('int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'float'), + "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', 'PySide2.support.signature.typing.Union[str, 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'), @@ -4202,7 +4205,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLFunctions.glClearColor": ('float', 'float', 'float', 'float'), "QOpenGLFunctions.glClearDepthf": ('float',), "QOpenGLFunctions.glClearStencil": ('int',), - "QOpenGLFunctions.glColorMask": ('PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, 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'), @@ -4218,7 +4221,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLFunctions.glDeleteShader": ('int',), "QOpenGLFunctions.glDeleteTextures": ('int', 'int'), "QOpenGLFunctions.glDepthFunc": ('int',), - "QOpenGLFunctions.glDepthMask": ('PySide2.support.signature.typing.Union[str, int]',), + "QOpenGLFunctions.glDepthMask": ('Union[str, int]',), "QOpenGLFunctions.glDepthRangef": ('float', 'float'), "QOpenGLFunctions.glDetachShader": ('int', 'int'), "QOpenGLFunctions.glDisable": ('int',), @@ -4248,6 +4251,7 @@ if "PySide2.QtGui" in sys.modules: "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'), @@ -4270,7 +4274,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLFunctions.glReadPixels": ('int', 'int', 'int', 'int', 'int', 'int', 'int'), "QOpenGLFunctions.glReleaseShaderCompiler": (), "QOpenGLFunctions.glRenderbufferStorage": ('int', 'int', 'int', 'int'), - "QOpenGLFunctions.glSampleCoverage": ('float', 'PySide2.support.signature.typing.Union[str, 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'), @@ -4301,9 +4305,9 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLFunctions.glUniform4fv": ('int', 'int', 'float'), "QOpenGLFunctions.glUniform4i": ('int', 'int', 'int', 'int', 'int'), "QOpenGLFunctions.glUniform4iv": ('int', 'int', 'int'), - "QOpenGLFunctions.glUniformMatrix2fv": ('int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'float'), - "QOpenGLFunctions.glUniformMatrix3fv": ('int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'float'), - "QOpenGLFunctions.glUniformMatrix4fv": ('int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'float'), + "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'), @@ -4314,7 +4318,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLFunctions.glVertexAttrib3fv": ('int', 'float'), "QOpenGLFunctions.glVertexAttrib4f": ('int', 'float', 'float', 'float', 'float'), "QOpenGLFunctions.glVertexAttrib4fv": ('int', 'float'), - "QOpenGLFunctions.glVertexAttribPointer": ('int', 'int', 'int', 'PySide2.support.signature.typing.Union[str, int]', 'int', 'int'), + "QOpenGLFunctions.glVertexAttribPointer": ('int', 'int', 'int', 'Union[str, int]', 'int', 'int'), "QOpenGLFunctions.glViewport": ('int', 'int', 'int', 'int'), "QOpenGLFunctions.hasOpenGLFeature": ('PySide2.QtGui.QOpenGLFunctions.OpenGLFeature',), "QOpenGLFunctions.initializeOpenGLFunctions": (), @@ -4383,7 +4387,7 @@ if "PySide2.QtGui" in sys.modules: "QOpenGLShaderProgram.setDefaultInnerTessellationLevels": ('list',), "QOpenGLShaderProgram.setDefaultOuterTessellationLevels": ('list',), "QOpenGLShaderProgram.setPatchVertexCount": ('int',), - "QOpenGLShaderProgram.setUniformValue": [('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', 'PySide2.support.signature.typing.List'), ('int', 'float'), ('int', 'float', 'float'), ('int', 'float', 'float', 'float'), ('int', 'float', 'float', 'float', 'float'), ('int', 'int'), ('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', 'PySide2.support.signature.typing.List'), ('str', 'float'), ('str', 'float', 'float'), ('str', 'float', 'float', 'float'), ('str', 'float', 'float', 'float', 'float'), ('str', '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',)], @@ -4580,7 +4584,7 @@ if "PySide2.QtGui" in sys.modules: # class PySide2.QtGui.QPagedPaintDevice: "QPagedPaintDevice.__init__": (), - "QPagedPaintDevice.devicePageLayout": [], + "QPagedPaintDevice.devicePageLayout": (), "QPagedPaintDevice.margins": (), "QPagedPaintDevice.newPage": (), "QPagedPaintDevice.pageLayout": (), @@ -4707,7 +4711,7 @@ if "PySide2.QtGui" in sys.modules: "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', 'ImageConversionFlags'), ('PySide2.QtCore.QPointF', 'PySide2.QtGui.QImage'), ('PySide2.QtCore.QPointF', 'PySide2.QtGui.QImage', 'PySide2.QtCore.QRectF', 'ImageConversionFlags'), ('PySide2.QtCore.QRect', 'PySide2.QtGui.QImage'), ('PySide2.QtCore.QRect', 'PySide2.QtGui.QImage', 'PySide2.QtCore.QRect', 'ImageConversionFlags'), ('PySide2.QtCore.QRectF', 'PySide2.QtGui.QImage'), ('PySide2.QtCore.QRectF', 'PySide2.QtGui.QImage', 'PySide2.QtCore.QRectF', 'ImageConversionFlags'), ('int', 'int', 'PySide2.QtGui.QImage', 'int', 'int', 'int', 'int', '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.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')], @@ -4718,7 +4722,7 @@ if "PySide2.QtGui" in sys.modules: "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.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')], @@ -4984,7 +4988,7 @@ if "PySide2.QtGui" in sys.modules: "QPictureIO.write": (), # class PySide2.QtGui.QPixelFormat: - "QPixelFormat.__init__": [(), ('PySide2.QtGui.QPixelFormat',), ('PySide2.QtGui.QPixelFormat.ColorModel', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.support.signature.typing.Union[str, int]', 'PySide2.QtGui.QPixelFormat.AlphaUsage', 'PySide2.QtGui.QPixelFormat.AlphaPosition', 'PySide2.QtGui.QPixelFormat.AlphaPremultiplied', 'PySide2.QtGui.QPixelFormat.TypeInterpretation', 'PySide2.QtGui.QPixelFormat.ByteOrder', 'PySide2.support.signature.typing.Union[str, int]')], + "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": (), @@ -5010,7 +5014,7 @@ if "PySide2.QtGui" in sys.modules: "QPixelFormat.yuvLayout": (), # class PySide2.QtGui.QPixmap: - "QPixmap.__init__": [(), ('PySide2.QtCore.QSize',), ('PySide2.QtGui.QImage',), ('PySide2.QtGui.QPixmap',), ('PySide2.support.signature.typing.List',), ('int', 'int'), ('str', 'str', 'ImageConversionFlags')], + "QPixmap.__init__": [(), ('List[str]',), ('PySide2.QtCore.QSize',), ('PySide2.QtGui.QImage',), ('PySide2.QtGui.QPixmap',), ('int', 'int'), ('str', 'str', 'ImageConversionFlags')], "QPixmap.__copy__": (), "QPixmap.cacheKey": (), "QPixmap.convertFromImage": ('PySide2.QtGui.QImage', 'ImageConversionFlags'), @@ -5033,7 +5037,7 @@ if "PySide2.QtGui" in sys.modules: "QPixmap.isNull": (), "QPixmap.isQBitmap": (), "QPixmap.load": ('str', 'str', 'ImageConversionFlags'), - "QPixmap.loadFromData": [('PySide2.QtCore.QByteArray', 'str', 'ImageConversionFlags'), ('PySide2.support.signature.typing.Union[str, int]', 'int', 'str', 'ImageConversionFlags')], + "QPixmap.loadFromData": [('PySide2.QtCore.QByteArray', 'str', 'ImageConversionFlags'), ('Union[str, int]', 'int', 'str', 'ImageConversionFlags')], "QPixmap.mask": (), "QPixmap.metric": ('PySide2.QtGui.QPaintDevice.PaintDeviceMetric',), "QPixmap.paintEngine": (), @@ -5077,11 +5081,11 @@ if "PySide2.QtGui" in sys.modules: "QPolygon.contains": ('PySide2.QtCore.QPoint',), "QPolygon.containsPoint": ('PySide2.QtCore.QPoint', 'PySide2.QtCore.Qt.FillRule'), "QPolygon.count": [(), ('PySide2.QtCore.QPoint',)], - "QPolygon.data": [], + "QPolygon.data": (), "QPolygon.empty": (), "QPolygon.endsWith": ('PySide2.QtCore.QPoint',), "QPolygon.fill": ('PySide2.QtCore.QPoint', 'int'), - "QPolygon.first": [], + "QPolygon.first": (), "QPolygon.fromList": ('list',), "QPolygon.front": (), "QPolygon.indexOf": ('PySide2.QtCore.QPoint', 'int'), @@ -5089,7 +5093,7 @@ if "PySide2.QtGui" in sys.modules: "QPolygon.intersected": ('PySide2.QtGui.QPolygon',), "QPolygon.isEmpty": (), "QPolygon.isSharedWith": ('list',), - "QPolygon.last": [], + "QPolygon.last": (), "QPolygon.lastIndexOf": ('PySide2.QtCore.QPoint', 'int'), "QPolygon.length": (), "QPolygon.mid": ('int', 'int'), @@ -5137,11 +5141,11 @@ if "PySide2.QtGui" in sys.modules: "QPolygonF.contains": ('PySide2.QtCore.QPointF',), "QPolygonF.containsPoint": ('PySide2.QtCore.QPointF', 'PySide2.QtCore.Qt.FillRule'), "QPolygonF.count": [(), ('PySide2.QtCore.QPointF',)], - "QPolygonF.data": [], + "QPolygonF.data": (), "QPolygonF.empty": (), "QPolygonF.endsWith": ('PySide2.QtCore.QPointF',), "QPolygonF.fill": ('PySide2.QtCore.QPointF', 'int'), - "QPolygonF.first": [], + "QPolygonF.first": (), "QPolygonF.fromList": ('list',), "QPolygonF.front": (), "QPolygonF.indexOf": ('PySide2.QtCore.QPointF', 'int'), @@ -5150,7 +5154,7 @@ if "PySide2.QtGui" in sys.modules: "QPolygonF.isClosed": (), "QPolygonF.isEmpty": (), "QPolygonF.isSharedWith": ('list',), - "QPolygonF.last": [], + "QPolygonF.last": (), "QPolygonF.lastIndexOf": ('PySide2.QtCore.QPointF', 'int'), "QPolygonF.length": (), "QPolygonF.mid": ('int', 'int'), @@ -5274,7 +5278,7 @@ if "PySide2.QtGui" in sys.modules: "QRawFont.style": (), "QRawFont.styleName": (), "QRawFont.supportedWritingSystems": (), - "QRawFont.supportsCharacter": [('PySide2.support.signature.typing.Union[str, int]',), ('int',)], + "QRawFont.supportsCharacter": [('Union[str, int]',), ('int',)], "QRawFont.swap": ('PySide2.QtGui.QRawFont',), "QRawFont.underlinePosition": (), "QRawFont.unitsPerEm": (), @@ -5363,9 +5367,9 @@ if "PySide2.QtGui" in sys.modules: "QSessionManager.restartHint": (), "QSessionManager.sessionId": (), "QSessionManager.sessionKey": (), - "QSessionManager.setDiscardCommand": ('PySide2.support.signature.typing.List',), - "QSessionManager.setManagerProperty": [('str', 'PySide2.support.signature.typing.List'), ('str', 'str')], - "QSessionManager.setRestartCommand": ('PySide2.support.signature.typing.List',), + "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: @@ -5425,7 +5429,7 @@ if "PySide2.QtGui" in sys.modules: "QStandardItem.setCheckable": ('bool',), "QStandardItem.setChild": [('int', 'PySide2.QtGui.QStandardItem'), ('int', 'int', 'PySide2.QtGui.QStandardItem')], "QStandardItem.setColumnCount": ('int',), - "QStandardItem.setData": ('PySide2.support.signature.typing.Any', 'int'), + "QStandardItem.setData": ('Any', 'int'), "QStandardItem.setDragEnabled": ('bool',), "QStandardItem.setDropEnabled": ('bool',), "QStandardItem.setEditable": ('bool',), @@ -5481,17 +5485,17 @@ if "PySide2.QtGui" in sys.modules: "QStandardItemModel.itemData": ('PySide2.QtCore.QModelIndex',), "QStandardItemModel.itemFromIndex": ('PySide2.QtCore.QModelIndex',), "QStandardItemModel.itemPrototype": (), - "QStandardItemModel.mimeData": ('PySide2.support.signature.typing.List',), + "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', 'PySide2.support.signature.typing.Any', 'int'), - "QStandardItemModel.setHeaderData": ('int', 'PySide2.QtCore.Qt.Orientation', 'PySide2.support.signature.typing.Any', '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": ('PySide2.support.signature.typing.List',), + "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',), @@ -5499,7 +5503,7 @@ if "PySide2.QtGui" in sys.modules: "QStandardItemModel.setRowCount": ('int',), "QStandardItemModel.setSortRole": ('int',), "QStandardItemModel.setVerticalHeaderItem": ('int', 'PySide2.QtGui.QStandardItem'), - "QStandardItemModel.setVerticalHeaderLabels": ('PySide2.support.signature.typing.List',), + "QStandardItemModel.setVerticalHeaderLabels": ('List[str]',), "QStandardItemModel.sibling": ('int', 'int', 'PySide2.QtCore.QModelIndex'), "QStandardItemModel.sort": ('int', 'PySide2.QtCore.Qt.SortOrder'), "QStandardItemModel.sortRole": (), @@ -5533,14 +5537,14 @@ if "PySide2.QtGui" in sys.modules: "QStatusTipEvent.tip": (), # class PySide2.QtGui.QStringListModel: - "QStringListModel.__init__": [('PySide2.QtCore.QObject',), ('PySide2.support.signature.typing.List', 'PySide2.QtCore.QObject')], + "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', 'PySide2.support.signature.typing.Any', 'int'), - "QStringListModel.setStringList": ('PySide2.support.signature.typing.List',), + "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": (), @@ -5650,9 +5654,9 @@ if "PySide2.QtGui" in sys.modules: "QTabletEvent.globalPos": (), "QTabletEvent.globalPosF": (), "QTabletEvent.globalX": (), - "QTabletEvent.global"+"Y": (), + "QTabletEvent.global""Y": (), "QTabletEvent.hiResGlobalX": (), - "QTabletEvent.hiResGlobal"+"Y": (), + "QTabletEvent.hiResGlobal""Y": (), "QTabletEvent.pointerType": (), "QTabletEvent.pos": (), "QTabletEvent.posF": (), @@ -5686,7 +5690,6 @@ if "PySide2.QtGui" in sys.modules: "QTextBlock.layout": (), "QTextBlock.length": (), "QTextBlock.lineCount": (), - "QTextBlock.next": (), "QTextBlock.position": (), "QTextBlock.previous": (), "QTextBlock.revision": (), @@ -5769,7 +5772,7 @@ if "PySide2.QtGui" in sys.modules: "QTextCharFormat.setAnchor": ('bool',), "QTextCharFormat.setAnchorHref": ('str',), "QTextCharFormat.setAnchorName": ('str',), - "QTextCharFormat.setAnchorNames": ('PySide2.support.signature.typing.List',), + "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',), @@ -5867,7 +5870,7 @@ if "PySide2.QtGui" in sys.modules: # class PySide2.QtGui.QTextDocument: "QTextDocument.__init__": [('PySide2.QtCore.QObject',), ('str', 'PySide2.QtCore.QObject')], - "QTextDocument.addResource": ('int', 'PySide2.QtCore.QUrl', 'PySide2.support.signature.typing.Any'), + "QTextDocument.addResource": ('int', 'PySide2.QtCore.QUrl', 'Any'), "QTextDocument.adjustSize": (), "QTextDocument.allFormats": (), "QTextDocument.availableRedoSteps": (), @@ -6002,7 +6005,7 @@ if "PySide2.QtGui" in sys.modules: "QTextFormat.setLayoutDirection": ('PySide2.QtCore.Qt.LayoutDirection',), "QTextFormat.setObjectIndex": ('int',), "QTextFormat.setObjectType": ('int',), - "QTextFormat.setProperty": [('int', 'PySide2.support.signature.typing.Any'), ('int', 'list')], + "QTextFormat.setProperty": [('int', 'Any'), ('int', 'list')], "QTextFormat.stringProperty": ('int',), "QTextFormat.swap": ('PySide2.QtGui.QTextFormat',), "QTextFormat.toBlockFormat": (), @@ -6480,7 +6483,7 @@ if "PySide2.QtGui" in sys.modules: "QWheelEvent.globalPos": (), "QWheelEvent.globalPosF": (), "QWheelEvent.globalX": (), - "QWheelEvent.global"+"Y": (), + "QWheelEvent.global""Y": (), "QWheelEvent.inverted": (), "QWheelEvent.orientation": (), "QWheelEvent.phase": (), @@ -6979,7 +6982,7 @@ if "PySide2.QtWidgets" in sys.modules: "QAction.setAutoRepeat": ('bool',), "QAction.setCheckable": ('bool',), "QAction.setChecked": ('bool',), - "QAction.setData": ('PySide2.support.signature.typing.Any',), + "QAction.setData": ('Any',), "QAction.setDisabled": ('bool',), "QAction.setEnabled": ('bool',), "QAction.setFont": ('PySide2.QtGui.QFont',), @@ -7024,7 +7027,7 @@ if "PySide2.QtWidgets" in sys.modules: "QActionGroup.setVisible": ('bool',), # class PySide2.QtWidgets.QApplication: - "QApplication.__init__": ('PySide2.support.signature.typing.List',), + "QApplication.__init__": ('List[str]',), "QApplication.aboutQt": (), "QApplication.activeModalWidget": (), "QApplication.activePopupWidget": (), @@ -7209,6 +7212,19 @@ if "PySide2.QtWidgets" in sys.modules: "QColorDialog.standardColor": ('int',), "QColorDialog.testOption": ('PySide2.QtWidgets.QColorDialog.ColorDialogOption',), + # class PySide2.QtWidgets.QColormap: + "QColormap.__init__": ('PySide2.QtWidgets.QColormap',), + "QColormap.__copy__": (), + "QColormap.cleanup": (), + "QColormap.colorAt": ('int',), + "QColormap.colormap": (), + "QColormap.depth": (), + "QColormap.initialize": (), + "QColormap.instance": ('int',), + "QColormap.mode": (), + "QColormap.pixel": ('PySide2.QtGui.QColor',), + "QColormap.size": (), + # class PySide2.QtWidgets.QColumnView: "QColumnView.__init__": ('PySide2.QtWidgets.QWidget',), "QColumnView.columnWidths": (), @@ -7240,8 +7256,8 @@ if "PySide2.QtWidgets" in sys.modules: # class PySide2.QtWidgets.QComboBox: "QComboBox.__init__": ('PySide2.QtWidgets.QWidget',), - "QComboBox.addItem": [('PySide2.QtGui.QIcon', 'str', 'PySide2.support.signature.typing.Any'), ('str', 'PySide2.support.signature.typing.Any')], - "QComboBox.addItems": ('PySide2.support.signature.typing.List',), + "QComboBox.addItem": [('PySide2.QtGui.QIcon', 'str', 'Any'), ('str', 'Any')], + "QComboBox.addItems": ('List[str]',), "QComboBox.autoCompletion": (), "QComboBox.autoCompletionCaseSensitivity": (), "QComboBox.changeEvent": ('PySide2.QtCore.QEvent',), @@ -7255,7 +7271,7 @@ if "PySide2.QtWidgets" in sys.modules: "QComboBox.currentText": (), "QComboBox.duplicatesEnabled": (), "QComboBox.event": ('PySide2.QtCore.QEvent',), - "QComboBox.findData": ('PySide2.support.signature.typing.Any', 'int', 'MatchFlags'), + "QComboBox.findData": ('Any', 'int', 'MatchFlags'), "QComboBox.findText": ('str', 'MatchFlags'), "QComboBox.focusInEvent": ('PySide2.QtGui.QFocusEvent',), "QComboBox.focusOutEvent": ('PySide2.QtGui.QFocusEvent',), @@ -7265,9 +7281,9 @@ if "PySide2.QtWidgets" in sys.modules: "QComboBox.iconSize": (), "QComboBox.initStyleOption": ('PySide2.QtWidgets.QStyleOptionComboBox',), "QComboBox.inputMethodEvent": ('PySide2.QtGui.QInputMethodEvent',), - "QComboBox.inputMethodQuery": [('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.InputMethodQuery', 'PySide2.support.signature.typing.Any')], - "QComboBox.insertItem": [('int', 'PySide2.QtGui.QIcon', 'str', 'PySide2.support.signature.typing.Any'), ('int', 'str', 'PySide2.support.signature.typing.Any')], - "QComboBox.insertItems": ('int', 'PySide2.support.signature.typing.List'), + "QComboBox.inputMethodQuery": [('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.InputMethodQuery', 'Any')], + "QComboBox.insertItem": [('int', 'PySide2.QtGui.QIcon', 'str', 'Any'), ('int', 'str', 'Any')], + "QComboBox.insertItems": ('int', 'List[str]'), "QComboBox.insertPolicy": (), "QComboBox.insertSeparator": ('int',), "QComboBox.isEditable": (), @@ -7301,7 +7317,7 @@ if "PySide2.QtWidgets" in sys.modules: "QComboBox.setFrame": ('bool',), "QComboBox.setIconSize": ('PySide2.QtCore.QSize',), "QComboBox.setInsertPolicy": ('PySide2.QtWidgets.QComboBox.InsertPolicy',), - "QComboBox.setItemData": ('int', 'PySide2.support.signature.typing.Any', 'int'), + "QComboBox.setItemData": ('int', 'Any', 'int'), "QComboBox.setItemDelegate": ('PySide2.QtWidgets.QAbstractItemDelegate',), "QComboBox.setItemIcon": ('int', 'PySide2.QtGui.QIcon'), "QComboBox.setItemText": ('int', 'str'), @@ -7352,7 +7368,7 @@ if "PySide2.QtWidgets" in sys.modules: "QCommonStyle.unpolish": [('PySide2.QtWidgets.QApplication',), ('PySide2.QtWidgets.QWidget',)], # class PySide2.QtWidgets.QCompleter: - "QCompleter.__init__": [('PySide2.QtCore.QAbstractItemModel', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QObject',), ('PySide2.support.signature.typing.List', 'PySide2.QtCore.QObject')], + "QCompleter.__init__": [('List[str]', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QAbstractItemModel', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QObject',)], "QCompleter.caseSensitivity": (), "QCompleter.complete": ('PySide2.QtCore.QRect',), "QCompleter.completionColumn": (), @@ -7421,7 +7437,7 @@ if "PySide2.QtWidgets" in sys.modules: "QDateEdit.__init__": [('PySide2.QtCore.QDate', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtWidgets.QWidget',)], # class PySide2.QtWidgets.QDateTimeEdit: - "QDateTimeEdit.__init__": [('PySide2.QtCore.QDate', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtCore.QDateTime', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtCore.QTime', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtWidgets.QWidget',), ('PySide2.support.signature.typing.Any', 'type', 'PySide2.QtWidgets.QWidget')], + "QDateTimeEdit.__init__": [('Any', 'type', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtCore.QDate', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtCore.QDateTime', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtCore.QTime', 'PySide2.QtWidgets.QWidget'), ('PySide2.QtWidgets.QWidget',)], "QDateTimeEdit.calendarPopup": (), "QDateTimeEdit.calendarWidget": (), "QDateTimeEdit.clear": (), @@ -7562,7 +7578,7 @@ if "PySide2.QtWidgets" in sys.modules: "QDialogButtonBox.standardButtons": (), # class PySide2.QtWidgets.QDirModel: - "QDirModel.__init__": [('PySide2.QtCore.QObject',), ('PySide2.support.signature.typing.List', 'Filters', 'SortFlags', 'PySide2.QtCore.QObject')], + "QDirModel.__init__": [('List[str]', 'Filters', 'SortFlags', 'PySide2.QtCore.QObject'), ('PySide2.QtCore.QObject',)], "QDirModel.columnCount": ('PySide2.QtCore.QModelIndex',), "QDirModel.data": ('PySide2.QtCore.QModelIndex', 'int'), "QDirModel.dropMimeData": ('PySide2.QtCore.QMimeData', 'PySide2.QtCore.Qt.DropAction', 'int', 'int', 'PySide2.QtCore.QModelIndex'), @@ -7579,7 +7595,7 @@ if "PySide2.QtWidgets" in sys.modules: "QDirModel.isDir": ('PySide2.QtCore.QModelIndex',), "QDirModel.isReadOnly": (), "QDirModel.lazyChildCount": (), - "QDirModel.mimeData": ('PySide2.support.signature.typing.List',), + "QDirModel.mimeData": ('List[int]',), "QDirModel.mimeTypes": (), "QDirModel.mkdir": ('PySide2.QtCore.QModelIndex', 'str'), "QDirModel.nameFilters": (), @@ -7589,11 +7605,11 @@ if "PySide2.QtWidgets" in sys.modules: "QDirModel.resolveSymlinks": (), "QDirModel.rmdir": ('PySide2.QtCore.QModelIndex',), "QDirModel.rowCount": ('PySide2.QtCore.QModelIndex',), - "QDirModel.setData": ('PySide2.QtCore.QModelIndex', 'PySide2.support.signature.typing.Any', 'int'), + "QDirModel.setData": ('PySide2.QtCore.QModelIndex', 'Any', 'int'), "QDirModel.setFilter": ('Filters',), "QDirModel.setIconProvider": ('PySide2.QtWidgets.QFileIconProvider',), "QDirModel.setLazyChildCount": ('bool',), - "QDirModel.setNameFilters": ('PySide2.support.signature.typing.List',), + "QDirModel.setNameFilters": ('List[str]',), "QDirModel.setReadOnly": ('bool',), "QDirModel.setResolveSymlinks": ('bool',), "QDirModel.setSorting": ('SortFlags',), @@ -7664,13 +7680,13 @@ if "PySide2.QtWidgets" in sys.modules: "QFileDialog.fileMode": (), "QFileDialog.filter": (), "QFileDialog.getExistingDirectory": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'Options'), - "QFileDialog.getExistingDirectoryUrl": ('PySide2.QtWidgets.QWidget', 'str', 'PySide2.QtCore.QUrl', 'Options', 'PySide2.support.signature.typing.List'), + "QFileDialog.getExistingDirectoryUrl": ('PySide2.QtWidgets.QWidget', 'str', 'PySide2.QtCore.QUrl', 'Options', 'List[str]'), "QFileDialog.getOpenFileName": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'str', 'str', 'Options'), "QFileDialog.getOpenFileNames": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'str', 'str', 'Options'), - "QFileDialog.getOpenFileUrl": ('PySide2.QtWidgets.QWidget', 'str', 'PySide2.QtCore.QUrl', 'str', 'str', 'Options', 'PySide2.support.signature.typing.List'), - "QFileDialog.getOpenFileUrls": ('PySide2.QtWidgets.QWidget', 'str', 'PySide2.QtCore.QUrl', 'str', 'str', 'Options', 'PySide2.support.signature.typing.List'), + "QFileDialog.getOpenFileUrl": ('PySide2.QtWidgets.QWidget', 'str', 'PySide2.QtCore.QUrl', 'str', 'str', 'Options', 'List[str]'), + "QFileDialog.getOpenFileUrls": ('PySide2.QtWidgets.QWidget', 'str', 'PySide2.QtCore.QUrl', 'str', 'str', 'Options', 'List[str]'), "QFileDialog.getSaveFileName": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'str', 'str', 'Options'), - "QFileDialog.getSaveFileUrl": ('PySide2.QtWidgets.QWidget', 'str', 'PySide2.QtCore.QUrl', 'str', 'str', 'Options', 'PySide2.support.signature.typing.List'), + "QFileDialog.getSaveFileUrl": ('PySide2.QtWidgets.QWidget', 'str', 'PySide2.QtCore.QUrl', 'str', 'str', 'Options', 'List[str]'), "QFileDialog.history": (), "QFileDialog.iconProvider": (), "QFileDialog.isNameFilterDetailsVisible": (), @@ -7700,21 +7716,21 @@ if "PySide2.QtWidgets" in sys.modules: "QFileDialog.setDirectoryUrl": ('PySide2.QtCore.QUrl',), "QFileDialog.setFileMode": ('PySide2.QtWidgets.QFileDialog.FileMode',), "QFileDialog.setFilter": ('Filters',), - "QFileDialog.setHistory": ('PySide2.support.signature.typing.List',), + "QFileDialog.setHistory": ('List[str]',), "QFileDialog.setIconProvider": ('PySide2.QtWidgets.QFileIconProvider',), "QFileDialog.setItemDelegate": ('PySide2.QtWidgets.QAbstractItemDelegate',), "QFileDialog.setLabelText": ('PySide2.QtWidgets.QFileDialog.DialogLabel', 'str'), - "QFileDialog.setMimeTypeFilters": ('PySide2.support.signature.typing.List',), + "QFileDialog.setMimeTypeFilters": ('List[str]',), "QFileDialog.setNameFilter": ('str',), "QFileDialog.setNameFilterDetailsVisible": ('bool',), - "QFileDialog.setNameFilters": ('PySide2.support.signature.typing.List',), + "QFileDialog.setNameFilters": ('List[str]',), "QFileDialog.setOption": ('PySide2.QtWidgets.QFileDialog.Option', 'bool'), "QFileDialog.setOptions": ('Options',), "QFileDialog.setProxyModel": ('PySide2.QtCore.QAbstractProxyModel',), "QFileDialog.setReadOnly": ('bool',), "QFileDialog.setResolveSymlinks": ('bool',), "QFileDialog.setSidebarUrls": ('list',), - "QFileDialog.setSupportedSchemes": ('PySide2.support.signature.typing.List',), + "QFileDialog.setSupportedSchemes": ('List[str]',), "QFileDialog.setViewMode": ('PySide2.QtWidgets.QFileDialog.ViewMode',), "QFileDialog.setVisible": ('bool',), "QFileDialog.sidebarUrls": (), @@ -7750,7 +7766,7 @@ if "PySide2.QtWidgets" in sys.modules: "QFileSystemModel.isDir": ('PySide2.QtCore.QModelIndex',), "QFileSystemModel.isReadOnly": (), "QFileSystemModel.lastModified": ('PySide2.QtCore.QModelIndex',), - "QFileSystemModel.mimeData": ('PySide2.support.signature.typing.List',), + "QFileSystemModel.mimeData": ('List[int]',), "QFileSystemModel.mimeTypes": (), "QFileSystemModel.mkdir": ('PySide2.QtCore.QModelIndex', 'str'), "QFileSystemModel.myComputer": ('int',), @@ -7763,11 +7779,11 @@ if "PySide2.QtWidgets" in sys.modules: "QFileSystemModel.rootDirectory": (), "QFileSystemModel.rootPath": (), "QFileSystemModel.rowCount": ('PySide2.QtCore.QModelIndex',), - "QFileSystemModel.setData": ('PySide2.QtCore.QModelIndex', 'PySide2.support.signature.typing.Any', 'int'), + "QFileSystemModel.setData": ('PySide2.QtCore.QModelIndex', 'Any', 'int'), "QFileSystemModel.setFilter": ('Filters',), "QFileSystemModel.setIconProvider": ('PySide2.QtWidgets.QFileIconProvider',), "QFileSystemModel.setNameFilterDisables": ('bool',), - "QFileSystemModel.setNameFilters": ('PySide2.support.signature.typing.List',), + "QFileSystemModel.setNameFilters": ('List[str]',), "QFileSystemModel.setReadOnly": ('bool',), "QFileSystemModel.setResolveSymlinks": ('bool',), "QFileSystemModel.setRootPath": ('str',), @@ -7984,7 +8000,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsEllipseItem.__init__": [('PySide2.QtCore.QRectF', 'PySide2.QtWidgets.QGraphicsItem'), ('PySide2.QtWidgets.QGraphicsItem',), ('float', 'float', 'float', 'float', 'PySide2.QtWidgets.QGraphicsItem')], "QGraphicsEllipseItem.boundingRect": (), "QGraphicsEllipseItem.contains": ('PySide2.QtCore.QPointF',), - "QGraphicsEllipseItem.extension": ('PySide2.support.signature.typing.Any',), + "QGraphicsEllipseItem.extension": ('Any',), "QGraphicsEllipseItem.isObscuredBy": ('PySide2.QtWidgets.QGraphicsItem',), "QGraphicsEllipseItem.opaqueArea": (), "QGraphicsEllipseItem.paint": ('PySide2.QtGui.QPainter', 'PySide2.QtWidgets.QStyleOptionGraphicsItem', 'PySide2.QtWidgets.QWidget'), @@ -8074,7 +8090,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsItem.dropEvent": ('PySide2.QtWidgets.QGraphicsSceneDragDropEvent',), "QGraphicsItem.effectiveOpacity": (), "QGraphicsItem.ensureVisible": [('PySide2.QtCore.QRectF', 'int', 'int'), ('float', 'float', 'float', 'float', 'int', 'int')], - "QGraphicsItem.extension": ('PySide2.support.signature.typing.Any',), + "QGraphicsItem.extension": ('Any',), "QGraphicsItem.filtersChildEvents": (), "QGraphicsItem.flags": (), "QGraphicsItem.focusInEvent": ('PySide2.QtGui.QFocusEvent',), @@ -8111,7 +8127,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsItem.isVisibleTo": ('PySide2.QtWidgets.QGraphicsItem',), "QGraphicsItem.isWidget": (), "QGraphicsItem.isWindow": (), - "QGraphicsItem.itemChange": ('PySide2.QtWidgets.QGraphicsItem.GraphicsItemChange', 'PySide2.support.signature.typing.Any'), + "QGraphicsItem.itemChange": ('PySide2.QtWidgets.QGraphicsItem.GraphicsItemChange', 'Any'), "QGraphicsItem.itemTransform": ('PySide2.QtWidgets.QGraphicsItem', 'bool'), "QGraphicsItem.keyPressEvent": ('PySide2.QtGui.QKeyEvent',), "QGraphicsItem.keyReleaseEvent": ('PySide2.QtGui.QKeyEvent',), @@ -8165,7 +8181,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsItem.setBoundingRegionGranularity": ('float',), "QGraphicsItem.setCacheMode": ('PySide2.QtWidgets.QGraphicsItem.CacheMode', 'PySide2.QtCore.QSize'), "QGraphicsItem.setCursor": ('PySide2.QtGui.QCursor',), - "QGraphicsItem.setData": ('int', 'PySide2.support.signature.typing.Any'), + "QGraphicsItem.setData": ('int', 'Any'), "QGraphicsItem.setEnabled": ('bool',), "QGraphicsItem.setFiltersChildEvents": ('bool',), "QGraphicsItem.setFlag": ('PySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag', 'bool'), @@ -8195,7 +8211,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsItem.shape": (), "QGraphicsItem.show": (), "QGraphicsItem.stackBefore": ('PySide2.QtWidgets.QGraphicsItem',), - "QGraphicsItem.toGraphicsObject": [], + "QGraphicsItem.toGraphicsObject": (), "QGraphicsItem.toolTip": (), "QGraphicsItem.topLevelItem": (), "QGraphicsItem.topLevelWidget": (), @@ -8312,7 +8328,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsLineItem.__init__": [('PySide2.QtCore.QLineF', 'PySide2.QtWidgets.QGraphicsItem'), ('PySide2.QtWidgets.QGraphicsItem',), ('float', 'float', 'float', 'float', 'PySide2.QtWidgets.QGraphicsItem')], "QGraphicsLineItem.boundingRect": (), "QGraphicsLineItem.contains": ('PySide2.QtCore.QPointF',), - "QGraphicsLineItem.extension": ('PySide2.support.signature.typing.Any',), + "QGraphicsLineItem.extension": ('Any',), "QGraphicsLineItem.isObscuredBy": ('PySide2.QtWidgets.QGraphicsItem',), "QGraphicsLineItem.line": (), "QGraphicsLineItem.opaqueArea": (), @@ -8367,7 +8383,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsPathItem.__init__": [('PySide2.QtGui.QPainterPath', 'PySide2.QtWidgets.QGraphicsItem'), ('PySide2.QtWidgets.QGraphicsItem',)], "QGraphicsPathItem.boundingRect": (), "QGraphicsPathItem.contains": ('PySide2.QtCore.QPointF',), - "QGraphicsPathItem.extension": ('PySide2.support.signature.typing.Any',), + "QGraphicsPathItem.extension": ('Any',), "QGraphicsPathItem.isObscuredBy": ('PySide2.QtWidgets.QGraphicsItem',), "QGraphicsPathItem.opaqueArea": (), "QGraphicsPathItem.paint": ('PySide2.QtGui.QPainter', 'PySide2.QtWidgets.QStyleOptionGraphicsItem', 'PySide2.QtWidgets.QWidget'), @@ -8380,7 +8396,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsPixmapItem.__init__": [('PySide2.QtGui.QPixmap', 'PySide2.QtWidgets.QGraphicsItem'), ('PySide2.QtWidgets.QGraphicsItem',)], "QGraphicsPixmapItem.boundingRect": (), "QGraphicsPixmapItem.contains": ('PySide2.QtCore.QPointF',), - "QGraphicsPixmapItem.extension": ('PySide2.support.signature.typing.Any',), + "QGraphicsPixmapItem.extension": ('Any',), "QGraphicsPixmapItem.isObscuredBy": ('PySide2.QtWidgets.QGraphicsItem',), "QGraphicsPixmapItem.offset": (), "QGraphicsPixmapItem.opaqueArea": (), @@ -8399,7 +8415,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsPolygonItem.__init__": [('PySide2.QtGui.QPolygonF', 'PySide2.QtWidgets.QGraphicsItem'), ('PySide2.QtWidgets.QGraphicsItem',)], "QGraphicsPolygonItem.boundingRect": (), "QGraphicsPolygonItem.contains": ('PySide2.QtCore.QPointF',), - "QGraphicsPolygonItem.extension": ('PySide2.support.signature.typing.Any',), + "QGraphicsPolygonItem.extension": ('Any',), "QGraphicsPolygonItem.fillRule": (), "QGraphicsPolygonItem.isObscuredBy": ('PySide2.QtWidgets.QGraphicsItem',), "QGraphicsPolygonItem.opaqueArea": (), @@ -8430,7 +8446,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsProxyWidget.hoverMoveEvent": ('PySide2.QtWidgets.QGraphicsSceneHoverEvent',), "QGraphicsProxyWidget.inputMethodEvent": ('PySide2.QtGui.QInputMethodEvent',), "QGraphicsProxyWidget.inputMethodQuery": ('PySide2.QtCore.Qt.InputMethodQuery',), - "QGraphicsProxyWidget.itemChange": ('PySide2.QtWidgets.QGraphicsItem.GraphicsItemChange', 'PySide2.support.signature.typing.Any'), + "QGraphicsProxyWidget.itemChange": ('PySide2.QtWidgets.QGraphicsItem.GraphicsItemChange', 'Any'), "QGraphicsProxyWidget.keyPressEvent": ('PySide2.QtGui.QKeyEvent',), "QGraphicsProxyWidget.keyReleaseEvent": ('PySide2.QtGui.QKeyEvent',), "QGraphicsProxyWidget.mouseDoubleClickEvent": ('PySide2.QtWidgets.QGraphicsSceneMouseEvent',), @@ -8454,7 +8470,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsRectItem.__init__": [('PySide2.QtCore.QRectF', 'PySide2.QtWidgets.QGraphicsItem'), ('PySide2.QtWidgets.QGraphicsItem',), ('float', 'float', 'float', 'float', 'PySide2.QtWidgets.QGraphicsItem')], "QGraphicsRectItem.boundingRect": (), "QGraphicsRectItem.contains": ('PySide2.QtCore.QPointF',), - "QGraphicsRectItem.extension": ('PySide2.support.signature.typing.Any',), + "QGraphicsRectItem.extension": ('Any',), "QGraphicsRectItem.isObscuredBy": ('PySide2.QtWidgets.QGraphicsItem',), "QGraphicsRectItem.opaqueArea": (), "QGraphicsRectItem.paint": ('PySide2.QtGui.QPainter', 'PySide2.QtWidgets.QStyleOptionGraphicsItem', 'PySide2.QtWidgets.QWidget'), @@ -8702,7 +8718,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsSimpleTextItem.__init__": [('PySide2.QtWidgets.QGraphicsItem',), ('str', 'PySide2.QtWidgets.QGraphicsItem')], "QGraphicsSimpleTextItem.boundingRect": (), "QGraphicsSimpleTextItem.contains": ('PySide2.QtCore.QPointF',), - "QGraphicsSimpleTextItem.extension": ('PySide2.support.signature.typing.Any',), + "QGraphicsSimpleTextItem.extension": ('Any',), "QGraphicsSimpleTextItem.font": (), "QGraphicsSimpleTextItem.isObscuredBy": ('PySide2.QtWidgets.QGraphicsItem',), "QGraphicsSimpleTextItem.opaqueArea": (), @@ -8725,7 +8741,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsTextItem.dragLeaveEvent": ('PySide2.QtWidgets.QGraphicsSceneDragDropEvent',), "QGraphicsTextItem.dragMoveEvent": ('PySide2.QtWidgets.QGraphicsSceneDragDropEvent',), "QGraphicsTextItem.dropEvent": ('PySide2.QtWidgets.QGraphicsSceneDragDropEvent',), - "QGraphicsTextItem.extension": ('PySide2.support.signature.typing.Any',), + "QGraphicsTextItem.extension": ('Any',), "QGraphicsTextItem.focusInEvent": ('PySide2.QtGui.QFocusEvent',), "QGraphicsTextItem.focusOutEvent": ('PySide2.QtGui.QFocusEvent',), "QGraphicsTextItem.font": (), @@ -8782,7 +8798,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsView.dragMoveEvent": ('PySide2.QtGui.QDragMoveEvent',), "QGraphicsView.drawBackground": ('PySide2.QtGui.QPainter', 'PySide2.QtCore.QRectF'), "QGraphicsView.drawForeground": ('PySide2.QtGui.QPainter', 'PySide2.QtCore.QRectF'), - "QGraphicsView.drawItems": ('PySide2.QtGui.QPainter', 'int', 'PySide2.support.signature.typing.List', 'PySide2.support.signature.typing.List'), + "QGraphicsView.drawItems": ('PySide2.QtGui.QPainter', 'int', 'List[PySide2.QtWidgets.QGraphicsItem]', 'List[PySide2.QtWidgets.QStyleOptionGraphicsItem]'), "QGraphicsView.dropEvent": ('PySide2.QtGui.QDropEvent',), "QGraphicsView.ensureVisible": [('PySide2.QtCore.QRectF', 'int', 'int'), ('PySide2.QtWidgets.QGraphicsItem', 'int', 'int'), ('float', 'float', 'float', 'float', 'int', 'int')], "QGraphicsView.event": ('PySide2.QtCore.QEvent',), @@ -8885,7 +8901,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsWidget.insertAction": ('PySide2.QtWidgets.QAction', 'PySide2.QtWidgets.QAction'), "QGraphicsWidget.insertActions": ('PySide2.QtWidgets.QAction', 'list'), "QGraphicsWidget.isActiveWindow": (), - "QGraphicsWidget.itemChange": ('PySide2.QtWidgets.QGraphicsItem.GraphicsItemChange', 'PySide2.support.signature.typing.Any'), + "QGraphicsWidget.itemChange": ('PySide2.QtWidgets.QGraphicsItem.GraphicsItemChange', 'Any'), "QGraphicsWidget.layout": (), "QGraphicsWidget.layoutDirection": (), "QGraphicsWidget.moveEvent": ('PySide2.QtWidgets.QGraphicsSceneMoveEvent',), @@ -8893,7 +8909,7 @@ if "PySide2.QtWidgets" in sys.modules: "QGraphicsWidget.paintWindowFrame": ('PySide2.QtGui.QPainter', 'PySide2.QtWidgets.QStyleOptionGraphicsItem', 'PySide2.QtWidgets.QWidget'), "QGraphicsWidget.palette": (), "QGraphicsWidget.polishEvent": (), - "QGraphicsWidget.propertyChange": ('str', 'PySide2.support.signature.typing.Any'), + "QGraphicsWidget.propertyChange": ('str', 'Any'), "QGraphicsWidget.rect": (), "QGraphicsWidget.releaseShortcut": ('int',), "QGraphicsWidget.removeAction": ('PySide2.QtWidgets.QAction',), @@ -9109,7 +9125,7 @@ if "PySide2.QtWidgets" in sys.modules: "QInputDialog.doubleValue": (), "QInputDialog.getDouble": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'float', 'float', 'float', 'int', 'bool', 'WindowFlags'), "QInputDialog.getInt": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'int', 'int', 'int', 'int', 'bool', 'WindowFlags'), - "QInputDialog.getItem": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'PySide2.support.signature.typing.List', 'int', 'bool', 'bool', 'WindowFlags', 'InputMethodHints'), + "QInputDialog.getItem": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'List[str]', 'int', 'bool', 'bool', 'WindowFlags', 'InputMethodHints'), "QInputDialog.getMultiLineText": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'str', 'bool', 'WindowFlags', 'InputMethodHints'), "QInputDialog.getText": ('PySide2.QtWidgets.QWidget', 'str', 'str', 'PySide2.QtWidgets.QLineEdit.EchoMode', 'str', 'bool', 'WindowFlags', 'InputMethodHints'), "QInputDialog.inputMode": (), @@ -9124,7 +9140,7 @@ if "PySide2.QtWidgets" in sys.modules: "QInputDialog.open": [(), ('PySide2.QtCore.QObject', 'str')], "QInputDialog.setCancelButtonText": ('str',), "QInputDialog.setComboBoxEditable": ('bool',), - "QInputDialog.setComboBoxItems": ('PySide2.support.signature.typing.List',), + "QInputDialog.setComboBoxItems": ('List[str]',), "QInputDialog.setDoubleDecimals": ('int',), "QInputDialog.setDoubleMaximum": ('float',), "QInputDialog.setDoubleMinimum": ('float',), @@ -9150,8 +9166,8 @@ if "PySide2.QtWidgets" in sys.modules: # class PySide2.QtWidgets.QItemDelegate: "QItemDelegate.__init__": ('PySide2.QtCore.QObject',), "QItemDelegate.createEditor": ('PySide2.QtWidgets.QWidget', 'PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.QtCore.QModelIndex'), - "QItemDelegate.decoration": ('PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.support.signature.typing.Any'), - "QItemDelegate.doCheck": ('PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.QtCore.QRect', 'PySide2.support.signature.typing.Any'), + "QItemDelegate.decoration": ('PySide2.QtWidgets.QStyleOptionViewItem', 'Any'), + "QItemDelegate.doCheck": ('PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.QtCore.QRect', 'Any'), "QItemDelegate.drawBackground": ('PySide2.QtGui.QPainter', 'PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.QtCore.QModelIndex'), "QItemDelegate.drawCheck": ('PySide2.QtGui.QPainter', 'PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.QtCore.QRect', 'PySide2.QtCore.Qt.CheckState'), "QItemDelegate.drawDecoration": ('PySide2.QtGui.QPainter', 'PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.QtCore.QRect', 'PySide2.QtGui.QPixmap'), @@ -9386,7 +9402,7 @@ if "PySide2.QtWidgets" in sys.modules: "QLineEdit.initStyleOption": ('PySide2.QtWidgets.QStyleOptionFrame',), "QLineEdit.inputMask": (), "QLineEdit.inputMethodEvent": ('PySide2.QtGui.QInputMethodEvent',), - "QLineEdit.inputMethodQuery": [('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.InputMethodQuery', 'PySide2.support.signature.typing.Any')], + "QLineEdit.inputMethodQuery": [('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.InputMethodQuery', 'Any')], "QLineEdit.insert": ('str',), "QLineEdit.isClearButtonEnabled": (), "QLineEdit.isModified": (), @@ -9502,7 +9518,7 @@ if "PySide2.QtWidgets" in sys.modules: # class PySide2.QtWidgets.QListWidget: "QListWidget.__init__": ('PySide2.QtWidgets.QWidget',), "QListWidget.addItem": [('PySide2.QtWidgets.QListWidgetItem',), ('str',)], - "QListWidget.addItems": ('PySide2.support.signature.typing.List',), + "QListWidget.addItems": ('List[str]',), "QListWidget.clear": (), "QListWidget.closePersistentEditor": [('PySide2.QtCore.QModelIndex',), ('PySide2.QtWidgets.QListWidgetItem',)], "QListWidget.count": (), @@ -9515,7 +9531,7 @@ if "PySide2.QtWidgets" in sys.modules: "QListWidget.findItems": ('str', 'MatchFlags'), "QListWidget.indexFromItem": ('PySide2.QtWidgets.QListWidgetItem',), "QListWidget.insertItem": [('int', 'PySide2.QtWidgets.QListWidgetItem'), ('int', 'str')], - "QListWidget.insertItems": ('int', 'PySide2.support.signature.typing.List'), + "QListWidget.insertItems": ('int', 'List[str]'), "QListWidget.isItemHidden": ('PySide2.QtWidgets.QListWidgetItem',), "QListWidget.isItemSelected": ('PySide2.QtWidgets.QListWidgetItem',), "QListWidget.isSortingEnabled": (), @@ -9562,7 +9578,7 @@ if "PySide2.QtWidgets" in sys.modules: "QListWidgetItem.setBackground": ('PySide2.QtGui.QBrush',), "QListWidgetItem.setBackgroundColor": ('PySide2.QtGui.QColor',), "QListWidgetItem.setCheckState": ('PySide2.QtCore.Qt.CheckState',), - "QListWidgetItem.setData": ('int', 'PySide2.support.signature.typing.Any'), + "QListWidgetItem.setData": ('int', 'Any'), "QListWidgetItem.setFlags": ('ItemFlags',), "QListWidgetItem.setFont": ('PySide2.QtGui.QFont',), "QListWidgetItem.setForeground": ('PySide2.QtGui.QBrush',), @@ -9989,7 +10005,7 @@ if "PySide2.QtWidgets" in sys.modules: "QPlainTextEdit.focusOutEvent": ('PySide2.QtGui.QFocusEvent',), "QPlainTextEdit.getPaintContext": (), "QPlainTextEdit.inputMethodEvent": ('PySide2.QtGui.QInputMethodEvent',), - "QPlainTextEdit.inputMethodQuery": [('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.InputMethodQuery', 'PySide2.support.signature.typing.Any')], + "QPlainTextEdit.inputMethodQuery": [('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.InputMethodQuery', 'Any')], "QPlainTextEdit.insertFromMimeData": ('PySide2.QtCore.QMimeData',), "QPlainTextEdit.insertPlainText": ('str',), "QPlainTextEdit.isReadOnly": (), @@ -10187,7 +10203,7 @@ if "PySide2.QtWidgets" in sys.modules: "QScrollBar.wheelEvent": ('PySide2.QtGui.QWheelEvent',), # class PySide2.QtWidgets.QShortcut: - "QShortcut.__init__": [('PySide2.QtGui.QKeySequence', 'PySide2.QtWidgets.QWidget', 'PySide2.support.signature.typing.Callable', 'PySide2.QtCore.Qt.ShortcutContext'), ('PySide2.QtGui.QKeySequence', 'PySide2.QtWidgets.QWidget', 'str', 'str', 'PySide2.QtCore.Qt.ShortcutContext'), ('PySide2.QtWidgets.QWidget',)], + "QShortcut.__init__": [('PySide2.QtGui.QKeySequence', 'PySide2.QtWidgets.QWidget', 'Callable', 'PySide2.QtCore.Qt.ShortcutContext'), ('PySide2.QtGui.QKeySequence', 'PySide2.QtWidgets.QWidget', 'str', 'str', 'PySide2.QtCore.Qt.ShortcutContext'), ('PySide2.QtWidgets.QWidget',)], "QShortcut.autoRepeat": (), "QShortcut.context": (), "QShortcut.event": ('PySide2.QtCore.QEvent',), @@ -10544,7 +10560,7 @@ if "PySide2.QtWidgets" in sys.modules: # class PySide2.QtWidgets.QStyledItemDelegate: "QStyledItemDelegate.__init__": ('PySide2.QtCore.QObject',), "QStyledItemDelegate.createEditor": ('PySide2.QtWidgets.QWidget', 'PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.QtCore.QModelIndex'), - "QStyledItemDelegate.displayText": ('PySide2.support.signature.typing.Any', 'PySide2.QtCore.QLocale'), + "QStyledItemDelegate.displayText": ('Any', 'PySide2.QtCore.QLocale'), "QStyledItemDelegate.editorEvent": ('PySide2.QtCore.QEvent', 'PySide2.QtCore.QAbstractItemModel', 'PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.QtCore.QModelIndex'), "QStyledItemDelegate.eventFilter": ('PySide2.QtCore.QObject', 'PySide2.QtCore.QEvent'), "QStyledItemDelegate.initStyleOption": ('PySide2.QtWidgets.QStyleOptionViewItem', 'PySide2.QtCore.QModelIndex'), @@ -10625,7 +10641,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTabBar.setSelectionBehaviorOnRemove": ('PySide2.QtWidgets.QTabBar.SelectionBehavior',), "QTabBar.setShape": ('PySide2.QtWidgets.QTabBar.Shape',), "QTabBar.setTabButton": ('int', 'PySide2.QtWidgets.QTabBar.ButtonPosition', 'PySide2.QtWidgets.QWidget'), - "QTabBar.setTabData": ('int', 'PySide2.support.signature.typing.Any'), + "QTabBar.setTabData": ('int', 'Any'), "QTabBar.setTabEnabled": ('int', 'bool'), "QTabBar.setTabIcon": ('int', 'PySide2.QtGui.QIcon'), "QTabBar.setTabText": ('int', 'str'), @@ -10833,7 +10849,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTableWidget.setCurrentCell": [('int', 'int'), ('int', 'int', 'SelectionFlags')], "QTableWidget.setCurrentItem": [('PySide2.QtWidgets.QTableWidgetItem',), ('PySide2.QtWidgets.QTableWidgetItem', 'SelectionFlags')], "QTableWidget.setHorizontalHeaderItem": ('int', 'PySide2.QtWidgets.QTableWidgetItem'), - "QTableWidget.setHorizontalHeaderLabels": ('PySide2.support.signature.typing.List',), + "QTableWidget.setHorizontalHeaderLabels": ('List[str]',), "QTableWidget.setItem": ('int', 'int', 'PySide2.QtWidgets.QTableWidgetItem'), "QTableWidget.setItemPrototype": ('PySide2.QtWidgets.QTableWidgetItem',), "QTableWidget.setItemSelected": ('PySide2.QtWidgets.QTableWidgetItem', 'bool'), @@ -10842,7 +10858,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTableWidget.setRowCount": ('int',), "QTableWidget.setSortingEnabled": ('bool',), "QTableWidget.setVerticalHeaderItem": ('int', 'PySide2.QtWidgets.QTableWidgetItem'), - "QTableWidget.setVerticalHeaderLabels": ('PySide2.support.signature.typing.List',), + "QTableWidget.setVerticalHeaderLabels": ('List[str]',), "QTableWidget.sortItems": ('int', 'PySide2.QtCore.Qt.SortOrder'), "QTableWidget.supportedDropActions": (), "QTableWidget.takeHorizontalHeaderItem": ('int',), @@ -10871,7 +10887,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTableWidgetItem.setBackground": ('PySide2.QtGui.QBrush',), "QTableWidgetItem.setBackgroundColor": ('PySide2.QtGui.QColor',), "QTableWidgetItem.setCheckState": ('PySide2.QtCore.Qt.CheckState',), - "QTableWidgetItem.setData": ('int', 'PySide2.support.signature.typing.Any'), + "QTableWidgetItem.setData": ('int', 'Any'), "QTableWidgetItem.setFlags": ('ItemFlags',), "QTableWidgetItem.setFont": ('PySide2.QtGui.QFont',), "QTableWidgetItem.setForeground": ('PySide2.QtGui.QBrush',), @@ -10944,7 +10960,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTextBrowser.searchPaths": (), "QTextBrowser.setOpenExternalLinks": ('bool',), "QTextBrowser.setOpenLinks": ('bool',), - "QTextBrowser.setSearchPaths": ('PySide2.support.signature.typing.List',), + "QTextBrowser.setSearchPaths": ('List[str]',), "QTextBrowser.setSource": ('PySide2.QtCore.QUrl',), "QTextBrowser.source": (), @@ -10989,7 +11005,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTextEdit.fontUnderline": (), "QTextEdit.fontWeight": (), "QTextEdit.inputMethodEvent": ('PySide2.QtGui.QInputMethodEvent',), - "QTextEdit.inputMethodQuery": [('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.InputMethodQuery', 'PySide2.support.signature.typing.Any')], + "QTextEdit.inputMethodQuery": [('PySide2.QtCore.Qt.InputMethodQuery',), ('PySide2.QtCore.Qt.InputMethodQuery', 'Any')], "QTextEdit.insertFromMimeData": ('PySide2.QtCore.QMimeData',), "QTextEdit.insertHtml": ('str',), "QTextEdit.insertPlainText": ('str',), @@ -11284,7 +11300,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTreeWidget.expandItem": ('PySide2.QtWidgets.QTreeWidgetItem',), "QTreeWidget.findItems": ('str', 'MatchFlags', 'int'), "QTreeWidget.headerItem": (), - "QTreeWidget.indexFromItem": ['PySide2.QtWidgets.QTreeWidgetItem', 'int'], + "QTreeWidget.indexFromItem": ('PySide2.QtWidgets.QTreeWidgetItem', 'int'), "QTreeWidget.indexOfTopLevelItem": ('PySide2.QtWidgets.QTreeWidgetItem',), "QTreeWidget.insertTopLevelItem": ('int', 'PySide2.QtWidgets.QTreeWidgetItem'), "QTreeWidget.insertTopLevelItems": ('int', 'list'), @@ -11310,7 +11326,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTreeWidget.setFirstItemColumnSpanned": ('PySide2.QtWidgets.QTreeWidgetItem', 'bool'), "QTreeWidget.setHeaderItem": ('PySide2.QtWidgets.QTreeWidgetItem',), "QTreeWidget.setHeaderLabel": ('str',), - "QTreeWidget.setHeaderLabels": ('PySide2.support.signature.typing.List',), + "QTreeWidget.setHeaderLabels": ('List[str]',), "QTreeWidget.setItemExpanded": ('PySide2.QtWidgets.QTreeWidgetItem', 'bool'), "QTreeWidget.setItemHidden": ('PySide2.QtWidgets.QTreeWidgetItem', 'bool'), "QTreeWidget.setItemSelected": ('PySide2.QtWidgets.QTreeWidgetItem', 'bool'), @@ -11326,7 +11342,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTreeWidget.visualItemRect": ('PySide2.QtWidgets.QTreeWidgetItem',), # class PySide2.QtWidgets.QTreeWidgetItem: - "QTreeWidgetItem.__init__": [('PySide2.QtWidgets.QTreeWidget', 'PySide2.QtWidgets.QTreeWidgetItem', 'int'), ('PySide2.QtWidgets.QTreeWidget', 'PySide2.support.signature.typing.List', 'int'), ('PySide2.QtWidgets.QTreeWidget', 'int'), ('PySide2.QtWidgets.QTreeWidgetItem',), ('PySide2.QtWidgets.QTreeWidgetItem', 'PySide2.QtWidgets.QTreeWidgetItem', 'int'), ('PySide2.QtWidgets.QTreeWidgetItem', 'PySide2.support.signature.typing.List', 'int'), ('PySide2.QtWidgets.QTreeWidgetItem', 'int'), ('PySide2.support.signature.typing.List', 'int'), ('int',)], + "QTreeWidgetItem.__init__": [('List[str]', 'int'), ('PySide2.QtWidgets.QTreeWidget', 'List[str]', 'int'), ('PySide2.QtWidgets.QTreeWidget', 'PySide2.QtWidgets.QTreeWidgetItem', 'int'), ('PySide2.QtWidgets.QTreeWidget', 'int'), ('PySide2.QtWidgets.QTreeWidgetItem',), ('PySide2.QtWidgets.QTreeWidgetItem', 'List[str]', 'int'), ('PySide2.QtWidgets.QTreeWidgetItem', 'PySide2.QtWidgets.QTreeWidgetItem', 'int'), ('PySide2.QtWidgets.QTreeWidgetItem', 'int'), ('int',)], "QTreeWidgetItem.addChild": ('PySide2.QtWidgets.QTreeWidgetItem',), "QTreeWidgetItem.addChildren": ('list',), "QTreeWidgetItem.background": ('int',), @@ -11358,7 +11374,7 @@ if "PySide2.QtWidgets" in sys.modules: "QTreeWidgetItem.setBackgroundColor": ('int', 'PySide2.QtGui.QColor'), "QTreeWidgetItem.setCheckState": ('int', 'PySide2.QtCore.Qt.CheckState'), "QTreeWidgetItem.setChildIndicatorPolicy": ('PySide2.QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy',), - "QTreeWidgetItem.setData": ('int', 'int', 'PySide2.support.signature.typing.Any'), + "QTreeWidgetItem.setData": ('int', 'int', 'Any'), "QTreeWidgetItem.setDisabled": ('bool',), "QTreeWidgetItem.setExpanded": ('bool',), "QTreeWidgetItem.setFirstColumnSpanned": ('bool',), @@ -11778,7 +11794,6 @@ if "PySide2.QtWidgets" in sys.modules: "QWizard.field": ('str',), "QWizard.hasVisitedPage": ('int',), "QWizard.initializePage": ('int',), - "QWizard.next": (), "QWizard.nextId": (), "QWizard.options": (), "QWizard.page": ('int',), @@ -11792,7 +11807,7 @@ if "PySide2.QtWidgets" in sys.modules: "QWizard.setButtonLayout": ('list',), "QWizard.setButtonText": ('PySide2.QtWidgets.QWizard.WizardButton', 'str'), "QWizard.setDefaultProperty": ('str', 'str', 'str'), - "QWizard.setField": ('str', 'PySide2.support.signature.typing.Any'), + "QWizard.setField": ('str', 'Any'), "QWizard.setOption": ('PySide2.QtWidgets.QWizard.WizardOption', 'bool'), "QWizard.setOptions": ('WizardOptions',), "QWizard.setPage": ('int', 'PySide2.QtWidgets.QWizardPage'), @@ -11827,7 +11842,7 @@ if "PySide2.QtWidgets" in sys.modules: "QWizardPage.registerField": ('str', 'PySide2.QtWidgets.QWidget', 'str', 'str'), "QWizardPage.setButtonText": ('PySide2.QtWidgets.QWizard.WizardButton', 'str'), "QWizardPage.setCommitPage": ('bool',), - "QWizardPage.setField": ('str', 'PySide2.support.signature.typing.Any'), + "QWizardPage.setField": ('str', 'Any'), "QWizardPage.setFinalPage": ('bool',), "QWizardPage.setPixmap": ('PySide2.QtWidgets.QWizard.WizardPixmap', 'PySide2.QtGui.QPixmap'), "QWizardPage.setSubTitle": ('str',), @@ -11886,7 +11901,7 @@ if "PySide2.QtPrintSupport" in sys.modules: "QPrintEngine.newPage": (), "QPrintEngine.printerState": (), "QPrintEngine.property": ('PySide2.QtPrintSupport.QPrintEngine.PrintEnginePropertyKey',), - "QPrintEngine.setProperty": ('PySide2.QtPrintSupport.QPrintEngine.PrintEnginePropertyKey', 'PySide2.support.signature.typing.Any'), + "QPrintEngine.setProperty": ('PySide2.QtPrintSupport.QPrintEngine.PrintEnginePropertyKey', 'Any'), # class PySide2.QtPrintSupport.QPrintPreviewDialog: "QPrintPreviewDialog.__init__": [('PySide2.QtPrintSupport.QPrinter', 'PySide2.QtWidgets.QWidget', 'WindowFlags'), ('PySide2.QtWidgets.QWidget', 'WindowFlags')], @@ -12134,7 +12149,7 @@ if "PySide2.QtSql" in sys.modules: "QSqlField.precision": (), "QSqlField.requiredStatus": (), "QSqlField.setAutoValue": ('bool',), - "QSqlField.setDefaultValue": ('PySide2.support.signature.typing.Any',), + "QSqlField.setDefaultValue": ('Any',), "QSqlField.setGenerated": ('bool',), "QSqlField.setLength": ('int',), "QSqlField.setName": ('str',), @@ -12144,7 +12159,7 @@ if "PySide2.QtSql" in sys.modules: "QSqlField.setRequiredStatus": ('PySide2.QtSql.QSqlField.RequiredStatus',), "QSqlField.setSqlType": ('int',), "QSqlField.setType": ('type',), - "QSqlField.setValue": ('PySide2.support.signature.typing.Any',), + "QSqlField.setValue": ('Any',), "QSqlField.type": (), "QSqlField.typeID": (), "QSqlField.value": (), @@ -12163,9 +12178,9 @@ if "PySide2.QtSql" in sys.modules: # class PySide2.QtSql.QSqlQuery: "QSqlQuery.__init__": [('PySide2.QtSql.QSqlDatabase',), ('PySide2.QtSql.QSqlQuery',), ('PySide2.QtSql.QSqlResult',), ('str', 'PySide2.QtSql.QSqlDatabase')], "QSqlQuery.__copy__": (), - "QSqlQuery.addBindValue": ('PySide2.support.signature.typing.Any', 'ParamType'), + "QSqlQuery.addBindValue": ('Any', 'ParamType'), "QSqlQuery.at": (), - "QSqlQuery.bindValue": [('int', 'PySide2.support.signature.typing.Any', 'ParamType'), ('str', 'PySide2.support.signature.typing.Any', 'ParamType')], + "QSqlQuery.bindValue": [('int', 'Any', 'ParamType'), ('str', 'Any', 'ParamType')], "QSqlQuery.boundValue": [('int',), ('str',)], "QSqlQuery.boundValues": (), "QSqlQuery.clear": (), @@ -12184,7 +12199,6 @@ if "PySide2.QtSql" in sys.modules: "QSqlQuery.lastError": (), "QSqlQuery.lastInsertId": (), "QSqlQuery.lastQuery": (), - "QSqlQuery.next": (), "QSqlQuery.nextResult": (), "QSqlQuery.numRowsAffected": (), "QSqlQuery.numericalPrecisionPolicy": (), @@ -12224,7 +12238,7 @@ if "PySide2.QtSql" in sys.modules: "QSqlQueryModel.record": [(), ('int',)], "QSqlQueryModel.removeColumns": ('int', 'int', 'PySide2.QtCore.QModelIndex'), "QSqlQueryModel.rowCount": ('PySide2.QtCore.QModelIndex',), - "QSqlQueryModel.setHeaderData": ('int', 'PySide2.QtCore.Qt.Orientation', 'PySide2.support.signature.typing.Any', 'int'), + "QSqlQueryModel.setHeaderData": ('int', 'PySide2.QtCore.Qt.Orientation', 'Any', 'int'), "QSqlQueryModel.setLastError": ('PySide2.QtSql.QSqlError',), "QSqlQueryModel.setQuery": [('PySide2.QtSql.QSqlQuery',), ('str', 'PySide2.QtSql.QSqlDatabase')], @@ -12248,7 +12262,7 @@ if "PySide2.QtSql" in sys.modules: "QSqlRecord.replace": ('int', 'PySide2.QtSql.QSqlField'), "QSqlRecord.setGenerated": [('int', 'bool'), ('str', 'bool')], "QSqlRecord.setNull": [('int',), ('str',)], - "QSqlRecord.setValue": [('int', 'PySide2.support.signature.typing.Any'), ('str', 'PySide2.support.signature.typing.Any')], + "QSqlRecord.setValue": [('int', 'Any'), ('str', 'Any')], "QSqlRecord.value": [('int',), ('str',)], # class PySide2.QtSql.QSqlRelation: @@ -12277,7 +12291,7 @@ if "PySide2.QtSql" in sys.modules: "QSqlRelationalTableModel.revertRow": ('int',), "QSqlRelationalTableModel.select": (), "QSqlRelationalTableModel.selectStatement": (), - "QSqlRelationalTableModel.setData": ('PySide2.QtCore.QModelIndex', 'PySide2.support.signature.typing.Any', 'int'), + "QSqlRelationalTableModel.setData": ('PySide2.QtCore.QModelIndex', 'Any', 'int'), "QSqlRelationalTableModel.setJoinMode": ('PySide2.QtSql.QSqlRelationalTableModel.JoinMode',), "QSqlRelationalTableModel.setRelation": ('int', 'PySide2.QtSql.QSqlRelation'), "QSqlRelationalTableModel.setTable": ('str',), @@ -12285,9 +12299,9 @@ if "PySide2.QtSql" in sys.modules: # class PySide2.QtSql.QSqlResult: "QSqlResult.__init__": ('PySide2.QtSql.QSqlDriver',), - "QSqlResult.addBindValue": ('PySide2.support.signature.typing.Any', 'ParamType'), + "QSqlResult.addBindValue": ('Any', 'ParamType'), "QSqlResult.at": (), - "QSqlResult.bindValue": [('int', 'PySide2.support.signature.typing.Any', 'ParamType'), ('str', 'PySide2.support.signature.typing.Any', 'ParamType')], + "QSqlResult.bindValue": [('int', 'Any', 'ParamType'), ('str', 'Any', 'ParamType')], "QSqlResult.bindValueType": [('int',), ('str',)], "QSqlResult.bindingSyntax": (), "QSqlResult.boundValue": [('int',), ('str',)], @@ -12362,7 +12376,7 @@ if "PySide2.QtSql" in sys.modules: "QSqlTableModel.select": (), "QSqlTableModel.selectRow": ('int',), "QSqlTableModel.selectStatement": (), - "QSqlTableModel.setData": ('PySide2.QtCore.QModelIndex', 'PySide2.support.signature.typing.Any', 'int'), + "QSqlTableModel.setData": ('PySide2.QtCore.QModelIndex', 'Any', 'int'), "QSqlTableModel.setEditStrategy": ('PySide2.QtSql.QSqlTableModel.EditStrategy',), "QSqlTableModel.setFilter": ('str',), "QSqlTableModel.setPrimaryKey": ('PySide2.QtSql.QSqlIndex',), @@ -12427,7 +12441,7 @@ if "PySide2.QtNetwork" in sys.modules: "QAbstractSocket.setReadBufferSize": ('int',), "QAbstractSocket.setSocketDescriptor": ('int', 'PySide2.QtNetwork.QAbstractSocket.SocketState', 'OpenMode'), "QAbstractSocket.setSocketError": ('PySide2.QtNetwork.QAbstractSocket.SocketError',), - "QAbstractSocket.setSocketOption": ('PySide2.QtNetwork.QAbstractSocket.SocketOption', 'PySide2.support.signature.typing.Any'), + "QAbstractSocket.setSocketOption": ('PySide2.QtNetwork.QAbstractSocket.SocketOption', 'Any'), "QAbstractSocket.setSocketState": ('PySide2.QtNetwork.QAbstractSocket.SocketState',), "QAbstractSocket.socketDescriptor": (), "QAbstractSocket.socketOption": ('PySide2.QtNetwork.QAbstractSocket.SocketOption',), @@ -12447,7 +12461,7 @@ if "PySide2.QtNetwork" in sys.modules: "QAuthenticator.options": (), "QAuthenticator.password": (), "QAuthenticator.realm": (), - "QAuthenticator.setOption": ('str', 'PySide2.support.signature.typing.Any'), + "QAuthenticator.setOption": ('str', 'Any'), "QAuthenticator.setPassword": ('str',), "QAuthenticator.setRealm": ('str',), "QAuthenticator.setUser": ('str',), @@ -12458,7 +12472,7 @@ if "PySide2.QtNetwork" in sys.modules: "QHostAddress.__copy__": (), "QHostAddress.clear": (), "QHostAddress.isEqual": ('PySide2.QtNetwork.QHostAddress', 'ConversionMode'), - "QHostAddress.isInSubnet": [('PySide2.QtNetwork.QHostAddress', 'int'), ('PySide2.support.signature.typing.Tuple',)], + "QHostAddress.isInSubnet": [('PySide2.QtNetwork.QHostAddress', 'int'), ('Tuple[Any, Any]',)], "QHostAddress.isLoopback": (), "QHostAddress.isMulticast": (), "QHostAddress.isNull": (), @@ -12716,7 +12730,7 @@ if "PySide2.QtNetwork" in sys.modules: "QNetworkProxy.rawHeaderList": (), "QNetworkProxy.setApplicationProxy": ('PySide2.QtNetwork.QNetworkProxy',), "QNetworkProxy.setCapabilities": ('Capabilities',), - "QNetworkProxy.setHeader": ('PySide2.QtNetwork.QNetworkRequest.KnownHeaders', 'PySide2.support.signature.typing.Any'), + "QNetworkProxy.setHeader": ('PySide2.QtNetwork.QNetworkRequest.KnownHeaders', 'Any'), "QNetworkProxy.setHostName": ('str',), "QNetworkProxy.setPassword": ('str',), "QNetworkProxy.setPort": ('int',), @@ -12773,10 +12787,10 @@ if "PySide2.QtNetwork" in sys.modules: "QNetworkReply.rawHeaderList": (), "QNetworkReply.readBufferSize": (), "QNetworkReply.request": (), - "QNetworkReply.setAttribute": ('PySide2.QtNetwork.QNetworkRequest.Attribute', 'PySide2.support.signature.typing.Any'), + "QNetworkReply.setAttribute": ('PySide2.QtNetwork.QNetworkRequest.Attribute', 'Any'), "QNetworkReply.setError": ('PySide2.QtNetwork.QNetworkReply.NetworkError', 'str'), "QNetworkReply.setFinished": ('bool',), - "QNetworkReply.setHeader": ('PySide2.QtNetwork.QNetworkRequest.KnownHeaders', 'PySide2.support.signature.typing.Any'), + "QNetworkReply.setHeader": ('PySide2.QtNetwork.QNetworkRequest.KnownHeaders', 'Any'), "QNetworkReply.setOperation": ('PySide2.QtNetwork.QNetworkAccessManager.Operation',), "QNetworkReply.setRawHeader": ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QByteArray'), "QNetworkReply.setReadBufferSize": ('int',), @@ -12792,7 +12806,7 @@ if "PySide2.QtNetwork" in sys.modules: # class PySide2.QtNetwork.QNetworkRequest: "QNetworkRequest.__init__": [('PySide2.QtCore.QUrl',), ('PySide2.QtNetwork.QNetworkRequest',)], "QNetworkRequest.__copy__": (), - "QNetworkRequest.attribute": ('PySide2.QtNetwork.QNetworkRequest.Attribute', 'PySide2.support.signature.typing.Any'), + "QNetworkRequest.attribute": ('PySide2.QtNetwork.QNetworkRequest.Attribute', 'Any'), "QNetworkRequest.hasRawHeader": ('PySide2.QtCore.QByteArray',), "QNetworkRequest.header": ('PySide2.QtNetwork.QNetworkRequest.KnownHeaders',), "QNetworkRequest.maximumRedirectsAllowed": (), @@ -12800,8 +12814,8 @@ if "PySide2.QtNetwork" in sys.modules: "QNetworkRequest.priority": (), "QNetworkRequest.rawHeader": ('PySide2.QtCore.QByteArray',), "QNetworkRequest.rawHeaderList": (), - "QNetworkRequest.setAttribute": ('PySide2.QtNetwork.QNetworkRequest.Attribute', 'PySide2.support.signature.typing.Any'), - "QNetworkRequest.setHeader": ('PySide2.QtNetwork.QNetworkRequest.KnownHeaders', 'PySide2.support.signature.typing.Any'), + "QNetworkRequest.setAttribute": ('PySide2.QtNetwork.QNetworkRequest.Attribute', 'Any'), + "QNetworkRequest.setHeader": ('PySide2.QtNetwork.QNetworkRequest.KnownHeaders', 'Any'), "QNetworkRequest.setMaximumRedirectsAllowed": ('int',), "QNetworkRequest.setOriginatingObject": ('PySide2.QtCore.QObject',), "QNetworkRequest.setPriority": ('PySide2.QtNetwork.QNetworkRequest.Priority',), @@ -12830,7 +12844,7 @@ if "PySide2.QtNetwork" in sys.modules: "QNetworkSession.open": (), "QNetworkSession.reject": (), "QNetworkSession.sessionProperty": ('str',), - "QNetworkSession.setSessionProperty": ('str', 'PySide2.support.signature.typing.Any'), + "QNetworkSession.setSessionProperty": ('str', 'Any'), "QNetworkSession.state": (), "QNetworkSession.stop": (), "QNetworkSession.usagePolicies": (), @@ -12995,7 +13009,7 @@ if "PySide2.QtNetwork" in sys.modules: "QSslSocket.setProtocol": ('PySide2.QtNetwork.QSsl.SslProtocol',), "QSslSocket.setReadBufferSize": ('int',), "QSslSocket.setSocketDescriptor": ('int', 'PySide2.QtNetwork.QAbstractSocket.SocketState', 'OpenMode'), - "QSslSocket.setSocketOption": ('PySide2.QtNetwork.QAbstractSocket.SocketOption', 'PySide2.support.signature.typing.Any'), + "QSslSocket.setSocketOption": ('PySide2.QtNetwork.QAbstractSocket.SocketOption', 'Any'), "QSslSocket.setSslConfiguration": ('PySide2.QtNetwork.QSslConfiguration',), "QSslSocket.socketOption": ('PySide2.QtNetwork.QAbstractSocket.SocketOption',), "QSslSocket.sslConfiguration": (), @@ -13059,7 +13073,7 @@ if "PySide2.QtTest" in sys.modules: # class PySide2.QtTest.QTest: "QTest.addColumnInternal": ('int', 'str'), - "QTest.asciiToKey": ('PySide2.support.signature.typing.Union[str, int]',), + "QTest.asciiToKey": ('Union[str, int]',), "QTest.compare_string_helper": ('str', 'str', 'str', 'str', 'str', 'int'), "QTest.createTouchDevice": ('PySide2.QtGui.QTouchDevice.DeviceType',), "QTest.currentAppName": (), @@ -13067,11 +13081,11 @@ if "PySide2.QtTest" in sys.modules: "QTest.currentTestFailed": (), "QTest.currentTestFunction": (), "QTest.ignoreMessage": [('PySide2.QtCore.QtMsgType', 'PySide2.QtCore.QRegularExpression'), ('PySide2.QtCore.QtMsgType', 'str')], - "QTest.keyClick": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtGui.QWindow', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int')], + "QTest.keyClick": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtGui.QWindow', 'Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'Union[str, int]', 'KeyboardModifiers', 'int')], "QTest.keyClicks": ('PySide2.QtWidgets.QWidget', 'str', 'KeyboardModifiers', 'int'), - "QTest.keyEvent": [('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtGui.QWindow', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtWidgets.QWidget', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int')], - "QTest.keyPress": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtGui.QWindow', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int')], - "QTest.keyRelease": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtGui.QWindow', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int')], + "QTest.keyEvent": [('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtGui.QWindow', 'Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtWidgets.QWidget', 'Union[str, int]', 'KeyboardModifiers', 'int')], + "QTest.keyPress": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtGui.QWindow', 'Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'Union[str, int]', 'KeyboardModifiers', 'int')], + "QTest.keyRelease": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtGui.QWindow', 'Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'KeyboardModifiers', 'int'), ('PySide2.QtWidgets.QWidget', 'Union[str, int]', 'KeyboardModifiers', 'int')], "QTest.keyToAscii": ('PySide2.QtCore.Qt.Key',), "QTest.mouseClick": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.MouseButton', 'KeyboardModifiers', 'PySide2.QtCore.QPoint', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.MouseButton', 'KeyboardModifiers', 'PySide2.QtCore.QPoint', 'int')], "QTest.mouseDClick": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.MouseButton', 'KeyboardModifiers', 'PySide2.QtCore.QPoint', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.MouseButton', 'KeyboardModifiers', 'PySide2.QtCore.QPoint', 'int')], @@ -13081,12 +13095,12 @@ if "PySide2.QtTest" in sys.modules: "QTest.mouseRelease": [('PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.MouseButton', 'KeyboardModifiers', 'PySide2.QtCore.QPoint', 'int'), ('PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.MouseButton', 'KeyboardModifiers', 'PySide2.QtCore.QPoint', 'int')], "QTest.qElementData": ('str', 'int'), "QTest.qExpectFail": ('str', 'str', 'PySide2.QtTest.QTest.TestFailMode', 'str', 'int'), - "QTest.qFindTestData": ['int', 'str', 'str', 'str'], + "QTest.qFindTestData": ('str', 'str', 'int', 'str'), "QTest.qGlobalData": ('str', 'int'), "QTest.qSkip": ('str', 'str', 'int'), "QTest.qWaitForWindowActive": ('PySide2.QtWidgets.QWidget', 'int'), "QTest.qWaitForWindowExposed": ('PySide2.QtWidgets.QWidget', 'int'), - "QTest.sendKeyEvent": [('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'str', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'PySide2.support.signature.typing.Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'str', 'KeyboardModifiers', 'int')], + "QTest.sendKeyEvent": [('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtGui.QWindow', 'PySide2.QtCore.Qt.Key', 'str', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'Union[str, int]', 'KeyboardModifiers', 'int'), ('PySide2.QtTest.QTest.KeyAction', 'PySide2.QtWidgets.QWidget', 'PySide2.QtCore.Qt.Key', 'str', 'KeyboardModifiers', 'int')], "QTest.setBenchmarkResult": ('float', 'PySide2.QtTest.QTest.QBenchmarkMetric'), "QTest.setMainSourcePath": ('str', 'str'), "QTest.simulateEvent": [('PySide2.QtGui.QWindow', 'bool', 'int', 'KeyboardModifiers', 'str', 'bool', 'int'), ('PySide2.QtWidgets.QWidget', 'bool', 'int', 'KeyboardModifiers', 'str', 'bool', 'int')], @@ -13134,7 +13148,7 @@ if "PySide2.QtWinExtras" in sys.modules: "QWinJumpListCategory.__init__": ('str',), "QWinJumpListCategory.addDestination": ('str',), "QWinJumpListCategory.addItem": ('PySide2.QtWinExtras.QWinJumpListItem',), - "QWinJumpListCategory.addLink": [('PySide2.QtGui.QIcon', 'str', 'str', 'PySide2.support.signature.typing.List'), ('str', 'str', 'PySide2.support.signature.typing.List')], + "QWinJumpListCategory.addLink": [('PySide2.QtGui.QIcon', 'str', 'str', 'List[str]'), ('str', 'str', 'List[str]')], "QWinJumpListCategory.addSeparator": (), "QWinJumpListCategory.clear": (), "QWinJumpListCategory.count": (), @@ -13152,7 +13166,7 @@ if "PySide2.QtWinExtras" in sys.modules: "QWinJumpListItem.description": (), "QWinJumpListItem.filePath": (), "QWinJumpListItem.icon": (), - "QWinJumpListItem.setArguments": ('PySide2.support.signature.typing.List',), + "QWinJumpListItem.setArguments": ('List[str]',), "QWinJumpListItem.setDescription": ('str',), "QWinJumpListItem.setFilePath": ('str',), "QWinJumpListItem.setIcon": ('PySide2.QtGui.QIcon',), @@ -13561,7 +13575,6 @@ if "PySide2.QtXml" in sys.modules: "QXmlInputSource.data": (), "QXmlInputSource.fetchData": (), "QXmlInputSource.fromRawData": ('PySide2.QtCore.QByteArray', 'bool'), - "QXmlInputSource.next": (), "QXmlInputSource.reset": (), "QXmlInputSource.setData": [('PySide2.QtCore.QByteArray',), ('str',)], @@ -13612,7 +13625,7 @@ if "PySide2.QtXml" in sys.modules: "QXmlReader.hasFeature": ('str',), "QXmlReader.hasProperty": ('str',), "QXmlReader.lexicalHandler": (), - "QXmlReader.parse": ['PySide2.QtXml.QXmlInputSource'], + "QXmlReader.parse": ('PySide2.QtXml.QXmlInputSource',), "QXmlReader.property": ('str', 'bool'), "QXmlReader.setContentHandler": ('PySide2.QtXml.QXmlContentHandler',), "QXmlReader.setDTDHandler": ('PySide2.QtXml.QXmlDTDHandler',), @@ -13683,7 +13696,7 @@ if "PySide2.QtXmlPatterns" in sys.modules: # class PySide2.QtXmlPatterns.QAbstractXmlReceiver: "QAbstractXmlReceiver.__init__": (), - "QAbstractXmlReceiver.atomicValue": ('PySide2.support.signature.typing.Any',), + "QAbstractXmlReceiver.atomicValue": ('Any',), "QAbstractXmlReceiver.attribute": ('PySide2.QtXmlPatterns.QXmlName', 'str'), "QAbstractXmlReceiver.characters": ('str',), "QAbstractXmlReceiver.comment": ('str',), @@ -13710,7 +13723,7 @@ if "PySide2.QtXmlPatterns" in sys.modules: # class PySide2.QtXmlPatterns.QXmlFormatter: "QXmlFormatter.__init__": ('PySide2.QtXmlPatterns.QXmlQuery', 'PySide2.QtCore.QIODevice'), - "QXmlFormatter.atomicValue": ('PySide2.support.signature.typing.Any',), + "QXmlFormatter.atomicValue": ('Any',), "QXmlFormatter.attribute": ('PySide2.QtXmlPatterns.QXmlName', 'str'), "QXmlFormatter.characters": ('str',), "QXmlFormatter.comment": ('str',), @@ -13725,7 +13738,7 @@ if "PySide2.QtXmlPatterns" in sys.modules: "QXmlFormatter.startOfSequence": (), # class PySide2.QtXmlPatterns.QXmlItem: - "QXmlItem.__init__": [(), ('PySide2.QtXmlPatterns.QXmlItem',), ('PySide2.QtXmlPatterns.QXmlNodeModelIndex',), ('PySide2.support.signature.typing.Any',)], + "QXmlItem.__init__": [(), ('Any',), ('PySide2.QtXmlPatterns.QXmlItem',), ('PySide2.QtXmlPatterns.QXmlNodeModelIndex',)], "QXmlItem.__copy__": (), "QXmlItem.isAtomicValue": (), "QXmlItem.isNode": (), @@ -13778,7 +13791,6 @@ if "PySide2.QtXmlPatterns" in sys.modules: "QXmlResultItems.__init__": (), "QXmlResultItems.current": (), "QXmlResultItems.hasError": (), - "QXmlResultItems.next": (), # class PySide2.QtXmlPatterns.QXmlSchema: "QXmlSchema.__init__": [(), ('PySide2.QtXmlPatterns.QXmlSchema',)], @@ -13804,7 +13816,7 @@ if "PySide2.QtXmlPatterns" in sys.modules: # class PySide2.QtXmlPatterns.QXmlSerializer: "QXmlSerializer.__init__": ('PySide2.QtXmlPatterns.QXmlQuery', 'PySide2.QtCore.QIODevice'), - "QXmlSerializer.atomicValue": ('PySide2.support.signature.typing.Any',), + "QXmlSerializer.atomicValue": ('Any',), "QXmlSerializer.attribute": ('PySide2.QtXmlPatterns.QXmlName', 'str'), "QXmlSerializer.characters": ('str',), "QXmlSerializer.codec": (), @@ -13858,17 +13870,17 @@ if "PySide2.QtHelp" in sys.modules: # class PySide2.QtHelp.QHelpEngineCore: "QHelpEngineCore.__init__": ('str', 'PySide2.QtCore.QObject'), - "QHelpEngineCore.addCustomFilter": ('str', 'PySide2.support.signature.typing.List'), + "QHelpEngineCore.addCustomFilter": ('str', 'List[str]'), "QHelpEngineCore.autoSaveFilter": (), "QHelpEngineCore.collectionFile": (), "QHelpEngineCore.copyCollectionFile": ('str',), "QHelpEngineCore.currentFilter": (), "QHelpEngineCore.customFilters": (), - "QHelpEngineCore.customValue": ('str', 'PySide2.support.signature.typing.Any'), + "QHelpEngineCore.customValue": ('str', 'Any'), "QHelpEngineCore.documentationFileName": ('str',), "QHelpEngineCore.error": (), "QHelpEngineCore.fileData": ('PySide2.QtCore.QUrl',), - "QHelpEngineCore.files": ('str', 'PySide2.support.signature.typing.List', 'str'), + "QHelpEngineCore.files": ('str', 'List[str]', 'str'), "QHelpEngineCore.filterAttributeSets": ('str',), "QHelpEngineCore.filterAttributes": [(), ('str',)], "QHelpEngineCore.findFile": ('PySide2.QtCore.QUrl',), @@ -13883,7 +13895,7 @@ if "PySide2.QtHelp" in sys.modules: "QHelpEngineCore.setAutoSaveFilter": ('bool',), "QHelpEngineCore.setCollectionFile": ('str',), "QHelpEngineCore.setCurrentFilter": ('str',), - "QHelpEngineCore.setCustomValue": ('str', 'PySide2.support.signature.typing.Any'), + "QHelpEngineCore.setCustomValue": ('str', 'Any'), "QHelpEngineCore.setupData": (), "QHelpEngineCore.unregisterDocumentation": ('str',), @@ -13911,9 +13923,10 @@ if "PySide2.QtHelp" in sys.modules: "QHelpSearchEngine.search": [('list',), ('str',)], "QHelpSearchEngine.searchInput": (), "QHelpSearchEngine.searchResultCount": (), + "QHelpSearchEngine.searchResults": ('int', 'int'), # class PySide2.QtHelp.QHelpSearchQuery: - "QHelpSearchQuery.__init__": [(), ('PySide2.QtHelp.QHelpSearchQuery',), ('PySide2.QtHelp.QHelpSearchQuery.FieldName', 'PySide2.support.signature.typing.List')], + "QHelpSearchQuery.__init__": [(), ('PySide2.QtHelp.QHelpSearchQuery',), ('PySide2.QtHelp.QHelpSearchQuery.FieldName', 'List[str]')], "QHelpSearchQuery.__copy__": (), # class PySide2.QtHelp.QHelpSearchQueryWidget: @@ -13929,6 +13942,12 @@ if "PySide2.QtHelp" in sys.modules: "QHelpSearchQueryWidget.setQuery": ('list',), "QHelpSearchQueryWidget.setSearchInput": ('str',), + # class PySide2.QtHelp.QHelpSearchResult: + "QHelpSearchResult.__init__": [(), ('PySide2.QtCore.QUrl', 'str', 'str'), ('PySide2.QtHelp.QHelpSearchResult',)], + "QHelpSearchResult.snippet": (), + "QHelpSearchResult.title": (), + "QHelpSearchResult.url": (), + # class PySide2.QtHelp.QHelpSearchResultWidget: "QHelpSearchResultWidget.changeEvent": ('PySide2.QtCore.QEvent',), "QHelpSearchResultWidget.linkAt": ('PySide2.QtCore.QPoint',), @@ -14033,7 +14052,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QAudioBuffer.__copy__": (), "QAudioBuffer.byteCount": (), "QAudioBuffer.constData": (), - "QAudioBuffer.data": [], + "QAudioBuffer.data": (), "QAudioBuffer.duration": (), "QAudioBuffer.format": (), "QAudioBuffer.frameCount": (), @@ -14048,7 +14067,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QAudioDecoder.bufferAvailable": (), "QAudioDecoder.duration": (), "QAudioDecoder.errorString": (), - "QAudioDecoder.hasSupport": ('str', 'PySide2.support.signature.typing.List'), + "QAudioDecoder.hasSupport": ('str', 'List[str]'), "QAudioDecoder.position": (), "QAudioDecoder.read": (), "QAudioDecoder.setAudioFormat": ('PySide2.QtMultimedia.QAudioFormat',), @@ -14111,7 +14130,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QAudioEncoderSettings.setChannelCount": ('int',), "QAudioEncoderSettings.setCodec": ('str',), "QAudioEncoderSettings.setEncodingMode": ('PySide2.QtMultimedia.QMultimedia.EncodingMode',), - "QAudioEncoderSettings.setEncodingOption": ('str', 'PySide2.support.signature.typing.Any'), + "QAudioEncoderSettings.setEncodingOption": ('str', 'Any'), "QAudioEncoderSettings.setEncodingOptions": ('dict',), "QAudioEncoderSettings.setQuality": ('PySide2.QtMultimedia.QMultimedia.EncodingQuality',), "QAudioEncoderSettings.setSampleRate": ('int',), @@ -14281,7 +14300,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QCameraExposureControl.actualValue": ('PySide2.QtMultimedia.QCameraExposureControl.ExposureParameter',), "QCameraExposureControl.isParameterSupported": ('PySide2.QtMultimedia.QCameraExposureControl.ExposureParameter',), "QCameraExposureControl.requestedValue": ('PySide2.QtMultimedia.QCameraExposureControl.ExposureParameter',), - "QCameraExposureControl.setValue": ('PySide2.QtMultimedia.QCameraExposureControl.ExposureParameter', 'PySide2.support.signature.typing.Any'), + "QCameraExposureControl.setValue": ('PySide2.QtMultimedia.QCameraExposureControl.ExposureParameter', 'Any'), # class PySide2.QtMultimedia.QCameraFocusZone: "QCameraFocusZone.__init__": [(), ('PySide2.QtCore.QRectF', 'PySide2.QtMultimedia.QCameraFocusZone.FocusZoneStatus'), ('PySide2.QtMultimedia.QCameraFocusZone',)], @@ -14323,9 +14342,9 @@ if "PySide2.QtMultimedia" in sys.modules: # class PySide2.QtMultimedia.QCameraImageProcessingControl: "QCameraImageProcessingControl.__init__": ('PySide2.QtCore.QObject',), "QCameraImageProcessingControl.isParameterSupported": ('PySide2.QtMultimedia.QCameraImageProcessingControl.ProcessingParameter',), - "QCameraImageProcessingControl.isParameterValueSupported": ('PySide2.QtMultimedia.QCameraImageProcessingControl.ProcessingParameter', 'PySide2.support.signature.typing.Any'), + "QCameraImageProcessingControl.isParameterValueSupported": ('PySide2.QtMultimedia.QCameraImageProcessingControl.ProcessingParameter', 'Any'), "QCameraImageProcessingControl.parameter": ('PySide2.QtMultimedia.QCameraImageProcessingControl.ProcessingParameter',), - "QCameraImageProcessingControl.setParameter": ('PySide2.QtMultimedia.QCameraImageProcessingControl.ProcessingParameter', 'PySide2.support.signature.typing.Any'), + "QCameraImageProcessingControl.setParameter": ('PySide2.QtMultimedia.QCameraImageProcessingControl.ProcessingParameter', 'Any'), # class PySide2.QtMultimedia.QCameraInfo: "QCameraInfo.__init__": [('PySide2.QtCore.QByteArray',), ('PySide2.QtMultimedia.QCamera',), ('PySide2.QtMultimedia.QCameraInfo',)], @@ -14369,7 +14388,7 @@ if "PySide2.QtMultimedia" in sys.modules: # class PySide2.QtMultimedia.QCameraViewfinderSettingsControl: "QCameraViewfinderSettingsControl.__init__": ('PySide2.QtCore.QObject',), "QCameraViewfinderSettingsControl.isViewfinderParameterSupported": ('PySide2.QtMultimedia.QCameraViewfinderSettingsControl.ViewfinderParameter',), - "QCameraViewfinderSettingsControl.setViewfinderParameter": ('PySide2.QtMultimedia.QCameraViewfinderSettingsControl.ViewfinderParameter', 'PySide2.support.signature.typing.Any'), + "QCameraViewfinderSettingsControl.setViewfinderParameter": ('PySide2.QtMultimedia.QCameraViewfinderSettingsControl.ViewfinderParameter', 'Any'), "QCameraViewfinderSettingsControl.viewfinderParameter": ('PySide2.QtMultimedia.QCameraViewfinderSettingsControl.ViewfinderParameter',), # class PySide2.QtMultimedia.QCameraViewfinderSettingsControl2: @@ -14405,7 +14424,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QImageEncoderSettings.quality": (), "QImageEncoderSettings.resolution": (), "QImageEncoderSettings.setCodec": ('str',), - "QImageEncoderSettings.setEncodingOption": ('str', 'PySide2.support.signature.typing.Any'), + "QImageEncoderSettings.setEncodingOption": ('str', 'Any'), "QImageEncoderSettings.setEncodingOptions": ('dict',), "QImageEncoderSettings.setQuality": ('PySide2.QtMultimedia.QMultimedia.EncodingQuality',), "QImageEncoderSettings.setResolution": [('PySide2.QtCore.QSize',), ('int', 'int')], @@ -14478,7 +14497,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QMediaPlayer.currentNetworkConfiguration": (), "QMediaPlayer.duration": (), "QMediaPlayer.errorString": (), - "QMediaPlayer.hasSupport": ('str', 'PySide2.support.signature.typing.List', 'Flags'), + "QMediaPlayer.hasSupport": ('str', 'List[str]', 'Flags'), "QMediaPlayer.isAudioAvailable": (), "QMediaPlayer.isMuted": (), "QMediaPlayer.isSeekable": (), @@ -14548,7 +14567,6 @@ if "PySide2.QtMultimedia" in sys.modules: "QMediaPlaylist.mediaCount": (), "QMediaPlaylist.mediaObject": (), "QMediaPlaylist.moveMedia": ('int', 'int'), - "QMediaPlaylist.next": (), "QMediaPlaylist.nextIndex": ('int',), "QMediaPlaylist.playbackMode": (), "QMediaPlaylist.previous": (), @@ -14584,7 +14602,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QMediaRecorder.setContainerFormat": ('str',), "QMediaRecorder.setEncodingSettings": ('PySide2.QtMultimedia.QAudioEncoderSettings', 'PySide2.QtMultimedia.QVideoEncoderSettings', 'str'), "QMediaRecorder.setMediaObject": ('PySide2.QtMultimedia.QMediaObject',), - "QMediaRecorder.setMetaData": ('str', 'PySide2.support.signature.typing.Any'), + "QMediaRecorder.setMetaData": ('str', 'Any'), "QMediaRecorder.setMuted": ('bool',), "QMediaRecorder.setOutputLocation": ('PySide2.QtCore.QUrl',), "QMediaRecorder.setVideoSettings": ('PySide2.QtMultimedia.QVideoEncoderSettings',), @@ -14792,7 +14810,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QVideoEncoderSettings.setBitRate": ('int',), "QVideoEncoderSettings.setCodec": ('str',), "QVideoEncoderSettings.setEncodingMode": ('PySide2.QtMultimedia.QMultimedia.EncodingMode',), - "QVideoEncoderSettings.setEncodingOption": ('str', 'PySide2.support.signature.typing.Any'), + "QVideoEncoderSettings.setEncodingOption": ('str', 'Any'), "QVideoEncoderSettings.setEncodingOptions": ('dict',), "QVideoEncoderSettings.setFrameRate": ('float',), "QVideoEncoderSettings.setQuality": ('PySide2.QtMultimedia.QMultimedia.EncodingQuality',), @@ -14813,7 +14831,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QVideoFrame.__init__": [(), ('PySide2.QtGui.QImage',), ('PySide2.QtMultimedia.QAbstractVideoBuffer', 'PySide2.QtCore.QSize', 'PySide2.QtMultimedia.QVideoFrame.PixelFormat'), ('PySide2.QtMultimedia.QVideoFrame',), ('int', 'PySide2.QtCore.QSize', 'int', 'PySide2.QtMultimedia.QVideoFrame.PixelFormat')], "QVideoFrame.__copy__": (), "QVideoFrame.availableMetaData": (), - "QVideoFrame.bits": [], + "QVideoFrame.bits": (), "QVideoFrame.bytesPerLine": [(), ('int',)], "QVideoFrame.endTime": (), "QVideoFrame.fieldType": (), @@ -14834,7 +14852,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QVideoFrame.planeCount": (), "QVideoFrame.setEndTime": ('int',), "QVideoFrame.setFieldType": ('PySide2.QtMultimedia.QVideoFrame.FieldType',), - "QVideoFrame.setMetaData": ('str', 'PySide2.support.signature.typing.Any'), + "QVideoFrame.setMetaData": ('str', 'Any'), "QVideoFrame.setStartTime": ('int',), "QVideoFrame.size": (), "QVideoFrame.startTime": (), @@ -14868,7 +14886,7 @@ if "PySide2.QtMultimedia" in sys.modules: "QVideoSurfaceFormat.setFrameRate": ('float',), "QVideoSurfaceFormat.setFrameSize": [('PySide2.QtCore.QSize',), ('int', 'int')], "QVideoSurfaceFormat.setPixelAspectRatio": [('PySide2.QtCore.QSize',), ('int', 'int')], - "QVideoSurfaceFormat.setProperty": ('str', 'PySide2.support.signature.typing.Any'), + "QVideoSurfaceFormat.setProperty": ('str', 'Any'), "QVideoSurfaceFormat.setScanLineDirection": ('PySide2.QtMultimedia.QVideoSurfaceFormat.Direction',), "QVideoSurfaceFormat.setViewport": ('PySide2.QtCore.QRect',), "QVideoSurfaceFormat.setYCbCrColorSpace": ('PySide2.QtMultimedia.QVideoSurfaceFormat.YCbCrColorSpace',), @@ -14911,7 +14929,7 @@ if "PySide2.QtMultimediaWidgets" in sys.modules: "QGraphicsVideoItem.__init__": ('PySide2.QtWidgets.QGraphicsItem',), "QGraphicsVideoItem.aspectRatioMode": (), "QGraphicsVideoItem.boundingRect": (), - "QGraphicsVideoItem.itemChange": ('PySide2.QtWidgets.QGraphicsItem.GraphicsItemChange', 'PySide2.support.signature.typing.Any'), + "QGraphicsVideoItem.itemChange": ('PySide2.QtWidgets.QGraphicsItem.GraphicsItemChange', 'Any'), "QGraphicsVideoItem.mediaObject": (), "QGraphicsVideoItem.nativeSize": (), "QGraphicsVideoItem.offset": (), @@ -15268,7 +15286,7 @@ if "PySide2.QtQml" in sys.modules: "QJSEngine.newObject": (), "QJSEngine.newQMetaObject": ('PySide2.QtCore.QMetaObject',), "QJSEngine.newQObject": ('PySide2.QtCore.QObject',), - "QJSEngine.toScriptValue": ('PySide2.support.signature.typing.Any',), + "QJSEngine.toScriptValue": ('Any',), # class PySide2.QtQml.QJSValue: "QJSValue.__init__": [('PySide2.QtQml.QJSValue',), ('PySide2.QtQml.QJSValue.SpecialValue',), ('bool',), ('float',), ('int',), ('str',)], @@ -15314,7 +15332,6 @@ if "PySide2.QtQml" in sys.modules: "QJSValueIterator.__init__": ('PySide2.QtQml.QJSValue',), "QJSValueIterator.hasNext": (), "QJSValueIterator.name": (), - "QJSValueIterator.next": (), "QJSValueIterator.value": (), # class PySide2.QtQml.QQmlAbstractUrlInterceptor: @@ -15325,7 +15342,7 @@ if "PySide2.QtQml" in sys.modules: "QQmlApplicationEngine.__init__": [('PySide2.QtCore.QObject',), ('PySide2.QtCore.QUrl', 'PySide2.QtCore.QObject'), ('str', 'PySide2.QtCore.QObject')], "QQmlApplicationEngine.load": [('PySide2.QtCore.QUrl',), ('str',)], "QQmlApplicationEngine.loadData": ('PySide2.QtCore.QByteArray', 'PySide2.QtCore.QUrl'), - "QQmlApplicationEngine.rootObjects": [], + "QQmlApplicationEngine.rootObjects": (), # class PySide2.QtQml.QQmlComponent: "QQmlComponent.__init__": [('PySide2.QtCore.QObject',), ('PySide2.QtQml.QQmlEngine', 'PySide2.QtCore.QObject'), ('PySide2.QtQml.QQmlEngine', 'PySide2.QtCore.QUrl', 'PySide2.QtCore.QObject'), ('PySide2.QtQml.QQmlEngine', 'PySide2.QtCore.QUrl', 'PySide2.QtQml.QQmlComponent.CompilationMode', 'PySide2.QtCore.QObject'), ('PySide2.QtQml.QQmlEngine', 'str', 'PySide2.QtCore.QObject'), ('PySide2.QtQml.QQmlEngine', 'str', 'PySide2.QtQml.QQmlComponent.CompilationMode', 'PySide2.QtCore.QObject')], @@ -15357,7 +15374,7 @@ if "PySide2.QtQml" in sys.modules: "QQmlContext.resolvedUrl": ('PySide2.QtCore.QUrl',), "QQmlContext.setBaseUrl": ('PySide2.QtCore.QUrl',), "QQmlContext.setContextObject": ('PySide2.QtCore.QObject',), - "QQmlContext.setContextProperty": [('str', 'PySide2.QtCore.QObject'), ('str', 'PySide2.support.signature.typing.Any')], + "QQmlContext.setContextProperty": [('str', 'Any'), ('str', 'PySide2.QtCore.QObject')], # class PySide2.QtQml.QQmlDebuggingEnabler: "QQmlDebuggingEnabler.__init__": ('bool',), @@ -15366,7 +15383,7 @@ if "PySide2.QtQml" in sys.modules: "QQmlDebuggingEnabler.inspectorServices": (), "QQmlDebuggingEnabler.nativeDebuggerServices": (), "QQmlDebuggingEnabler.profilerServices": (), - "QQmlDebuggingEnabler.setServices": ('PySide2.support.signature.typing.List',), + "QQmlDebuggingEnabler.setServices": ('List[str]',), "QQmlDebuggingEnabler.startDebugConnector": ('str', 'dict'), "QQmlDebuggingEnabler.startTcpDebugServer": ('int', 'PySide2.QtQml.QQmlDebuggingEnabler.StartMode', 'str'), @@ -15395,13 +15412,13 @@ if "PySide2.QtQml" in sys.modules: "QQmlEngine.rootContext": (), "QQmlEngine.setBaseUrl": ('PySide2.QtCore.QUrl',), "QQmlEngine.setContextForObject": ('PySide2.QtCore.QObject', 'PySide2.QtQml.QQmlContext'), - "QQmlEngine.setImportPathList": ('PySide2.support.signature.typing.List',), + "QQmlEngine.setImportPathList": ('List[str]',), "QQmlEngine.setIncubationController": ('PySide2.QtQml.QQmlIncubationController',), "QQmlEngine.setNetworkAccessManagerFactory": ('PySide2.QtQml.QQmlNetworkAccessManagerFactory',), "QQmlEngine.setObjectOwnership": ('PySide2.QtCore.QObject', 'PySide2.QtQml.QQmlEngine.ObjectOwnership'), "QQmlEngine.setOfflineStoragePath": ('str',), "QQmlEngine.setOutputWarningsToStandardError": ('bool',), - "QQmlEngine.setPluginPathList": ('PySide2.support.signature.typing.List',), + "QQmlEngine.setPluginPathList": ('List[str]',), "QQmlEngine.setUrlInterceptor": ('PySide2.QtQml.QQmlAbstractUrlInterceptor',), "QQmlEngine.trimComponentCache": (), "QQmlEngine.urlInterceptor": (), @@ -15476,7 +15493,7 @@ if "PySide2.QtQml" in sys.modules: "QQmlFileSelector.__init__": ('PySide2.QtQml.QQmlEngine', 'PySide2.QtCore.QObject'), "QQmlFileSelector.get": ('PySide2.QtQml.QQmlEngine',), "QQmlFileSelector.selector": (), - "QQmlFileSelector.setExtraSelectors": ['PySide2.support.signature.typing.List'], + "QQmlFileSelector.setExtraSelectors": ('List[str]',), "QQmlFileSelector.setSelector": ('PySide2.QtCore.QFileSelector',), # class PySide2.QtQml.QQmlImageProviderBase: @@ -15555,18 +15572,18 @@ if "PySide2.QtQml" in sys.modules: "QQmlProperty.read": [(), ('PySide2.QtCore.QObject', 'str'), ('PySide2.QtCore.QObject', 'str', 'PySide2.QtQml.QQmlContext'), ('PySide2.QtCore.QObject', 'str', 'PySide2.QtQml.QQmlEngine')], "QQmlProperty.reset": (), "QQmlProperty.type": (), - "QQmlProperty.write": [('PySide2.QtCore.QObject', 'str', 'PySide2.support.signature.typing.Any'), ('PySide2.QtCore.QObject', 'str', 'PySide2.support.signature.typing.Any', 'PySide2.QtQml.QQmlContext'), ('PySide2.QtCore.QObject', 'str', 'PySide2.support.signature.typing.Any', 'PySide2.QtQml.QQmlEngine'), ('PySide2.support.signature.typing.Any',)], + "QQmlProperty.write": [('Any',), ('PySide2.QtCore.QObject', 'str', 'Any'), ('PySide2.QtCore.QObject', 'str', 'Any', 'PySide2.QtQml.QQmlContext'), ('PySide2.QtCore.QObject', 'str', 'Any', 'PySide2.QtQml.QQmlEngine')], # class PySide2.QtQml.QQmlPropertyMap: "QQmlPropertyMap.__init__": ('PySide2.QtCore.QObject',), "QQmlPropertyMap.clear": ('str',), "QQmlPropertyMap.contains": ('str',), "QQmlPropertyMap.count": (), - "QQmlPropertyMap.insert": ('str', 'PySide2.support.signature.typing.Any'), + "QQmlPropertyMap.insert": ('str', 'Any'), "QQmlPropertyMap.isEmpty": (), "QQmlPropertyMap.keys": (), "QQmlPropertyMap.size": (), - "QQmlPropertyMap.updateValue": ('str', 'PySide2.support.signature.typing.Any'), + "QQmlPropertyMap.updateValue": ('str', 'Any'), "QQmlPropertyMap.value": ('str',), # class PySide2.QtQml.QQmlPropertyValueSource: @@ -15768,7 +15785,7 @@ if "PySide2.QtQuick" in sys.modules: # class PySide2.QtQuick.QQuickItemGrabResult: "QQuickItemGrabResult.event": ('PySide2.QtCore.QEvent',), "QQuickItemGrabResult.image": (), - "QQuickItemGrabResult.saveToFile": ['str'], + "QQuickItemGrabResult.saveToFile": ('str',), "QQuickItemGrabResult.url": (), # class PySide2.QtQuick.QQuickPaintedItem: @@ -15923,7 +15940,7 @@ if "PySide2.QtQuick" in sys.modules: # class PySide2.QtQuick.QSGBasicGeometryNode: "QSGBasicGeometryNode.__init__": ('PySide2.QtQuick.QSGNode.NodeType',), "QSGBasicGeometryNode.clipList": (), - "QSGBasicGeometryNode.geometry": [], + "QSGBasicGeometryNode.geometry": (), "QSGBasicGeometryNode.matrix": (), "QSGBasicGeometryNode.setGeometry": ('PySide2.QtQuick.QSGGeometry',), "QSGBasicGeometryNode.setRendererClipList": ('PySide2.QtQuick.QSGClipNode',), @@ -15958,9 +15975,9 @@ if "PySide2.QtQuick" in sys.modules: "QSGGeometry.defaultAttributes_TexturedPoint2D": (), "QSGGeometry.drawingMode": (), "QSGGeometry.indexCount": (), - "QSGGeometry.indexData": [], - "QSGGeometry.indexDataAsUInt": [], - "QSGGeometry.indexDataAsUShort": [], + "QSGGeometry.indexData": (), + "QSGGeometry.indexDataAsUInt": (), + "QSGGeometry.indexDataAsUShort": (), "QSGGeometry.indexDataPattern": (), "QSGGeometry.indexType": (), "QSGGeometry.lineWidth": (), @@ -15976,10 +15993,10 @@ if "PySide2.QtQuick" in sys.modules: "QSGGeometry.updateRectGeometry": ('PySide2.QtQuick.QSGGeometry', 'PySide2.QtCore.QRectF'), "QSGGeometry.updateTexturedRectGeometry": ('PySide2.QtQuick.QSGGeometry', 'PySide2.QtCore.QRectF', 'PySide2.QtCore.QRectF'), "QSGGeometry.vertexCount": (), - "QSGGeometry.vertexData": [], - "QSGGeometry.vertexDataAsColoredPoint2D": [], - "QSGGeometry.vertexDataAsPoint2D": [], - "QSGGeometry.vertexDataAsTexturedPoint2D": [], + "QSGGeometry.vertexData": (), + "QSGGeometry.vertexDataAsColoredPoint2D": (), + "QSGGeometry.vertexDataAsPoint2D": (), + "QSGGeometry.vertexDataAsTexturedPoint2D": (), "QSGGeometry.vertexDataPattern": (), # class PySide2.QtQuick.QSGGeometryNode: @@ -16160,7 +16177,7 @@ if "PySide2.QtTextToSpeech" in sys.modules: "QTextToSpeechEngine.__init__": ('PySide2.QtCore.QObject',), "QTextToSpeechEngine.availableLocales": (), "QTextToSpeechEngine.availableVoices": (), - "QTextToSpeechEngine.createVoice": ('str', 'PySide2.QtTextToSpeech.QVoice.Gender', 'PySide2.QtTextToSpeech.QVoice.Age', 'PySide2.support.signature.typing.Any'), + "QTextToSpeechEngine.createVoice": ('str', 'PySide2.QtTextToSpeech.QVoice.Gender', 'PySide2.QtTextToSpeech.QVoice.Age', 'Any'), "QTextToSpeechEngine.locale": (), "QTextToSpeechEngine.pause": (), "QTextToSpeechEngine.pitch": (), @@ -16265,7 +16282,7 @@ if "PySide2.QtDataVisualization" in sys.modules: dict.update({ # class PySide2.QtDataVisualization.QtDataVisualization: - "QtDataVisualization.qDefaultSurfaceFormat": ['bool'], + "QtDataVisualization.qDefaultSurfaceFormat": ('bool',), }) # Module PySide2.QtUiTools @@ -16299,7 +16316,7 @@ if "PySide2.QtAxContainer" in sys.modules: dict.update({ # class PySide2.QtAxContainer.QAxBase: - "QAxBase.argumentsToList": ('PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any'), + "QAxBase.argumentsToList": ('Any', 'Any', 'Any', 'Any', 'Any', 'Any', 'Any', 'Any'), "QAxBase.asVariant": (), "QAxBase.className": (), "QAxBase.clear": (), @@ -16307,7 +16324,7 @@ if "PySide2.QtAxContainer" in sys.modules: "QAxBase.disableClassInfo": (), "QAxBase.disableEventSink": (), "QAxBase.disableMetaObject": (), - "QAxBase.dynamicCall": [('str', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any'), ('str', 'list'), ('str', 'list', 'int')], + "QAxBase.dynamicCall": [('str', 'Any', 'Any', 'Any', 'Any', 'Any', 'Any', 'Any', 'Any'), ('str', 'list'), ('str', 'list', 'int')], "QAxBase.fallbackMetaObject": (), "QAxBase.generateDocumentation": (), "QAxBase.indexOfVerb": ('str',), @@ -16317,7 +16334,7 @@ if "PySide2.QtAxContainer" in sys.modules: "QAxBase.propertyBag": (), "QAxBase.propertyWritable": ('str',), "QAxBase.qObject": (), - "QAxBase.querySubObject": [('str', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any'), ('str', 'list')], + "QAxBase.querySubObject": [('str', 'Any', 'Any', 'Any', 'Any', 'Any', 'Any', 'Any', 'Any'), ('str', 'list')], "QAxBase.setControl": ('str',), "QAxBase.setPropertyBag": ('dict',), "QAxBase.setPropertyWritable": ('str', 'bool'), @@ -16332,7 +16349,7 @@ if "PySide2.QtAxContainer" in sys.modules: # class PySide2.QtAxContainer.QAxScript: "QAxScript.__init__": ('str', 'PySide2.QtAxContainer.QAxScriptManager'), - "QAxScript.call": [('str', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any'), ('str', 'list')], + "QAxScript.call": [('str', 'Any', 'Any', 'Any', 'Any', 'Any', 'Any', 'Any', 'Any'), ('str', 'list')], "QAxScript.functions": ('PySide2.QtAxContainer.QAxScript.FunctionFlags',), "QAxScript.load": ('str', 'str'), "QAxScript.scriptCode": (), @@ -16349,7 +16366,7 @@ if "PySide2.QtAxContainer" in sys.modules: # class PySide2.QtAxContainer.QAxScriptManager: "QAxScriptManager.__init__": ('PySide2.QtCore.QObject',), "QAxScriptManager.addObject": ('PySide2.QtAxContainer.QAxBase',), - "QAxScriptManager.call": [('str', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any', 'PySide2.support.signature.typing.Any'), ('str', 'list')], + "QAxScriptManager.call": [('str', 'Any', 'Any', 'Any', 'Any', 'Any', 'Any', 'Any', 'Any'), ('str', 'list')], "QAxScriptManager.functions": ('PySide2.QtAxContainer.QAxScript.FunctionFlags',), "QAxScriptManager.load": [('str', 'str'), ('str', 'str', 'str')], "QAxScriptManager.registerEngine": ('str', 'str', 'str'), @@ -16437,7 +16454,7 @@ if "PySide2.QtWebEngineWidgets" in sys.modules: "QWebEnginePage.action": ('PySide2.QtWebEngineWidgets.QWebEnginePage.WebAction',), "QWebEnginePage.backgroundColor": (), "QWebEnginePage.certificateError": ('PySide2.QtWebEngineWidgets.QWebEngineCertificateError',), - "QWebEnginePage.chooseFiles": ('PySide2.QtWebEngineWidgets.QWebEnginePage.FileSelectionMode', 'PySide2.support.signature.typing.List', 'PySide2.support.signature.typing.List'), + "QWebEnginePage.chooseFiles": ('PySide2.QtWebEngineWidgets.QWebEnginePage.FileSelectionMode', 'List[str]', 'List[str]'), "QWebEnginePage.contentsSize": (), "QWebEnginePage.createStandardContextMenu": (), "QWebEnginePage.createWindow": ('PySide2.QtWebEngineWidgets.QWebEnginePage.WebWindowType',), @@ -16500,7 +16517,7 @@ if "PySide2.QtWebEngineWidgets" in sys.modules: "QWebEngineProfile.setPersistentCookiesPolicy": ('PySide2.QtWebEngineWidgets.QWebEngineProfile.PersistentCookiesPolicy',), "QWebEngineProfile.setPersistentStoragePath": ('str',), "QWebEngineProfile.setSpellCheckEnabled": ('bool',), - "QWebEngineProfile.setSpellCheckLanguages": ('PySide2.support.signature.typing.List',), + "QWebEngineProfile.setSpellCheckLanguages": ('List[str]',), "QWebEngineProfile.spellCheckLanguages": (), "QWebEngineProfile.storageName": (), "QWebEngineProfile.visitedLinksContainsUrl": ('PySide2.QtCore.QUrl',), diff --git a/sources/pyside2/tests/registry/init_platform.py b/sources/pyside2/tests/registry/init_platform.py index a8e692d98..1ff83f47e 100644 --- a/sources/pyside2/tests/registry/init_platform.py +++ b/sources/pyside2/tests/registry/init_platform.py @@ -1,6 +1,6 @@ ############################################################################# ## -## Copyright (C) 2017 The Qt Company Ltd. +## Copyright (C) 2018 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of PySide2. diff --git a/sources/pyside2/tests/signals/signal_signature_test.py b/sources/pyside2/tests/signals/signal_signature_test.py index 349619aac..e94c1722d 100644 --- a/sources/pyside2/tests/signals/signal_signature_test.py +++ b/sources/pyside2/tests/signals/signal_signature_test.py @@ -34,7 +34,11 @@ import unittest from PySide2.QtCore import * from helper import UsesQCoreApplication +called = False +name = "Old" class Obj(QObject): + dummySignalArgs = Signal(str) + numberSignal = Signal(int) def __init__(self): QObject.__init__(self) self.signal = '' @@ -42,8 +46,20 @@ class Obj(QObject): def connectNotify(self, signal): self.signal = signal + @staticmethod + def static_method(): + global called + called = True + + @staticmethod + def static_method_args(arg="default"): + global name + name = arg + def callback(arg=None): pass +def callback_empty(): + pass class TestConnectNotifyWithNewStyleSignals(UsesQCoreApplication): '''Test case for signal signature received by QObject::connectNotify().''' @@ -65,12 +81,34 @@ class TestConnectNotifyWithNewStyleSignals(UsesQCoreApplication): def testNewStyle(self): sender = Obj() - sender.destroyed.connect(callback) + sender.destroyed.connect(callback_empty) self.assertEqual(sender.signal.methodSignature(), 'destroyed()') sender.destroyed[QObject].connect(callback) self.assertEqual(sender.signal.methodSignature(), 'destroyed(QObject*)') + def testStaticSlot(self): + global called + sender = Obj() + sender.connect(sender, SIGNAL("dummySignal()"), Obj.static_method) + sender.emit(SIGNAL("dummySignal()")) + self.assertTrue(called) + + + def testStaticSlotArgs(self): + global name + sender = Obj() + sender.dummySignalArgs.connect(Obj.static_method_args) + sender.dummySignalArgs[str].emit("New") + self.assertEqual(name, "New") + + def testLambdaSlot(self): + sender = Obj() + sender.numberSignal[int].connect(lambda x: 42) + with self.assertRaises(IndexError): + sender.numberSignal[str].emit("test") + + if __name__ == '__main__': unittest.main() |