#NEWLINE# def __init__( self , alias , controller , parent = None ) : #NEWLINE# #INDENT# ' QValuesListEditor(alias_item: AliasTableItem, parent: QWidget)\n                                     -> QValuesListEditor\n        Construct an edit box with a button for bringing up the dialog\n        \n        ' #NEWLINE# QtGui . QWidget . __init__ ( self , parent ) #NEWLINE# self . _alias = alias #NEWLINE# self . type = alias . component . type #NEWLINE# self . controller = controller #NEWLINE# hLayout = QtGui . QHBoxLayout ( self ) #NEWLINE# hLayout . setMargin ( 0 ) #NEWLINE# hLayout . setSpacing ( 0 ) #NEWLINE# self . setLayout ( hLayout ) #NEWLINE# self . listValues = QtGui . QLineEdit ( ) #NEWLINE# self . listValues . setSizePolicy ( QtGui . QSizePolicy . Expanding , QtGui . QSizePolicy . Maximum ) #NEWLINE# self . alias_item_updated ( ) #NEWLINE# hLayout . addWidget ( self . listValues ) #NEWLINE# self . connect ( self . listValues , QtCore . SIGNAL ( 'editingFinished()' ) , self . values_were_edited ) #NEWLINE# inputButton = QtGui . QToolButton ( ) #NEWLINE# inputButton . setText ( '...' ) #NEWLINE# self . connect ( inputButton , QtCore . SIGNAL ( 'clicked()' ) , self . editListValues ) #NEWLINE# hLayout . addWidget ( inputButton )