add mp3 and ogg torrent url info to JamendoAlbum
[amarok.git] / src / dbsetup.ui
blobfdaee1293bd8c979655f11afb815296f1d28850e
1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2 <class>DbSetup</class>
3 <widget class="QWidget">
4     <property name="name">
5         <cstring>DbSetup</cstring>
6     </property>
7     <property name="geometry">
8         <rect>
9             <x>0</x>
10             <y>0</y>
11             <width>385</width>
12             <height>155</height>
13         </rect>
14     </property>
15     <property name="caption">
16         <string>Database Setup</string>
17     </property>
18     <grid>
19         <property name="name">
20             <cstring>unnamed</cstring>
21         </property>
22         <property name="margin">
23             <number>0</number>
24         </property>
25         <widget class="QWidgetStack" row="1" column="0" rowspan="1" colspan="2">
26             <property name="name">
27                 <cstring>configStack</cstring>
28             </property>
29             <property name="frameShadow">
30                 <enum>Plain</enum>
31             </property>
32             <widget class="QWidget">
33                 <property name="name">
34                     <cstring>SQLLite</cstring>
35                 </property>
36                 <attribute name="id">
37                     <number>0</number>
38                 </attribute>
39             </widget>
40             <widget class="QWidget">
41                 <property name="name">
42                     <cstring>MySQL</cstring>
43                 </property>
44                 <attribute name="id">
45                     <number>1</number>
46                 </attribute>
47                 <hbox>
48                     <property name="name">
49                         <cstring>unnamed</cstring>
50                     </property>
51                     <property name="margin">
52                         <number>0</number>
53                     </property>
54                     <widget class="QFrame">
55                         <property name="name">
56                             <cstring>mySqlFrame</cstring>
57                         </property>
58                         <property name="frameShape">
59                             <enum>NoFrame</enum>
60                         </property>
61                         <property name="frameShadow">
62                             <enum>Raised</enum>
63                         </property>
64                         <property name="lineWidth">
65                             <number>0</number>
66                         </property>
67                         <grid>
68                             <property name="name">
69                                 <cstring>unnamed</cstring>
70                             </property>
71                             <property name="margin">
72                                 <number>0</number>
73                             </property>
74                             <widget class="QGroupBox" row="0" column="0">
75                                 <property name="name">
76                                     <cstring>mysqlConfig</cstring>
77                                 </property>
78                                 <property name="title">
79                                     <string>MySQL Configuration</string>
80                                 </property>
81                                 <grid>
82                                     <property name="name">
83                                         <cstring>unnamed</cstring>
84                                     </property>
85                                     <widget class="QLabel" row="0" column="0">
86                                         <property name="name">
87                                             <cstring>textLabel1</cstring>
88                                         </property>
89                                         <property name="text">
90                                             <string>Hostname:</string>
91                                         </property>
92                                     </widget>
93                                     <widget class="QLabel" row="1" column="0">
94                                         <property name="name">
95                                             <cstring>textLabel5</cstring>
96                                         </property>
97                                         <property name="text">
98                                             <string>Database:</string>
99                                         </property>
100                                     </widget>
101                                     <widget class="QSpinBox" row="0" column="3">
102                                         <property name="name">
103                                             <cstring>kcfg_MySqlPort</cstring>
104                                         </property>
105                                         <property name="maximumSize">
106                                             <size>
107                                                 <width>100</width>
108                                                 <height>32767</height>
109                                             </size>
110                                         </property>
111                                         <property name="maxValue">
112                                             <number>65535</number>
113                                         </property>
114                                         <property name="toolTip" stdset="0">
115                                             <string>Which port mysql should connect to.</string>
116                                         </property>
117                                         <property name="whatsThis" stdset="0">
118                                             <string>Which port mysql should connect to.</string>
119                                         </property>
120                                     </widget>
121                                     <widget class="QLabel" row="0" column="2">
122                                         <property name="name">
123                                             <cstring>textLabel2</cstring>
124                                         </property>
125                                         <property name="text">
126                                             <string>Port:</string>
127                                         </property>
128                                     </widget>
129                                     <widget class="KLineEdit" row="0" column="1">
130                                         <property name="name">
131                                             <cstring>kcfg_MySqlHost</cstring>
132                                         </property>
133                                         <property name="toolTip" stdset="0">
134                                             <string>Hostname where database lives.</string>
135                                         </property>
136                                         <property name="whatsThis" stdset="0">
137                                             <string>Hostname where database lives.</string>
138                                         </property>
139                                     </widget>
140                                     <widget class="KLineEdit" row="1" column="1">
141                                         <property name="name">
142                                             <cstring>kcfg_MySqlDbName</cstring>
143                                         </property>
144                                         <property name="toolTip" stdset="0">
145                                             <string>Name of the database.</string>
146                                         </property>
147                                         <property name="whatsThis" stdset="0">
148                                             <string>Name of the database.</string>
149                                         </property>
150                                     </widget>
151                                     <widget class="Line" row="2" column="0" rowspan="1" colspan="4">
152                                         <property name="name">
153                                             <cstring>line1</cstring>
154                                         </property>
155                                         <property name="frameShape">
156                                             <enum>HLine</enum>
157                                         </property>
158                                         <property name="frameShadow">
159                                             <enum>Sunken</enum>
160                                         </property>
161                                         <property name="orientation">
162                                             <enum>Horizontal</enum>
163                                         </property>
164                                     </widget>
165                                     <widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="4">
166                                         <property name="name">
167                                             <cstring>layout4</cstring>
168                                         </property>
169                                         <hbox>
170                                             <property name="name">
171                                                 <cstring>unnamed</cstring>
172                                             </property>
173                                             <widget class="QLabel">
174                                                 <property name="name">
175                                                     <cstring>textLabel3</cstring>
176                                                 </property>
177                                                 <property name="text">
178                                                     <string>Username:</string>
179                                                 </property>
180                                             </widget>
181                                             <widget class="KLineEdit">
182                                                 <property name="name">
183                                                     <cstring>kcfg_MySqlUser</cstring>
184                                                 </property>
185                                                 <property name="toolTip" stdset="0">
186                                                     <string>Username with which to connect to.</string>
187                                                 </property>
188                                                 <property name="whatsThis" stdset="0">
189                                                     <string>Username with which to connect to.</string>
190                                                 </property>
191                                             </widget>
192                                             <widget class="QLabel">
193                                                 <property name="name">
194                                                     <cstring>textLabel4</cstring>
195                                                 </property>
196                                                 <property name="text">
197                                                     <string>Password:</string>
198                                                 </property>
199                                             </widget>
200                                             <widget class="KLineEdit">
201                                                 <property name="name">
202                                                     <cstring>kcfg_MySqlPassword2</cstring>
203                                                 </property>
204                                                 <property name="echoMode">
205                                                     <enum>Password</enum>
206                                                 </property>
207                                                 <property name="toolTip" stdset="0">
208                                                     <string>Password with which to connect to.</string>
209                                                 </property>
210                                                 <property name="whatsThis" stdset="0">
211                                                     <string>Password with which to connect to.</string>
212                                                 </property>
213                                             </widget>
214                                         </hbox>
215                                     </widget>
216                                 </grid>
217                             </widget>
218                         </grid>
219                     </widget>
220                 </hbox>
221             </widget>
222             <widget class="QWidget">
223                 <property name="name">
224                     <cstring>PostgreSQL</cstring>
225                 </property>
226                 <attribute name="id">
227                     <number>2</number>
228                 </attribute>
229                 <hbox>
230                     <property name="name">
231                         <cstring>unnamed</cstring>
232                     </property>
233                     <property name="margin">
234                         <number>0</number>
235                     </property>
236                     <widget class="QFrame">
237                         <property name="name">
238                             <cstring>postgreSqlFrame</cstring>
239                         </property>
240                         <property name="frameShape">
241                             <enum>NoFrame</enum>
242                         </property>
243                         <property name="frameShadow">
244                             <enum>Raised</enum>
245                         </property>
246                         <grid>
247                             <property name="name">
248                                 <cstring>unnamed</cstring>
249                             </property>
250                             <property name="margin">
251                                 <number>0</number>
252                             </property>
253                             <widget class="QGroupBox" row="0" column="0">
254                                 <property name="name">
255                                     <cstring>postgresqlConfig</cstring>
256                                 </property>
257                                 <property name="title">
258                                     <string>PostgreSQL Configuration</string>
259                                 </property>
260                                 <grid>
261                                     <property name="name">
262                                         <cstring>unnamed</cstring>
263                                     </property>
264                                     <widget class="QLabel" row="0" column="0">
265                                         <property name="name">
266                                             <cstring>textLabel1</cstring>
267                                         </property>
268                                         <property name="text">
269                                             <string>Hostname:</string>
270                                         </property>
271                                     </widget>
272                                     <widget class="QLabel" row="1" column="0">
273                                         <property name="name">
274                                             <cstring>textLabel5</cstring>
275                                         </property>
276                                         <property name="text">
277                                             <string>Database:</string>
278                                         </property>
279                                     </widget>
280                                     <widget class="QSpinBox" row="0" column="3">
281                                         <property name="name">
282                                             <cstring>kcfg_PostgresqlPort</cstring>
283                                         </property>
284                                         <property name="maximumSize">
285                                             <size>
286                                                 <width>100</width>
287                                                 <height>32767</height>
288                                             </size>
289                                         </property>
290                                         <property name="maxValue">
291                                             <number>65535</number>
292                                         </property>
293                                         <property name="toolTip" stdset="0">
294                                             <string>Which port postgresql should connect to.</string>
295                                         </property>
296                                         <property name="whatsThis" stdset="0">
297                                             <string>Which port postgresql should connect to.</string>
298                                         </property>
299                                     </widget>
300                                     <widget class="QLabel" row="0" column="2">
301                                         <property name="name">
302                                             <cstring>textLabel2</cstring>
303                                         </property>
304                                         <property name="text">
305                                             <string>Port:</string>
306                                         </property>
307                                     </widget>
308                                     <widget class="KLineEdit" row="0" column="1">
309                                         <property name="name">
310                                             <cstring>kcfg_PostgresqlHost</cstring>
311                                         </property>
312                                         <property name="toolTip" stdset="0">
313                                             <string>Hostname where database lives.</string>
314                                         </property>
315                                         <property name="whatsThis" stdset="0">
316                                             <string>Hostname where database lives.</string>
317                                         </property>
318                                     </widget>
319                                     <widget class="KLineEdit" row="1" column="1">
320                                         <property name="name">
321                                             <cstring>kcfg_PostgresqlDbName</cstring>
322                                         </property>
323                                         <property name="toolTip" stdset="0">
324                                             <string>Name of the database.</string>
325                                         </property>
326                                         <property name="whatsThis" stdset="0">
327                                             <string>Name of the database.</string>
328                                         </property>
329                                     </widget>
330                                     <widget class="Line" row="2" column="0" rowspan="1" colspan="4">
331                                         <property name="name">
332                                             <cstring>line1</cstring>
333                                         </property>
334                                         <property name="frameShape">
335                                             <enum>HLine</enum>
336                                         </property>
337                                         <property name="frameShadow">
338                                             <enum>Sunken</enum>
339                                         </property>
340                                         <property name="orientation">
341                                             <enum>Horizontal</enum>
342                                         </property>
343                                     </widget>
344                                     <widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="4">
345                                         <property name="name">
346                                             <cstring>layout4</cstring>
347                                         </property>
348                                         <hbox>
349                                             <property name="name">
350                                                 <cstring>unnamed</cstring>
351                                             </property>
352                                             <widget class="QLabel">
353                                                 <property name="name">
354                                                     <cstring>textLabel3</cstring>
355                                                 </property>
356                                                 <property name="text">
357                                                     <string>Username:</string>
358                                                 </property>
359                                             </widget>
360                                             <widget class="KLineEdit">
361                                                 <property name="name">
362                                                     <cstring>kcfg_PostgresqlUser</cstring>
363                                                 </property>
364                                                 <property name="toolTip" stdset="0">
365                                                     <string>Username with which to connect to.</string>
366                                                 </property>
367                                                 <property name="whatsThis" stdset="0">
368                                                     <string>Username with which to connect to.</string>
369                                                 </property>
370                                             </widget>
371                                             <widget class="QLabel">
372                                                 <property name="name">
373                                                     <cstring>textLabel4</cstring>
374                                                 </property>
375                                                 <property name="text">
376                                                     <string>Password:</string>
377                                                 </property>
378                                             </widget>
379                                             <widget class="KLineEdit">
380                                                 <property name="name">
381                                                     <cstring>kcfg_PostgresqlPassword2</cstring>
382                                                 </property>
383                                                 <property name="echoMode">
384                                                     <enum>Password</enum>
385                                                 </property>
386                                                 <property name="toolTip" stdset="0">
387                                                     <string>Password with which to connect to.</string>
388                                                 </property>
389                                                 <property name="whatsThis" stdset="0">
390                                                     <string>Password with which to connect to.</string>
391                                                 </property>
392                                             </widget>
393                                         </hbox>
394                                     </widget>
395                                 </grid>
396                             </widget>
397                         </grid>
398                     </widget>
399                 </hbox>
400             </widget>
401         </widget>
402         <widget class="QLabel" row="0" column="0">
403             <property name="name">
404                 <cstring>textLabel1_2</cstring>
405             </property>
406             <property name="text">
407                 <string>Database:</string>
408             </property>
409         </widget>
410         <widget class="KComboBox" row="0" column="1">
411             <item>
412                 <property name="text">
413                     <string>SQLite</string>
414                 </property>
415             </item>
416             <property name="name">
417                 <cstring>databaseEngine</cstring>
418             </property>
419             <property name="sizePolicy">
420                 <sizepolicy>
421                     <hsizetype>7</hsizetype>
422                     <vsizetype>0</vsizetype>
423                     <horstretch>0</horstretch>
424                     <verstretch>0</verstretch>
425                 </sizepolicy>
426             </property>
427         </widget>
428     </grid>
429 </widget>
430 <connections>
431     <connection>
432         <sender>databaseEngine</sender>
433         <signal>activated(int)</signal>
434         <receiver>configStack</receiver>
435         <slot>raiseWidget(int)</slot>
436     </connection>
437     <connection>
438         <sender>databaseEngine</sender>
439         <signal>activated(int)</signal>
440         <receiver>DbSetup</receiver>
441         <slot>databaseEngine_activated(int)</slot>
442     </connection>
443 </connections>
444 <includes>
445     <include location="local" impldecl="in implementation">amarokconfig.h</include>
446     <include location="local" impldecl="in implementation">debug.h</include>
447     <include location="local" impldecl="in implementation">config-amarok.h</include>
448     <include location="local" impldecl="in implementation">dbsetup.ui.h</include>
449 </includes>
450 <slots>
451     <slot>databaseEngine_activated( int item )</slot>
452 </slots>
453 <functions>
454     <function access="private">init()</function>
455 </functions>
456 <layoutdefaults spacing="6" margin="11"/>
457 <includehints>
458     <includehint>klineedit.h</includehint>
459     <includehint>klineedit.h</includehint>
460     <includehint>klineedit.h</includehint>
461     <includehint>klineedit.h</includehint>
462     <includehint>klineedit.h</includehint>
463     <includehint>klineedit.h</includehint>
464     <includehint>klineedit.h</includehint>
465     <includehint>klineedit.h</includehint>
466     <includehint>kcombobox.h</includehint>
467 </includehints>
468 </UI>