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 1000 - Can't reference signal argument name from Qml slot
: Can't reference signal argument name from Qml slot
Status: NEW
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: PC Linux
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-09-03 01:55 EEST by Lauro Moura
Modified: 2012-03-08 16:57 EET (History)
9 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 2011-09-03 01:55:42 EEST

    
Comment 1 Lauro Moura 2011-09-03 02:05:11 EEST
1000th bug :D

When listening to PySide signals using the QML element Connections, I cannot
access the signal argument using its name as I would access from a C++ signal.

This bug could be renamed "PySide signals does not have argument name
metadata". Probably PSEP changes will be needed.


Ex:

PySide:
    nameAdded = Signal(newName=str)
    ....

QML:
    Connections { onNameAdded { console.log("New name:" + newName } }

The message should appear with the signal argument. Instead I get the following
QML error: "ReferenceError: Can't find variable: newName"
Comment 2 Matti Airas 2012-03-08 16:57:26 EET
PySide is now a Qt-addon and uses Qt Project's JIRA tool for tracking bugs.
Please verify that the bug is still valid and re-submit it in the address
below:

https://bugreports.qt-project.org/

Sorry for the inconvenience!