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

C++/QML architecture - a way to reproduce C++ structure in QML ?

$
0
0
Hello, I am not sure what exactly you are trying to do but you can take a look the code of my project: https://github.com/strahlex/QtQuickVcp I parse the children of my QtQuickItem recursively and check for the type. (https://github.com/strahlex/QtQuickVcp/blob/master/hal/qcomponent.cpp#L296) This way you can modify the Items directly from C++. You can also take a look at how I created new QML Items from C++ and how I let them interact in QML. Regards Alexander

Viewing all articles
Browse latest Browse all 4972

Trending Articles