diff options
author | Saturneric <[email protected]> | 2021-07-05 16:33:22 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-07-05 16:33:22 +0000 |
commit | 4286627bc87dba16b739a205708f3c7029da27e5 (patch) | |
tree | 7c30ae2dcc8c58711ccd08543556cf989b1b89f6 /src/ui/WaitingDialog.cpp | |
parent | Fix the logic problem of the signature and encryption function. (diff) | |
download | GpgFrontend-4286627bc87dba16b739a205708f3c7029da27e5.tar.gz GpgFrontend-4286627bc87dba16b739a205708f3c7029da27e5.zip |
Introduce multithreading.
Fix Bugs.
Diffstat (limited to '')
-rw-r--r-- | src/ui/WaitingDialog.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ui/WaitingDialog.cpp b/src/ui/WaitingDialog.cpp new file mode 100644 index 00000000..8281385a --- /dev/null +++ b/src/ui/WaitingDialog.cpp @@ -0,0 +1,15 @@ +#include "ui/WaitingDialog.h" + +WaitingDialog::WaitingDialog(QWidget *parent) : QDialog(parent) { + auto *pb = new QProgressBar(); + pb->setRange(0, 0); + + auto *layout = new QVBoxLayout(); + layout->addWidget(pb); + this->setLayout(layout); + + this->setModal(true); + this->setWindowTitle(tr("Processing")); + this->setFixedSize(240, 42); + this->show(); +} |