[PyQt] Qt::Orientation and QSplitter

Phil Thompson phil at riverbankcomputing.co.uk
Wed Dec 19 21:56:44 GMT 2007


On Wednesday 19 December 2007, Vladimir Pouzanov wrote:
> How can I set orientation of a QSplitter?
> s = QSplitter()
> s.setOrientation(2) # doesn't work
> and there seem to be no Vertical in Qt.Qt.Orientation

s.setOrientation(Qt.Vertical)

Phil


More information about the PyQt mailing list