#NEWLINE# def _init_widgets( self ) : #NEWLINE# #INDENT# layout = QtGui . QVBoxLayout ( ) #NEWLINE# layout . setSpacing ( 1 ) #NEWLINE# self . _ui . input_canvas . setLayout ( layout ) #NEWLINE# layout = QtGui . QVBoxLayout ( ) #NEWLINE# layout . setContentsMargins ( 1 , 0 , 1 , 1 ) #NEWLINE# self . _ui . output_canvas . setLayout ( layout ) #NEWLINE# layout . addWidget ( self . _output_widget ) #NEWLINE# spacer = QtGui . QSpacerItem ( 5 , 5 , QtGui . QSizePolicy . Minimum , QtGui . QSizePolicy . Expanding ) #NEWLINE# layout . addItem ( spacer )