fun:文件校验功能添加(未结束)。
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user