bookmarkernj
13th September 2008, 07:49
Hi, guys!
By default, qscrollarea's vertical scrolllbar is on the right edge of the qscrollarea's viewport, and horizontal scrollbar is on the bottom of edge of the qscrollarea. But sometimes, I want to put the vertical scrollbar on the left of the qscrollarea, and the horizontal scrollbar on the top edge of the qscrollarea . I use the qt4.4. QScrollArea has setAlignment(...) and addScrollBarWidget(...), I tried , no use. How to do that? Thanks alot.
By default, qscrollarea's vertical scrolllbar is on the right edge of the qscrollarea's viewport, and horizontal scrollbar is on the bottom of edge of the qscrollarea. But sometimes, I want to put the vertical scrollbar on the left of the qscrollarea, and the horizontal scrollbar on the top edge of the qscrollarea . I use the qt4.4. QScrollArea has setAlignment(...) and addScrollBarWidget(...), I tried , no use. How to do that? Thanks alot.