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:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user