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. QScrollBar invertedAppearance inverted handling?
Forum Updated to NodeBB v4.3 + New Features

QScrollBar invertedAppearance inverted handling?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 3.2k 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.
  • Q Offline
    Q Offline
    qnik
    wrote on last edited by
    #1

    Hi
    I implemented a linechart widget deriving from QAbstractItemView. It's possible to draw the chart from left to right or from right to left.

    Left->Right:
    Using the horizontal Scrollbar to scroll the chart is perfect.

    Right->Left:
    In this case I need an inverted Scrollbar and QScrollBar::setInvertedAppearance( true) is allmost what I need:
    ;) Moving the slider (by mouse) works as expected.
    :( Clicking the scrollbar page control or push button behaves normal, not inverted!

    This seems paradox to me, if the appearance is inverted also tha handling should be inverted, right?

    Am I missing somthing? Is there a work around?

    This behavior can be reproduced with the "Sliders" sample in Qt SDK.

    1 Reply Last reply
    0
    • frankcyblogic.deF Offline
      frankcyblogic.deF Offline
      frankcyblogic.de
      wrote on last edited by
      #2

      Interesting, never thought about inverting a scrollbar. Can you provide a screenshot?

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qnik
        wrote on last edited by
        #3

        Screenshot from the Sliders sample application in Qt SDK
        !http://www.easypagemachine.com/tmp/Clipboard-1.gif(ScreenShot)!

        You can't really see the problem, because it's the handling thats the problem.

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          qnik
          wrote on last edited by
          #4

          I created a bug:
          http://bugreports.qt.nokia.com/browse/QTBUG-19101

          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