#NEWLINE# def init_widget( self ) : #NEWLINE# #INDENT# ' Initialize the widget.\n\n        ' #NEWLINE# super ( QtWindow , self ) . init_widget ( ) #NEWLINE# d = self . declaration #NEWLINE# if self . title : #NEWLINE# #INDENT# self . set_title ( d . title ) #NEWLINE# #UNINDENT# if ( ( - 1 ) not in d . initial_size ) : #NEWLINE# #INDENT# self . widget . resize ( * d . initial_size ) #NEWLINE# #UNINDENT# if ( ( - 1 ) not in d . initial_position ) : #NEWLINE# #INDENT# self . widget . move ( * d . initial_position ) #NEWLINE# #UNINDENT# if ( d . modality != 'non_modal' ) : #NEWLINE# #INDENT# self . set_modality ( d . modality ) #NEWLINE# #UNINDENT# if d . icon : #NEWLINE# #INDENT# self . set_icon ( d . icon )