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

java - org.apache.http.ProtocolException: Target host is not specified -

Powerbuilder 12.1 and DataWindow in Design vs Debug and Executable/Runtime -

css3 - HTML Block Anchor element only half clickable in Chrome -