#NEWLINE# def __init__( self , graphComponent , parenting = None ) : #NEWLINE# #INDENT# GafferUI . TextWidget . __init__ ( parenting , parenting = parenting ) #NEWLINE# self . _qtWidget ( ) . setValidator ( _Validator ( self . _qtWidget ( ) ) ) #NEWLINE# self . __graphComponent = None #NEWLINE# self . setGraphComponent ( graphComponent ) #NEWLINE# self . __editingFinishedConnection = self . editingFinishedSignal ( ) . connect ( Gaffer . WeakMethod ( self . __setName ) )