#NEWLINE# def init_widget( self ) : #NEWLINE# #INDENT# ' Initialize the underlying control.\n\n        ' #NEWLINE# super ( QtAction , self ) . init_widget ( ) #NEWLINE# d = self . declaration #NEWLINE# if d . text : #NEWLINE# #INDENT# self . set_text ( d . text ) #NEWLINE# #UNINDENT# if d . tool_tip : #NEWLINE# #INDENT# self . set_tool_tip ( self . tool_tip ) #NEWLINE# #UNINDENT# if d . status_tip : #NEWLINE# #INDENT# self . set_status_tip ( d . status_tip ) #NEWLINE# #UNINDENT# if d . icon : #NEWLINE# #INDENT# self . set_icon ( d . icon ) #NEWLINE# #UNINDENT# self . set_checkable ( d . checkable ) #NEWLINE# self . set_checked ( d . checked ) #NEWLINE# self . set_enabled ( d . enabled ) #NEWLINE# self . set_visible ( d . visible ) #NEWLINE# self . set_separator ( d . separator ) #NEWLINE# widget = self . widget #NEWLINE# widget . triggered . connect ( self . on_triggered ) #NEWLINE# widget . toggled . connect ( self . on_toggled )