path: root/rbutil/rbutilqt/rbutilqtfrm.ui
diff options
authorDominik Riebeling <>2012-06-26 00:24:58 +0200
committerDominik Riebeling <>2012-06-26 18:30:27 +0200
commit362f447ede988023951f85f86dc3e7c609fd5014 (patch)
treecf26486dc8f62a25590a88e87f40e62645e5a5e0 /rbutil/rbutilqt/rbutilqtfrm.ui
parent8cc46fb01cc86c25e580400b6c2d6cc38665843d (diff)
Create dedicated backup dialog.
The "Installation" dialog allows backing up the current installation by creating a zip file from the .rockbox folder since quite a while. However, this has the drawback that you need to update your build to create a backup, but creating a backup might be desireable in other cases as well (before updating themes, or just for backup reasons). Since the functionality is somewhat hidden it's also not obvious to users such a functionality exists (most users are likely to use the "Quick Start" instead). Implement backup functionality as dedicated dialog placed on the Uninstall tab. Rename the Uninstall tab to accommodate this. Change-Id: I1d2c6c8f646672d1b66bb442408fbfc2eeec700d
Diffstat (limited to 'rbutil/rbutilqt/rbutilqtfrm.ui')
1 files changed, 26 insertions, 12 deletions
diff --git a/rbutil/rbutilqt/rbutilqtfrm.ui b/rbutil/rbutilqt/rbutilqtfrm.ui
index d851b19021..aae4bd4f9b 100644
--- a/rbutil/rbutilqt/rbutilqtfrm.ui
+++ b/rbutil/rbutilqt/rbutilqtfrm.ui
@@ -282,9 +282,6 @@
<property name="wordWrap">
- <property name="buddy">
- <cstring>buttonRockbox</cstring>
- </property>
<item row="2" column="0">
@@ -549,12 +546,12 @@
<widget class="QWidget" name="uninstall">
<attribute name="title">
- <string>&amp;Uninstallation</string>
+ <string>Backup &amp;&amp; &amp;Uninstallation</string>
<attribute name="toolTip">
<string>Uninstall Rockbox</string>
- <layout class="QGridLayout">
+ <layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QToolButton" name="buttonRemoveBootloader">
<property name="text">
@@ -616,19 +613,36 @@
<item row="2" column="0">
- <spacer>
- <property name="orientation">
- <enum>Qt::Vertical</enum>
+ <widget class="QToolButton" name="buttonBackup">
+ <property name="text">
+ <string>Backup</string>
- <property name="sizeHint" stdset="0">
+ <property name="icon">
+ <iconset resource="rbutilqt.qrc">
+ <normaloff>:/icons/package-x-generic.png</normaloff>:/icons/package-x-generic.png</iconset>
+ </property>
+ <property name="iconSize">
- <width>20</width>
- <height>40</height>
+ <width>56</width>
+ <height>46</height>
- </spacer>
+ </widget>
<item row="2" column="1">
+ <widget class="QLabel" name="labelBackup">
+ <property name="text">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Backup current installation.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Create a backup by archiving the contents of the Rockbox installation folder.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
+ </property>
+ <property name="wordWrap">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0">
<property name="orientation">