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. TableView - wrong sort indicator
Forum Updated to NodeBB v4.3 + New Features

TableView - wrong sort indicator

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 1.3k 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.
  • M Offline
    M Offline
    matze42
    wrote on last edited by matze42
    #1

    Hi,

    I have an issue with QTableView showing the wrong sort indicator.
    That means
    Qt::Ascending -> arrow down.
    Qt::Descending -> arrow up.
    Strange is, that this happens dependent on the Application Stlye ("GTK+" -> wrong, "Windows" -> correct).
    Does anybody know anything about this ?

    btw.: Qt 5.4 running on Xubuntu 14.

    Thanks in advance,
    Martin

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

      Hi,

      Following a comment in the QGtkStyle (there's also a bug report about it), it follows the Gnome HIG which has it reversed

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

      M 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Following a comment in the QGtkStyle (there's also a bug report about it), it follows the Gnome HIG which has it reversed

        M Offline
        M Offline
        matze42
        wrote on last edited by
        #3

        @SGaist : Ok, thanks, that helps. I was wondering if it could have been my fault.

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

          You're welcome !

          The UI guide lines for different platforms can be tricky at times.

          Since your question is answered, please mark the thread as solved using the "Topic Tool" button so other forum users may know a solution has been found :)

          Also, while browsing the forum, consider up-voting answers that helped you, it will make them easier to find for other forum users :)

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

          1 Reply Last reply
          0
          • M Offline
            M Offline
            matze42
            wrote on last edited by
            #5

            Yes - I will do so.
            Thanks for the hint ;-)

            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