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

Talking to Items inside a Component loaded with Loader / QtQuick 2.0

$
0
0
Ah wait, so this component is loaded into a Loader! That’s probably an overkill (it would work without the loader just fine). In order to get to the belly of a Loader, you need to acces it through item property. Here’s a snippet: Loader {  id: loader  source: "whatever.qml" }   // somewhere else in code (JS. C++ would work, too): loader.item.color = "#12ff87"; Hope I finally understand your code now :P

Viewing all articles
Browse latest Browse all 4972

Trending Articles