QScrollBar invertedAppearance inverted handling?
I implemented a linechart widget deriving from QAbstractItemView. It's possible to draw the chart from left to right or from right to left.
Using the horizontal Scrollbar to scroll the chart is perfect.
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.
frankcyblogic.de last edited by
Interesting, never thought about inverting a scrollbar. Can you provide a screenshot?
Screenshot from the Sliders sample application in Qt SDK
You can't really see the problem, because it's the handling thats the problem.
I created a bug: