enh(cpn): Cloudbuild support - phase 1 (#4856)

This commit is contained in:
Neil Horne
2024-05-28 10:50:02 +10:00
committed by GitHub
parent e033da999c
commit 27f53ff195
51 changed files with 2088 additions and 977 deletions
+12 -3
View File
@@ -1,7 +1,8 @@
/*
* Copyright (C) OpenTX
* Copyright (C) EdgeTX
*
* Based on code named
* opentx - https://github.com/opentx/opentx
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
@@ -27,7 +28,8 @@
ProgressDialog::ProgressDialog(QWidget *parent, const QString &title, const QIcon &icon, bool forceOpen):
QDialog(parent),
ui(new Ui::ProgressDialog),
locked(false)
locked(false),
keepOpen(false)
{
ui->setupUi(this);
setWindowTitle(title);
@@ -55,7 +57,8 @@ void ProgressDialog::on_closeButton_clicked()
if (!locked) {
ui->outputProgress->stop();
emit rejected();
close();
if (!keepOpen)
close();
}
}
@@ -89,3 +92,9 @@ void ProgressDialog::setProcessStopped()
{
ui->closeButton->setText(tr("Close"));
}
void ProgressDialog::on_outputProgress_keepOpen(bool val)
{
keepOpen = val;
}