title: how can I transfer Component.onCompleted:{} method from ui.qml to .qml?
body: <p>I am developing a project by seperating ui.qml files and .qml files . So, I am writing the functionality codes(javascript codes) into .qml file and I am writing design codes in ui.qml file . However I have a problem with using Component.onComplete functionality in .qml file. </p>
  
  <p>for example :</p>
  
  <p><strong>MapDisplayForm.ui.qml</strong></p>
  
  <pre><code>Item{
     id:item1
  
     property alias map1
  
     Map{
         id: map1
         Component.OnCompleted : {
            //this is the function that i should write in Map.qml
         }
     }
  
  }
  </code></pre>
  
  <hr>
  
  <p><strong>MapDisplay.qml</strong></p>
  
  <pre><code>MapDisplayForm{
  
  
     //it does not accept map1.oncompleted here
  
  
  }
  </code></pre>