Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Android] [Qt 5.2] List widgets on Android and scrolling by touch gesture
Forum Updated to NodeBB v4.3 + New Features

[Android] [Qt 5.2] List widgets on Android and scrolling by touch gesture

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 Posters 4.2k Views 1 Watching
  • 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.
  • deleted57D Offline
    deleted57D Offline
    deleted57
    wrote on last edited by
    #1

    Hi all

    I'm currently testing Qt working on android and I'm quite satisfied right now. My testing app use a QListWidget control and now I'm looking for a way to scroll up and down the list using touch gesture as standard android list control do. Qt already have gesture manager classes (I suppose the closest one would be the gesture called "swipe") but I would to know if someone know a ready made way to add this feature. My "hope" is since Qt team made the porting is possible they added this feature to enable in some easier way instead of write the scrolling gesture manager from scratch (at least, I hope so). Someone have a suggestion about?

    Thank you

    1 Reply Last reply
    0
    • L Offline
      L Offline
      ltr6
      wrote on last edited by
      #2

      QScroller might be what you are looking for:

      http://qt-project.org/doc/qt-5.0/qtwidgets/qscroller.html

      1 Reply Last reply
      0
      • deleted57D Offline
        deleted57D Offline
        deleted57
        wrote on last edited by
        #3

        Hi

        Thank you, need more time to make tests but it seem the class make the job. ^_^

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          ltr6, thank you for that hint, it works perfectly!

          (Z(:^

          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