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 672 - Cannot emit signal with QtCore.QEvent as argument
: Cannot emit signal with QtCore.QEvent as argument
Status: CLOSED DUPLICATE of bug 657
Product: PySide
Classification: Unclassified
Component: PySide
: 1.0.0 beta5
: All All
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-02-08 12:46 EET by Patrick Hartling
Modified: 2011-02-17 19:19 EET (History)
8 users (show)

See Also:


Attachments
Example program demonstrating the error (698 bytes, text/x-python-script)
2011-02-08 13:23 EET, Patrick Hartling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Hartling 2011-02-08 12:46:41 EET
When trying to emit a signal from an event filter that takes as an argument the
QtCore.QEvent received by the event filter method override, the following error
occurs:

TypeError: Unknown type used to emit a signal: QEvent*

The attached program demonstrates the problem. Run the program and click inside
the window to see the following error:

Traceback (most recent call last):
  File "event_error.py", line 15, in eventFilter
    self.mouseButtonPressed.emit(event)
TypeError: Unknown type used to emit a signal: QEvent*
Comment 1 renato filho 2011-02-08 13:13:21 EET
could you provide a small example of code?
Comment 2 Patrick Hartling 2011-02-08 13:23:43 EET
Created attachment 255 [details]
Example program demonstrating the error

Here is the file that I meant to attach when I created the bug.
Comment 3 renato filho 2011-02-08 13:30:51 EET
Nice, I checked you example and this is related with bug #657, and this was
fixed yesterday.


Thanks

*** This bug has been marked as a duplicate of bug 657 ***
Comment 4 Hugo Parente Lima 2011-02-17 19:19:07 EET
Closing bug due to 1.0.0~rc1 release.