Fix two issues reported by Christoph Bartoschek ('Suspicious code in revision 867140...
[kdenetwork.git] / filesharing / simple / controlcenter.ui
blob0f9d2b9f69e1a10c4da47600f55e705a082956d8
1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2 <class>ControlCenterGUI</class>
3 <widget class="QWidget">
4     <property name="name">
5         <cstring>ControlCenterGUI</cstring>
6     </property>
7     <property name="geometry">
8         <rect>
9             <x>0</x>
10             <y>0</y>
11             <width>525</width>
12             <height>535</height>
13         </rect>
14     </property>
15     <vbox>
16         <property name="name">
17             <cstring>unnamed</cstring>
18         </property>
19         <property name="margin">
20             <number>0</number>
21         </property>
22         <widget class="KRichTextLabel">
23             <property name="name">
24                 <cstring>infoLbl</cstring>
25             </property>
26             <property name="margin">
27                 <number>11</number>
28             </property>
29             <property name="text">
30                 <string>SMB and NFS servers are not installed on this machine, to enable this module the servers must be installed.</string>
31             </property>
32             <property name="alignment">
33                 <set>Qt::AlignVCenter</set>
34             </property>
35             <property name="wordWrap" >
36               <bool>true</bool>
37             </property>
38         </widget>
39         <widget class="QButtonGroup">
40             <property name="name">
41                 <cstring>shareGrp</cstring>
42             </property>
43             <property name="title">
44                 <string>Enable Local Networ&amp;k File Sharing</string>
45             </property>
46             <property name="checkable">
47                 <bool>true</bool>
48             </property>
49             <property name="checked">
50                 <bool>true</bool>
51             </property>
52             <vbox>
53                 <property name="name">
54                     <cstring>unnamed</cstring>
55                 </property>
56                 <widget class="QRadioButton">
57                     <property name="name">
58                         <cstring>simpleRadio</cstring>
59                     </property>
60                     <property name="text">
61                         <string>Si&amp;mple sharing</string>
62                     </property>
63                     <property name="checked">
64                         <bool>true</bool>
65                     </property>
66                     <property name="buttonGroupId">
67                         <number>1</number>
68                     </property>
69                 </widget>
70                 <widget class="QLayoutWidget">
71                     <property name="name">
72                         <cstring>layout4</cstring>
73                     </property>
74                     <hbox>
75                         <property name="name">
76                             <cstring>unnamed</cstring>
77                         </property>
78                         <widget class="QFrame">
79                             <property name="name">
80                                 <cstring>frame4_2</cstring>
81                             </property>
82                             <property name="sizePolicy">
83                                 <sizepolicy>
84                                     <hsizetype>0</hsizetype>
85                                     <vsizetype>5</vsizetype>
86                                     <horstretch>0</horstretch>
87                                     <verstretch>0</verstretch>
88                                 </sizepolicy>
89                             </property>
90                             <property name="minimumSize">
91                                 <size>
92                                     <width>11</width>
93                                     <height>0</height>
94                                 </size>
95                             </property>
96                             <property name="frameShape">
97                                 <enum>NoFrame</enum>
98                             </property>
99                             <property name="frameShadow">
100                                 <enum>Raised</enum>
101                             </property>
102                             <property name="margin">
103                                 <number>0</number>
104                             </property>
105                         </widget>
106                         <widget class="KRichTextLabel">
107                             <property name="name">
108                                 <cstring>textLabel1</cstring>
109                             </property>
110                             <property name="font">
111                                 <font>
112                                     <italic>1</italic>
113                                 </font>
114                             </property>
115                             <property name="text">
116                                 <string>Enable simple sharing to allow users to share folders from their HOME folder, without knowing the root password.</string>
117                             </property>
118                             <property name="alignment">
119                                 <set>Qt::AlignVCenter</set>
120                             </property>
121                             <property name="wordWrap" >
122                                 <bool>true</bool>
123                             </property>
124                         </widget>
125                     </hbox>
126                 </widget>
127                 <widget class="QRadioButton">
128                     <property name="name">
129                         <cstring>advancedRadio</cstring>
130                     </property>
131                     <property name="text">
132                         <string>Advanced sharin&amp;g</string>
133                     </property>
134                     <property name="buttonGroupId">
135                         <number>1</number>
136                     </property>
137                 </widget>
138                 <widget class="QLayoutWidget">
139                     <property name="name">
140                         <cstring>layout4_2</cstring>
141                     </property>
142                     <hbox>
143                         <property name="name">
144                             <cstring>unnamed</cstring>
145                         </property>
146                         <widget class="QFrame">
147                             <property name="name">
148                                 <cstring>frame4_2_2</cstring>
149                             </property>
150                             <property name="sizePolicy">
151                                 <sizepolicy>
152                                     <hsizetype>0</hsizetype>
153                                     <vsizetype>5</vsizetype>
154                                     <horstretch>0</horstretch>
155                                     <verstretch>0</verstretch>
156                                 </sizepolicy>
157                             </property>
158                             <property name="minimumSize">
159                                 <size>
160                                     <width>11</width>
161                                     <height>0</height>
162                                 </size>
163                             </property>
164                             <property name="frameShape">
165                                 <enum>NoFrame</enum>
166                             </property>
167                             <property name="frameShadow">
168                                 <enum>Raised</enum>
169                             </property>
170                             <property name="margin">
171                                 <number>0</number>
172                             </property>
173                         </widget>
174                         <widget class="KRichTextLabel">
175                             <property name="name">
176                                 <cstring>textLabel1_2</cstring>
177                             </property>
178                             <property name="font">
179                                 <font>
180                                     <italic>1</italic>
181                                 </font>
182                             </property>
183                             <property name="text">
184                                 <string>Enable advanced sharing to allow users to share any folders, as long as they have write access to the needed configuration files, or they know the root password.</string>
185                             </property>
186                             <property name="alignment">
187                                 <set>Qt::AlignVCenter</set>
188                             </property>
189                             <property name="wordWrap" >
190                                 <bool>true</bool>
191                             </property>
192                         </widget>
193                     </hbox>
194                 </widget>
195                 <widget class="QLayoutWidget">
196                     <property name="name">
197                         <cstring>layout3</cstring>
198                     </property>
199                     <grid>
200                         <property name="name">
201                             <cstring>unnamed</cstring>
202                         </property>
203                         <widget class="QFrame" row="0" column="0" rowspan="2" colspan="1">
204                             <property name="name">
205                                 <cstring>frame4</cstring>
206                             </property>
207                             <property name="sizePolicy">
208                                 <sizepolicy>
209                                     <hsizetype>0</hsizetype>
210                                     <vsizetype>5</vsizetype>
211                                     <horstretch>0</horstretch>
212                                     <verstretch>0</verstretch>
213                                 </sizepolicy>
214                             </property>
215                             <property name="minimumSize">
216                                 <size>
217                                     <width>11</width>
218                                     <height>0</height>
219                                 </size>
220                             </property>
221                             <property name="frameShape">
222                                 <enum>NoFrame</enum>
223                             </property>
224                             <property name="frameShadow">
225                                 <enum>Raised</enum>
226                             </property>
227                             <property name="margin">
228                                 <number>0</number>
229                             </property>
230                         </widget>
231                         <widget class="QCheckBox" row="1" column="1">
232                             <property name="name">
233                                 <cstring>nfsChk</cstring>
234                             </property>
235                             <property name="enabled">
236                                 <bool>false</bool>
237                             </property>
238                             <property name="text">
239                                 <string>Use &amp;NFS (Linux/UNIX)</string>
240                             </property>
241                             <property name="checked">
242                                 <bool>true</bool>
243                             </property>
244                         </widget>
245                         <widget class="QCheckBox" row="0" column="1">
246                             <property name="name">
247                                 <cstring>sambaChk</cstring>
248                             </property>
249                             <property name="enabled">
250                                 <bool>false</bool>
251                             </property>
252                             <property name="text">
253                                 <string>Use Sam&amp;ba (Microsoft(R) Windows(R))</string>
254                             </property>
255                             <property name="checked">
256                                 <bool>true</bool>
257                             </property>
258                         </widget>
259                     </grid>
260                 </widget>
261                 <widget class="QLayoutWidget">
262                     <property name="name">
263                         <cstring>layout10</cstring>
264                     </property>
265                     <hbox>
266                         <property name="name">
267                             <cstring>unnamed</cstring>
268                         </property>
269                         <widget class="KPushButton">
270                             <property name="name">
271                                 <cstring>allowedUsersBtn</cstring>
272                             </property>
273                             <property name="text">
274                                 <string>Allo&amp;wed Users</string>
275                             </property>
276                         </widget>
277                         <spacer>
278                             <property name="name">
279                                 <cstring>spacer9</cstring>
280                             </property>
281                             <property name="orientation">
282                                 <enum>Horizontal</enum>
283                             </property>
284                             <property name="sizeType">
285                                 <enum>Expanding</enum>
286                             </property>
287                             <property name="sizeHint">
288                                 <size>
289                                     <width>40</width>
290                                     <height>20</height>
291                                 </size>
292                             </property>
293                         </spacer>
294                     </hbox>
295                 </widget>
296             </vbox>
297         </widget>
298         <widget class="QGroupBox">
299             <property name="name">
300                 <cstring>sharedFoldersGroupBox</cstring>
301             </property>
302             <property name="title">
303                 <string>Shared Folders</string>
304             </property>
305             <hbox>
306                 <property name="name">
307                     <cstring>unnamed</cstring>
308                 </property>
309                 <widget class="K3ListView">
310                     <column>
311                         <property name="text">
312                             <string>Path</string>
313                         </property>
314                         <property name="clickable">
315                             <bool>true</bool>
316                         </property>
317                         <property name="resizable">
318                             <bool>true</bool>
319                         </property>
320                     </column>
321                     <column>
322                         <property name="text">
323                             <string>Samba</string>
324                         </property>
325                         <property name="clickable">
326                             <bool>true</bool>
327                         </property>
328                         <property name="resizable">
329                             <bool>true</bool>
330                         </property>
331                     </column>
332                     <column>
333                         <property name="text">
334                             <string>NFS</string>
335                         </property>
336                         <property name="clickable">
337                             <bool>true</bool>
338                         </property>
339                         <property name="resizable">
340                             <bool>true</bool>
341                         </property>
342                     </column>
343                     <property name="name">
344                         <cstring>listView</cstring>
345                     </property>
346                     <property name="selectionMode" stdset="0">
347                         <enum>NoSelection</enum>
348                     </property>
349                 </widget>
350                 <widget class="QFrame">
351                     <property name="name">
352                         <cstring>shareBtnPnl</cstring>
353                     </property>
354                     <property name="enabled">
355                         <bool>false</bool>
356                     </property>
357                     <property name="frameShape">
358                         <enum>NoFrame</enum>
359                     </property>
360                     <property name="frameShadow">
361                         <enum>Plain</enum>
362                     </property>
363                     <vbox>
364                         <property name="name">
365                             <cstring>unnamed</cstring>
366                         </property>
367                         <property name="margin">
368                             <number>0</number>
369                         </property>
370                         <widget class="KPushButton">
371                             <property name="name">
372                                 <cstring>addShareBtn</cstring>
373                             </property>
374                             <property name="text">
375                                 <string>A&amp;dd...</string>
376                             </property>
377                         </widget>
378                         <widget class="KPushButton">
379                             <property name="name">
380                                 <cstring>changeShareBtn</cstring>
381                             </property>
382                             <property name="enabled">
383                                 <bool>false</bool>
384                             </property>
385                             <property name="text">
386                                 <string>Chang&amp;e...</string>
387                             </property>
388                         </widget>
389                         <widget class="KPushButton">
390                             <property name="name">
391                                 <cstring>removeShareBtn</cstring>
392                             </property>
393                             <property name="enabled">
394                                 <bool>false</bool>
395                             </property>
396                             <property name="text">
397                                 <string>Rem&amp;ove</string>
398                             </property>
399                         </widget>
400                         <spacer>
401                             <property name="name">
402                                 <cstring>spacer2</cstring>
403                             </property>
404                             <property name="orientation">
405                                 <enum>Vertical</enum>
406                             </property>
407                             <property name="sizeType">
408                                 <enum>Expanding</enum>
409                             </property>
410                             <property name="sizeHint">
411                                 <size>
412                                     <width>20</width>
413                                     <height>20</height>
414                                 </size>
415                             </property>
416                         </spacer>
417                     </vbox>
418                 </widget>
419             </hbox>
420         </widget>
421     </vbox>
422 </widget>
423 <connections>
424     <connection>
425         <sender>advancedRadio</sender>
426         <signal>toggled(bool)</signal>
427         <receiver>nfsChk</receiver>
428         <slot>setEnabled(bool)</slot>
429     </connection>
430     <connection>
431         <sender>advancedRadio</sender>
432         <signal>toggled(bool)</signal>
433         <receiver>sambaChk</receiver>
434         <slot>setEnabled(bool)</slot>
435     </connection>
436     <connection>
437         <sender>shareGrp</sender>
438         <signal>clicked(int)</signal>
439         <receiver>ControlCenterGUI</receiver>
440         <slot>changedSlot()</slot>
441     </connection>
442     <connection>
443         <sender>simpleRadio</sender>
444         <signal>clicked()</signal>
445         <receiver>ControlCenterGUI</receiver>
446         <slot>changedSlot()</slot>
447     </connection>
448     <connection>
449         <sender>advancedRadio</sender>
450         <signal>clicked()</signal>
451         <receiver>ControlCenterGUI</receiver>
452         <slot>changedSlot()</slot>
453     </connection>
454     <connection>
455         <sender>sambaChk</sender>
456         <signal>clicked()</signal>
457         <receiver>ControlCenterGUI</receiver>
458         <slot>changedSlot()</slot>
459     </connection>
460     <connection>
461         <sender>nfsChk</sender>
462         <signal>clicked()</signal>
463         <receiver>ControlCenterGUI</receiver>
464         <slot>changedSlot()</slot>
465     </connection>
466     <connection>
467         <sender>listView</sender>
468         <signal>selectionChanged()</signal>
469         <receiver>ControlCenterGUI</receiver>
470         <slot>listView_selectionChanged()</slot>
471     </connection>
472 </connections>
473 <tabstops>
474     <tabstop>sambaChk</tabstop>
475     <tabstop>nfsChk</tabstop>
476     <tabstop>listView</tabstop>
477 </tabstops>
478 <includes>
479     <include location="local" impldecl="in implementation">controlcenter.ui.h</include>
480     <include location="local" impldecl="in implementation">krichtextlabel.h</include>
481 </includes>
482 <signals>
483     <signal>changed()</signal>
484 </signals>
485 <slots>
486     <slot access="private">changedSlot()</slot>
487     <slot>listView_selectionChanged()</slot>
488 </slots>
489 <layoutdefaults spacing="6" margin="11"/>
490 <includehints>
491     <includehint>krichtextlabel.h</includehint>
492 </includehints>
493 </UI>