20 #include "ui_dialogwaiting.h" 21 #include <QPushButton> 50 ui->progressBar->setValue(val);
51 qApp->processEvents();
58 ui->progressBar->reset();
67 ui->progressBar->setRange(min,max);
68 ui->progressBar->setFormat(
QObject::tr(
"%p% effectué (%v sur %m)"));
76 ui->labelTitle->setText(val);
84 ui->label_detail->setText(val);
93 return ui->progressBar->value();
void setProgressBar(int val)
DialogWaiting::setProgressBar.
void setTitle(const QString &val)
DialogWaiting::setTitle of action.
static DialogWaiting * m_static_dialog
void setDetail(const QString &val)
DialogWaiting::setDetail of action.
~DialogWaiting() override
DialogWaiting::~DialogWaiting.
void setProgressBarRange(int min, int max)
DialogWaiting::setProgressBarRange.
int progressBarValue() const
DialogWaiting::progressBarValue.
void setProgressReset()
DialogWaiting::setProgressReset, clear progressBar and reset.
DialogWaiting(QWidget *parent=nullptr)
DialogWaiting::DialogWaiting.