Kept: TetraIF/, Z/src, Lts/Common, Lts/Proxies/TrainingAreaBase (tabTelegrams dependency of TetraIF) plus build scaffolding (cmake/, include/, external/, doxygen/, tests/, translations/, lts-cc.conf, CTestCustom.ctest, new_docker_build.sh, rti_license.dat). Removed: out-of-scope Lts modules (Application, DDS, Plugins, Projects, Services, Tools, Viewer, all Proxies except TrainingAreaBase), top-level src/, specs/, Qt5 tree (qt5-before + .gitmodules entry), migration reports and leftover scripts.
34 lines
544 B
C++
Executable File
34 lines
544 B
C++
Executable File
#include "WaitWnd.h"
|
|
|
|
#include "ui_WaitWndUi.h"
|
|
|
|
|
|
WaitWnd::WaitWnd(QWidget* parent)
|
|
: QDialog(parent)
|
|
, m_ui(new Ui::WaitWnd)
|
|
{
|
|
m_ui->setupUi(this);
|
|
}
|
|
|
|
WaitWnd::~WaitWnd()
|
|
{
|
|
delete m_ui;
|
|
}
|
|
|
|
void WaitWnd::wait(const QString &text)
|
|
{
|
|
m_ui->progressBar->setMinimum(0);
|
|
m_ui->progressBar->setMaximum(0);
|
|
m_ui->progressBar->setValue(-1);
|
|
|
|
m_ui->label->setText(text);
|
|
show();
|
|
}
|
|
|
|
void WaitWnd::setStatus(int status)
|
|
{
|
|
m_ui->progressBar->setMinimum(0);
|
|
m_ui->progressBar->setMaximum(100);
|
|
m_ui->progressBar->setValue(status);
|
|
}
|