Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Swipeview - Swipe done event ?
Forum Update on Monday, May 27th 2025

Swipeview - Swipe done event ?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 1.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TomMitchell
    wrote on last edited by
    #1

    Hello,
    Is there a possibility to know when the swipview has done with swipping between 2 pages ?

    I now use the 'onCurrentIndexChanged' handler to load a new model to the page. I think this event is fired between changing of 2 pages. I notice a little delay in the user interface.

    Regards,
    Tom

    SR__S 1 Reply Last reply
    0
    • T TomMitchell

      Hello,
      Is there a possibility to know when the swipview has done with swipping between 2 pages ?

      I now use the 'onCurrentIndexChanged' handler to load a new model to the page. I think this event is fired between changing of 2 pages. I notice a little delay in the user interface.

      Regards,
      Tom

      SR__S Offline
      SR__S Offline
      SR__
      wrote on last edited by
      #2

      @TomMitchell
      You may connect to the change of the SwipeView contentItem.moving property :

      contentItem.movingChanged.connect(onMovingChanged);

      1 Reply Last reply
      0
      • T Offline
        T Offline
        TomMitchell
        wrote on last edited by
        #3

        Thanks for reply.
        This solution is ok when pages only need to be updated when swipping stops or when swipping slow between pages. When swipping fast through multiple pages the handler is invoked on first page and on last page.
        I would like combination of both handlers: When swipeview changes index and the currentpage is full screen shown.
        Is this possible ?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved