I ended up with an interim solution for the time being using the checkbox of the QGroupBox. I found that object.sizeHint() is really nice as it tells you what width, height the object should be. I ended up setting the height so that it would work for anything inside the groupBox.
Added code example below...a bit hacky, but it works.
/Thanks
Christian
# Signal Connection
self.connect(self.aGroupBox, SIGNAL("clicked()"), lambda gBox = "self.aGroupBox": self.collapse(gBox))
def collapse(self, gBox):
""" Collapses a QGroupBox """
# Find out if the state is on or off
gbState = eval(gBox + '.isChecked()')
if not gbState:
eval (gBox + '.setFixedHeight(15)')
# Set window Height
self.setFixedHeight(self.sizeHint().height())
else:
oSize = eval(gBox + '.sizeHint()')
eval(gBox + '.setFixedHeight(oSize.height())')
self.setFixedHeight(self.sizeHint().height())
/Christian