AppPreferencesDialog is done. All firmware settings can now be selected, since the horrible, horrible code from downloadDialog has been integrated.

Next step:
Remove fw selection code from the download dialog and instead display default firmware name.
This commit is contained in:
Kjell Kernen
2014-04-18 22:20:43 +02:00
parent ae3327f5a1
commit c911098d84
3 changed files with 490 additions and 222 deletions
+17 -1
View File
@@ -21,7 +21,16 @@ public:
Joystick *joystick;
private:
int initialRadioType;
QList<QCheckBox *> optionsCheckBoxes;
bool updateLock;
void showVoice(bool);
void showVoice();
void hideVoice();
void populateLocale();
void populateFirmwareOptions(const FirmwareInfo *);
FirmwareVariant getFirmwareVariant();
QCheckBox * voice;
Ui::appPreferencesDialog *ui;
void initSettings();
bool displayImage( QString fileName );
@@ -29,6 +38,13 @@ private:
void loadFromProfile();
private slots:
void shrink();
void firmwareLangChanged();
void baseFirmwareChanged();
void firmwareOptionChanged(bool state);
void firmwareChanged();
void writeValues();
void on_libraryPathButton_clicked();
void on_snapshotPathButton_clicked();