fun:文件校验功能添加(未结束)。

This commit is contained in:
2025-11-05 13:09:12 +08:00
parent 9bed3ed536
commit 1a81c34840
11 changed files with 229 additions and 15 deletions

View File

@@ -106,8 +106,11 @@ void LoadingDialog::moveToCenter(QWidget* pParent)
*/
void LoadingDialog::cancelBtnClicked()
{
emit cancelWaiting();
this->done(USER_CANCEL);
if (isShow_) {
isShow_ = false;
emit cancelWaiting();
this->done(USER_CANCEL);
}
}
/**
@@ -129,6 +132,12 @@ void LoadingDialog::paintEvent(QPaintEvent* event)
QWidget::paintEvent(event);
}
int LoadingDialog::exec()
{
isShow_ = true;
return QDialog::exec();
}
LoadingDialog::~LoadingDialog()
{
delete m_pLoadingMovie;