#NEWLINE# def init_widget( self ) : #NEWLINE# #INDENT# ' Initialize the underlying widget.\n\n        ' #NEWLINE# d = self . declaration #NEWLINE# self . set_title ( d . title ) #NEWLINE# self . set_current_color ( d . current_color ) #NEWLINE# self . set_show_alpha ( d . show_alpha ) #NEWLINE# self . set_show_buttons ( d . show_buttons ) #NEWLINE# widget = self . widget #NEWLINE# widget . currentColorChanged . connect ( self . on_current_color_changed ) #NEWLINE# widget . colorSelected . connect ( d . on_color_selected ) #NEWLINE# widget . reallyFinished . connect ( self . on_finished )