If the model only needs to be set once, then you can simply do that in the onLoaded signal handler. Loader { id: loader source: "myelement.qml" onLoaded: ...
確定! 回上一頁