#NEWLINE# def __init__( self , node , readOnly = False , parenting = None ) : #NEWLINE# #INDENT# column = GafferUI . ListContainer ( GafferUI . ListContainer . Orientation . Vertical , spacing = 4 ) #NEWLINE# GafferUI . NodeUI . __init__ ( self , node , column , parenting = parenting ) #NEWLINE# headerVisible = True #NEWLINE# parameterised = self . node ( ) . getParameterised ( ) [ 0 ] #NEWLINE# with IECore . IgnoredExceptions ( KeyError ) : #NEWLINE# #INDENT# headerVisible = parameterised . userData ( ) [ 'UI' ] [ 'headerVisible' ] . value #NEWLINE# #UNINDENT# with column : #NEWLINE# #INDENT# if headerVisible : #NEWLINE# #INDENT# with GafferUI . ListContainer ( orientation = GafferUI . ListContainer . Orientation . Horizontal ) : #NEWLINE# #INDENT# GafferUI . Spacer ( IECore . V2i ( 10 ) , parenting = { #NEWLINE# #INDENT# 'expand' : True , #NEWLINE# #UNINDENT# } ) #NEWLINE# toolButton = GafferCortexUI . ToolParameterValueWidget ( self . node ( ) . parameterHandler ( ) ) #NEWLINE# toolButton . plugValueWidget ( ) . setReadOnly ( column ) #NEWLINE# _InfoButton ( node ) #NEWLINE# #UNINDENT# #UNINDENT# with GafferUI . ScrolledContainer ( horizontalMode = GafferUI . ScrolledContainer . ScrollMode . Never , borderWidth = 4 ) : #NEWLINE# #INDENT# self . __parameterValueWidget = GafferCortexUI . CompoundParameterValueWidget ( self . node ( ) . parameterHandler ( ) , collapsible = False ) #NEWLINE# #UNINDENT# #UNINDENT# self . setReadOnly ( readOnly )