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 (I'm using PyQt 4.3.20070606)