4 #include "moc_BusyDialog.cpp"
8 : QDialog(parent, Qt::Dialog | Qt::WindowTitleHint),
9 CheckFinishedTimer(new QTimer(this)), CheckFinishedFunction(nullptr)
25 ui.DescriptionLabel->setText(
"Please wait...");
27 ui.DescriptionLabel->setText(Text);
Implements a dialog with a progress bar, which shows the user that DynExp is busy.
CheckFinishedFunctionType CheckFinishedFunction
virtual void closeEvent(QCloseEvent *event) override
void SetDescriptionText(QString Text)
std::exception_ptr Exception
std::function< bool(void)> CheckFinishedFunctionType
void SetCheckFinishedFunction(const CheckFinishedFunctionType CheckFinishedFunction)
virtual void showEvent(QShowEvent *event) override
QTimer * CheckFinishedTimer
BusyDialog(QWidget *parent)
virtual void reject() override
Thrown when an operation timed out before it could be completed, especially used for locking shared d...
constexpr auto DynExpName
DynExp's name string
Accumulates include statements to provide a precompiled header.