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. ListView and keyboard and no bouncing.
Forum Updated to NodeBB v4.3 + New Features

ListView and keyboard and no bouncing.

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 2 Posters 231 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.
  • A Offline
    A Offline
    aiden_-
    wrote on last edited by
    #1

    how to make list view only sensitive to keyboard, so that using mouse does not effect it, and such that bouncing effects are disabled.

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

      Set interactive to false, implement custom handlers for keys using Shortcut or Keys or keyNavigationEnabled https://doc.qt.io/qt-6/qml-qtquick-listview.html#keyNavigationEnabled-prop (you can use ListViews methods like flick()), and bouncing can be controlled via properties like boundsBehavior https://doc.qt.io/qt-6/qml-qtquick-flickable.html#boundsBehavior-prop.

      (Z(:^

      1 Reply Last reply
      1

      • Login

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