| 19 | #include <QScrollBar> |
| 20 | |
| 21 | JudgingDialog::JudgingDialog(QWidget *parent) : QDialog(parent), ui(new Ui::JudgingDialog) { |
| 22 | ui->setupUi(this); |
| 23 | ui->progressBar->setValue(0); |
| 24 | cursor = new QTextCursor(ui->logViewer->document()); |
| 25 | connect(ui->cancelButton, &QPushButton::clicked, this, &JudgingDialog::stopJudgingSlot); |
| 26 | } |
| 27 | |
| 28 | JudgingDialog::~JudgingDialog() { |
| 29 | delete ui; |
nothing calls this directly
no outgoing calls
no test coverage detected