#NEWLINE# @ advanced . setter #NEWLINE# def advanced( self , state ) : #NEWLINE# #INDENT# 'Set whether the widget is in advanced state' #NEWLINE# self . _ui . signature_editor . setVisible ( state ) #NEWLINE# self . _ui . toggle_editor . setText ( ( 'Basic' if state else 'Advanced' ) )