|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0" stdsetdef="1"> |
|
3 <author></author> |
|
4 <comment></comment> |
|
5 <exportmacro></exportmacro> |
|
6 <class>InvokeMethod</class> |
|
7 <widget class="QDialog" name="InvokeMethod"> |
|
8 <property name="geometry"> |
|
9 <rect> |
|
10 <x>0</x> |
|
11 <y>0</y> |
|
12 <width>503</width> |
|
13 <height>416</height> |
|
14 </rect> |
|
15 </property> |
|
16 <property name="windowTitle"> |
|
17 <string>Invoke Methods</string> |
|
18 </property> |
|
19 <layout class="QGridLayout"> |
|
20 <property name="margin"> |
|
21 <number>11</number> |
|
22 </property> |
|
23 <property name="spacing"> |
|
24 <number>6</number> |
|
25 </property> |
|
26 <item row="1" column="0" rowspan="1" colspan="2"> |
|
27 <widget class="Q3GroupBox" name="boxParameters"> |
|
28 <property name="title"> |
|
29 <string>Parameter &List</string> |
|
30 </property> |
|
31 <layout class="QGridLayout"> |
|
32 <property name="margin"> |
|
33 <number>11</number> |
|
34 </property> |
|
35 <property name="spacing"> |
|
36 <number>6</number> |
|
37 </property> |
|
38 <item row="0" column="0" rowspan="1" colspan="3"> |
|
39 <widget class="Q3ListView" name="listParameters"> |
|
40 <property name="resizeMode"> |
|
41 <enum>Q3ListView::AllColumns</enum> |
|
42 </property> |
|
43 <column> |
|
44 <property name="text"> |
|
45 <string>Parameter</string> |
|
46 </property> |
|
47 <property name="clickable"> |
|
48 <bool>false</bool> |
|
49 </property> |
|
50 <property name="resizeable"> |
|
51 <bool>true</bool> |
|
52 </property> |
|
53 </column> |
|
54 <column> |
|
55 <property name="text"> |
|
56 <string>Type</string> |
|
57 </property> |
|
58 <property name="clickable"> |
|
59 <bool>false</bool> |
|
60 </property> |
|
61 <property name="resizeable"> |
|
62 <bool>true</bool> |
|
63 </property> |
|
64 </column> |
|
65 <column> |
|
66 <property name="text"> |
|
67 <string>Value</string> |
|
68 </property> |
|
69 <property name="clickable"> |
|
70 <bool>false</bool> |
|
71 </property> |
|
72 <property name="resizeable"> |
|
73 <bool>true</bool> |
|
74 </property> |
|
75 </column> |
|
76 </widget> |
|
77 </item> |
|
78 <item row="1" column="2"> |
|
79 <widget class="QToolButton" name="buttonSet"> |
|
80 <property name="text"> |
|
81 <string>&Set</string> |
|
82 </property> |
|
83 </widget> |
|
84 </item> |
|
85 <item row="1" column="1"> |
|
86 <widget class="QLineEdit" name="editValue"/> |
|
87 </item> |
|
88 <item row="1" column="0"> |
|
89 <widget class="QLabel" name="TextLabel3"> |
|
90 <property name="text"> |
|
91 <string>Parameter &Value:</string> |
|
92 </property> |
|
93 <property name="buddy" stdset="0"> |
|
94 <cstring>editValue</cstring> |
|
95 </property> |
|
96 <property name="wordWrap"> |
|
97 <bool>false</bool> |
|
98 </property> |
|
99 </widget> |
|
100 </item> |
|
101 </layout> |
|
102 </widget> |
|
103 </item> |
|
104 <item row="0" column="0" rowspan="1" colspan="2"> |
|
105 <layout class="QGridLayout"> |
|
106 <property name="margin"> |
|
107 <number>0</number> |
|
108 </property> |
|
109 <property name="spacing"> |
|
110 <number>6</number> |
|
111 </property> |
|
112 <item row="1" column="1"> |
|
113 <widget class="QLineEdit" name="editReturn"> |
|
114 <property name="readOnly"> |
|
115 <bool>true</bool> |
|
116 </property> |
|
117 </widget> |
|
118 </item> |
|
119 <item row="0" column="1"> |
|
120 <widget class="QComboBox" name="comboMethods"> |
|
121 <property name="editable"> |
|
122 <bool>true</bool> |
|
123 </property> |
|
124 <property name="sizePolicy"> |
|
125 <sizepolicy> |
|
126 <hsizetype>7</hsizetype> |
|
127 <vsizetype>0</vsizetype> |
|
128 <horstretch>0</horstretch> |
|
129 <verstretch>0</verstretch> |
|
130 </sizepolicy> |
|
131 </property> |
|
132 <property name="autoCompletion"> |
|
133 <bool>true</bool> |
|
134 </property> |
|
135 <property name="duplicatesEnabled"> |
|
136 <bool>false</bool> |
|
137 </property> |
|
138 </widget> |
|
139 </item> |
|
140 <item row="0" column="0"> |
|
141 <widget class="QLabel" name="labelMethods"> |
|
142 <property name="text"> |
|
143 <string>&Method Name:</string> |
|
144 </property> |
|
145 <property name="buddy" stdset="0"> |
|
146 <cstring>comboMethods</cstring> |
|
147 </property> |
|
148 <property name="wordWrap"> |
|
149 <bool>false</bool> |
|
150 </property> |
|
151 </widget> |
|
152 </item> |
|
153 <item row="0" column="2"> |
|
154 <spacer name="Spacer1"> |
|
155 <property name="sizeHint"> |
|
156 <size> |
|
157 <width>20</width> |
|
158 <height>20</height> |
|
159 </size> |
|
160 </property> |
|
161 <property name="sizeType"> |
|
162 <enum>QSizePolicy::Preferred</enum> |
|
163 </property> |
|
164 <property name="orientation"> |
|
165 <enum>Qt::Horizontal</enum> |
|
166 </property> |
|
167 </spacer> |
|
168 </item> |
|
169 <item row="1" column="0"> |
|
170 <widget class="QLabel" name="TextLabel1"> |
|
171 <property name="text"> |
|
172 <string>Returned Value:</string> |
|
173 </property> |
|
174 <property name="wordWrap"> |
|
175 <bool>false</bool> |
|
176 </property> |
|
177 </widget> |
|
178 </item> |
|
179 <item row="0" column="3"> |
|
180 <widget class="QPushButton" name="buttonInvoke"> |
|
181 <property name="text"> |
|
182 <string>In&voke</string> |
|
183 </property> |
|
184 <property name="default"> |
|
185 <bool>true</bool> |
|
186 </property> |
|
187 </widget> |
|
188 </item> |
|
189 <item row="1" column="2" rowspan="1" colspan="2"> |
|
190 <spacer name="Spacer5"> |
|
191 <property name="sizeHint"> |
|
192 <size> |
|
193 <width>111</width> |
|
194 <height>21</height> |
|
195 </size> |
|
196 </property> |
|
197 <property name="sizeType"> |
|
198 <enum>QSizePolicy::Expanding</enum> |
|
199 </property> |
|
200 <property name="orientation"> |
|
201 <enum>Qt::Horizontal</enum> |
|
202 </property> |
|
203 </spacer> |
|
204 </item> |
|
205 </layout> |
|
206 </item> |
|
207 <item row="2" column="0"> |
|
208 <spacer name="Spacer4"> |
|
209 <property name="sizeHint"> |
|
210 <size> |
|
211 <width>361</width> |
|
212 <height>21</height> |
|
213 </size> |
|
214 </property> |
|
215 <property name="sizeType"> |
|
216 <enum>QSizePolicy::Expanding</enum> |
|
217 </property> |
|
218 <property name="orientation"> |
|
219 <enum>Qt::Horizontal</enum> |
|
220 </property> |
|
221 </spacer> |
|
222 </item> |
|
223 <item row="2" column="1"> |
|
224 <widget class="QPushButton" name="PushButton2"> |
|
225 <property name="text"> |
|
226 <string>Close</string> |
|
227 </property> |
|
228 <property name="autoDefault"> |
|
229 <bool>false</bool> |
|
230 </property> |
|
231 </widget> |
|
232 </item> |
|
233 </layout> |
|
234 </widget> |
|
235 <layoutdefault spacing="6" margin="11"/> |
|
236 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
237 <connections> |
|
238 <connection> |
|
239 <sender>PushButton2</sender> |
|
240 <signal>clicked()</signal> |
|
241 <receiver>InvokeMethod</receiver> |
|
242 <slot>close()</slot> |
|
243 </connection> |
|
244 <connection> |
|
245 <sender>buttonSet</sender> |
|
246 <signal>clicked()</signal> |
|
247 <receiver>InvokeMethod</receiver> |
|
248 <slot>setValue()</slot> |
|
249 </connection> |
|
250 <connection> |
|
251 <sender>buttonInvoke</sender> |
|
252 <signal>clicked()</signal> |
|
253 <receiver>InvokeMethod</receiver> |
|
254 <slot>invoke()</slot> |
|
255 </connection> |
|
256 <connection> |
|
257 <sender>comboMethods</sender> |
|
258 <signal>activated(QString)</signal> |
|
259 <receiver>InvokeMethod</receiver> |
|
260 <slot>methodSelected(QString)</slot> |
|
261 </connection> |
|
262 <connection> |
|
263 <sender>listParameters</sender> |
|
264 <signal>currentChanged(Q3ListViewItem*)</signal> |
|
265 <receiver>InvokeMethod</receiver> |
|
266 <slot>parameterSelected(Q3ListViewItem*)</slot> |
|
267 </connection> |
|
268 <connection> |
|
269 <sender>editValue</sender> |
|
270 <signal>returnPressed()</signal> |
|
271 <receiver>buttonSet</receiver> |
|
272 <slot>animateClick()</slot> |
|
273 </connection> |
|
274 </connections> |
|
275 </ui> |