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

GridView and transitions not working

$
0
0
I now understand why, in the QML, writing in the grid delegate: onClicked: myProperty = newValue does not work: it’s because myProperty, exposed to QML, is actually a role, not the real property…that’s why I should explicitly use the setter for that property. I’ll see if I can do anything with the Qt::EditRole token… Edit: I have overridden QAbstractListIModel::setData with my own implementation and… voilà! Everything working like a charme! There had to be a way ;)

Viewing all articles
Browse latest Browse all 4972

Latest Images

Trending Articles



Latest Images