Debian Codegraph @

src/optionsbars/transform/optionsbar-rotate.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface domain="drawing">
3
4 <object class="GtkAdjustment" id="adj_angle">
5 <property name="lower">-360</property>
6 <property name="upper">360</property>
7 <property name="step_increment">1</property>
8 <property name="page_increment">90</property>
9 <property name="value">0</property>
10 </object>
11
12 <!-- -->
13
14 <object class="GtkBox" id="centered_box">
15 <property name="spacing">10</property>
16
17 <child>
18 <object class="GtkBox" id="angle_box">
19 <property name="spacing">10</property>
20 <property name="tooltip_text" translatable="yes">Angle (degrees)</property>
21 <child>
22 <object class="GtkLabel" id="angle_label">
23 <property name="label" translatable="yes">Angle</property>
24 </object>
25 </child>
26 <child>
27 <object class="GtkSpinButton" id="angle_btn">
28 <property name="wrap">True</property>
29 <property name="adjustment">adj_angle</property>
30 </object>
31 </child>
32 </object>
33 </child>
34
35 <child>
36 <object class="GtkBox" id="rotate_box">
37 <style><class name="linked"/></style>
38 <child>
39 <object class="GtkButton">
40 <property name="tooltip_text" translatable="yes">Rotate left</property>
41 <property name="valign">center</property>
42 <property name="action-name">win.rotate-counter-cw</property>
43 <child>
44 <object class="GtkImage">
45 <property name="icon-name">object-rotate-left-symbolic</property>
46 </object>
47 </child>
48 </object>
49 </child>
50 <child>
51 <object class="GtkButton">
52 <property name="tooltip_text" translatable="yes">Rotate right</property>
53 <property name="valign">center</property>
54 <property name="action-name">win.rotate-clockwise</property>
55 <child>
56 <object class="GtkImage">
57 <property name="icon-name">object-rotate-right-symbolic</property>
58 </object>
59 </child>
60 </object>
61 </child>
62 </object>
63 </child>
64
65 <child>
66 <object class="GtkBox" id="flip_box">
67 <style><class name="linked"/></style>
68 <child>
69 <object class="GtkButton">
70 <property name="tooltip_text" translatable="yes">Flip horizontally</property>
71 <property name="valign">center</property>
72 <property name="action-name">win.rotate-flip-h</property>
73 <child>
74 <object class="GtkImage">
75 <property name="icon-name">object-flip-horizontal-symbolic</property>
76 </object>
77 </child>
78 </object>
79 </child>
80 <child>
81 <object class="GtkButton">
82 <property name="tooltip_text" translatable="yes">Flip vertically</property>
83 <property name="valign">center</property>
84 <property name="action-name">win.rotate-flip-v</property>
85 <child>
86 <object class="GtkImage">
87 <property name="icon-name">object-flip-vertical-symbolic</property>
88 </object>
89 </child>
90 </object>
91 </child>
92 </object>
93 </child>
94
95 </object>
96
97 <!-- -->
98
99 <menu id="actions-menu">
100 <section>
101 <!-- <attribute name="display-hint">horizontal-buttons</attribute> -->
102 <item>
103 <attribute name="label" translatable="yes">Rotate left</attribute>
104 <attribute name="action">win.rotate-counter-cw</attribute>
105 <attribute name="verb-icon">object-rotate-left-symbolic</attribute>
106 </item>
107 <item>
108 <attribute name="label" translatable="yes">Rotate right</attribute>
109 <attribute name="action">win.rotate-clockwise</attribute>
110 <attribute name="verb-icon">object-rotate-right-symbolic</attribute>
111 </item>
112 </section>
113 <section>
114 <!-- <attribute name="display-hint">horizontal-buttons</attribute> -->
115 <item>
116 <attribute name="label" translatable="yes">Flip horizontally</attribute>
117 <attribute name="action">win.rotate-flip-h</attribute>
118 <attribute name="verb-icon">object-flip-horizontal-symbolic</attribute>
119 </item>
120 <item>
121 <attribute name="label" translatable="yes">Flip vertically</attribute>
122 <attribute name="action">win.rotate-flip-v</attribute>
123 <attribute name="verb-icon">object-flip-vertical-symbolic</attribute>
124 </item>
125 </section>
126 </menu>
127
128 </interface>