-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
# utils/error_handler.py | ||
from PyQt6.QtWidgets import QMessageBox | ||
|
||
|
||
def handle_error(error_message): | ||
"""显示错误信息弹窗。 | ||
Args: | ||
error_message (str): 错误信息。 | ||
""" | ||
QMessageBox.warning(None, "错误", error_message) | ||
QMessageBox.warning(None, "错误", error_message) |