From 8a81368ef19df71665a092b9c25a5ea8be3eb09d Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 1 Jan 2021 14:49:44 +0100 Subject: PySide6: Remove misleading doc snippets about QSpinBox signals The doc snippets were apparently meant to demonstrate how to disambiguate overloaded signals by specifying the type in angular brackets. It no longer applies since the signals were disambiguated in Qt 6. Change-Id: Ie696a40a07319118555fcbf1b092f761dd07befa Reviewed-by: Christian Tismer (cherry picked from commit 2de27981d6bf21783da56f62a1458227aa793104) Reviewed-by: Qt Cherry-pick Bot --- .../QtWidgets/typesystem_widgets_common.xml | 31 +--------------------- 1 file changed, 1 insertion(+), 30 deletions(-) (limited to 'sources') diff --git a/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml b/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml index dd88fd4c9..7204fed89 100644 --- a/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml +++ b/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml @@ -2627,36 +2627,7 @@ - - - -:: - - def callback_int(value_as_int): - print 'int value changed:', repr(value_as_int) - - app = QApplication(sys.argv) - spinbox = QSpinBox() - spinbox.valueChanged[unicode].connect(callback_unicode) - spinbox.show() - sys.exit(app.exec_()) - - - - -:: - - def callback_unicode(value_as_unicode): - print 'unicode value changed:', repr(value_as_unicode) - - app = QApplication(sys.argv) - spinbox = QSpinBox() - spinbox.valueChanged[unicode].connect(callback_unicode) - spinbox.show() - sys.exit(app.exec_()) - - - + -- cgit v1.2.3