DSblizzard
18th June 2010, 00:16
In PyQt4 application I use QGraphicsView and QGraphicsScene in it, which can be scaled. Vertical scrollbar show up, but horizontal is not. Why? I haven't used anything what can make such unsimmetric behavior. And even after inclusion of
MainWnd.GrahicsViewMain.setHorizontalScrollBarPoli cy(Qt.ScrollBarAlwaysOn)
MainWnd.GrahicsViewMain.horizontalScrollBar().show ()
nothing changes.
EDIT: Horizontal scrollbar was hidden under another widget. It works OK.
MainWnd.GrahicsViewMain.setHorizontalScrollBarPoli cy(Qt.ScrollBarAlwaysOn)
MainWnd.GrahicsViewMain.horizontalScrollBar().show ()
nothing changes.
EDIT: Horizontal scrollbar was hidden under another widget. It works OK.