0
|
1 |
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
|
|
2 |
<class>InvokeMethod</class>
|
|
3 |
<widget class="QDialog">
|
|
4 |
<property name="name">
|
|
5 |
<cstring>InvokeMethod</cstring>
|
|
6 |
</property>
|
|
7 |
<property name="geometry">
|
|
8 |
<rect>
|
|
9 |
<x>0</x>
|
|
10 |
<y>0</y>
|
|
11 |
<width>503</width>
|
|
12 |
<height>416</height>
|
|
13 |
</rect>
|
|
14 |
</property>
|
|
15 |
<property name="caption">
|
|
16 |
<string>Invoke Methods</string>
|
|
17 |
</property>
|
|
18 |
<grid>
|
|
19 |
<property name="name">
|
|
20 |
<cstring>unnamed</cstring>
|
|
21 |
</property>
|
|
22 |
<property name="margin">
|
|
23 |
<number>11</number>
|
|
24 |
</property>
|
|
25 |
<property name="spacing">
|
|
26 |
<number>6</number>
|
|
27 |
</property>
|
|
28 |
<widget class="QGroupBox" row="1" column="0" rowspan="1" colspan="2">
|
|
29 |
<property name="name">
|
|
30 |
<cstring>boxParameters</cstring>
|
|
31 |
</property>
|
|
32 |
<property name="title">
|
|
33 |
<string>Parameter &List</string>
|
|
34 |
</property>
|
|
35 |
<grid>
|
|
36 |
<property name="name">
|
|
37 |
<cstring>unnamed</cstring>
|
|
38 |
</property>
|
|
39 |
<property name="margin">
|
|
40 |
<number>11</number>
|
|
41 |
</property>
|
|
42 |
<property name="spacing">
|
|
43 |
<number>6</number>
|
|
44 |
</property>
|
|
45 |
<widget class="QListView" row="0" column="0" rowspan="1" colspan="3">
|
|
46 |
<column>
|
|
47 |
<property name="text">
|
|
48 |
<string>Parameter</string>
|
|
49 |
</property>
|
|
50 |
<property name="clickable">
|
|
51 |
<bool>false</bool>
|
|
52 |
</property>
|
|
53 |
<property name="resizeable">
|
|
54 |
<bool>true</bool>
|
|
55 |
</property>
|
|
56 |
</column>
|
|
57 |
<column>
|
|
58 |
<property name="text">
|
|
59 |
<string>Type</string>
|
|
60 |
</property>
|
|
61 |
<property name="clickable">
|
|
62 |
<bool>false</bool>
|
|
63 |
</property>
|
|
64 |
<property name="resizeable">
|
|
65 |
<bool>true</bool>
|
|
66 |
</property>
|
|
67 |
</column>
|
|
68 |
<column>
|
|
69 |
<property name="text">
|
|
70 |
<string>Value</string>
|
|
71 |
</property>
|
|
72 |
<property name="clickable">
|
|
73 |
<bool>false</bool>
|
|
74 |
</property>
|
|
75 |
<property name="resizeable">
|
|
76 |
<bool>true</bool>
|
|
77 |
</property>
|
|
78 |
</column>
|
|
79 |
<property name="name">
|
|
80 |
<cstring>listParameters</cstring>
|
|
81 |
</property>
|
|
82 |
<property name="resizeMode">
|
|
83 |
<enum>AllColumns</enum>
|
|
84 |
</property>
|
|
85 |
</widget>
|
|
86 |
<widget class="QToolButton" row="1" column="2">
|
|
87 |
<property name="name">
|
|
88 |
<cstring>buttonSet</cstring>
|
|
89 |
</property>
|
|
90 |
<property name="text">
|
|
91 |
<string>&Set</string>
|
|
92 |
</property>
|
|
93 |
</widget>
|
|
94 |
<widget class="QLineEdit" row="1" column="1">
|
|
95 |
<property name="name">
|
|
96 |
<cstring>editValue</cstring>
|
|
97 |
</property>
|
|
98 |
</widget>
|
|
99 |
<widget class="QLabel" row="1" column="0">
|
|
100 |
<property name="name">
|
|
101 |
<cstring>TextLabel3</cstring>
|
|
102 |
</property>
|
|
103 |
<property name="text">
|
|
104 |
<string>Parameter &Value:</string>
|
|
105 |
</property>
|
|
106 |
<property name="buddy" stdset="0">
|
|
107 |
<cstring>editValue</cstring>
|
|
108 |
</property>
|
|
109 |
</widget>
|
|
110 |
</grid>
|
|
111 |
</widget>
|
|
112 |
<widget class="QLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
|
|
113 |
<property name="name">
|
|
114 |
<cstring>Layout6</cstring>
|
|
115 |
</property>
|
|
116 |
<grid>
|
|
117 |
<property name="name">
|
|
118 |
<cstring>unnamed</cstring>
|
|
119 |
</property>
|
|
120 |
<property name="margin">
|
|
121 |
<number>0</number>
|
|
122 |
</property>
|
|
123 |
<property name="spacing">
|
|
124 |
<number>6</number>
|
|
125 |
</property>
|
|
126 |
<widget class="QLineEdit" row="1" column="1">
|
|
127 |
<property name="name">
|
|
128 |
<cstring>editReturn</cstring>
|
|
129 |
</property>
|
|
130 |
<property name="readOnly">
|
|
131 |
<bool>true</bool>
|
|
132 |
</property>
|
|
133 |
</widget>
|
|
134 |
<widget class="QComboBox" row="0" column="1">
|
|
135 |
<property name="name">
|
|
136 |
<cstring>comboMethods</cstring>
|
|
137 |
</property>
|
|
138 |
<property name="editable">
|
|
139 |
<bool>true</bool>
|
|
140 |
</property>
|
|
141 |
<property name="sizePolicy">
|
|
142 |
<sizepolicy>
|
|
143 |
<hsizetype>7</hsizetype>
|
|
144 |
<vsizetype>0</vsizetype>
|
|
145 |
<horstretch>0</horstretch>
|
|
146 |
<verstretch>0</verstretch>
|
|
147 |
</sizepolicy>
|
|
148 |
</property>
|
|
149 |
<property name="autoCompletion">
|
|
150 |
<bool>true</bool>
|
|
151 |
</property>
|
|
152 |
<property name="duplicatesEnabled">
|
|
153 |
<bool>false</bool>
|
|
154 |
</property>
|
|
155 |
</widget>
|
|
156 |
<widget class="QLabel" row="0" column="0">
|
|
157 |
<property name="name">
|
|
158 |
<cstring>labelMethods</cstring>
|
|
159 |
</property>
|
|
160 |
<property name="text">
|
|
161 |
<string>&Method Name:</string>
|
|
162 |
</property>
|
|
163 |
<property name="buddy" stdset="0">
|
|
164 |
<cstring>comboMethods</cstring>
|
|
165 |
</property>
|
|
166 |
</widget>
|
|
167 |
<spacer row="0" column="2">
|
|
168 |
<property name="name">
|
|
169 |
<cstring>Spacer1</cstring>
|
|
170 |
</property>
|
|
171 |
<property name="orientation">
|
|
172 |
<enum>Horizontal</enum>
|
|
173 |
</property>
|
|
174 |
<property name="sizeType">
|
|
175 |
<enum>Preferred</enum>
|
|
176 |
</property>
|
|
177 |
<property name="sizeHint">
|
|
178 |
<size>
|
|
179 |
<width>20</width>
|
|
180 |
<height>20</height>
|
|
181 |
</size>
|
|
182 |
</property>
|
|
183 |
</spacer>
|
|
184 |
<widget class="QLabel" row="1" column="0">
|
|
185 |
<property name="name">
|
|
186 |
<cstring>TextLabel1</cstring>
|
|
187 |
</property>
|
|
188 |
<property name="text">
|
|
189 |
<string>Returned Value:</string>
|
|
190 |
</property>
|
|
191 |
</widget>
|
|
192 |
<widget class="QPushButton" row="0" column="3">
|
|
193 |
<property name="name">
|
|
194 |
<cstring>buttonInvoke</cstring>
|
|
195 |
</property>
|
|
196 |
<property name="text">
|
|
197 |
<string>In&voke</string>
|
|
198 |
</property>
|
|
199 |
<property name="default">
|
|
200 |
<bool>true</bool>
|
|
201 |
</property>
|
|
202 |
</widget>
|
|
203 |
<spacer row="1" column="2" rowspan="1" colspan="2">
|
|
204 |
<property name="name">
|
|
205 |
<cstring>Spacer5</cstring>
|
|
206 |
</property>
|
|
207 |
<property name="orientation">
|
|
208 |
<enum>Horizontal</enum>
|
|
209 |
</property>
|
|
210 |
<property name="sizeType">
|
|
211 |
<enum>Expanding</enum>
|
|
212 |
</property>
|
|
213 |
<property name="sizeHint">
|
|
214 |
<size>
|
|
215 |
<width>111</width>
|
|
216 |
<height>21</height>
|
|
217 |
</size>
|
|
218 |
</property>
|
|
219 |
</spacer>
|
|
220 |
</grid>
|
|
221 |
</widget>
|
|
222 |
<spacer row="2" column="0">
|
|
223 |
<property name="name">
|
|
224 |
<cstring>Spacer4</cstring>
|
|
225 |
</property>
|
|
226 |
<property name="orientation">
|
|
227 |
<enum>Horizontal</enum>
|
|
228 |
</property>
|
|
229 |
<property name="sizeType">
|
|
230 |
<enum>Expanding</enum>
|
|
231 |
</property>
|
|
232 |
<property name="sizeHint">
|
|
233 |
<size>
|
|
234 |
<width>361</width>
|
|
235 |
<height>21</height>
|
|
236 |
</size>
|
|
237 |
</property>
|
|
238 |
</spacer>
|
|
239 |
<widget class="QPushButton" row="2" column="1">
|
|
240 |
<property name="name">
|
|
241 |
<cstring>PushButton2</cstring>
|
|
242 |
</property>
|
|
243 |
<property name="text">
|
|
244 |
<string>Close</string>
|
|
245 |
</property>
|
|
246 |
<property name="autoDefault">
|
|
247 |
<bool>false</bool>
|
|
248 |
</property>
|
|
249 |
</widget>
|
|
250 |
</grid>
|
|
251 |
</widget>
|
|
252 |
<connections>
|
|
253 |
<connection>
|
|
254 |
<sender>PushButton2</sender>
|
|
255 |
<signal>clicked()</signal>
|
|
256 |
<receiver>InvokeMethod</receiver>
|
|
257 |
<slot>close()</slot>
|
|
258 |
</connection>
|
|
259 |
<connection>
|
|
260 |
<sender>buttonSet</sender>
|
|
261 |
<signal>clicked()</signal>
|
|
262 |
<receiver>InvokeMethod</receiver>
|
|
263 |
<slot>setValue()</slot>
|
|
264 |
</connection>
|
|
265 |
<connection>
|
|
266 |
<sender>buttonInvoke</sender>
|
|
267 |
<signal>clicked()</signal>
|
|
268 |
<receiver>InvokeMethod</receiver>
|
|
269 |
<slot>invoke()</slot>
|
|
270 |
</connection>
|
|
271 |
<connection>
|
|
272 |
<sender>comboMethods</sender>
|
|
273 |
<signal>activated(const QString&)</signal>
|
|
274 |
<receiver>InvokeMethod</receiver>
|
|
275 |
<slot>methodSelected(const QString&)</slot>
|
|
276 |
</connection>
|
|
277 |
<connection>
|
|
278 |
<sender>listParameters</sender>
|
|
279 |
<signal>currentChanged(QListViewItem*)</signal>
|
|
280 |
<receiver>InvokeMethod</receiver>
|
|
281 |
<slot>parameterSelected(QListViewItem*)</slot>
|
|
282 |
</connection>
|
|
283 |
<connection>
|
|
284 |
<sender>editValue</sender>
|
|
285 |
<signal>returnPressed()</signal>
|
|
286 |
<receiver>buttonSet</receiver>
|
|
287 |
<slot>animateClick()</slot>
|
|
288 |
</connection>
|
|
289 |
</connections>
|
|
290 |
<includes>
|
|
291 |
<include location="global" impldecl="in implementation">qcstring.h</include>
|
|
292 |
<include location="global" impldecl="in implementation">qmetaobject.h</include>
|
|
293 |
<include location="global" impldecl="in implementation">qaxbase.h</include>
|
|
294 |
<include location="global" impldecl="in implementation">private/qucom_p.h</include>
|
|
295 |
<include location="local" impldecl="in implementation">invokemethod.ui.h</include>
|
|
296 |
</includes>
|
|
297 |
<forwards>
|
|
298 |
<forward>class QAxBase;</forward>
|
|
299 |
</forwards>
|
|
300 |
<variables>
|
|
301 |
<variable>QAxBase *activex;</variable>
|
|
302 |
</variables>
|
|
303 |
<slots>
|
|
304 |
<slot>invoke()</slot>
|
|
305 |
<slot>methodSelected( const QString & method )</slot>
|
|
306 |
<slot>parameterSelected( QListViewItem * item )</slot>
|
|
307 |
<slot>setValue()</slot>
|
|
308 |
<slot>init()</slot>
|
|
309 |
<slot>setControl( QAxBase * ax )</slot>
|
|
310 |
</slots>
|
|
311 |
<pixmapinproject/>
|
|
312 |
<layoutdefaults spacing="6" margin="11"/>
|
|
313 |
</UI>
|