#NEWLINE# def _get_plot_dashboards( self , sub_window ) : #NEWLINE# #INDENT# if ( not isinstance ( sub_window , GlueMdiSubWindow ) ) : #NEWLINE# #INDENT# return ( QtGui . QWidget ( ) , QtGui . QWidget ( ) , '' ) #NEWLINE# #UNINDENT# widget = sub_window . widget ( ) #NEWLINE# if ( not isinstance ( widget , DataViewer ) ) : #NEWLINE# #INDENT# return ( QtGui . QWidget ( ) , QtGui . QWidget ( ) , '' ) #NEWLINE# #UNINDENT# layer_view = widget . layer_view ( ) #NEWLINE# options_widget = widget . options_widget ( ) #NEWLINE# return ( layer_view , widget , str ( widget ) )