Example #1
0
    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() )
Example #2
0
 def __init__(self):
     QLayout.__init__(self)
 def __init__(self):
     QLayout.__init__(self)
Example #4
0
    def invalidate ( self ):
        QLayout.invalidate( self )

        self._cached_size_hint = None