summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-26 18:41:25 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-26 20:11:41 +0200
commitfa17cb904c270e8227c0446bee4b51789eb5bb8c (patch)
tree97069aa4d4062ed710442cb119a10cae6d2e1351 /rbutil/rbutilqt/rbutilqt.h
parent9b783bc1050d9288e5392cb1eb90dcde2401f8bb (diff)
downloadrockbox-fa17cb904c270e8227c0446bee4b51789eb5bb8c.tar.gz
rockbox-fa17cb904c270e8227c0446bee4b51789eb5bb8c.tar.bz2
rockbox-fa17cb904c270e8227c0446bee4b51789eb5bb8c.zip
Rework Installation and remove Quick Start tab.
The Quick Start tab turned out to be used a lot but not explaining what its functionality actually does, leading to various amount of confusion. The Quick Start tab and its functionality have been completely removed. As replacement the reworked Installation tab now includes both the entries from the old Installation tab (Bootloader and Rockbox) and the Extras tab (Fonts, Themes, Game files). Each of the items can be enabled or disabled individually, and the selection is saved in the configuration. The only exception is the bootloader option, since installing the bootloader is only needed once. To help with this the bootloader checkbox is automatically enabled if no Rockbox installation is found, and disabled if one is found. While it would be nicer to check if the bootloader is actually installed this is not possible for various players so the implementation simply relies on a Rockbox installation. This should also make it much easier to update an existing installation. Current limitations: - the selected themes are not saved. - it is not possible to detect if the target has the plugins that require additional game files prior to installation. Thus the "Game files" option is available for all targets but simply skipped if the plugins are not found. Change-Id: I1929bb7045e382fcbba431cca057d3121607d3a9
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.h')
-rw-r--r--rbutil/rbutilqt/rbutilqt.h24
1 files changed, 2 insertions, 22 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.h b/rbutil/rbutilqt/rbutilqt.h
index 3e57af589b..1db100430a 100644
--- a/rbutil/rbutilqt/rbutilqt.h
+++ b/rbutil/rbutilqt/rbutilqt.h
@@ -34,6 +34,7 @@
#include "bootloaderinstallbase.h"
#include "manualwidget.h"
#include "infowidget.h"
+#include "selectiveinstallwidget.h"
#include "backupdialog.h"
class RbUtilQt : public QMainWindow
@@ -48,6 +49,7 @@ class RbUtilQt : public QMainWindow
private:
ManualWidget *manual;
InfoWidget *info;
+ SelectiveInstallWidget* selectiveinstallwidget;
BackupDialog *backupdialog;
Ui::RbUtilQtFrm ui;
@@ -81,29 +83,8 @@ class RbUtilQt : public QMainWindow
void updateDevice(void);
void updateSettings(void);
- void completeInstall(void);
- void smallInstall(void);
- bool smallInstallInner(void);
void installdone(bool error);
- void installBtn(void);
- bool installAuto(void);
- void install(void);
-
- void installBootloaderBtn(void);
- bool installBootloaderAuto(void);
- void installBootloader(void);
- void installBootloaderPost(bool error);
-
- void installFontsBtn(void);
- bool installFontsAuto(void);
- void installFonts(void);
-
- bool hasDoom(void);
- void installDoomBtn(void);
- bool installDoomAuto(void);
- void installDoom(void);
-
void createTalkFiles(void);
void createVoiceFile(void);
void downloadDone(bool);
@@ -111,7 +92,6 @@ class RbUtilQt : public QMainWindow
void backup(void);
void installVoice(void);
- void installThemes(void);
void uninstall(void);
void uninstallBootloader(void);
void installPortable(void);