#NEWLINE# def CreateLineEdit( self ) : #NEWLINE# #INDENT# linedit = QtGui . QLineEdit ( ) #NEWLINE# sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . Preferred , QtGui . QSizePolicy . Maximum ) #NEWLINE# sizePolicy . setHorizontalStretch ( 0 ) #NEWLINE# sizePolicy . setVerticalStretch ( 0 ) #NEWLINE# sizePolicy . setHeightForWidth ( linedit . sizePolicy ( ) . hasHeightForWidth ( ) ) #NEWLINE# linedit . setSizePolicy ( sizePolicy ) #NEWLINE# linedit . setMaximumSize ( QtCore . QSize ( 16777215 , 58 ) ) #NEWLINE# font = QtGui . QFont ( ) #NEWLINE# font . setPointSize ( 18 ) #NEWLINE# linedit . setFont ( font ) #NEWLINE# return linedit