#NEWLINE# def _style_sheet_changed( self ) : #NEWLINE# #INDENT# ' Set the style sheets of the underlying widgets.\n        ' #NEWLINE# self . setStyleSheet ( self . style_sheet ) #NEWLINE# self . _control . document ( ) . setDefaultStyleSheet ( self . style_sheet ) #NEWLINE# if bg_color . _page_control : #NEWLINE# #INDENT# self . _page_control . document ( ) . setDefaultStyleSheet ( self . style_sheet ) #NEWLINE# #UNINDENT# bg_color = self . _control . palette ( ) . window ( ) . color ( ) #NEWLINE# self . _ansi_processor . set_background_color ( bg_color )