Debian Codegraph @

src/Gui/PreferencePages/DlgSettingsMacro.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>Gui::Dialog::DlgSettingsMacro</class>
4 <widget class="QWidget" name="Gui::Dialog::DlgSettingsMacro">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>391</width>
10 <height>407</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Macro</string>
15 </property>
16 <layout class="QGridLayout" name="gridLayout_2">
17 <item row="0" column="0">
18 <widget class="QGroupBox" name="groupBox">
19 <property name="title">
20 <string>General Macro Settings</string>
21 </property>
22 <layout class="QGridLayout" name="gridLayout">
23 <item row="0" column="0">
24 <widget class="Gui::PrefCheckBox" name="PrefCheckBox_LocalEnv">
25 <property name="toolTip">
26 <string>Variables defined by macros are created as local variables</string>
27 </property>
28 <property name="text">
29 <string>Run macros in local environment</string>
30 </property>
31 <property name="checked">
32 <bool>true</bool>
33 </property>
34 <property name="prefEntry" stdset="0">
35 <cstring>LocalEnvironment</cstring>
36 </property>
37 <property name="prefPath" stdset="0">
38 <cstring>Macro</cstring>
39 </property>
40 </widget>
41 </item>
42 </layout>
43 </widget>
44 </item>
45 <item row="1" column="0">
46 <widget class="QGroupBox" name="GroupBox6">
47 <property name="title">
48 <string>Macro Recording Settings</string>
49 </property>
50 <layout class="QGridLayout">
51 <property name="leftMargin">
52 <number>9</number>
53 </property>
54 <property name="topMargin">
55 <number>9</number>
56 </property>
57 <property name="rightMargin">
58 <number>9</number>
59 </property>
60 <property name="bottomMargin">
61 <number>9</number>
62 </property>
63 <property name="spacing">
64 <number>6</number>
65 </property>
66 <item row="0" column="0">
67 <widget class="QGroupBox" name="GroupBox8">
68 <property name="title">
69 <string>Macro Path</string>
70 </property>
71 <layout class="QGridLayout">
72 <property name="leftMargin">
73 <number>11</number>
74 </property>
75 <property name="topMargin">
76 <number>11</number>
77 </property>
78 <property name="rightMargin">
79 <number>11</number>
80 </property>
81 <property name="bottomMargin">
82 <number>11</number>
83 </property>
84 <property name="spacing">
85 <number>6</number>
86 </property>
87 <item row="0" column="0">
88 <widget class="Gui::PrefFileChooser" name="MacroPath">
89 <property name="toolTip">
90 <string>The directory in which the application will search for macros</string>
91 </property>
92 <property name="mode">
93 <enum>Gui::FileChooser::Directory</enum>
94 </property>
95 <property name="prefEntry" stdset="0">
96 <cstring>MacroPath</cstring>
97 </property>
98 <property name="prefPath" stdset="0">
99 <cstring>Macro</cstring>
100 </property>
101 </widget>
102 </item>
103 </layout>
104 </widget>
105 </item>
106 <item row="1" column="0">
107 <widget class="QGroupBox" name="GroupBox7">
108 <property name="title">
109 <string>Gui Commands</string>
110 </property>
111 <layout class="QGridLayout">
112 <property name="leftMargin">
113 <number>11</number>
114 </property>
115 <property name="topMargin">
116 <number>11</number>
117 </property>
118 <property name="rightMargin">
119 <number>11</number>
120 </property>
121 <property name="bottomMargin">
122 <number>11</number>
123 </property>
124 <property name="spacing">
125 <number>6</number>
126 </property>
127 <item row="0" column="0">
128 <widget class="Gui::PrefCheckBox" name="PrefCheckBox_RecordGui">
129 <property name="toolTip">
130 <string>Recorded macros will also contain user interface commands</string>
131 </property>
132 <property name="text">
133 <string>Record GUI commands</string>
134 </property>
135 <property name="checked">
136 <bool>true</bool>
137 </property>
138 <property name="prefEntry" stdset="0">
139 <cstring>RecordGui</cstring>
140 </property>
141 <property name="prefPath" stdset="0">
142 <cstring>Macro</cstring>
143 </property>
144 </widget>
145 </item>
146 <item row="1" column="0">
147 <widget class="Gui::PrefCheckBox" name="PrefCheckBox_GuiAsComment">
148 <property name="toolTip">
149 <string>Recorded macros will also contain user interface commands as comments</string>
150 </property>
151 <property name="text">
152 <string>Record as comment</string>
153 </property>
154 <property name="checked">
155 <bool>true</bool>
156 </property>
157 <property name="prefEntry" stdset="0">
158 <cstring>GuiAsComment</cstring>
159 </property>
160 <property name="prefPath" stdset="0">
161 <cstring>Macro</cstring>
162 </property>
163 </widget>
164 </item>
165 </layout>
166 </widget>
167 </item>
168 <item row="2" column="0">
169 <widget class="QGroupBox" name="groupBox4">
170 <property name="title">
171 <string>Logging Commands</string>
172 </property>
173 <layout class="QVBoxLayout">
174 <property name="spacing">
175 <number>6</number>
176 </property>
177 <property name="leftMargin">
178 <number>11</number>
179 </property>
180 <property name="topMargin">
181 <number>11</number>
182 </property>
183 <property name="rightMargin">
184 <number>11</number>
185 </property>
186 <property name="bottomMargin">
187 <number>11</number>
188 </property>
189 <item>
190 <widget class="Gui::PrefCheckBox" name="PConsoleCheckBox">
191 <property name="toolTip">
192 <string>Commands executed by macro scripts are shown in Python console</string>
193 </property>
194 <property name="text">
195 <string>Show script commands in Python console</string>
196 </property>
197 <property name="checked">
198 <bool>true</bool>
199 </property>
200 <property name="prefEntry" stdset="0">
201 <cstring>ScriptToPyConsole</cstring>
202 </property>
203 <property name="prefPath" stdset="0">
204 <cstring>Macro</cstring>
205 </property>
206 </widget>
207 </item>
208 <item>
209 <widget class="Gui::PrefCheckBox" name="FileLogCheckBox">
210 <property name="text">
211 <string>Log all commands issued by menus to file</string>
212 </property>
213 <property name="prefEntry" stdset="0">
214 <cstring>ScriptToFile</cstring>
215 </property>
216 <property name="prefPath" stdset="0">
217 <cstring>Macro</cstring>
218 </property>
219 </widget>
220 </item>
221 <item>
222 <widget class="Gui::PrefFileChooser" name="MacroPath_2">
223 <property name="fileName" stdset="0">
224 <string>FullScript.FCScript</string>
225 </property>
226 <property name="prefEntry" stdset="0">
227 <cstring>ScriptFile</cstring>
228 </property>
229 <property name="prefPath" stdset="0">
230 <cstring>Macro</cstring>
231 </property>
232 </widget>
233 </item>
234 </layout>
235 </widget>
236 </item>
237 </layout>
238 </widget>
239 </item>
240 <item row="2" column="0">
241 <widget class="QGroupBox" name="recentmacrosgroupBox">
242 <property name="title">
243 <string>Recent Macros Menu</string>
244 </property>
245 <layout class="QGridLayout" name="recentmacrosgridLayout">
246 <item row="0" column="0">
247 <widget class="QLabel" name="recentMacroListLabel">
248 <property name="text">
249 <string>Size of recent macro list</string>
250 </property>
251 </widget>
252 </item>
253 <item row="0" column="1">
254 <spacer name="horizontalSpacer">
255 <property name="orientation">
256 <enum>Qt::Horizontal</enum>
257 </property>
258 <property name="sizeHint" stdset="0">
259 <size>
260 <width>40</width>
261 <height>20</height>
262 </size>
263 </property>
264 </spacer>
265 </item>
266 <item row="0" column="5">
267 <widget class="Gui::PrefSpinBox" name="RecentMacros">
268 <property name="toolTip">
269 <string>How many macros should be listed in recent macros list</string>
270 </property>
271 <property name="value">
272 <number>12</number>
273 </property>
274 <property name="prefEntry" stdset="0">
275 <cstring>RecentMacros</cstring>
276 </property>
277 <property name="prefPath" stdset="0">
278 <cstring>RecentMacros</cstring>
279 </property>
280 </widget>
281 </item>
282 <item row="1" column="0">
283 <widget class="QLabel" name="recentMacroListShortcutCountLabel">
284 <property name="text">
285 <string>Keyboard shortcut count</string>
286 </property>
287 </widget>
288 </item>
289 <item row="1" column="1">
290 <spacer name="horizontalSpacer_2">
291 <property name="orientation">
292 <enum>Qt::Horizontal</enum>
293 </property>
294 <property name="sizeHint" stdset="0">
295 <size>
296 <width>40</width>
297 <height>20</height>
298 </size>
299 </property>
300 </spacer>
301 </item>
302 <item row="1" column="5">
303 <widget class="Gui::PrefSpinBox" name="ShortcutCount">
304 <property name="toolTip">
305 <string>How many recent macros should have shortcuts</string>
306 </property>
307 <property name="value">
308 <number>3</number>
309 </property>
310 <property name="prefEntry" stdset="0">
311 <cstring>ShortcutCount</cstring>
312 </property>
313 <property name="prefPath" stdset="0">
314 <cstring>RecentMacros</cstring>
315 </property>
316 </widget>
317 </item>
318 <item row="2" column="0">
319 <widget class="QLabel" name="ShorcutModifiersLabel">
320 <property name="text">
321 <string>Keyboard Modifiers</string>
322 </property>
323 </widget>
324 </item>
325 <item row="2" column="1">
326 <spacer name="horizontalSpacer_3">
327 <property name="orientation">
328 <enum>Qt::Horizontal</enum>
329 </property>
330 <property name="sizeHint" stdset="0">
331 <size>
332 <width>40</width>
333 <height>20</height>
334 </size>
335 </property>
336 </spacer>
337 </item>
338 <item row="2" column="5" colspan="3">
339 <widget class="Gui::ModifierLineEdit" name="ShortcutModifiers">
340 <property name="toolTip">
341 <string>Keyboard modifiers, default = Ctrl+Shift+</string>
342 </property>
343 </widget>
344 </item>
345 </layout>
346 </widget>
347 </item>
348 <item row="3" column="0">
349 <spacer>
350 <property name="orientation">
351 <enum>Qt::Vertical</enum>
352 </property>
353 <property name="sizeHint" stdset="0">
354 <size>
355 <width>20</width>
356 <height>40</height>
357 </size>
358 </property>
359 </spacer>
360 </item>
361 </layout>
362 </widget>
363 <layoutdefault spacing="6" margin="11"/>
364 <customwidgets>
365 <customwidget>
366 <class>Gui::ModifierLineEdit</class>
367 <extends>QLineEdit</extends>
368 <header>Gui/Widgets.h</header>
369 </customwidget>
370 <customwidget>
371 <class>Gui::PrefSpinBox</class>
372 <extends>QSpinBox</extends>
373 <header>Gui/PrefWidgets.h</header>
374 </customwidget>
375 <customwidget>
376 <class>Gui::PrefCheckBox</class>
377 <extends>QCheckBox</extends>
378 <header>Gui/PrefWidgets.h</header>
379 </customwidget>
380 <customwidget>
381 <class>Gui::FileChooser</class>
382 <extends>QWidget</extends>
383 <header>Gui/FileDialog.h</header>
384 </customwidget>
385 <customwidget>
386 <class>Gui::PrefFileChooser</class>
387 <extends>Gui::FileChooser</extends>
388 <header>Gui/PrefWidgets.h</header>
389 </customwidget>
390 </customwidgets>
391 <resources/>
392 <connections>
393 <connection>
394 <sender>PrefCheckBox_RecordGui</sender>
395 <signal>toggled(bool)</signal>
396 <receiver>PrefCheckBox_GuiAsComment</receiver>
397 <slot>setEnabled(bool)</slot>
398 <hints>
399 <hint type="sourcelabel">
400 <x>20</x>
401 <y>20</y>
402 </hint>
403 <hint type="destinationlabel">
404 <x>20</x>
405 <y>20</y>
406 </hint>
407 </hints>
408 </connection>
409 </connections>
410 </ui>