MCPcopy Create free account
hub / github.com/codestation/qcma / ProgressForm

Method ProgressForm

gui/forms/progressform.cpp:26–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24#include <QScreen>
25
26ProgressForm::ProgressForm(QWidget *obj_parent) :
27 QWidget(obj_parent),
28 ui(new Ui::ProgressForm)
29{
30 ui->setupUi(this);
31 if (QScreen *screen = QGuiApplication::primaryScreen()) {
32 QRect screenGeometry = screen->geometry();
33 move(screenGeometry.center() - rect().center());
34 }
35 setFixedSize(size());
36 setWindowFlags(Qt::CustomizeWindowHint | Qt::WindowTitleHint);
37 connect(ui->cancelButton, &QPushButton::clicked, this, &ProgressForm::cancelConfirm);
38}
39
40ProgressForm::~ProgressForm()
41{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected