From 79d358bacab7d8818e9db1f7e532e7ad07939ed8 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Fri, 12 Oct 2007 16:19:35 +0000 Subject: Add new "actions" menu which allows accessing the install / uninstall actions from the menu. Manual and Info tab are still missing from the menu. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15088 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/rbutilqt/rbutilqt.cpp | 13 ++++ rbutil/rbutilqt/rbutilqtfrm.ui | 160 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 173 insertions(+) diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp index 21ccf92d59..5c64466119 100644 --- a/rbutil/rbutilqt/rbutilqt.cpp +++ b/rbutil/rbutilqt/rbutilqt.cpp @@ -105,6 +105,19 @@ RbUtilQt::RbUtilQt(QWidget *parent) : QMainWindow(parent) connect(ui.buttonSmall, SIGNAL(clicked()), this, SLOT(smallInstall())); connect(ui.buttonComplete, SIGNAL(clicked()), this, SLOT(completeInstall())); + // actions accessible from the menu + connect(ui.actionComplete_Installation, SIGNAL(triggered()), this, SLOT(completeInstall())); + connect(ui.actionSmall_Installation, SIGNAL(triggered()), this, SLOT(smallInstall())); + connect(ui.actionInstall_Bootloader, SIGNAL(triggered()), this, SLOT(installBootloaderBtn())); + connect(ui.actionInstall_Rockbox, SIGNAL(triggered()), this, SLOT(installBtn())); + connect(ui.actionFonts_Package, SIGNAL(triggered()), this, SLOT(installFontsBtn())); + connect(ui.actionInstall_Themes, SIGNAL(triggered()), this, SLOT(installThemes())); + connect(ui.actionInstall_Game_Files, SIGNAL(triggered()), this, SLOT(installDoomBtn())); + connect(ui.actionInstall_Voice_File, SIGNAL(triggered()), this, SLOT(installVoice())); + connect(ui.actionCreate_Talk_Files, SIGNAL(triggered()), this, SLOT(createTalkFiles())); + connect(ui.actionRemove_bootloader, SIGNAL(triggered()), this, SLOT(uninstallBootloader())); + connect(ui.actionUninstall_Rockbox, SIGNAL(triggered()), this, SLOT(uninstall())); + #if !defined(STATIC) ui.actionInstall_Rockbox_Utility_on_player->setEnabled(false); #else diff --git a/rbutil/rbutilqt/rbutilqtfrm.ui b/rbutil/rbutilqt/rbutilqtfrm.ui index 5f1bfe885c..fe929db54d 100644 --- a/rbutil/rbutilqt/rbutilqtfrm.ui +++ b/rbutil/rbutilqt/rbutilqtfrm.ui @@ -822,7 +822,54 @@ p, li { white-space: pre-wrap; } + + + Action&s + + + + Installation + + + + + + + Quick Start + + + + + + + Extras + + + + + + + + Accessibility + + + + + + + Uninstallation + + + + + + + + + + + @@ -864,6 +911,119 @@ p, li { white-space: pre-wrap; } &Help + + + Info + + + + + :/icons/icons/bootloader_btn.png + + + Complete Installation + + + + + :/icons/icons/rbinstall_btn.png + + + Small Installation + + + + + :/icons/icons/bootloader_btn.png + + + Install Bootloader + + + + + :/icons/icons/rbinstall_btn.png + + + Install Rockbox + + + + + :/icons/icons/font_btn.png + + + Fonts Package + + + + + :/icons/icons/themes_btn.png + + + Install Themes + + + + + :/icons/icons/doom_btn.png + + + Install Game Files + + + + + :/icons/icons/talkfile_btn.png + + + Install Voice File + + + + + :/icons/icons/talkfile_btn.png + + + Create Talk Files + + + + + :/icons/icons/rembootloader_btn.png + + + Remove bootloader + + + + + :/icons/icons/remrb_btn.png + + + Uninstall Rockbox + + + + + Read PDF manual + + + + + Read HTML manual + + + + + Download PDF manual + + + + + Download HTML manual (zip) + + tabWidget -- cgit v1.2.3