#NEWLINE# def __init__( self , environment = None , parent = None , reference_resolution = None ) : #NEWLINE# #INDENT# super ( MainDialog , self ) . __init__ ( parent ) #NEWLINE# self . setupUi ( self ) #NEWLINE# self . setWindowTitle ( self . windowTitle ( ) ) #NEWLINE# self . center_window ( ) #NEWLINE# self . new_versions = [ ] #NEWLINE# self . environment = self . _validate_environment ( environment ) #NEWLINE# if ( reference_resolution is None ) : #NEWLINE# #INDENT# if self . environment : #NEWLINE# #INDENT# reference_resolution = self . environment . check_referenced_versions ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# reference_resolution = empty_reference_resolution ( ) #NEWLINE# #UNINDENT# #UNINDENT# self . reference_resolution = reference_resolution #NEWLINE# self . setup_signals ( ) #NEWLINE# self . _fill_UI ( )