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

QML: How to delete/access an object created with Qt.createQmlObject?

$
0
0
it is not created as id, but as objectName. I am saying that the objectName should be the id of button read from XML as follows: <Group caption="Controls">                                 <Button caption="Start/Stop Measurement" id="acquisitionButton" />                                 <Button caption="Reconstruct" id="reconstructionButton" />                                 <Button caption="Rotate Camera View" id="rotateViewButton" />                         </Group> I read this with a model, then generate the buttons. The id is cruicial to connect with software from other machines. It has to be there. Do you suggest another objectName or ????

Viewing all articles
Browse latest Browse all 4972

Trending Articles