def setGeometry ( self, rect ): """ Layout the contents of the layout manager based upon the area provided by the specified rectangle. """ QLayout.setGeometry( self, rect ) self._layout.perform_layout( rect.x(), rect.y(), rect.width(), rect.height() )
def __init__(self): QLayout.__init__(self)
def invalidate ( self ): QLayout.invalidate( self ) self._cached_size_hint = None