title: Detect left or right swipe through MouseArea Qt QML
body: <p>I've the problem, how to detect swipe through MouseArea in qml ?</p>
  
  <p>This code, from documentation: </p>
  
  <pre><code>    Rectangle {
      id: container
      width: 600; height: 200
  
      Rectangle {
          id: rect
          width: 500; height: 500
  
          MouseArea {
              anchors.fill: parent
              drag.target: rect
              drag.axis: Drag.XAxis
              drag.minimumX: 0
              drag.maximumX: container.width - rect.width
  
              //event slide here ?
          }
      }
  }
  </code></pre>
  
  <p>but i didn't understood how to get left or right swipe, i get this use in the mobile application (ios &amp; android).</p>
  
  <p>Somebody can help me ? Thanks.
  How to detect left or right swipe with finger? Thanks.</p>