2
<class>ToolConfigurationDialog</class>
3
<widget class="QDialog" name="ToolConfigurationDialog" >
4
<property name="geometry" >
12
<property name="windowTitle" >
13
<string>Configure Tools Menu</string>
15
<property name="sizeGripEnabled" >
18
<layout class="QVBoxLayout" >
19
<property name="margin" >
22
<property name="spacing" >
26
<layout class="QGridLayout" >
27
<property name="margin" >
30
<property name="spacing" >
33
<item row="7" column="3" >
34
<widget class="QPushButton" name="separatorButton" >
35
<property name="toolTip" >
36
<string>Add a separator</string>
38
<property name="whatsThis" >
39
<string><b>Add separator</b><p>Add a separator for the menu.</p></string>
41
<property name="text" >
42
<string>Add &Separator</string>
46
<item row="1" column="3" >
47
<widget class="QPushButton" name="addButton" >
48
<property name="toolTip" >
49
<string>Add a new tools entry</string>
51
<property name="whatsThis" >
52
<string><b>Add</b>
53
<p>Add a new tools entry with the values entered below.</p></string>
55
<property name="text" >
56
<string>&Add</string>
58
<property name="shortcut" >
59
<string>Alt+A</string>
63
<item rowspan="9" row="0" column="0" colspan="3" >
64
<widget class="QListWidget" name="toolsList" />
66
<item row="13" column="1" colspan="2" >
67
<widget class="QComboBox" name="redirectCombo" >
68
<property name="toolTip" >
69
<string>Select the output redirection mode</string>
71
<property name="whatsThis" >
72
<string><b>Redirect output<b><p>Select the output redirection mode. The standard error channel is either not redirected or shown in the log viewer.</p></string>
76
<item row="12" column="1" >
77
<widget class="QLineEdit" name="argumentsEdit" >
78
<property name="toolTip" >
79
<string>Enter the arguments for the executable</string>
81
<property name="whatsThis" >
82
<string><b>Arguments</b>
83
<p>Enter the arguments for the executable.</p></string>
87
<item row="4" column="3" >
88
<widget class="QPushButton" name="upButton" >
89
<property name="enabled" >
92
<property name="toolTip" >
93
<string>Move up</string>
95
<property name="whatsThis" >
96
<string><b>Move Up</b>
97
<p>Move the selected entry up.</p></string>
99
<property name="text" >
100
<string>&Up</string>
102
<property name="shortcut" >
103
<string>Alt+U</string>
107
<item row="3" column="3" >
108
<widget class="QPushButton" name="deleteButton" >
109
<property name="enabled" >
112
<property name="toolTip" >
113
<string>Delete the selected entry</string>
115
<property name="whatsThis" >
116
<string><b>Delete</b>
117
<p>Delete the selected entry.</p></string>
119
<property name="text" >
120
<string>&Delete</string>
122
<property name="shortcut" >
123
<string>Alt+D</string>
127
<item row="0" column="3" >
128
<widget class="QPushButton" name="newButton" >
129
<property name="toolTip" >
130
<string>Clear all entry fields</string>
132
<property name="whatsThis" >
133
<string><b>New</b>
134
<p>Clear all entry fields for entering a new tools entry.</p></string>
136
<property name="text" >
137
<string>&New</string>
139
<property name="shortcut" >
140
<string>Alt+N</string>
144
<item row="10" column="2" >
145
<widget class="QPushButton" name="iconButton" >
146
<property name="toolTip" >
147
<string>Select the icon via a file selection dialog</string>
149
<property name="whatsThis" >
150
<string><b>Icon</b>
151
<p>Select the icon via a file selection dialog.</p></string>
153
<property name="text" >
158
<item row="11" column="1" >
159
<widget class="QLineEdit" name="executableEdit" >
160
<property name="toolTip" >
161
<string>Enter the filename of the executable</string>
163
<property name="whatsThis" >
164
<string><b>Executable</b>
165
<p>Enter the filename of the executable.</p></string>
169
<item row="5" column="3" >
170
<widget class="QPushButton" name="downButton" >
171
<property name="enabled" >
174
<property name="toolTip" >
175
<string>Move down</string>
177
<property name="whatsThis" >
178
<string><b>Move Down</b>
179
<p>Move the selected entry down.</p></string>
181
<property name="text" >
182
<string>Do&wn</string>
184
<property name="shortcut" >
185
<string>Alt+W</string>
189
<item row="8" column="3" >
191
<property name="orientation" >
192
<enum>Qt::Vertical</enum>
194
<property name="sizeType" >
195
<enum>QSizePolicy::Expanding</enum>
197
<property name="sizeHint" >
205
<item row="9" column="1" >
206
<widget class="QLineEdit" name="menuEdit" >
207
<property name="toolTip" >
208
<string>Enter the menu text</string>
210
<property name="whatsThis" >
211
<string><b>Menu text</b>
212
<p>Enter the menu text. Precede the accelerator key with an & character.</p></string>
216
<item row="2" column="3" >
217
<widget class="QPushButton" name="changeButton" >
218
<property name="enabled" >
221
<property name="toolTip" >
222
<string>Change the values of the selected entry</string>
224
<property name="whatsThis" >
225
<string><b>Change</b>
226
<p>Change the values of the selected entry.</p></string>
228
<property name="text" >
229
<string>C&hange</string>
231
<property name="shortcut" >
232
<string>Alt+H</string>
236
<item row="10" column="0" >
237
<widget class="QLabel" name="label" >
238
<property name="text" >
239
<string>&Icon file:</string>
241
<property name="buddy" >
242
<cstring>iconEdit</cstring>
246
<item row="12" column="0" >
247
<widget class="QLabel" name="TextLabel3" >
248
<property name="text" >
249
<string>Ar&guments:</string>
251
<property name="buddy" >
252
<cstring>argumentsEdit</cstring>
256
<item row="9" column="0" >
257
<widget class="QLabel" name="TextLabel2" >
258
<property name="text" >
259
<string>&Menu text:</string>
261
<property name="buddy" >
262
<cstring>menuEdit</cstring>
266
<item row="6" column="3" >
267
<widget class="Line" name="line" >
268
<property name="orientation" >
269
<enum>Qt::Horizontal</enum>
273
<item row="11" column="2" >
274
<widget class="QPushButton" name="executableButton" >
275
<property name="toolTip" >
276
<string>Select the executable via a file selection dialog</string>
278
<property name="whatsThis" >
279
<string><b>Executable</b>
280
<p>Select the executable via a file selection dialog.</p></string>
282
<property name="text" >
287
<item row="10" column="1" >
288
<widget class="QLineEdit" name="iconEdit" >
289
<property name="toolTip" >
290
<string>Enter the filename of the icon</string>
292
<property name="whatsThis" >
293
<string><b>Icon</b>
294
<p>Enter the filename of the icon.</p></string>
298
<item row="13" column="0" >
299
<widget class="QLabel" name="label_2" >
300
<property name="text" >
301
<string>&Redirect output</string>
303
<property name="buddy" >
304
<cstring>redirectCombo</cstring>
308
<item row="11" column="0" >
309
<widget class="QLabel" name="TextLabel1" >
310
<property name="text" >
311
<string>&Executable file:</string>
313
<property name="buddy" >
314
<cstring>executableEdit</cstring>
321
<widget class="QDialogButtonBox" name="buttonBox" >
322
<property name="orientation" >
323
<enum>Qt::Horizontal</enum>
325
<property name="standardButtons" >
326
<set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
332
<layoutdefault spacing="6" margin="6" />
333
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
335
<tabstop>toolsList</tabstop>
336
<tabstop>menuEdit</tabstop>
337
<tabstop>iconEdit</tabstop>
338
<tabstop>iconButton</tabstop>
339
<tabstop>executableEdit</tabstop>
340
<tabstop>executableButton</tabstop>
341
<tabstop>argumentsEdit</tabstop>
342
<tabstop>redirectCombo</tabstop>
343
<tabstop>newButton</tabstop>
344
<tabstop>addButton</tabstop>
345
<tabstop>changeButton</tabstop>
346
<tabstop>deleteButton</tabstop>
347
<tabstop>upButton</tabstop>
348
<tabstop>downButton</tabstop>
349
<tabstop>separatorButton</tabstop>
354
<sender>buttonBox</sender>
355
<signal>accepted()</signal>
356
<receiver>ToolConfigurationDialog</receiver>
357
<slot>accept()</slot>
359
<hint type="sourcelabel" >
363
<hint type="destinationlabel" >
370
<sender>buttonBox</sender>
371
<signal>rejected()</signal>
372
<receiver>ToolConfigurationDialog</receiver>
373
<slot>reject()</slot>
375
<hint type="sourcelabel" >
379
<hint type="destinationlabel" >