5 * th9x - http://code.google.com/p/th9x
6 * er9x - http://code.google.com/p/er9x
7 * gruvin9x - http://code.google.com/p/gruvin9x
9 * License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
21 #ifndef _APPPREFERENCESDIALOG_H_
22 #define _APPPREFERENCESDIALOG_H_
26 #include "eeprominterface.h"
29 class AppPreferencesDialog
;
34 class AppPreferencesDialog
: public QDialog
39 explicit AppPreferencesDialog(QWidget
* parent
= 0);
40 ~AppPreferencesDialog();
44 void firmwareProfileChanged(int profId
);
47 QList
<QCheckBox
*> optionsCheckBoxes
;
52 void populateLocale();
53 void populateFirmwareOptions(const Firmware
*);
54 Firmware
* getFirmwareVariant();
57 Ui::AppPreferencesDialog
*ui
;
59 bool displayImage(const QString
& fileName
);
63 void baseFirmwareChanged();
64 void firmwareOptionChanged(bool state
);
65 void toggleAppLogSettings();
68 void on_libraryPathButton_clicked();
69 void on_snapshotPathButton_clicked();
70 void on_snapshotClipboardCKB_clicked();
71 void on_backupPathButton_clicked();
72 void on_ProfilebackupPathButton_clicked();
73 void on_ge_pathButton_clicked();
75 void on_sdPathButton_clicked();
76 void on_SplashSelect_clicked();
77 void on_clearImageButton_clicked();
78 void on_btn_appLogsDir_clicked();
80 #if defined(JOYSTICKS)
81 void on_joystickChkB_clicked();
82 void on_joystickcalButton_clicked();
86 #endif // _APPPREFERENCESDIALOG_H_