title: Add dynamically QML Page on SwipeView QML
body: <p>i need to add dynamically pages on swipeview.
  So my code: </p>
  
  <pre><code>    SwipeView {
          id: viewSwipe
          width: parent.width
          height: parent.height * 0.70
          currentIndex: 0
          Component.onCompleted: {
              curIndexWitouthZero = viewSwipe.currentIndex
              curIndexWitouthZero += 1
              addPage(RecipesPhase)
          }
  
          onCurrentIndexChanged: {
              curIndexWitouthZero = viewSwipe.currentIndex
              curIndexWitouthZero += 1
          }
  
          Item {
              id: firstPage
              RecipesPhase{}
          }
      }
  
      PageIndicator {
          id: indicator
          interactive: true
          count: viewSwipe.count
          currentIndex: viewSwipe.currentIndex
  
          anchors.top: viewSwipe.bottom
          anchors.topMargin: parent.height * 0.05
          anchors.horizontalCenter: parent.horizontalCenter
      }
  </code></pre>
  
  <p>i've a button who when clicked, the event should add the pages like an Item.
  My code is: </p>
  
  <pre><code>  MouseArea{
       anchors.fill: parent
       onClicked: {
           console.log("Cliccato additem")
           //viewSwipe.addItem(RecipesPhase)
           viewSwipe.addPage(RecipesPhase)
       }
    }
  </code></pre>
  
  <p>But nothing happened. So i've tried also: </p>
  
  <pre><code>     SwipeView {
          id: viewSwipe
          width: parent.width
          height: parent.height * 0.70
          currentIndex: 0
          Component.onCompleted: {
              curIndexWitouthZero = viewSwipe.currentIndex
              curIndexWitouthZero += 1
              addPage(RecipesPhase)
          }
  
          onCurrentIndexChanged: {
              curIndexWitouthZero = viewSwipe.currentIndex
              curIndexWitouthZero += 1
          }
  
          function addPage(page) {
              console.log("funzione addPage()")
             addItem(page)
             page.visible = true
          }
      }
  </code></pre>
  
  <p>and then call:</p>
  
  <pre><code>viewSwipe.addPage(MyPageQML)
  </code></pre>
  
  <p>but nothing happened.
  So, the question is, where i'm wrong ? Thanks for the solutions.</p>