On 06/12/2010, at 10:09 AM, ext Bartosh Wroblevksy wrote: > Thanks, but I was hoping I can do something like this: > > //Example Button Component > Item { > id: rootElement > signal clicked(MouseEvent mouse) > > ... > > MouseArea { > anchors.fill: parent > onClicked: { > rootElement.clicked( mouse ); > } > } > } >
Using a "variant" type instead of "MouseEvent" seems to do the trick. _______________________________________________ Qt-qml mailing list Qt-qml@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-qml