Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Component as parameter of a signal or function

$
0
0
How can I pass my own Component as a parameter in a signal or a function? or how can I define my own type that can be recognized by QtQuick? This is MyItem.qml: import QtQuick 1.0   Item{  property int index  property int type  property string text } and this is my signal signature: signal sendData(MyItem myItem) I have tried, but it doesn’t works Thanks

Viewing all articles
Browse latest Browse all 4972

Trending Articles