title: How to send a signal from one qml to another
body: <p>I cannot find a way to communicate from one qml file to the other one. I know there are many ways to send signals from qml to C++ slots and reverse, but all my research about signals between two different qml files failed.
  So I would be glad if someone can tell me, how I have to solve this problem.</p>
  
  <p>First of all a little abstracted example to understand the problem in a better way...</p>
  
  <p>The first QML in basics looks like that:</p>
  
  <pre><code>//MyQML1.qml
  Rectangle
  {    
       id: idMyRec1
       signal mySignalFromQML1()
  
    Button
    {
         id: idMyButton1
         onClicked:
         {
              idMyRec1.mySignalFromQML1();      //to send the signal
         }
     }
  }
  </code></pre>
  
  <p>The 2nd one looks like this:</p>
  
  <pre><code>//MyQML2.qml
  Rectangle
  {
      id: idMyRec2
  
      Text{
           id: idMyText2
           text: "Hello World!"
  
           onMySignalFromQML1:       //to receive the signal from the other qml
           {                  
               idMyText2.text = "Good Bye World!";
           }
        }
  }
  </code></pre>
  
  <p>So this button should change the text in my 2nd QML to "Good Bye World!" when clicked...but this doesn't work...are there any other ways to send signals from QML to another QML?! Or am I doing something wrong?</p>