javascript - Assigning an ID to a dynamically loaded Qt element -


How can I assign an ID to a dynamicly filled QT element, I tried it,

  var Component1 = Qt.createComponent ("Column.qml"); Var g = Component1.createObject (column1, {"anchors.left": column1 .right, "id" = xxxx});  

and

  g.id = xxxx;  

Both do not work whether there is any other way to set an ID to a dynamically loaded element.


Comments

Popular posts from this blog

Folder list php -

GO: Serve static pages -

python - Why can't I destroy my StaticText in wxPython? -