Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / workspace / kcontrol / kdm / background / bgadvanced_ui.ui
blobfcd9a4dd198c76667142d1eb7785cdbb25ad31aa
1 <ui version="4.0" stdsetdef="1" >
2   <author></author>
3   <comment></comment>
4   <exportmacro></exportmacro>
5   <class>BGAdvancedBase</class>
6   <widget class="QWidget" name="BGAdvancedBase" >
7     <property name="geometry" >
8       <rect>
9         <x>0</x>
10         <y>0</y>
11         <width>511</width>
12         <height>454</height>
13       </rect>
14     </property>
15     <layout class="QVBoxLayout" >
16       <property name="margin" >
17         <number>0</number>
18       </property>
19       <item>
20         <widget class="Q3ButtonGroup" name="m_groupProgram" >
21           <property name="title" >
22             <string>Background Program</string>
23           </property>
24           <layout class="QGridLayout" >
25             <property name="margin" >
26               <number>11</number>
27             </property>
28             <item row="1" column="1" >
29               <widget class="QPushButton" name="m_buttonAdd" >
30                 <property name="enabled" >
31                   <bool>false</bool>
32                 </property>
33                 <property name="text" >
34                   <string>&amp;Add...</string>
35                 </property>
36                 <property name="whatsThis" stdset="0" >
37                   <string>&lt;qt>
38 &lt;p>Click here if you want to add a program to the listbox. This button opens a dialog where you are asked to give details about the program you want to run. To successfully add a program, you must know if it is compatible, the name of the executable file and, if necessary, its options.&lt;/p>
39 &lt;p>You usually can get the available options to a suitable program by typing in a terminal emulator the name of the executable file plus --help (foobar --help).&lt;/p>
40 &lt;/qt></string>
41                 </property>
42               </widget>
43             </item>
44             <item row="2" column="1" >
45               <widget class="QPushButton" name="m_buttonRemove" >
46                 <property name="enabled" >
47                   <bool>false</bool>
48                 </property>
49                 <property name="text" >
50                   <string>&amp;Remove</string>
51                 </property>
52                 <property name="whatsThis" stdset="0" >
53                   <string>Click here to remove programs from this list. Please note that it does not remove the program from your system, it only removes it from the available options in the background drawing programs list.</string>
54                 </property>
55               </widget>
56             </item>
57             <item row="3" column="1" >
58               <widget class="QPushButton" name="m_buttonModify" >
59                 <property name="enabled" >
60                   <bool>false</bool>
61                 </property>
62                 <property name="text" >
63                   <string>&amp;Modify...</string>
64                 </property>
65                 <property name="whatsThis" stdset="0" >
66                   <string>&lt;qt>
67 &lt;p>Click here to modify the programs options. You usually can get the available options to a suitable program by typing in a terminal emulator the name of the executable file plus --help. (example: kwebdesktop --help).&lt;/p>
68 &lt;p>One useful example is the program kwebdesktop. It draws a web page on the background of your desktop.  You can use this program by selecting it on the listbox on the right, but it will draw a predefined web page. To change the web page it renders, select the kwebdesktop program on the listbox, then click here. A dialog will appear, allowing you to change the web page by replacing the old address (URL) with a new one.&lt;/p>
69 &lt;/qt></string>
70                 </property>
71               </widget>
72             </item>
73             <item row="4" column="1" >
74               <spacer name="spacer" >
75                 <property name="sizeHint" >
76                   <size>
77                     <width>20</width>
78                     <height>20</height>
79                   </size>
80                 </property>
81                 <property name="sizeType" >
82                   <enum>QSizePolicy::Expanding</enum>
83                 </property>
84                 <property name="orientation" >
85                   <enum>Qt::Qt::Vertical</enum>
86                 </property>
87               </spacer>
88             </item>
89             <item rowspan="4" row="1" column="0" colspan="1" >
90               <widget class="Q3ListView" name="m_listPrograms" >
91                 <property name="enabled" >
92                   <bool>false</bool>
93                 </property>
94                 <property name="minimumSize" >
95                   <size>
96                     <width>400</width>
97                     <height>0</height>
98                   </size>
99                 </property>
100                 <property name="whatsThis" stdset="0" >
101                   <string>&lt;qt>
102 &lt;p>Select from this listbox the program you want to use to draw your desktop background.&lt;/p>
103 &lt;p>The &lt;b>Program&lt;/b> column shows the name of the program.&lt;br>
104 The &lt;b>Comment&lt;/b> column brings a short description.&lt;br>
105 The &lt;b>Refresh&lt;/b> column indicates the time interval between redraws of the desktop.&lt;/p>
106 &lt;p>The &lt;b>K Web Desktop&lt;/b> program (kwebdesktop) is worth noting: it draws a specified page of the web in your desktop. You can modify it, and the webpage it draws by selecting it here, then clicking on the &lt;b>Modify&lt;/b> button.&lt;br>
107 You can also add new compliant programs. To do that, click on the &lt;b>Add&lt;/b> button.&lt;br>
108 You can also remove programs from this list clicking on the &lt;b>Remove&lt;/b> button. Please note that it does not remove the program from your system, it only removes it from the available options in this listbox.&lt;/p>
109 &lt;/qt></string>
110                 </property>
111                 <column>
112                   <property name="text" >
113                     <string>Program</string>
114                   </property>
115                   <property name="clickable" >
116                     <bool>true</bool>
117                   </property>
118                   <property name="resizable" >
119                     <bool>true</bool>
120                   </property>
121                 </column>
122                 <column>
123                   <property name="text" >
124                     <string>Comment</string>
125                   </property>
126                   <property name="clickable" >
127                     <bool>true</bool>
128                   </property>
129                   <property name="resizable" >
130                     <bool>true</bool>
131                   </property>
132                 </column>
133                 <column>
134                   <property name="text" >
135                     <string>Refresh</string>
136                   </property>
137                   <property name="clickable" >
138                     <bool>true</bool>
139                   </property>
140                   <property name="resizable" >
141                     <bool>true</bool>
142                   </property>
143                 </column>
144               </widget>
145             </item>
146             <item rowspan="1" row="0" column="0" colspan="2" >
147               <widget class="QCheckBox" name="m_cbProgram" >
148                 <property name="text" >
149                   <string>Use the following program for drawing the background:</string>
150                 </property>
151                 <property name="whatsThis" stdset="0" >
152                   <string>Check here if you want to allow a program to draw your desktop background. Below you can find the list of programs currently available for drawing the background. You may use one of the available programs, add new ones or modify the existing ones to fit your needs.</string>
153                 </property>
154               </widget>
155             </item>
156           </layout>
157         </widget>
158       </item>
159       <item>
160         <widget class="Q3GroupBox" name="m_groupIconText" >
161           <property name="title" >
162             <string>Background Icon Text</string>
163           </property>
164           <layout class="QGridLayout" >
165             <item row="0" column="1" >
166               <widget class="KColorButton" name="m_colorText" >
167                 <property name="sizePolicy" >
168                   <sizepolicy>
169                     <hsizetype>1</hsizetype>
170                     <vsizetype>0</vsizetype>
171                     <horstretch>0</horstretch>
172                     <verstretch>0</verstretch>
173                   </sizepolicy>
174                 </property>
175                 <property name="text" >
176                   <string/>
177                 </property>
178                 <property name="whatsThis" stdset="0" >
179                   <string>Click here to change the color of the desktop font.</string>
180                 </property>
181               </widget>
182             </item>
183             <item row="0" column="0" >
184               <widget class="QLabel" name="textLabel6" >
185                 <property name="text" >
186                   <string>&amp;Text color:</string>
187                 </property>
188                 <property name="buddy" stdset="0" >
189                   <cstring>m_colorText</cstring>
190                 </property>
191                 <property name="whatsThis" stdset="0" >
192                   <string>Click here to change the color of the desktop font.</string>
193                 </property>
194                 <property name="wordWrap" >
195                   <bool>false</bool>
196                 </property>
197               </widget>
198             </item>
199             <item rowspan="2" row="0" column="2" colspan="1" >
200               <spacer name="spacer7" >
201                 <property name="sizeHint" >
202                   <size>
203                     <width>220</width>
204                     <height>20</height>
205                   </size>
206                 </property>
207                 <property name="sizeType" >
208                   <enum>QSizePolicy::Expanding</enum>
209                 </property>
210                 <property name="orientation" >
211                   <enum>Qt::Qt::Horizontal</enum>
212                 </property>
213               </spacer>
214             </item>
215             <item row="1" column="1" >
216               <widget class="KColorButton" name="m_colorTextBackground" >
217                 <property name="enabled" >
218                   <bool>false</bool>
219                 </property>
220                 <property name="text" >
221                   <string/>
222                 </property>
223                 <property name="whatsThis" stdset="0" >
224                   <string>Click here to select the solid background color. Choose a different color from the background text color to assure readability.</string>
225                 </property>
226               </widget>
227             </item>
228             <item row="1" column="0" >
229               <widget class="QCheckBox" name="m_cbSolidTextBackground" >
230                 <property name="text" >
231                   <string>&amp;Use solid color behind text:</string>
232                 </property>
233                 <property name="whatsThis" stdset="0" >
234                   <string>Check here if you want to use a solid background color. This is useful to ensure that the desktop text will be identifiable against all background colors and wallpapers, or in other words, that a background or wallpaper will not make a desktop text of a similar color difficult to read.</string>
235                 </property>
236               </widget>
237             </item>
238             <item row="2" column="0" >
239               <widget class="QCheckBox" name="m_cbShadow" >
240                 <property name="text" >
241                   <string>&amp;Enable shadow</string>
242                 </property>
243                 <property name="whatsThis" stdset="0" >
244                   <string>Check here to enable a shadow outline around the desktop font. This also improves the readability of the desktop text against backgrounds of a similar color.</string>
245                 </property>
246               </widget>
247             </item>
248             <item row="3" column="0" >
249               <widget class="QLabel" name="textLabel6_2" >
250                 <property name="text" >
251                   <string>&amp;Lines for icon text:</string>
252                 </property>
253                 <property name="buddy" stdset="0" >
254                   <cstring>m_colorText</cstring>
255                 </property>
256                 <property name="whatsThis" stdset="0" >
257                   <string>Choose here the maximum number of text lines below an icon on the desktop. Longer text will be truncated at the end of the last line.</string>
258                 </property>
259                 <property name="wordWrap" >
260                   <bool>false</bool>
261                 </property>
262               </widget>
263             </item>
264             <item row="3" column="1" >
265               <widget class="QSpinBox" name="m_spinTextLines" >
266                 <property name="suffix" >
267                   <string/>
268                 </property>
269                 <property name="value" >
270                   <number>0</number>
271                 </property>
272                 <property name="whatsThis" stdset="0" >
273                   <string>Choose here the maximum number of text lines below an icon on the desktop. Longer text will be truncated at the end of the last line.</string>
274                 </property>
275               </widget>
276             </item>
277             <item row="4" column="1" >
278               <widget class="QSpinBox" name="m_spinTextWidth" >
279                 <property name="suffix" >
280                   <string/>
281                 </property>
282                 <property name="specialValueText" >
283                   <string>Auto</string>
284                 </property>
285                 <property name="maximum" >
286                   <number>99999</number>
287                 </property>
288                 <property name="value" >
289                   <number>0</number>
290                 </property>
291                 <property name="whatsThis" stdset="0" >
292                   <string>Choose here the maximum width of text lines (in pixel) below an icon on the desktop. If set to 'Auto' a default width based on the current font is used.</string>
293                 </property>
294               </widget>
295             </item>
296             <item row="4" column="0" >
297               <widget class="QLabel" name="textLabel6_2_2" >
298                 <property name="text" >
299                   <string>&amp;Width for icon text:</string>
300                 </property>
301                 <property name="buddy" stdset="0" >
302                   <cstring>m_colorText</cstring>
303                 </property>
304                 <property name="whatsThis" stdset="0" >
305                   <string>Choose here the maximum width of text lines (in pixel) below an icon on the desktop. If set to 'Auto' a default width based on the current font is used.</string>
306                 </property>
307                 <property name="wordWrap" >
308                   <bool>false</bool>
309                 </property>
310               </widget>
311             </item>
312           </layout>
313         </widget>
314       </item>
315       <item>
316         <widget class="Q3ButtonGroup" name="m_groupCache" >
317           <property name="title" >
318             <string>Memory Usage</string>
319           </property>
320           <layout class="QHBoxLayout" >
321             <property name="margin" >
322               <number>11</number>
323             </property>
324             <item>
325               <widget class="QLabel" name="m_lblCache" >
326                 <property name="text" >
327                   <string>Size of background cache:</string>
328                 </property>
329                 <property name="whatsThis" stdset="0" >
330                   <string>In this box you can enter how much memory KDE should use for caching the background(s). If you have different backgrounds for the different desktops caching can make switching desktops smoother at the expense of higher memory use.</string>
331                 </property>
332                 <property name="wordWrap" >
333                   <bool>false</bool>
334                 </property>
335               </widget>
336             </item>
337             <item>
338               <widget class="QSpinBox" name="m_spinCache" >
339                 <property name="suffix" >
340                   <string> k</string>
341                 </property>
342                 <property name="whatsThis" stdset="0" >
343                   <string>In this box you can enter how much memory KDE should use for caching the background(s). If you have different backgrounds for the different desktops caching can make switching desktops smoother at the expense of higher memory use.</string>
344                 </property>
345               </widget>
346             </item>
347             <item>
348               <spacer name="spacer2" >
349                 <property name="sizeHint" >
350                   <size>
351                     <width>20</width>
352                     <height>20</height>
353                   </size>
354                 </property>
355                 <property name="sizeType" >
356                   <enum>QSizePolicy::Expanding</enum>
357                 </property>
358                 <property name="orientation" >
359                   <enum>Qt::Qt::Horizontal</enum>
360                 </property>
361               </spacer>
362             </item>
363           </layout>
364         </widget>
365       </item>
366       <item>
367         <spacer name="spacer4" >
368           <property name="sizeHint" >
369             <size>
370               <width>20</width>
371               <height>16</height>
372             </size>
373           </property>
374           <property name="sizeType" >
375             <enum>QSizePolicy::Expanding</enum>
376           </property>
377           <property name="orientation" >
378             <enum>Qt::Qt::Vertical</enum>
379           </property>
380         </spacer>
381       </item>
382     </layout>
383   </widget>
384   <layoutdefault spacing="3" margin="6" />
385   <layoutfunction spacing="KDialog::spacingHint" margin="KDialog::marginHint" />
386   <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
387   <tabstops>
388     <tabstop>m_cbProgram</tabstop>
389     <tabstop>m_listPrograms</tabstop>
390     <tabstop>m_buttonAdd</tabstop>
391     <tabstop>m_buttonRemove</tabstop>
392     <tabstop>m_buttonModify</tabstop>
393     <tabstop>m_colorText</tabstop>
394     <tabstop>m_cbSolidTextBackground</tabstop>
395     <tabstop>m_colorTextBackground</tabstop>
396     <tabstop>m_cbShadow</tabstop>
397     <tabstop>m_spinCache</tabstop>
398   </tabstops>
399   <includes>
400     <include location="local" >kcolorbutton.h</include>
401     <include location="local" >kcolorbutton.h</include>
402   </includes>
403   <connections>
404     <connection>
405       <sender>m_cbProgram</sender>
406       <signal>toggled(bool)</signal>
407       <receiver>m_buttonAdd</receiver>
408       <slot>setEnabled(bool)</slot>
409     </connection>
410     <connection>
411       <sender>m_cbProgram</sender>
412       <signal>toggled(bool)</signal>
413       <receiver>m_buttonRemove</receiver>
414       <slot>setEnabled(bool)</slot>
415     </connection>
416     <connection>
417       <sender>m_cbProgram</sender>
418       <signal>toggled(bool)</signal>
419       <receiver>m_buttonModify</receiver>
420       <slot>setEnabled(bool)</slot>
421     </connection>
422     <connection>
423       <sender>m_cbProgram</sender>
424       <signal>toggled(bool)</signal>
425       <receiver>m_listPrograms</receiver>
426       <slot>setEnabled(bool)</slot>
427     </connection>
428     <connection>
429       <sender>m_cbSolidTextBackground</sender>
430       <signal>toggled(bool)</signal>
431       <receiver>m_colorTextBackground</receiver>
432       <slot>setEnabled(bool)</slot>
433     </connection>
434   </connections>
435 </ui>