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. [Solved] No mouse interaction with a delegate in TableViewColumn (QtQuick Controls)
Forum Updated to NodeBB v4.3 + New Features

[Solved] No mouse interaction with a delegate in TableViewColumn (QtQuick Controls)

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 1.1k 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.
  • L Offline
    L Offline
    laurent bauer
    wrote on last edited by
    #1

    Hello
    I'm using a QtQuick Controls TableView with a Slider delegate in a column.
    Something like that:

    @
    ...
    TableView {
    TableViewColumn{ role: "value" ; title: "Value" ; width: 100
    delegate : Slider {
    value : modelData.value
    minimumValue: modelData.inf
    maximumValue: modelData.sup
    onValueChanged: modelData.setValue(value)
    }
    }
    TableViewColumn{ ... }
    }
    ...
    @

    The slider doesn't react to mouse interactions.
    Any idea how to enable the mouse interaction ?

    Thanks in Advance,
    Laurent

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jens
      wrote on last edited by
      #2

      This was reported as an issue and has been fixed for 5.1.1.

      See https://bugreports.qt-project.org/browse/QTBUG-31206

      1 Reply Last reply
      0
      • L Offline
        L Offline
        laurent bauer
        wrote on last edited by
        #3

        OK Jens,
        Thanks a lot for your answer

        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