summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/gui/backupdialogfrm.ui
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-26 00:24:58 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-26 18:30:27 +0200
commit362f447ede988023951f85f86dc3e7c609fd5014 (patch)
treecf26486dc8f62a25590a88e87f40e62645e5a5e0 /rbutil/rbutilqt/gui/backupdialogfrm.ui
parent8cc46fb01cc86c25e580400b6c2d6cc38665843d (diff)
downloadrockbox-362f447ede988023951f85f86dc3e7c609fd5014.tar.gz
rockbox-362f447ede988023951f85f86dc3e7c609fd5014.zip
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/gui/backupdialogfrm.ui')
-rw-r--r--rbutil/rbutilqt/gui/backupdialogfrm.ui142
1 files changed, 142 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/gui/backupdialogfrm.ui b/rbutil/rbutilqt/gui/backupdialogfrm.ui
new file mode 100644
index 0000000000..5de61d1e91
--- /dev/null
+++ b/rbutil/rbutilqt/gui/backupdialogfrm.ui
@@ -0,0 +1,142 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>BackupDialog</class>
4 <widget class="QDialog" name="BackupDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>554</width>
10 <height>448</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Backup</string>
15 </property>
16 <layout class="QGridLayout" name="gridLayout_2">
17 <item row="0" column="0" rowspan="4">
18 <widget class="QLabel" name="label_4">
19 <property name="text">
20 <string/>
21 </property>
22 <property name="pixmap">
23 <pixmap resource="../rbutilqt.qrc">:/icons/wizard.jpg</pixmap>
24 </property>
25 </widget>
26 </item>
27 <item row="0" column="1" colspan="3">
28 <widget class="QLabel" name="label_2">
29 <property name="text">
30 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This dialog will create a backup by archiving the contents of the Rockbox installation on the player into a zip file. This will include installed themes and settings stored below the .rockbox folder on the player.&lt;/p&gt;&lt;p&gt;The backup filename will be created based on the installed version. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
31 </property>
32 <property name="wordWrap">
33 <bool>true</bool>
34 </property>
35 </widget>
36 </item>
37 <item row="1" column="1" colspan="3">
38 <widget class="QGroupBox" name="groupBox">
39 <property name="title">
40 <string>Backup</string>
41 </property>
42 <layout class="QGridLayout" name="gridLayout">
43 <item row="0" column="0">
44 <widget class="QLabel" name="backupSize">
45 <property name="text">
46 <string>Size: unknown</string>
47 </property>
48 </widget>
49 </item>
50 <item row="1" column="0">
51 <widget class="QLabel" name="backupLocation">
52 <property name="text">
53 <string>Backup to: unknown</string>
54 </property>
55 </widget>
56 </item>
57 <item row="1" column="1">
58 <spacer name="horizontalSpacer">
59 <property name="orientation">
60 <enum>Qt::Horizontal</enum>
61 </property>
62 <property name="sizeHint" stdset="0">
63 <size>
64 <width>78</width>
65 <height>20</height>
66 </size>
67 </property>
68 </spacer>
69 </item>
70 <item row="1" column="2">
71 <widget class="QPushButton" name="buttonChange">
72 <property name="text">
73 <string>&amp;Change</string>
74 </property>
75 <property name="icon">
76 <iconset resource="../rbutilqt.qrc">
77 <normaloff>:/icons/edit-find.png</normaloff>:/icons/edit-find.png</iconset>
78 </property>
79 </widget>
80 </item>
81 </layout>
82 </widget>
83 </item>
84 <item row="2" column="2" colspan="2">
85 <spacer name="verticalSpacer">
86 <property name="orientation">
87 <enum>Qt::Vertical</enum>
88 </property>
89 <property name="sizeHint" stdset="0">
90 <size>
91 <width>20</width>
92 <height>1</height>
93 </size>
94 </property>
95 </spacer>
96 </item>
97 <item row="3" column="1">
98 <spacer name="horizontalSpacer_2">
99 <property name="orientation">
100 <enum>Qt::Horizontal</enum>
101 </property>
102 <property name="sizeHint" stdset="0">
103 <size>
104 <width>143</width>
105 <height>20</height>
106 </size>
107 </property>
108 </spacer>
109 </item>
110 <item row="3" column="2">
111 <widget class="QPushButton" name="buttonBackup">
112 <property name="text">
113 <string>&amp;Backup</string>
114 </property>
115 <property name="icon">
116 <iconset resource="../rbutilqt.qrc">
117 <normaloff>:/icons/go-next.png</normaloff>:/icons/go-next.png</iconset>
118 </property>
119 </widget>
120 </item>
121 <item row="3" column="3">
122 <widget class="QPushButton" name="buttonCancel">
123 <property name="text">
124 <string>&amp;Cancel</string>
125 </property>
126 <property name="icon">
127 <iconset resource="../rbutilqt.qrc">
128 <normaloff>:/icons/process-stop.png</normaloff>:/icons/process-stop.png</iconset>
129 </property>
130 </widget>
131 </item>
132 </layout>
133 </widget>
134 <tabstops>
135 <tabstop>buttonBackup</tabstop>
136 <tabstop>buttonCancel</tabstop>
137 </tabstops>
138 <resources>
139 <include location="../rbutilqt.qrc"/>
140 </resources>
141 <connections/>
142</ui>