Skip to content

Commit

Permalink
增加运行中提示
Browse files Browse the repository at this point in the history
  • Loading branch information
SK-la committed Nov 3, 2024
1 parent 7291942 commit 0fa1ce9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/MainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def handle_auto_create_output_folder(self, state):
self.auto_create_output_folder.setChecked(False)

def start_conversion_thread(self):
self.update_status("运行中,请勿关闭")
self.worker = ConversionWorker(
input_path=urllib.parse.unquote_plus(self.input_path.text()),
output_path=self.output_path.text(),
Expand Down Expand Up @@ -142,9 +143,10 @@ def start_conversion(self):
self.start_conversion_thread()
self.update_file_trees(pathlib.Path(input_path), pathlib.Path(output_path))


def show_conversion_complete_notification(self):
QMessageBox.information(self, "Message", "程序结束")
def update_status(self, message):
self.status_bar.showMessage(message)

def create_output_folder(self, base_path):
set_output_folder = base_path / self.config.source
Expand Down

0 comments on commit 0fa1ce9

Please sign in to comment.