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
↧