diff options
Diffstat (limited to 'src/ui/WaitingDialog.cpp')
-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(); +} |