Update configuration dialog and disable unimplemented items. Add some nice icons...
[Rockbox.git] / rbutil / rbutilqt / configurefrm.ui
blob8310c71ae7ae7a3397d3f936590e5b47700d6942
1 <ui version="4.0" >
2  <class>ConfigForm</class>
3  <widget class="QDialog" name="ConfigForm" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>476</width>
9     <height>384</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>Configuration</string>
14   </property>
15   <layout class="QGridLayout" >
16    <item row="0" column="0" colspan="3" >
17     <widget class="QLabel" name="labelTitle" >
18      <property name="text" >
19       <string>Configure Rockbox Utility</string>
20      </property>
21     </widget>
22    </item>
23    <item row="2" column="0" >
24     <spacer>
25      <property name="orientation" >
26       <enum>Qt::Horizontal</enum>
27      </property>
28      <property name="sizeHint" >
29       <size>
30        <width>40</width>
31        <height>20</height>
32       </size>
33      </property>
34     </spacer>
35    </item>
36    <item row="2" column="1" >
37     <widget class="QPushButton" name="buttonOk" >
38      <property name="text" >
39       <string>&amp;Ok</string>
40      </property>
41      <property name="icon" >
42       <iconset resource="rbutilqt.qrc" >:/icons/icons/go-next.png</iconset>
43      </property>
44     </widget>
45    </item>
46    <item row="2" column="2" >
47     <widget class="QPushButton" name="buttonCancel" >
48      <property name="text" >
49       <string>&amp;Cancel</string>
50      </property>
51      <property name="icon" >
52       <iconset resource="rbutilqt.qrc" >:/icons/icons/process-stop.png</iconset>
53      </property>
54     </widget>
55    </item>
56    <item row="1" column="0" colspan="3" >
57     <widget class="QTabWidget" name="tabConfiguration" >
58      <property name="currentIndex" >
59       <number>0</number>
60      </property>
61      <widget class="QWidget" name="tabProxy" >
62       <attribute name="title" >
63        <string>&amp;Proxy</string>
64       </attribute>
65       <layout class="QGridLayout" >
66        <item row="0" column="0" >
67         <widget class="QRadioButton" name="radioNoProxy" >
68          <property name="text" >
69           <string>&amp;No Proxy</string>
70          </property>
71          <property name="checked" >
72           <bool>true</bool>
73          </property>
74         </widget>
75        </item>
76        <item row="1" column="0" >
77         <widget class="QRadioButton" name="radioSystemProxy" >
78          <property name="text" >
79           <string>Use S&amp;ystem values</string>
80          </property>
81         </widget>
82        </item>
83        <item row="2" column="0" >
84         <widget class="QRadioButton" name="radioManualProxy" >
85          <property name="text" >
86           <string>&amp;Manual Proxy settings</string>
87          </property>
88         </widget>
89        </item>
90        <item row="3" column="0" >
91         <widget class="QGroupBox" name="groupBox" >
92          <property name="title" >
93           <string>Proxy Values</string>
94          </property>
95          <layout class="QGridLayout" >
96           <item row="0" column="0" >
97            <widget class="QLabel" name="label" >
98             <property name="text" >
99              <string>&amp;Host:</string>
100             </property>
101             <property name="buddy" >
102              <cstring>proxyHost</cstring>
103             </property>
104            </widget>
105           </item>
106           <item row="0" column="1" >
107            <widget class="QLineEdit" name="proxyHost" >
108             <property name="frame" >
109              <bool>true</bool>
110             </property>
111            </widget>
112           </item>
113           <item row="1" column="0" >
114            <widget class="QLabel" name="label_2" >
115             <property name="text" >
116              <string>&amp;Port:</string>
117             </property>
118             <property name="buddy" >
119              <cstring>proxyPort</cstring>
120             </property>
121            </widget>
122           </item>
123           <item row="1" column="1" >
124            <widget class="QLineEdit" name="proxyPort" />
125           </item>
126           <item row="2" column="1" >
127            <widget class="QLineEdit" name="proxyUser" />
128           </item>
129           <item row="3" column="1" >
130            <widget class="QLineEdit" name="proxyPass" >
131             <property name="echoMode" >
132              <enum>QLineEdit::Password</enum>
133             </property>
134            </widget>
135           </item>
136           <item row="2" column="0" >
137            <widget class="QLabel" name="label_3" >
138             <property name="text" >
139              <string>&amp;Username</string>
140             </property>
141             <property name="buddy" >
142              <cstring>proxyUser</cstring>
143             </property>
144            </widget>
145           </item>
146           <item row="3" column="0" >
147            <widget class="QLabel" name="label_4" >
148             <property name="text" >
149              <string>Pass&amp;word</string>
150             </property>
151             <property name="buddy" >
152              <cstring>proxyPass</cstring>
153             </property>
154            </widget>
155           </item>
156          </layout>
157         </widget>
158        </item>
159        <item row="4" column="0" >
160         <spacer>
161          <property name="orientation" >
162           <enum>Qt::Vertical</enum>
163          </property>
164          <property name="sizeHint" >
165           <size>
166            <width>20</width>
167            <height>40</height>
168           </size>
169          </property>
170         </spacer>
171        </item>
172       </layout>
173      </widget>
174      <widget class="QWidget" name="tabLanguage" >
175       <attribute name="title" >
176        <string>&amp;Language</string>
177       </attribute>
178       <layout class="QGridLayout" >
179        <item row="0" column="0" >
180         <widget class="QListWidget" name="listLanguages" />
181        </item>
182       </layout>
183      </widget>
184      <widget class="QWidget" name="tabCache" >
185       <attribute name="title" >
186        <string>C&amp;ache</string>
187       </attribute>
188       <attribute name="toolTip" >
189        <string>Download cache settings</string>
190       </attribute>
191       <layout class="QGridLayout" >
192        <item row="0" column="0" colspan="2" >
193         <widget class="QLabel" name="cacheDescription" >
194          <property name="text" >
195           <string>Rockbox Utility uses a local download cache to save network traffic. You can change the path to the cache and use it as local repository by enabling Offline mode.</string>
196          </property>
197          <property name="wordWrap" >
198           <bool>true</bool>
199          </property>
200         </widget>
201        </item>
202        <item row="1" column="0" >
203         <widget class="QLabel" name="cacheSize" >
204          <property name="text" >
205           <string>Current cache size is %1</string>
206          </property>
207         </widget>
208        </item>
209        <item row="2" column="0" colspan="2" >
210         <layout class="QHBoxLayout" >
211          <item>
212           <widget class="QLabel" name="label_5" >
213            <property name="text" >
214             <string>P&amp;ath</string>
215            </property>
216            <property name="buddy" >
217             <cstring>cachePath</cstring>
218            </property>
219           </widget>
220          </item>
221          <item>
222           <widget class="QLineEdit" name="cachePath" />
223          </item>
224          <item>
225           <widget class="QPushButton" name="buttonCacheBrowse" >
226            <property name="text" >
227             <string>&amp;Browse</string>
228            </property>
229            <property name="icon" >
230             <iconset resource="rbutilqt.qrc" >:/icons/icons/system-search.png</iconset>
231            </property>
232           </widget>
233          </item>
234         </layout>
235        </item>
236        <item row="3" column="0" colspan="2" >
237         <layout class="QVBoxLayout" >
238          <item>
239           <widget class="QCheckBox" name="cacheDisable" >
240            <property name="text" >
241             <string>Disable local &amp;download cache</string>
242            </property>
243           </widget>
244          </item>
245          <item>
246           <widget class="QCheckBox" name="cacheOfflineMode" >
247            <property name="text" >
248             <string>O&amp;ffline mode</string>
249            </property>
250           </widget>
251          </item>
252         </layout>
253        </item>
254        <item row="4" column="1" >
255         <spacer>
256          <property name="orientation" >
257           <enum>Qt::Vertical</enum>
258          </property>
259          <property name="sizeHint" >
260           <size>
261            <width>20</width>
262            <height>61</height>
263           </size>
264          </property>
265         </spacer>
266        </item>
267        <item row="5" column="0" >
268         <spacer>
269          <property name="orientation" >
270           <enum>Qt::Horizontal</enum>
271          </property>
272          <property name="sizeHint" >
273           <size>
274            <width>40</width>
275            <height>20</height>
276           </size>
277          </property>
278         </spacer>
279        </item>
280        <item row="5" column="1" >
281         <widget class="QPushButton" name="buttonCacheClear" >
282          <property name="text" >
283           <string>Clean cache &amp;now</string>
284          </property>
285         </widget>
286        </item>
287       </layout>
288      </widget>
289      <widget class="QWidget" name="tabScrobbler" >
290       <attribute name="title" >
291        <string>&amp;Scrobbler</string>
292       </attribute>
293       <layout class="QGridLayout" >
294        <item row="0" column="0" >
295         <widget class="QLabel" name="label_8" >
296          <property name="text" >
297           <string>&amp;Username</string>
298          </property>
299          <property name="buddy" >
300           <cstring>scrobblerUser</cstring>
301          </property>
302         </widget>
303        </item>
304        <item row="0" column="1" >
305         <widget class="QLineEdit" name="scrobblerUser" />
306        </item>
307        <item row="1" column="0" >
308         <widget class="QLabel" name="label_9" >
309          <property name="text" >
310           <string>P&amp;assword</string>
311          </property>
312          <property name="buddy" >
313           <cstring>scrobblerPass</cstring>
314          </property>
315         </widget>
316        </item>
317        <item row="1" column="1" >
318         <widget class="QLineEdit" name="scrobblerPass" >
319          <property name="echoMode" >
320           <enum>QLineEdit::Password</enum>
321          </property>
322         </widget>
323        </item>
324        <item row="2" column="0" >
325         <widget class="QLabel" name="label_10" >
326          <property name="text" >
327           <string>&amp;Timezone</string>
328          </property>
329          <property name="buddy" >
330           <cstring>scrobblerTimezone</cstring>
331          </property>
332         </widget>
333        </item>
334        <item row="2" column="1" >
335         <widget class="QComboBox" name="scrobblerTimezone" />
336        </item>
337        <item row="4" column="1" >
338         <spacer>
339          <property name="orientation" >
340           <enum>Qt::Vertical</enum>
341          </property>
342          <property name="sizeHint" >
343           <size>
344            <width>20</width>
345            <height>40</height>
346           </size>
347          </property>
348         </spacer>
349        </item>
350       </layout>
351      </widget>
352     </widget>
353    </item>
354   </layout>
355  </widget>
356  <resources>
357   <include location="rbutilqt.qrc" />
358  </resources>
359  <connections/>
360 </ui>