For a QApplication (PyQt) on the small screen of my Zaurus 5500 PDA I
try to layout my data output in a QScrollView as the central widget. I'd
prefer to use QGridLayout, but cannot add it to the scroll view.
sc=QScrollView( self)
layout=QGridLay out(..., sc.viewport())
sc.addChild(lay out)
results in a TypeError.
Is there a way to get it to work? Filling a box viewport with lots of
padding boxes and white space labels to establish grids is very
cumbersome. And I need 4 different layouts to change places.
Best wishes
Volker
--
Volker Lenhardt
E-Mail: volker.lenhardt @uni-duisburg-essen.de
try to layout my data output in a QScrollView as the central widget. I'd
prefer to use QGridLayout, but cannot add it to the scroll view.
sc=QScrollView( self)
layout=QGridLay out(..., sc.viewport())
sc.addChild(lay out)
results in a TypeError.
Is there a way to get it to work? Filling a box viewport with lots of
padding boxes and white space labels to establish grids is very
cumbersome. And I need 4 different layouts to change places.
Best wishes
Volker
--
Volker Lenhardt
E-Mail: volker.lenhardt @uni-duisburg-essen.de
Comment