Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT5.11.2 QML treeview select function do not alternates the row color?
Forum Updated to NodeBB v4.3 + New Features

QT5.11.2 QML treeview select function do not alternates the row color?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 442 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.
  • J Offline
    J Offline
    jimfar
    wrote on last edited by aha_1980
    #1

    calling the select function will not alternates the row color. but click this row will change the color ? why ? any one can help ne ?

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

      maybe it is a QT bug

      J.HilkJ 1 Reply Last reply
      0
      • J jimfar

        maybe it is a QT bug

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        @jimfar said in QT5.11.2 QML treeview select function do not alternates the row color?:

        maybe it is a QT bug

        unlikely, my guess is, the "alternate row color" is not bound to selceted property but rather to focus. You give focus to the tree item by clicking on it.


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        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