def __init__(self):
    QMainWindow.__init__(self)
    MBReplacerUI.__init__(self)
    self._setup_ui(self)
    self._import_multiple_stages_btn.clicked.connect(self._import_multiple_stages_btn_clicked)
    self._import_root_btn.clicked.connect(self._import_root_btn_clicked)
    self._add_to_replace_btn.clicked.connect(self._add_to_replace_btn_clicked)
    self._remove_from_replace_btn.clicked.connect(self._remove_from_replace_btn_clicked)
    self._replace_btn.clicked.connect(self._replace_btn_clicked)
    self._add_single_stage_btn.clicked.connect(self._add_single_stage_btn_clicked)
    self._remove_single_stage_btn.clicked.connect(self._remove_single_stage_btn_clicked)
    self._root_folder_path = None
    self._imported_stages = []
    self._stages_to_be_replaced = []
    self._choose_stage_popup = ChooseStagePopup()
    (self._input_filenames_key, self._output_stage_id_key, self._is_valid_input_key) = get_qt_data_keys(3)
    self._required_extensions = [('obj',), ('mtl',), ('xml', 'lz', 'lz.raw')]
    self._required_tools = ['GxModelViewer.exe', 'ws2lzfrontend.exe', 'SMB_LZ_Tool.exe']
    self._tool_filepaths = self._find_required_tools()
    self._imported_obj_filepaths = []
    self._replace_queue = []
    self._temp_dir = os.path.join(get_mbreplacer_dir(), 'temp')
def __init__(self):
    QMainWindow.__init__(self)
    MBReplacerUI.__init__(self)
    self._setup_ui(self)
    self._import_multiple_stages_btn.clicked.connect(self._import_multiple_stages_btn_clicked)
    self._import_root_btn.clicked.connect(self._import_root_btn_clicked)
    self._add_to_replace_btn.clicked.connect(self._add_to_replace_btn_clicked)
    self._remove_from_replace_btn.clicked.connect(self._remove_from_replace_btn_clicked)
    self._replace_btn.clicked.connect(self._replace_btn_clicked)
    self._add_single_stage_btn.clicked.connect(self._add_single_stage_btn_clicked)
    self._remove_single_stage_btn.clicked.connect(self._remove_single_stage_btn_clicked)
    self._root_folder_path = None
    self._imported_stages = []
    self._stages_to_be_replaced = []
    self._choose_stage_popup = ChooseStagePopup()
    (self._input_filenames_key, self._output_stage_id_key, self._is_valid_input_key) = get_qt_data_keys(3)
    self._required_extensions = [('obj',), ('mtl',), ('xml', 'lz', 'lz.raw')]
    self._required_tools = ['GxModelViewer.exe', 'ws2lzfrontend.exe', 'SMB_LZ_Tool.exe']
    self._tool_filepaths = self._find_required_tools()
    self._imported_obj_filepaths = []
    self._replace_queue = []
    self._temp_dir = os.path.join(get_mbreplacer_dir(), 'temp')