QScrollBar invertedAppearance inverted handling?
-
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.
-
Interesting, never thought about inverting a scrollbar. Can you provide a screenshot?
-
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.
-
I created a bug:
http://bugreports.qt.nokia.com/browse/QTBUG-19101