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>layout5</cstring>
35 <property name="name">
36 <cstring>unnamed</cstring>
38 <spacer row="0" column="2" rowspan="1" colspan="2">
39 <property name="name">
40 <cstring>spacer2</cstring>
42 <property name="orientation">
43 <enum>Horizontal</enum>
45 <property name="sizeType">
46 <enum>Expanding</enum>
48 <property name="sizeHint">
55 <widget class="QLabel" row="0" column="0">
56 <property name="name">
57 <cstring>textLabel1</cstring>
59 <property name="text">
60 <string>Line width:</string>
62 <property name="alignment">
63 <set>AlignVCenter|AlignRight</set>
66 <spacer row="1" column="2" rowspan="1" colspan="2">
67 <property name="name">
68 <cstring>spacer3</cstring>
70 <property name="orientation">
71 <enum>Horizontal</enum>
73 <property name="sizeType">
74 <enum>Expanding</enum>
76 <property name="sizeHint">
83 <widget class="QCheckBox" row="2" column="1" rowspan="1" colspan="2">
84 <property name="name">
85 <cstring>useSettings</cstring>
87 <property name="text">
88 <string>(use settings as default for new xlinks)</string>
91 <widget class="QPushButton" row="1" column="1">
92 <property name="name">
93 <cstring>colorButton</cstring>
95 <property name="enabled">
98 <property name="maximumSize">
104 <property name="text">
108 <widget class="QSpinBox" row="0" column="1">
109 <property name="name">
110 <cstring>widthBox</cstring>
112 <property name="sizePolicy">
114 <hsizetype>0</hsizetype>
115 <vsizetype>0</vsizetype>
116 <horstretch>0</horstretch>
117 <verstretch>0</verstretch>
120 <property name="maxValue">
123 <property name="minValue">
127 <widget class="QLabel" row="1" column="0">
128 <property name="name">
129 <cstring>textLabel2</cstring>
131 <property name="text">
132 <string>Line color:</string>
134 <property name="alignment">
135 <set>AlignVCenter|AlignRight</set>
138 <widget class="QLabel" row="2" column="0">
139 <property name="name">
140 <cstring>textLabel1_2</cstring>
142 <property name="text">
143 <string>Default:</string>
145 <property name="alignment">
146 <set>AlignVCenter|AlignRight</set>
149 <spacer row="2" column="3">
150 <property name="name">
151 <cstring>spacer5</cstring>
153 <property name="orientation">
154 <enum>Horizontal</enum>
156 <property name="sizeType">
157 <enum>Expanding</enum>
159 <property name="sizeHint">
169 <property name="name">
170 <cstring>spacer4</cstring>
172 <property name="orientation">
173 <enum>Vertical</enum>
175 <property name="sizeType">
176 <enum>Expanding</enum>
178 <property name="sizeHint">
185 <widget class="QLayoutWidget">
186 <property name="name">
187 <cstring>layout4</cstring>
190 <property name="name">
191 <cstring>unnamed</cstring>
193 <widget class="QPushButton">
194 <property name="name">
195 <cstring>deleteButton</cstring>
197 <property name="text">
198 <string>Delete XLink</string>
202 <property name="name">
203 <cstring>spacer11</cstring>
205 <property name="orientation">
206 <enum>Horizontal</enum>
208 <property name="sizeType">
209 <enum>Expanding</enum>
211 <property name="sizeHint">
218 <widget class="QPushButton">
219 <property name="name">
220 <cstring>okButton</cstring>
222 <property name="text">
232 <sender>okButton</sender>
233 <signal>clicked()</signal>
234 <receiver>EditXLinkDialog</receiver>
235 <slot>accept()</slot>
238 <sender>deleteButton</sender>
239 <signal>clicked()</signal>
240 <receiver>EditXLinkDialog</receiver>
241 <slot>deleteButtonPressed()</slot>
244 <sender>colorButton</sender>
245 <signal>clicked()</signal>
246 <receiver>EditXLinkDialog</receiver>
247 <slot>colorButtonPressed()</slot>
250 <sender>widthBox</sender>
251 <signal>valueChanged(int)</signal>
252 <receiver>EditXLinkDialog</receiver>
253 <slot>widthChanged(int)</slot>
257 <include location="global" impldecl="in implementation">qcolordialog.h</include>
258 <include location="local" impldecl="in declaration">xlinkobj.h</include>
259 <include location="local" impldecl="in implementation">editxlinkdialog.ui.h</include>
262 <variable access="private">bool delink;</variable>
263 <variable access="private">XLinkObj *xlo;</variable>
266 <slot access="protected">deleteButtonPressed()</slot>
267 <slot access="protected">widthChanged( int w )</slot>
268 <slot>setXLink( XLinkObj * xo )</slot>
269 <slot access="protected">colorButtonPressed()</slot>
272 <function access="private" specifier="non virtual">init()</function>
273 <function returnType="bool">deleteXLink()</function>
274 <function returnType="bool">useSettingsGlobal()</function>
277 <layoutdefaults spacing="6" margin="11"/>