#NEWLINE# def _resizeNorthwest( self , pos , offset ) : #NEWLINE# #INDENT# ' A resize handler for northwest resizing.\n\n        ' #NEWLINE# dw = ( pos . x ( ) - offset . x ( ) ) #NEWLINE# dh = ( pos . y ( ) - offset . y ( ) ) #NEWLINE# size = self . size ( ) #NEWLINE# min_size = self . minimumSizeHint ( ) #NEWLINE# if ( ( size . width ( ) - min_size ) < min_size . width ( ) ) : #NEWLINE# #INDENT# dw = ( size . width ( ) - min_size . width ( ) ) #NEWLINE# #UNINDENT# if ( ( size . height ( ) - dh ) < min_size . height ( ) ) : #NEWLINE# #INDENT# dh = ( size . height ( ) - min_size . height ( ) ) #NEWLINE# #UNINDENT# rect = self . geometry ( ) #NEWLINE# rect . setX ( ( rect . x ( ) + dw ) ) #NEWLINE# rect . setY ( ( rect . y ( ) + dh ) ) #NEWLINE# self . setGeometry ( rect )