Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-54268

Add "interactive" property to SwipeView QML Control

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.7.0
    • Fix Version/s: 5.8.0 Alpha
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Commits:
      d3b20ffdfa47229c90e856d6ef39723910ae612c

      Description

      It would be nice to have an "interactive" property on the SwipeView control which would enable/disable the actual swiping on the control in cases such as when used on desktop where no touch screen is available.

      This would allow nice looking navigation where pages have neat transition without any implementations from the developer.

      A current workaround is as follows

      SwipeView {
          Component.onCompleted: contentItem.interactive = false
      }
      

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-54268
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              xarxer Pontus Sjögren
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes