#NEWLINE# def __init__( self , pathFilter , parenting = None ) : #NEWLINE# #INDENT# self . __row = GafferUI . ListContainer ( GafferUI . ListContainer . Orientation . Horizontal , spacing = 2 , borderWidth = 0 ) #NEWLINE# GafferUI . PathFilterWidget . __init__ ( self , self . __row , pathFilter , parenting = parenting ) #NEWLINE# with self . __row : #NEWLINE# #INDENT# self . __enabledWidget = GafferUI . BoolWidget ( ) #NEWLINE# self . __enabledStateChangedConnection = self . __enabledWidget . stateChangedSignal ( ) . connect ( Gaffer . WeakMethod ( self . __enabledStateChanged ) ) #NEWLINE# self . __propertyButton = GafferUI . MenuButton ( image = 'collapsibleArrowDown.png' , hasFrame = False , menu = GafferUI . Menu ( Gaffer . WeakMethod ( self . __propertyMenuDefinition ) ) ) #NEWLINE# self . __patternWidget = GafferUI . TextWidget ( ) #NEWLINE# if hasattr ( self . __patternWidget . _qtWidget ( ) , 'setPlaceholderText' ) : #NEWLINE# #INDENT# self . __patternWidget . _qtWidget ( ) . setPlaceholderText ( 'Filter...' ) #NEWLINE# #UNINDENT# self . __patternEditingFinishedConnection = self . __patternWidget . editingFinishedSignal ( ) . connect ( Gaffer . WeakMethod ( self . __patternEditingFinished ) ) #NEWLINE# self . __patternTextChangedConnection = self . __patternWidget . textChangedSignal ( ) . connect ( Gaffer . WeakMethod ( self . __patternTextChanged ) ) #NEWLINE# #UNINDENT# self . _updateFromPathFilter ( )