def setOrientation(self, ort):
    "Set the orientation of the widget. May be one of 'bottom', 'top', \n        'left', or 'right'."
    self.item.setOrientation(ort)
    self.orientation = ort
    self.setMaxDim()
Set the orientation of the widget. May be one of 'bottom', 'top', 
'left', or 'right'.
def setOrientation(self, ort):
    "Set the orientation of the widget. May be one of 'bottom', 'top', \n        'left', or 'right'."
    self.item.setOrientation(ort)
    self.orientation = ort
    self.setMaxDim()