PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 324 - Provide []-style signature for signals without overload
: Provide []-style signature for signals without overload
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: All All
: P5 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-08-28 16:16 EEST by Lauro Moura
Modified: 2010-09-10 19:21 EEST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lauro Moura 2010-08-28 16:16:55 EEST
Signals without overload should be able to be accessed by using the [argtype]
notation.

Example: QPushButton::toggled(bool).

>>> button = QPushButton()
>>> button.toggled
<Signal object at 0x14701c0>
>>> button.toggled[bool]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
IndexError: Signature toggled(object) not found for signal: toggled
Comment 1 renato filho 2010-08-31 11:50:57 EEST
fixed on PySide commit:

commit b9bf521a93785ccd935cc4ce1464cb612c4fdbfe
Author: Renato Filho <renato.filho@openbossa.org>
Date:   Tue Aug 31 10:59:04 2010 -0300