#NEWLINE# def minimumSizeHint( self ) : #NEWLINE# #INDENT# ms = super ( ToolButton , self ) . minimumSizeHint ( ) #NEWLINE# ( w1 , h1 ) = ( ms . width ( ) , ms . height ( ) ) #NEWLINE# ( w2 , h2 ) = self . minSize #NEWLINE# ToolButton . minSize = ( max ( ms , w2 ) , max ( h1 , h2 ) ) #NEWLINE# return QSize ( * ToolButton . minSize )