not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / plasma / runners / shell / shellOptions.ui
blob40459993932199e33710719e57b9846298f5aee2
1 <ui version="4.0" >
2  <class>shellOptions</class>
3  <widget class="QWidget" name="shellOptions" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>325</width>
9     <height>162</height>
10    </rect>
11   </property>
12   <property name="sizePolicy" >
13    <sizepolicy>
14     <hsizetype>5</hsizetype>
15     <vsizetype>5</vsizetype>
16     <horstretch>0</horstretch>
17     <verstretch>0</verstretch>
18    </sizepolicy>
19   </property>
20   <layout class="QGridLayout" >
21    <property name="margin" >
22     <number>0</number>
23    </property>
24    <property name="spacing" >
25     <number>3</number>
26    </property>
27    <item rowspan="5" row="0" column="0" colspan="2" >
28     <layout class="QHBoxLayout" >
29      <property name="margin" >
30       <number>0</number>
31      </property>
32      <property name="spacing" >
33       <number>3</number>
34      </property>
35      <item>
36       <spacer>
37        <property name="orientation" >
38         <enum>Qt::Horizontal</enum>
39        </property>
40        <property name="sizeType" >
41         <enum>QSizePolicy::Fixed</enum>
42        </property>
43        <property name="sizeHint" >
44         <size>
45          <width>57</width>
46          <height>20</height>
47         </size>
48        </property>
49       </spacer>
50      </item>
51      <item>
52       <widget class="QFrame" name="gbAdvanced" >
53        <property name="frameShape" >
54         <enum>QFrame::NoFrame</enum>
55        </property>
56        <property name="frameShadow" >
57         <enum>QFrame::Raised</enum>
58        </property>
59        <layout class="QGridLayout" >
60         <property name="margin" >
61          <number>0</number>
62         </property>
63         <property name="spacing" >
64          <number>3</number>
65         </property>
66         <item row="6" column="0" >
67          <spacer>
68           <property name="orientation" >
69            <enum>Qt::Horizontal</enum>
70           </property>
71           <property name="sizeType" >
72            <enum>QSizePolicy::Fixed</enum>
73           </property>
74           <property name="sizeHint" >
75            <size>
76             <width>20</width>
77             <height>30</height>
78            </size>
79           </property>
80          </spacer>
81         </item>
82         <item row="7" column="0" colspan="4" >
83          <widget class="QCheckBox" name="cbRealtime" >
84           <property name="whatsThis" >
85            <string>&lt;qt>Select whether realtime scheduling should be enabled for the application. The scheduler governs which process will run and which will have to wait. Two schedulers are available:
86 &lt;ul>
87 &lt;li>&lt;em>Normal:&lt;/em> This is the standard, timesharing scheduler. It will divide fairly the available processing time between all processes.&lt;/li>
88 &lt;li>&lt;em>Realtime:&lt;/em>This scheduler will run your application uninterrupted until it gives up the processor. This can be dangerous. An application that does not give up the processor might hang the system. You need root's password to use the scheduler.&lt;/li>
89 &lt;/ul>
90 &lt;/qt></string>
91           </property>
92           <property name="text" >
93            <string>Run with realtime &amp;scheduling</string>
94           </property>
95          </widget>
96         </item>
97         <item row="3" column="1" >
98          <widget class="QLabel" name="lbUsername" >
99           <property name="enabled" >
100            <bool>false</bool>
101           </property>
102           <property name="sizePolicy" >
103            <sizepolicy>
104             <hsizetype>1</hsizetype>
105             <vsizetype>5</vsizetype>
106             <horstretch>0</horstretch>
107             <verstretch>0</verstretch>
108            </sizepolicy>
109           </property>
110           <property name="whatsThis" >
111            <string>Enter the user you want to run the application as here.</string>
112           </property>
113           <property name="text" >
114            <string>User&amp;name:</string>
115           </property>
116           <property name="buddy" >
117            <cstring>leUsername</cstring>
118           </property>
119          </widget>
120         </item>
121         <item row="4" column="2" colspan="2" >
122          <widget class="KLineEdit" name="lePassword" >
123           <property name="enabled" >
124            <bool>false</bool>
125           </property>
126           <property name="sizePolicy" >
127            <sizepolicy>
128             <hsizetype>5</hsizetype>
129             <vsizetype>0</vsizetype>
130             <horstretch>5</horstretch>
131             <verstretch>0</verstretch>
132            </sizepolicy>
133           </property>
134           <property name="whatsThis" >
135            <string>Enter the password here for the user you specified above.</string>
136           </property>
137           <property name="echoMode" >
138            <enum>QLineEdit::Password</enum>
139           </property>
140          </widget>
141         </item>
142         <item row="4" column="1" >
143          <widget class="QLabel" name="lbPassword" >
144           <property name="enabled" >
145            <bool>false</bool>
146           </property>
147           <property name="sizePolicy" >
148            <sizepolicy>
149             <hsizetype>1</hsizetype>
150             <vsizetype>5</vsizetype>
151             <horstretch>0</horstretch>
152             <verstretch>0</verstretch>
153            </sizepolicy>
154           </property>
155           <property name="whatsThis" >
156            <string>Enter the password here for the user you specified above.</string>
157           </property>
158           <property name="text" >
159            <string>Pass&amp;word:</string>
160           </property>
161           <property name="buddy" >
162            <cstring>lePassword</cstring>
163           </property>
164          </widget>
165         </item>
166         <item row="1" column="0" colspan="4" >
167          <widget class="QCheckBox" name="cbRunInTerminal" >
168           <property name="whatsThis" >
169            <string>Check this option if the application you want to run is a text mode application. The application will then be run in a terminal emulator window.</string>
170           </property>
171           <property name="text" >
172            <string>Run in &amp;terminal window</string>
173           </property>
174          </widget>
175         </item>
176         <item row="6" column="1" >
177          <layout class="QVBoxLayout" >
178           <property name="margin" >
179            <number>0</number>
180           </property>
181           <property name="spacing" >
182            <number>3</number>
183           </property>
184           <item>
185            <widget class="QLabel" name="textLabel1" >
186             <property name="enabled" >
187              <bool>false</bool>
188             </property>
189             <property name="whatsThis" >
190              <string>The priority that the command will be run with can be set here. From left to right, it goes from low to high. The center position is the default value. For priorities higher than the default, you will need to provide the root password.</string>
191             </property>
192             <property name="text" >
193              <string>&amp;Priority:</string>
194             </property>
195             <property name="buddy" >
196              <cstring>slPriority</cstring>
197             </property>
198            </widget>
199           </item>
200           <item>
201            <spacer>
202             <property name="orientation" >
203              <enum>Qt::Vertical</enum>
204             </property>
205             <property name="sizeType" >
206              <enum>QSizePolicy::Minimum</enum>
207             </property>
208             <property name="sizeHint" >
209              <size>
210               <width>20</width>
211               <height>9</height>
212              </size>
213             </property>
214            </spacer>
215           </item>
216          </layout>
217         </item>
218         <item row="5" column="0" colspan="4" >
219          <widget class="QCheckBox" name="cbPriority" >
220           <property name="whatsThis" >
221            <string>Check this option if you want to run the application with a different priority. A higher priority tells the operating system to give more processing time to your application.</string>
222           </property>
223           <property name="text" >
224            <string>Run with a &amp;different priority</string>
225           </property>
226          </widget>
227         </item>
228         <item row="3" column="2" colspan="2" >
229          <widget class="KLineEdit" name="leUsername" >
230           <property name="enabled" >
231            <bool>false</bool>
232           </property>
233           <property name="sizePolicy" >
234            <sizepolicy>
235             <hsizetype>5</hsizetype>
236             <vsizetype>0</vsizetype>
237             <horstretch>5</horstretch>
238             <verstretch>0</verstretch>
239            </sizepolicy>
240           </property>
241           <property name="whatsThis" >
242            <string>Enter the user you want to run the application as here.</string>
243           </property>
244          </widget>
245         </item>
246         <item row="6" column="2" colspan="2" >
247          <layout class="QGridLayout" >
248           <property name="margin" >
249            <number>0</number>
250           </property>
251           <property name="spacing" >
252            <number>0</number>
253           </property>
254           <item row="1" column="0" >
255            <widget class="QLabel" name="lbLowPriority" >
256             <property name="enabled" >
257              <bool>false</bool>
258             </property>
259             <property name="whatsThis" >
260              <string>The priority that the command will be run with can be set here. From left to right, it goes from low to high. The center position is the default value. For priorities higher than the default, you will need to provide the root password.</string>
261             </property>
262             <property name="text" >
263              <string>Low</string>
264             </property>
265            </widget>
266           </item>
267           <item row="1" column="1" >
268            <widget class="QLabel" name="lbHighPriority" >
269             <property name="enabled" >
270              <bool>false</bool>
271             </property>
272             <property name="whatsThis" >
273              <string>The priority that the command will be run with can be set here. From left to right, it goes from low to high. The center position is the default value. For priorities higher than the default, you will need to provide the root password.</string>
274             </property>
275             <property name="text" >
276              <string>High</string>
277             </property>
278             <property name="alignment" >
279              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
280             </property>
281            </widget>
282           </item>
283           <item row="0" column="0" colspan="2" >
284            <widget class="QSlider" name="slPriority" >
285             <property name="enabled" >
286              <bool>false</bool>
287             </property>
288             <property name="sizePolicy" >
289              <sizepolicy>
290               <hsizetype>5</hsizetype>
291               <vsizetype>0</vsizetype>
292               <horstretch>1</horstretch>
293               <verstretch>0</verstretch>
294              </sizepolicy>
295             </property>
296             <property name="whatsThis" >
297              <string>The priority that the command will be run with can be set here. From left to right, it goes from low to high. The center position is the default value. For priorities higher than the default, you will need to provide the root password.</string>
298             </property>
299             <property name="singleStep" >
300              <number>5</number>
301             </property>
302             <property name="orientation" >
303              <enum>Qt::Horizontal</enum>
304             </property>
305            </widget>
306           </item>
307          </layout>
308         </item>
309         <item row="2" column="0" colspan="4" >
310          <widget class="QCheckBox" name="cbRunAsOther" >
311           <property name="whatsThis" >
312            <string>Check this option if you want to run the application with a different user id. Every process has a user id associated with it. This id code determines file access and other permissions. The password of the user is required to do this.</string>
313           </property>
314           <property name="text" >
315            <string>Run as a different &amp;user</string>
316           </property>
317          </widget>
318         </item>
319         <item rowspan="2" row="3" column="0" >
320          <spacer>
321           <property name="orientation" >
322            <enum>Qt::Horizontal</enum>
323           </property>
324           <property name="sizeType" >
325            <enum>QSizePolicy::Fixed</enum>
326           </property>
327           <property name="sizeHint" >
328            <size>
329             <width>20</width>
330             <height>40</height>
331            </size>
332           </property>
333          </spacer>
334         </item>
335        </layout>
336       </widget>
337      </item>
338     </layout>
339    </item>
340   </layout>
341  </widget>
342  <layoutdefault spacing="3" margin="6" />
343  <layoutfunction spacing="KDialog::spacingHint" margin="KDialog::marginHint" />
344  <pixmapfunction>BarIcon</pixmapfunction>
345  <customwidgets>
346   <customwidget>
347    <class>KLineEdit</class>
348    <extends>QLineEdit</extends>
349    <header>klineedit.h</header>
350   </customwidget>
351  </customwidgets>
352  <tabstops>
353   <tabstop>cbRunInTerminal</tabstop>
354   <tabstop>cbRunAsOther</tabstop>
355   <tabstop>leUsername</tabstop>
356   <tabstop>lePassword</tabstop>
357   <tabstop>cbPriority</tabstop>
358   <tabstop>slPriority</tabstop>
359  </tabstops>
360  <resources/>
361  <connections>
362   <connection>
363    <sender>cbRunAsOther</sender>
364    <signal>toggled(bool)</signal>
365    <receiver>lbUsername</receiver>
366    <slot>setEnabled(bool)</slot>
367    <hints>
368     <hint type="sourcelabel" >
369      <x>153</x>
370      <y>59</y>
371     </hint>
372     <hint type="destinationlabel" >
373      <x>96</x>
374      <y>62</y>
375     </hint>
376    </hints>
377   </connection>
378   <connection>
379    <sender>cbRunAsOther</sender>
380    <signal>toggled(bool)</signal>
381    <receiver>leUsername</receiver>
382    <slot>setEnabled(bool)</slot>
383    <hints>
384     <hint type="sourcelabel" >
385      <x>127</x>
386      <y>59</y>
387     </hint>
388     <hint type="destinationlabel" >
389      <x>188</x>
390      <y>62</y>
391     </hint>
392    </hints>
393   </connection>
394   <connection>
395    <sender>cbRunAsOther</sender>
396    <signal>toggled(bool)</signal>
397    <receiver>lbPassword</receiver>
398    <slot>setEnabled(bool)</slot>
399    <hints>
400     <hint type="sourcelabel" >
401      <x>81</x>
402      <y>45</y>
403     </hint>
404     <hint type="destinationlabel" >
405      <x>146</x>
406      <y>101</y>
407     </hint>
408    </hints>
409   </connection>
410   <connection>
411    <sender>cbRunAsOther</sender>
412    <signal>toggled(bool)</signal>
413    <receiver>lePassword</receiver>
414    <slot>setEnabled(bool)</slot>
415    <hints>
416     <hint type="sourcelabel" >
417      <x>114</x>
418      <y>41</y>
419     </hint>
420     <hint type="destinationlabel" >
421      <x>323</x>
422      <y>101</y>
423     </hint>
424    </hints>
425   </connection>
426   <connection>
427    <sender>cbPriority</sender>
428    <signal>toggled(bool)</signal>
429    <receiver>textLabel1</receiver>
430    <slot>setEnabled(bool)</slot>
431    <hints>
432     <hint type="sourcelabel" >
433      <x>82</x>
434      <y>116</y>
435     </hint>
436     <hint type="destinationlabel" >
437      <x>108</x>
438      <y>132</y>
439     </hint>
440    </hints>
441   </connection>
442   <connection>
443    <sender>cbPriority</sender>
444    <signal>toggled(bool)</signal>
445    <receiver>slPriority</receiver>
446    <slot>setEnabled(bool)</slot>
447    <hints>
448     <hint type="sourcelabel" >
449      <x>64</x>
450      <y>112</y>
451     </hint>
452     <hint type="destinationlabel" >
453      <x>190</x>
454      <y>130</y>
455     </hint>
456    </hints>
457   </connection>
458   <connection>
459    <sender>cbPriority</sender>
460    <signal>toggled(bool)</signal>
461    <receiver>lbLowPriority</receiver>
462    <slot>setEnabled(bool)</slot>
463    <hints>
464     <hint type="sourcelabel" >
465      <x>192</x>
466      <y>113</y>
467     </hint>
468     <hint type="destinationlabel" >
469      <x>193</x>
470      <y>139</y>
471     </hint>
472    </hints>
473   </connection>
474   <connection>
475    <sender>cbPriority</sender>
476    <signal>toggled(bool)</signal>
477    <receiver>lbHighPriority</receiver>
478    <slot>setEnabled(bool)</slot>
479    <hints>
480     <hint type="sourcelabel" >
481      <x>192</x>
482      <y>113</y>
483     </hint>
484     <hint type="destinationlabel" >
485      <x>279</x>
486      <y>139</y>
487     </hint>
488    </hints>
489   </connection>
490  </connections>
491 </ui>