#NEWLINE# def sizeHint( self ) : #NEWLINE# #INDENT# ' Reimplemented to set a size hint based on the size of the larget\n            image.\n        ' #NEWLINE# size = QtCore . QSize ( ) #NEWLINE# for name in self . _editor . names : #NEWLINE# #INDENT# size = size . expandedTo ( self . _editor . get_pixmap ( name ) . size ( ) ) #NEWLINE# #UNINDENT# option = QtGui . QStyleOptionComboBox ( ) #NEWLINE# self . initStyleOption ( option ) #NEWLINE# size = self . style ( ) . sizeFromContents ( QtGui . QStyle . CT_ComboBox , option , size , self ) #NEWLINE# return self