#NEWLINE# def minimumSizeHint( self ) : #NEWLINE# #INDENT# height = super ( ZoomWidget , self ) . minimumSizeHint ( ) . height ( ) #NEWLINE# fm = QFontMetrics ( self . font ( ) ) #NEWLINE# width = fm . width ( str ( self . maximum ( ) ) ) #NEWLINE# return QSize ( width , height )