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. Enable ListView Interactive in ScrollView
Qt 6.11 is out! See what's new in the release blog

Enable ListView Interactive in ScrollView

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 468 Views 2 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.
  • Q Offline
    Q Offline
    qAminzzz
    wrote on last edited by
    #1

    i used interactive on listview and worked good but when i do this on listview that is in a scrollview this does not work. how to do enable interactive listview in scrollview?
    im grateful for any help (:

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You should provide a minimal example of the code that is giving you trouble.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      Q 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        You should provide a minimal example of the code that is giving you trouble.

        Q Offline
        Q Offline
        qAminzzz
        wrote on last edited by qAminzzz
        #3

        @SGaist
        this is my code:

                                ListView
                                {
                                    id: leftFrameListView
                                    
                                    x: 10
                                    spacing: 1
                                    model: 10
                                    interactive: true // Does not work
                                    
                                    delegate: Rectangle
                                    {
                                        id: listViewRect
                                        x: 20
                                        width: leftFrameListView.width - 40
                                        height: 60
                                        radius: 15
                                        color: "white"
                                     }
                                }
        
        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