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

Trying to access properties inside a dynamically created qml component [ Solved]

$
0
0
Thanks for the hint. I didnt realize that you could access the internal members (of the dynamic qml component) without referring to an id. Your currentAppForm.text doesnt bother about the actual id of the textfield. In my actual code the controls are wrapped in a column and I was trying (unsuccessfully) by using its id to access the stuff that was parented by the column. But all these ids are unknown to the outside. I have solved it by creating a string property that contains the values of the internal controls. This property can be accessed without using id’s.

Viewing all articles
Browse latest Browse all 4972

Latest Images

Trending Articles



Latest Images