feat(cpn): Enhancements to update component runtime options (#2324)

* enh(cpn): Save update component asset options and manage in app settings

* Add option to delete decompress folders independent of delete download folder

* Fix sdsync to point to last update folder

* Update options dlg to allow choosing release channel and saving settings as defaults

* Rename params

* Asset options dialog shared between settings and update run. Add to Save as defaults
This commit is contained in:
Neil Horne
2022-09-26 08:55:16 +10:00
committed by GitHub
parent 30c54b48c9
commit 3563e917c6
31 changed files with 1016 additions and 555 deletions
+10 -2
View File
@@ -27,7 +27,10 @@
#include <QDialog>
#include <QCheckBox>
#include <QLabel>
#include <QComboBox>
#include <QPushButton>
#include <QString>
#include <QMap>
namespace Ui {
class UpdatesDialog;
@@ -49,10 +52,15 @@ class UpdatesDialog : public QDialog
private:
Ui::UpdatesDialog *ui;
UpdateFactories *factories;
UpdateParameters *runParams;
QMap<QString, int> sortedCompList;
QCheckBox *chkUpdate[MAX_COMPONENTS];
QComboBox *cboRelChannel[MAX_COMPONENTS];
QLabel *lblCurrentRel[MAX_COMPONENTS];
QLabel *lblUpdateRel[MAX_COMPONENTS];
QComboBox *cboUpdateRel[MAX_COMPONENTS];
QPushButton *btnOptions[MAX_COMPONENTS];
};
void saveAsDefaults();
};