Details
-
Bug
-
Resolution: Fixed
-
P4: Low
-
6.3.0, 6.3.1, 6.3.2, 6.4.0, 6.4.1, 6.4.0.1, 6.5.0, 6.5.1, 6.4.2, 6.4.3, 6.5.1.1
-
None
-
c53b45868 (dev), eaa57f89e (6.5), 65e48138e (dev), 942768a87 (dev), dde6245d5 (dev), 0c4a5d249 (dev), 3320bd181 (6.5)
Description
The signature of QWizardPage.registerField in QtWidgets.pyi is
def registerField(self, name: str, widget: PySide6.QtWidgets.QWidget, property: Optional[bytes] = ..., changedSignal: Optional[bytes] = ...) -> None
However, the function accepts
def registerField(self, name: str, widget: PySide6.QtWidgets.QWidget, property: Optional[str] = ..., changedSignal: Optional[str] = ...) -> None
And why is changedSignal a string at all? QTBUG-44276 is 8.424 years old. In PyQt5/6, QWizardPage.registerField accepts a SignalInstance there just fine.
Attachments
Issue Links
- relates to
-
QTBUG-44276 QWizard::registerField missing new signal slot syntax
- Reported