Get the style color and number just once
[LibreOffice.git] / sd / uiconfig / sdraw / ui / dlgsnap.ui
blob610198a577bad13bea99c96236bd6d1b2b50eba4
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Generated with glade 3.38.2 -->
3 <interface domain="sd">
4 <requires lib="gtk+" version="3.20"/>
5 <object class="GtkDialog" id="SnapObjectDialog">
6 <property name="can-focus">False</property>
7 <property name="border-width">6</property>
8 <property name="title" translatable="yes" context="dlgsnap|SnapObjectDialog">New Snap Guide</property>
9 <property name="modal">True</property>
10 <property name="default-width">0</property>
11 <property name="default-height">0</property>
12 <property name="type-hint">dialog</property>
13 <child internal-child="vbox">
14 <object class="GtkBox" id="dialog-vbox1">
15 <property name="can-focus">False</property>
16 <property name="orientation">vertical</property>
17 <property name="spacing">12</property>
18 <child internal-child="action_area">
19 <object class="GtkButtonBox" id="dialog-action_area1">
20 <property name="can-focus">False</property>
21 <property name="layout-style">end</property>
22 <child>
23 <object class="GtkButton" id="delete">
24 <property name="label" translatable="yes" context="stock">_Delete</property>
25 <property name="visible">True</property>
26 <property name="can-focus">True</property>
27 <property name="receives-default">True</property>
28 <property name="use-underline">True</property>
29 <child internal-child="accessible">
30 <object class="AtkObject" id="delete-atkobject">
31 <property name="AtkObject::accessible-description" translatable="yes" context="dlgsnap|extended_tip|delete">Deletes the selected snap point or snap line.</property>
32 </object>
33 </child>
34 </object>
35 <packing>
36 <property name="expand">False</property>
37 <property name="fill">True</property>
38 <property name="position">0</property>
39 </packing>
40 </child>
41 <child>
42 <object class="GtkButton" id="ok">
43 <property name="label" translatable="yes" context="stock">_OK</property>
44 <property name="visible">True</property>
45 <property name="can-focus">True</property>
46 <property name="can-default">True</property>
47 <property name="has-default">True</property>
48 <property name="receives-default">True</property>
49 <property name="use-underline">True</property>
50 </object>
51 <packing>
52 <property name="expand">False</property>
53 <property name="fill">True</property>
54 <property name="position">1</property>
55 </packing>
56 </child>
57 <child>
58 <object class="GtkButton" id="cancel">
59 <property name="label" translatable="yes" context="stock">_Cancel</property>
60 <property name="visible">True</property>
61 <property name="can-focus">True</property>
62 <property name="receives-default">True</property>
63 <property name="use-underline">True</property>
64 </object>
65 <packing>
66 <property name="expand">False</property>
67 <property name="fill">True</property>
68 <property name="position">2</property>
69 </packing>
70 </child>
71 <child>
72 <object class="GtkButton" id="help">
73 <property name="label" translatable="yes" context="stock">_Help</property>
74 <property name="visible">True</property>
75 <property name="can-focus">True</property>
76 <property name="can-default">True</property>
77 <property name="receives-default">True</property>
78 <property name="use-underline">True</property>
79 </object>
80 <packing>
81 <property name="expand">False</property>
82 <property name="fill">True</property>
83 <property name="position">3</property>
84 <property name="secondary">True</property>
85 </packing>
86 </child>
87 </object>
88 <packing>
89 <property name="expand">False</property>
90 <property name="fill">True</property>
91 <property name="pack-type">end</property>
92 <property name="position">0</property>
93 </packing>
94 </child>
95 <child>
96 <object class="GtkBox" id="box1">
97 <property name="visible">True</property>
98 <property name="can-focus">False</property>
99 <property name="spacing">12</property>
100 <child>
101 <object class="GtkFrame" id="frame1">
102 <property name="visible">True</property>
103 <property name="can-focus">False</property>
104 <property name="label-xalign">0</property>
105 <property name="shadow-type">none</property>
106 <child>
107 <!-- n-columns=2 n-rows=2 -->
108 <object class="GtkGrid" id="grid1">
109 <property name="visible">True</property>
110 <property name="can-focus">False</property>
111 <property name="margin-start">12</property>
112 <property name="margin-top">6</property>
113 <property name="row-spacing">6</property>
114 <property name="column-spacing">12</property>
115 <child>
116 <object class="GtkSpinButton" id="x">
117 <property name="visible">True</property>
118 <property name="can-focus">True</property>
119 <property name="activates-default">True</property>
120 <property name="truncate-multiline">True</property>
121 <property name="digits">2</property>
122 <child internal-child="accessible">
123 <object class="AtkObject" id="x-atkobject">
124 <property name="AtkObject::accessible-description" translatable="yes" context="dlgsnap|extended_tip|x">Enter the amount of space you want between the snap point or line and the left edge of the page.</property>
125 </object>
126 </child>
127 </object>
128 <packing>
129 <property name="left-attach">1</property>
130 <property name="top-attach">0</property>
131 </packing>
132 </child>
133 <child>
134 <object class="GtkSpinButton" id="y">
135 <property name="visible">True</property>
136 <property name="can-focus">True</property>
137 <property name="activates-default">True</property>
138 <property name="truncate-multiline">True</property>
139 <property name="digits">2</property>
140 <child internal-child="accessible">
141 <object class="AtkObject" id="y-atkobject">
142 <property name="AtkObject::accessible-description" translatable="yes" context="dlgsnap|extended_tip|y">Enter the amount of space you want between the snap point or line and the top edge of the page.</property>
143 </object>
144 </child>
145 </object>
146 <packing>
147 <property name="left-attach">1</property>
148 <property name="top-attach">1</property>
149 </packing>
150 </child>
151 <child>
152 <object class="GtkLabel" id="xlabel">
153 <property name="visible">True</property>
154 <property name="can-focus">False</property>
155 <property name="label" translatable="yes" context="dlgsnap|xlabel">_X:</property>
156 <property name="use-underline">True</property>
157 <property name="mnemonic-widget">x</property>
158 </object>
159 <packing>
160 <property name="left-attach">0</property>
161 <property name="top-attach">0</property>
162 </packing>
163 </child>
164 <child>
165 <object class="GtkLabel" id="ylabel">
166 <property name="visible">True</property>
167 <property name="can-focus">False</property>
168 <property name="label" translatable="yes" context="dlgsnap|ylabel">_Y:</property>
169 <property name="use-underline">True</property>
170 <property name="mnemonic-widget">y</property>
171 </object>
172 <packing>
173 <property name="left-attach">0</property>
174 <property name="top-attach">1</property>
175 </packing>
176 </child>
177 </object>
178 </child>
179 <child type="label">
180 <object class="GtkLabel" id="label1">
181 <property name="visible">True</property>
182 <property name="can-focus">False</property>
183 <property name="label" translatable="yes" context="dlgsnap|label1">Position</property>
184 <attributes>
185 <attribute name="weight" value="bold"/>
186 </attributes>
187 </object>
188 </child>
189 </object>
190 <packing>
191 <property name="expand">False</property>
192 <property name="fill">True</property>
193 <property name="position">0</property>
194 </packing>
195 </child>
196 <child>
197 <object class="GtkFrame" id="radiogroup">
198 <property name="visible">True</property>
199 <property name="can-focus">False</property>
200 <property name="label-xalign">0</property>
201 <property name="shadow-type">none</property>
202 <child>
203 <!-- n-columns=2 n-rows=3 -->
204 <object class="GtkGrid">
205 <property name="visible">True</property>
206 <property name="can-focus">False</property>
207 <property name="margin-start">12</property>
208 <property name="margin-top">6</property>
209 <property name="row-spacing">6</property>
210 <property name="column-spacing">12</property>
211 <child>
212 <object class="GtkImage" id="image1">
213 <property name="visible">True</property>
214 <property name="can-focus">False</property>
215 <property name="icon-name">sd/res/hlppoint.png</property>
216 </object>
217 <packing>
218 <property name="left-attach">0</property>
219 <property name="top-attach">0</property>
220 </packing>
221 </child>
222 <child>
223 <object class="GtkImage" id="image2">
224 <property name="visible">True</property>
225 <property name="can-focus">False</property>
226 <property name="icon-name">sd/res/hlplvert.png</property>
227 </object>
228 <packing>
229 <property name="left-attach">0</property>
230 <property name="top-attach">1</property>
231 </packing>
232 </child>
233 <child>
234 <object class="GtkImage" id="image3">
235 <property name="visible">True</property>
236 <property name="can-focus">False</property>
237 <property name="icon-name">sd/res/hlplhorz.png</property>
238 </object>
239 <packing>
240 <property name="left-attach">0</property>
241 <property name="top-attach">2</property>
242 </packing>
243 </child>
244 <child>
245 <object class="GtkRadioButton" id="point">
246 <property name="label" translatable="yes" context="dlgsnap|point">_Point</property>
247 <property name="visible">True</property>
248 <property name="can-focus">True</property>
249 <property name="receives-default">False</property>
250 <property name="use-underline">True</property>
251 <property name="active">True</property>
252 <property name="draw-indicator">True</property>
253 <child internal-child="accessible">
254 <object class="AtkObject" id="point-atkobject">
255 <property name="AtkObject::accessible-description" translatable="yes" context="dlgsnap|extended_tip|point">Inserts a snap point.</property>
256 </object>
257 </child>
258 </object>
259 <packing>
260 <property name="left-attach">1</property>
261 <property name="top-attach">0</property>
262 </packing>
263 </child>
264 <child>
265 <object class="GtkRadioButton" id="vert">
266 <property name="label" translatable="yes" context="dlgsnap|vert">_Vertical</property>
267 <property name="visible">True</property>
268 <property name="can-focus">True</property>
269 <property name="receives-default">False</property>
270 <property name="use-underline">True</property>
271 <property name="draw-indicator">True</property>
272 <property name="group">point</property>
273 <child internal-child="accessible">
274 <object class="AtkObject" id="vert-atkobject">
275 <property name="AtkObject::accessible-description" translatable="yes" context="dlgsnap|extended_tip|vert">Inserts a vertical snap line.</property>
276 </object>
277 </child>
278 </object>
279 <packing>
280 <property name="left-attach">1</property>
281 <property name="top-attach">1</property>
282 </packing>
283 </child>
284 <child>
285 <object class="GtkRadioButton" id="horz">
286 <property name="label" translatable="yes" context="dlgsnap|horz">Hori_zontal</property>
287 <property name="visible">True</property>
288 <property name="can-focus">True</property>
289 <property name="receives-default">False</property>
290 <property name="use-underline">True</property>
291 <property name="draw-indicator">True</property>
292 <property name="group">point</property>
293 <child internal-child="accessible">
294 <object class="AtkObject" id="horz-atkobject">
295 <property name="AtkObject::accessible-description" translatable="yes" context="dlgsnap|extended_tip|horz">Inserts a horizontal snap line.</property>
296 </object>
297 </child>
298 </object>
299 <packing>
300 <property name="left-attach">1</property>
301 <property name="top-attach">2</property>
302 </packing>
303 </child>
304 </object>
305 </child>
306 <child type="label">
307 <object class="GtkLabel" id="label2">
308 <property name="visible">True</property>
309 <property name="can-focus">False</property>
310 <property name="label" translatable="yes" context="dlgsnap|label2">Type</property>
311 <attributes>
312 <attribute name="weight" value="bold"/>
313 </attributes>
314 </object>
315 </child>
316 </object>
317 <packing>
318 <property name="expand">False</property>
319 <property name="fill">True</property>
320 <property name="position">1</property>
321 </packing>
322 </child>
323 </object>
324 <packing>
325 <property name="expand">False</property>
326 <property name="fill">True</property>
327 <property name="position">1</property>
328 </packing>
329 </child>
330 </object>
331 </child>
332 <action-widgets>
333 <action-widget response="101">delete</action-widget>
334 <action-widget response="-5">ok</action-widget>
335 <action-widget response="-6">cancel</action-widget>
336 <action-widget response="-11">help</action-widget>
337 </action-widgets>
338 <child internal-child="accessible">
339 <object class="AtkObject" id="SnapObjectDialog-atkobject">
340 <property name="AtkObject::accessible-description" translatable="yes" context="dlgsnap|extended_tip|SnapObjectDialog">Inserts a snap point or snap line (also known as guide) that you can use to quickly align objects.</property>
341 </object>
342 </child>
343 </object>
344 </interface>