Debian Codegraph @

src/ui/shortcuts.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface domain="drawing">
3 <object class="GtkShortcutsWindow" id="shortcuts-window">
4 <property name="icon-name">com.github.maoschanz.drawing</property>
5 <child>
6 <object class="GtkShortcutsSection">
7 <property name="visible">True</property>
8 <property name="section-name">shortcuts</property>
9 <property name="title" translatable="yes">Keyboard Shortcuts</property>
10 <property name="max-height">9</property>
11 <!-- 9 is actually both the maximum AND the minimum possible -->
12 <child>
13 <object class="GtkShortcutsGroup">
14 <property name="visible">True</property>
15 <property name="title" translatable="yes">General</property>
16 <child>
17 <object class="GtkShortcutsShortcut">
18 <property name="visible">True</property>
19 <property name="title" translatable="yes">New Window</property>
20 <property name="accelerator">&lt;Primary&gt;n</property>
21 </object>
22 </child>
23 <child>
24 <object class="GtkShortcutsShortcut">
25 <property name="visible">True</property>
26 <property name="title" translatable="yes">Main menu</property>
27 <property name="accelerator">F10</property>
28 </object>
29 </child>
30 <child>
31 <object class="GtkShortcutsShortcut">
32 <property name="visible">True</property>
33 <property name="title" translatable="yes">Toggle the menu-bar</property>
34 <property name="accelerator">&lt;Primary&gt;F2</property>
35 </object>
36 </child>
37 <child>
38 <object class="GtkShortcutsShortcut">
39 <property name="visible">True</property>
40 <property name="title" translatable="yes">Shortcuts</property>
41 <property name="accelerator">&lt;Primary&gt;question</property>
42 </object>
43 </child>
44 <child>
45 <object class="GtkShortcutsShortcut">
46 <property name="visible">True</property>
47 <property name="title" translatable="yes">Help</property>
48 <property name="accelerator">F1</property>
49 </object>
50 </child>
51 <child>
52 <object class="GtkShortcutsShortcut">
53 <property name="visible">True</property>
54 <property name="title" translatable="yes">Quit all windows</property>
55 <property name="accelerator">&lt;Primary&gt;q</property>
56 </object>
57 </child>
58 </object>
59 </child>
60 <child>
61 <object class="GtkShortcutsGroup">
62 <property name="visible">True</property>
63 <property name="title" translatable="yes">Image</property>
64 <child>
65 <object class="GtkShortcutsShortcut">
66 <property name="visible">True</property>
67 <property name="title" translatable="yes">New Blank Image</property>
68 <property name="accelerator">&lt;Primary&gt;t</property>
69 </object>
70 </child>
71 <child>
72 <object class="GtkShortcutsShortcut">
73 <property name="visible">True</property>
74 <property name="title" translatable="yes">New Image From Clipboard</property>
75 <property name="accelerator">&lt;Primary&gt;&lt;Shift&gt;v</property>
76 </object>
77 </child>
78 <child>
79 <object class="GtkShortcutsShortcut">
80 <property name="visible">True</property>
81 <property name="title" translatable="yes">Open a picture</property>
82 <property name="accelerator">&lt;Primary&gt;o</property>
83 </object>
84 </child>
85 <child>
86 <object class="GtkShortcutsShortcut">
87 <property name="visible">True</property>
88 <property name="title" translatable="yes">Reload image from disk</property>
89 <property name="accelerator">&lt;Primary&gt;r</property>
90 </object>
91 </child>
92 <child>
93 <object class="GtkShortcutsShortcut">
94 <property name="visible">True</property>
95 <property name="title" translatable="yes">Save</property>
96 <property name="accelerator">&lt;Primary&gt;s</property>
97 </object>
98 </child>
99 <child>
100 <object class="GtkShortcutsShortcut">
101 <property name="visible">True</property>
102 <property name="title" translatable="yes">Save picture as…</property>
103 <property name="accelerator">&lt;Primary&gt;&lt;Shift&gt;s</property>
104 </object>
105 </child>
106 <child>
107 <object class="GtkShortcutsShortcut">
108 <property name="visible">True</property>
109 <property name="title" translatable="yes">Copy to clipboard</property>
110 <property name="accelerator">&lt;Primary&gt;&lt;Shift&gt;c</property>
111 </object>
112 </child>
113 <child>
114 <object class="GtkShortcutsShortcut">
115 <property name="visible">True</property>
116 <property name="title" translatable="yes">Close the active image</property>
117 <property name="accelerator">&lt;Primary&gt;w</property>
118 </object>
119 </child>
120 </object>
121 </child>
122
123 <child>
124 <object class="GtkShortcutsGroup">
125 <property name="visible">True</property>
126 <property name="title" translatable="yes">Tools</property>
127 <child>
128 <object class="GtkShortcutsShortcut">
129 <property name="visible">True</property>
130 <property name="title" translatable="yes">Show tools names</property>
131 <property name="accelerator">F9</property>
132 </object>
133 </child>
134 <child>
135 <object class="GtkShortcutsShortcut">
136 <property name="visible">True</property>
137 <property name="title" translatable="yes">Open the tool options menu</property>
138 <property name="accelerator">&lt;Primary&gt;F10</property>
139 </object>
140 </child>
141 <child>
142 <object class="GtkShortcutsShortcut">
143 <property name="visible">True</property>
144 <property name="title" translatable="yes">Back to previous tool</property>
145 <property name="accelerator">&lt;Primary&gt;b</property>
146 </object>
147 </child>
148 <child>
149 <object class="GtkShortcutsShortcut">
150 <property name="visible">True</property>
151 <property name="title" translatable="yes">Bigger width</property>
152 <property name="accelerator">&lt;Primary&gt;&lt;Shift&gt;Up</property>
153 </object>
154 </child>
155 <child>
156 <object class="GtkShortcutsShortcut">
157 <property name="visible">True</property>
158 <property name="title" translatable="yes">Smaller width</property>
159 <property name="accelerator">&lt;Primary&gt;&lt;Shift&gt;Down</property>
160 </object>
161 </child>
162 <child>
163 <object class="GtkShortcutsShortcut">
164 <property name="visible">True</property>
165 <property name="title" translatable="yes">Apply a transformation</property>
166 <property name="accelerator">&lt;Primary&gt;Return</property>
167 </object>
168 </child>
169 <!-- TODO "cancel transformation"? -->
170 </object>
171 </child>
172 <child>
173 <object class="GtkShortcutsGroup">
174 <property name="visible">True</property>
175 <property name="title" translatable="yes">Zoom</property>
176 <child>
177 <object class="GtkShortcutsShortcut">
178 <property name="visible">True</property>
179 <property name="title" translatable="yes">Toggle the preview</property>
180 <property name="accelerator">&lt;Primary&gt;m</property>
181 </object>
182 </child>
183 <child>
184 <object class="GtkShortcutsShortcut">
185 <property name="visible">True</property>
186 <property name="title" translatable="yes">Zoom Out</property>
187 <property name="accelerator">&lt;Primary&gt;minus</property>
188 </object>
189 </child>
190 <child>
191 <object class="GtkShortcutsShortcut">
192 <property name="visible">True</property>
193 <property name="title" translatable="yes">Original Zoom</property>
194 <property name="accelerator">&lt;Primary&gt;1</property>
195 </object>
196 </child>
197 <child>
198 <object class="GtkShortcutsShortcut">
199 <property name="visible">True</property>
200 <property name="title" translatable="yes">Zoom In</property>
201 <property name="accelerator">&lt;Primary&gt;plus</property>
202 </object>
203 </child>
204 <child>
205 <object class="GtkShortcutsShortcut">
206 <property name="visible">True</property>
207 <property name="title" translatable="yes">Maximum zoom</property>
208 <property name="accelerator">&lt;Primary&gt;&lt;Shift&gt;plus</property>
209 </object>
210 </child>
211 <child>
212 <object class="GtkShortcutsShortcut">
213 <property name="visible">True</property>
214 <property name="title" translatable="yes">Optimal Zoom</property>
215 <property name="accelerator">&lt;Primary&gt;0</property>
216 </object>
217 </child>
218 </object>
219 </child>
220
221 <child>
222 <object class="GtkShortcutsGroup">
223 <property name="visible">True</property>
224 <property name="title" translatable="yes">Selection</property>
225 <child>
226 <object class="GtkShortcutsShortcut">
227 <property name="visible">True</property>
228 <property name="title" translatable="yes">Select all</property>
229 <property name="accelerator">&lt;Primary&gt;a</property>
230 </object>
231 </child>
232 <child>
233 <object class="GtkShortcutsShortcut">
234 <property name="visible">True</property>
235 <property name="title" translatable="yes">Deselect</property>
236 <property name="accelerator">&lt;Primary&gt;&lt;Shift&gt;a</property>
237 </object>
238 </child>
239 <child>
240 <object class="GtkShortcutsShortcut">
241 <property name="visible">True</property>
242 <!-- Label displayed in the keyboard shortcuts dialog -->
243 <property name="title" translatable="yes">Delete the selection</property>
244 <property name="accelerator">Delete</property>
245 </object>
246 </child>
247 <child>
248 <object class="GtkShortcutsShortcut">
249 <property name="visible">True</property>
250 <property name="title" translatable="yes">Cut</property>
251 <property name="accelerator">&lt;Primary&gt;x</property>
252 </object>
253 </child>
254 <child>
255 <object class="GtkShortcutsShortcut">
256 <property name="visible">True</property>
257 <property name="title" translatable="yes">Copy</property>
258 <property name="accelerator">&lt;Primary&gt;c</property>
259 </object>
260 </child>
261 <child>
262 <object class="GtkShortcutsShortcut">
263 <property name="visible">True</property>
264 <property name="title" translatable="yes">Paste</property>
265 <property name="accelerator">&lt;Primary&gt;v</property>
266 </object>
267 </child>
268 <child>
269 <object class="GtkShortcutsShortcut">
270 <property name="visible">True</property>
271 <property name="title" translatable="yes">New Image From Selection</property>
272 <property name="accelerator">&lt;Primary&gt;&lt;Shift&gt;t</property>
273 </object>
274 </child>
275 <child>
276 <object class="GtkShortcutsShortcut">
277 <property name="visible">True</property>
278 <!-- Label displayed in the keyboard shortcuts dialog -->
279 <property name="title" translatable="yes">Import a file as the selection</property>
280 <property name="accelerator">&lt;Primary&gt;i</property>
281 </object>
282 </child>
283 </object>
284 </child>
285 <child>
286 <object class="GtkShortcutsGroup">
287 <property name="visible">True</property>
288 <property name="title" translatable="yes">Colors</property>
289 <child>
290 <object class="GtkShortcutsShortcut">
291 <property name="visible">True</property>
292 <!-- Label displayed in the keyboard shortcuts dialog -->
293 <property name="title" translatable="yes">Edit the main color (left click)</property>
294 <property name="accelerator">&lt;Primary&gt;&lt;Shift&gt;l</property>
295 </object>
296 </child>
297 <child>
298 <object class="GtkShortcutsShortcut">
299 <property name="visible">True</property>
300 <!-- Label displayed in the keyboard shortcuts dialog -->
301 <property name="title" translatable="yes">Edit the secondary color (right click)</property>
302 <property name="accelerator">&lt;Primary&gt;&lt;Shift&gt;r</property>
303 </object>
304 </child>
305 <child>
306 <object class="GtkShortcutsShortcut">
307 <property name="visible">True</property>
308 <property name="title" translatable="yes">Exchange colors</property>
309 <property name="accelerator">&lt;Primary&gt;e</property>
310 </object>
311 </child>
312 </object>
313 </child>
314 <child>
315 <object class="GtkShortcutsGroup">
316 <property name="visible">True</property>
317 <property name="title" translatable="yes">History</property>
318 <child>
319 <object class="GtkShortcutsShortcut">
320 <property name="visible">True</property>
321 <property name="title" translatable="yes">Undo</property>
322 <property name="accelerator">&lt;Primary&gt;z</property>
323 </object>
324 </child>
325 <child>
326 <object class="GtkShortcutsShortcut">
327 <property name="visible">True</property>
328 <property name="title" translatable="yes">Redo</property>
329 <property name="accelerator">&lt;Primary&gt;&lt;Shift&gt;z</property>
330 </object>
331 </child>
332 <child>
333 <object class="GtkShortcutsShortcut">
334 <property name="visible">True</property>
335 <property name="title" translatable="yes">Reset canvas</property>
336 <property name="accelerator">&lt;Primary&gt;BackSpace</property>
337 </object>
338 </child>
339 </object>
340 </child>
341
342 <child>
343 <object class="GtkShortcutsGroup">
344 <property name="visible">True</property>
345 <!-- Context: this section of the shortcuts window is about moving -->
346 <!-- the view to the left/right/top/bottom -->
347 <property name="title" translatable="yes">Navigation</property>
348 <child>
349 <object class="GtkShortcutsShortcut">
350 <property name="visible">True</property>
351 <property name="title" translatable="yes">Go Left</property>
352 <property name="accelerator">&lt;Primary&gt;Left</property>
353 </object>
354 </child>
355 <child>
356 <object class="GtkShortcutsShortcut">
357 <property name="visible">True</property>
358 <property name="title" translatable="yes">Go Up</property>
359 <property name="accelerator">&lt;Primary&gt;Up</property>
360 </object>
361 </child>
362 <child>
363 <object class="GtkShortcutsShortcut">
364 <property name="visible">True</property>
365 <property name="title" translatable="yes">Go Down</property>
366 <property name="accelerator">&lt;Primary&gt;Down</property>
367 </object>
368 </child>
369 <child>
370 <object class="GtkShortcutsShortcut">
371 <property name="visible">True</property>
372 <property name="title" translatable="yes">Go Right</property>
373 <property name="accelerator">&lt;Primary&gt;Right</property>
374 </object>
375 </child>
376 <child>
377 <object class="GtkShortcutsShortcut">
378 <property name="visible">True</property>
379 <property name="title" translatable="yes">Go to the left end</property>
380 <property name="accelerator">&lt;Primary&gt;Home</property>
381 </object>
382 </child>
383 <child>
384 <object class="GtkShortcutsShortcut">
385 <property name="visible">True</property>
386 <property name="title" translatable="yes">Go to the top</property>
387 <property name="accelerator">&lt;Primary&gt;Page_Up</property>
388 </object>
389 </child>
390 <child>
391 <object class="GtkShortcutsShortcut">
392 <property name="visible">True</property>
393 <property name="title" translatable="yes">Go to the bottom</property>
394 <property name="accelerator">&lt;Primary&gt;Page_Down</property>
395 </object>
396 </child>
397 <child>
398 <object class="GtkShortcutsShortcut">
399 <property name="visible">True</property>
400 <property name="title" translatable="yes">Go to the right end</property>
401 <property name="accelerator">&lt;Primary&gt;End</property>
402 </object>
403 </child>
404 </object>
405 </child>
406 <child>
407 <object class="GtkShortcutsGroup">
408 <property name="visible">True</property>
409 <property name="title" translatable="yes">Tabs</property>
410 <child>
411 <object class="GtkShortcutsShortcut">
412 <property name="visible">True</property>
413 <property name="title" translatable="yes">Tab at the left</property>
414 <property name="accelerator">&lt;Primary&gt;&lt;Shift&gt;Tab</property>
415 </object>
416 </child>
417 <child>
418 <object class="GtkShortcutsShortcut">
419 <property name="visible">True</property>
420 <property name="title" translatable="yes">Tab at the right</property>
421 <property name="accelerator">&lt;Primary&gt;Tab</property>
422 </object>
423 </child>
424 </object>
425 </child>
426 <child>
427 <object class="GtkShortcutsGroup">
428 <property name="visible">True</property>
429 <property name="title" translatable="yes">Fullscreen</property>
430 <child>
431 <object class="GtkShortcutsShortcut">
432 <property name="visible">True</property>
433 <property name="title" translatable="yes">Toggle fullscreen mode</property>
434 <property name="accelerator">F11</property>
435 </object>
436 </child>
437 <child>
438 <object class="GtkShortcutsShortcut">
439 <property name="visible">True</property>
440 <property name="title" translatable="yes">Toggle toolbars visibility</property>
441 <property name="accelerator">F8</property>
442 </object>
443 </child>
444 </object>
445 </child>
446 </object>
447 </child>
448
449 <!-- ******************************************************************* -->
450
451 <child>
452 <object class="GtkShortcutsSection">
453 <property name="visible">True</property>
454 <property name="section-name">gestures</property>
455 <property name="title" translatable="yes">Touch gestures</property>
456 <property name="max-height">5</property>
457
458 <child>
459 <object class="GtkShortcutsGroup">
460 <property name="visible">True</property>
461 <property name="title" translatable="yes">Zoom</property>
462 <child>
463 <object class="GtkShortcutsShortcut">
464 <property name="visible">True</property>
465 <property name="shortcut-type">gesture-pinch</property>
466 <property name="title" translatable="yes">Zoom Out</property>
467 </object>
468 </child>
469 <child>
470 <object class="GtkShortcutsShortcut">
471 <property name="visible">True</property>
472 <property name="shortcut-type">gesture-stretch</property>
473 <property name="title" translatable="yes">Zoom In</property>
474 </object>
475 </child>
476 </object>
477 </child>
478
479 <!-- <child> -->
480 <!-- <object class="GtkShortcutsGroup"> -->
481 <!-- <property name="visible">True</property> -->
482 <!-- <property name="title" translatable="yes">Tabs</property> -->
483 <!-- <child> -->
484 <!-- <object class="GtkShortcutsShortcut"> -->
485 <!-- <property name="visible">True</property> -->
486 <!-- <property name="title" translatable="yes">Tab at the left</property> -->
487 <!-- <property name="shortcut-type">gesture-two-finger-swipe-left</property> -->
488 <!-- </object> -->
489 <!-- </child> -->
490 <!-- <child> -->
491 <!-- <object class="GtkShortcutsShortcut"> -->
492 <!-- <property name="visible">True</property> -->
493 <!-- <property name="title" translatable="yes">Tab at the right</property> -->
494 <!-- <property name="shortcut-type">gesture-two-finger-swipe-right</property> -->
495 <!-- </object> -->
496 <!-- </child> -->
497 <!-- </object> -->
498 <!-- </child> -->
499
500 <!-- <child> -->
501 <!-- <object class="GtkShortcutsGroup"> -->
502 <!-- <property name="visible">True</property> -->
503 <!-- <property name="title" translatable="yes">Selection</property> -->
504 <!-- <child> -->
505 <!-- <object class="GtkShortcutsShortcut"> -->
506 <!-- <property name="visible">True</property> -->
507 <!-- <property name="title" translatable="yes">Rotate clockwise</property> -->
508 <!-- <property name="shortcut-type">gesture-rotate-clockwise</property> -->
509 <!-- </object> -->
510 <!-- </child> -->
511 <!-- <child> -->
512 <!-- <object class="GtkShortcutsShortcut"> -->
513 <!-- <property name="visible">True</property> -->
514 <!-- <property name="title" translatable="yes">Rotate counter-clockwise</property> -->
515 <!-- <property name="shortcut-type">gesture-rotate-counterclockwise</property> -->
516 <!-- </object> -->
517 <!-- </child> -->
518 <!-- </object> -->
519 <!-- </child> -->
520
521 </object>
522 </child>
523 </object>
524 </interface>
525