Cleaned up mmap import a bit. Started to convert flags there, too
1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2 <class>EditXLinkDialog</class>
3 <widget class="QDialog">
5 <cstring>EditXLinkDialog</cstring>
7 <property name="geometry">
15 <property name="sizePolicy">
17 <hsizetype>5</hsizetype>
18 <vsizetype>5</vsizetype>
19 <horstretch>0</horstretch>
20 <verstretch>0</verstretch>
23 <property name="caption">
24 <string>Edit XLink</string>
27 <property name="name">
28 <cstring>unnamed</cstring>
30 <widget class="QLayoutWidget">
31 <property name="name">
32 <cstring>layout7</cstring>
35 <property name="name">
36 <cstring>unnamed</cstring>
38 <widget class="QSpinBox" row="0" column="1">
39 <property name="name">
40 <cstring>widthBox</cstring>
42 <property name="sizePolicy">
44 <hsizetype>0</hsizetype>
45 <vsizetype>0</vsizetype>
46 <horstretch>0</horstretch>
47 <verstretch>0</verstretch>
50 <property name="maxValue">
53 <property name="minValue">
57 <widget class="QLabel" row="0" column="0">
58 <property name="name">
59 <cstring>textLabel1</cstring>
61 <property name="text">
62 <string>XLink width:</string>
64 <property name="alignment">
65 <set>AlignVCenter|AlignRight</set>
68 <widget class="QPushButton" row="1" column="4">
69 <property name="name">
70 <cstring>setColorHeadingButton</cstring>
72 <property name="maximumSize">
78 <property name="text">
79 <string>Set color of heading</string>
82 <widget class="QPushButton" row="1" column="1">
83 <property name="name">
84 <cstring>colorButton</cstring>
86 <property name="enabled">
89 <property name="maximumSize">
95 <property name="text">
99 <widget class="QCheckBox" row="2" column="1" rowspan="1" colspan="2">
100 <property name="name">
101 <cstring>useSettings</cstring>
103 <property name="text">
107 <widget class="QLabel" row="1" column="0">
108 <property name="name">
109 <cstring>textLabel2</cstring>
111 <property name="text">
112 <string>XLink color:</string>
114 <property name="alignment">
115 <set>AlignVCenter|AlignRight</set>
118 <spacer row="1" column="2" rowspan="1" colspan="2">
119 <property name="name">
120 <cstring>spacer6</cstring>
122 <property name="orientation">
123 <enum>Horizontal</enum>
125 <property name="sizeType">
126 <enum>Expanding</enum>
128 <property name="sizeHint">
135 <spacer row="0" column="2" rowspan="1" colspan="2">
136 <property name="name">
137 <cstring>spacer2</cstring>
139 <property name="orientation">
140 <enum>Horizontal</enum>
142 <property name="sizeType">
143 <enum>Expanding</enum>
145 <property name="sizeHint">
152 <widget class="QLabel" row="2" column="0">
153 <property name="name">
154 <cstring>textLabel1_2</cstring>
156 <property name="text">
157 <string>Use as default:</string>
159 <property name="alignment">
160 <set>AlignVCenter|AlignRight</set>
163 <spacer row="2" column="3" rowspan="1" colspan="2">
164 <property name="name">
165 <cstring>spacer9</cstring>
167 <property name="orientation">
168 <enum>Horizontal</enum>
170 <property name="sizeType">
171 <enum>Expanding</enum>
173 <property name="sizeHint">
183 <property name="name">
184 <cstring>spacer4</cstring>
186 <property name="orientation">
187 <enum>Vertical</enum>
189 <property name="sizeType">
190 <enum>Expanding</enum>
192 <property name="sizeHint">
199 <widget class="QLayoutWidget">
200 <property name="name">
201 <cstring>layout4</cstring>
204 <property name="name">
205 <cstring>unnamed</cstring>
207 <widget class="QPushButton">
208 <property name="name">
209 <cstring>deleteButton</cstring>
211 <property name="text">
212 <string>Delete XLink</string>
216 <property name="name">
217 <cstring>spacer11</cstring>
219 <property name="orientation">
220 <enum>Horizontal</enum>
222 <property name="sizeType">
223 <enum>Expanding</enum>
225 <property name="sizeHint">
232 <widget class="QPushButton">
233 <property name="name">
234 <cstring>okButton</cstring>
236 <property name="text">
246 <sender>okButton</sender>
247 <signal>clicked()</signal>
248 <receiver>EditXLinkDialog</receiver>
249 <slot>accept()</slot>
252 <sender>deleteButton</sender>
253 <signal>clicked()</signal>
254 <receiver>EditXLinkDialog</receiver>
255 <slot>deleteButtonPressed()</slot>
258 <sender>colorButton</sender>
259 <signal>clicked()</signal>
260 <receiver>EditXLinkDialog</receiver>
261 <slot>colorButtonPressed()</slot>
264 <sender>widthBox</sender>
265 <signal>valueChanged(int)</signal>
266 <receiver>EditXLinkDialog</receiver>
267 <slot>widthChanged(int)</slot>
270 <sender>setColorHeadingButton</sender>
271 <signal>clicked()</signal>
272 <receiver>EditXLinkDialog</receiver>
273 <slot>setColorHeadingButtonPressed()</slot>
277 <include location="global" impldecl="in implementation">qcolordialog.h</include>
278 <include location="local" impldecl="in implementation">linkablemapobj.h</include>
279 <include location="local" impldecl="in declaration">xlinkobj.h</include>
280 <include location="local" impldecl="in declaration">mapcenterobj.h</include>
281 <include location="local" impldecl="in declaration">linkablemapobj.h</include>
282 <include location="local" impldecl="in implementation">editxlinkdialog.ui.h</include>
285 <variable access="private">LinkableMapObj *selection;</variable>
286 <variable access="private">XLinkObj *xlo;</variable>
287 <variable access="private">bool delink;</variable>
290 <slot access="protected">deleteButtonPressed()</slot>
291 <slot access="protected">widthChanged( int w )</slot>
292 <slot>setXLink( XLinkObj * xo )</slot>
293 <slot>setSelection( LinkableMapObj * s )</slot>
294 <slot access="protected">colorButtonPressed()</slot>
295 <slot access="protected">setColorHeadingButtonPressed()</slot>
298 <function access="private" specifier="non virtual">init()</function>
299 <function returnType="bool">deleteXLink()</function>
300 <function returnType="bool">useSettingsGlobal()</function>
303 <layoutdefaults spacing="6" margin="11"/>