0
|
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>TabletStatsBase</class>
|
|
7 |
<widget class="QWidget" name="TabletStatsBase">
|
|
8 |
<property name="geometry">
|
|
9 |
<rect>
|
|
10 |
<x>0</x>
|
|
11 |
<y>0</y>
|
|
12 |
<width>657</width>
|
|
13 |
<height>527</height>
|
|
14 |
</rect>
|
|
15 |
</property>
|
|
16 |
<property name="windowTitle">
|
|
17 |
<string>Form1</string>
|
|
18 |
</property>
|
|
19 |
<layout class="QHBoxLayout">
|
|
20 |
<property name="margin">
|
|
21 |
<number>11</number>
|
|
22 |
</property>
|
|
23 |
<property name="spacing">
|
|
24 |
<number>6</number>
|
|
25 |
</property>
|
|
26 |
<item>
|
|
27 |
<layout class="QVBoxLayout">
|
|
28 |
<property name="margin">
|
|
29 |
<number>0</number>
|
|
30 |
</property>
|
|
31 |
<property name="spacing">
|
|
32 |
<number>6</number>
|
|
33 |
</property>
|
|
34 |
<item>
|
|
35 |
<layout class="QHBoxLayout">
|
|
36 |
<property name="margin">
|
|
37 |
<number>0</number>
|
|
38 |
</property>
|
|
39 |
<property name="spacing">
|
|
40 |
<number>6</number>
|
|
41 |
</property>
|
|
42 |
<item>
|
|
43 |
<widget class="QLabel" name="TextLabel1">
|
|
44 |
<property name="text">
|
|
45 |
<string>X Pos:</string>
|
|
46 |
</property>
|
|
47 |
<property name="wordWrap">
|
|
48 |
<bool>false</bool>
|
|
49 |
</property>
|
|
50 |
</widget>
|
|
51 |
</item>
|
|
52 |
<item>
|
|
53 |
<widget class="QLabel" name="lblXPos">
|
|
54 |
<property name="text">
|
|
55 |
<string>0</string>
|
|
56 |
</property>
|
|
57 |
<property name="wordWrap">
|
|
58 |
<bool>false</bool>
|
|
59 |
</property>
|
|
60 |
</widget>
|
|
61 |
</item>
|
|
62 |
</layout>
|
|
63 |
</item>
|
|
64 |
<item>
|
|
65 |
<layout class="QHBoxLayout">
|
|
66 |
<property name="margin">
|
|
67 |
<number>0</number>
|
|
68 |
</property>
|
|
69 |
<property name="spacing">
|
|
70 |
<number>6</number>
|
|
71 |
</property>
|
|
72 |
<item>
|
|
73 |
<widget class="QLabel" name="TextLabel3">
|
|
74 |
<property name="text">
|
|
75 |
<string>Y Pos:</string>
|
|
76 |
</property>
|
|
77 |
<property name="wordWrap">
|
|
78 |
<bool>false</bool>
|
|
79 |
</property>
|
|
80 |
</widget>
|
|
81 |
</item>
|
|
82 |
<item>
|
|
83 |
<widget class="QLabel" name="lblYPos">
|
|
84 |
<property name="text">
|
|
85 |
<string>0</string>
|
|
86 |
</property>
|
|
87 |
<property name="wordWrap">
|
|
88 |
<bool>false</bool>
|
|
89 |
</property>
|
|
90 |
</widget>
|
|
91 |
</item>
|
|
92 |
</layout>
|
|
93 |
</item>
|
|
94 |
<item>
|
|
95 |
<layout class="QHBoxLayout">
|
|
96 |
<property name="margin">
|
|
97 |
<number>0</number>
|
|
98 |
</property>
|
|
99 |
<property name="spacing">
|
|
100 |
<number>6</number>
|
|
101 |
</property>
|
|
102 |
<item>
|
|
103 |
<widget class="QLabel" name="TextLabel5">
|
|
104 |
<property name="text">
|
|
105 |
<string>Pressure:</string>
|
|
106 |
</property>
|
|
107 |
<property name="wordWrap">
|
|
108 |
<bool>false</bool>
|
|
109 |
</property>
|
|
110 |
</widget>
|
|
111 |
</item>
|
|
112 |
<item>
|
|
113 |
<widget class="QLabel" name="lblPressure">
|
|
114 |
<property name="text">
|
|
115 |
<string>0</string>
|
|
116 |
</property>
|
|
117 |
<property name="wordWrap">
|
|
118 |
<bool>false</bool>
|
|
119 |
</property>
|
|
120 |
</widget>
|
|
121 |
</item>
|
|
122 |
</layout>
|
|
123 |
</item>
|
|
124 |
<item>
|
|
125 |
<layout class="QHBoxLayout">
|
|
126 |
<property name="margin">
|
|
127 |
<number>0</number>
|
|
128 |
</property>
|
|
129 |
<property name="spacing">
|
|
130 |
<number>6</number>
|
|
131 |
</property>
|
|
132 |
<item>
|
|
133 |
<widget class="QLabel" name="TextLabel7">
|
|
134 |
<property name="text">
|
|
135 |
<string>Device:</string>
|
|
136 |
</property>
|
|
137 |
<property name="wordWrap">
|
|
138 |
<bool>false</bool>
|
|
139 |
</property>
|
|
140 |
</widget>
|
|
141 |
</item>
|
|
142 |
<item>
|
|
143 |
<widget class="QLabel" name="lblDev">
|
|
144 |
<property name="text">
|
|
145 |
<string>0</string>
|
|
146 |
</property>
|
|
147 |
<property name="wordWrap">
|
|
148 |
<bool>false</bool>
|
|
149 |
</property>
|
|
150 |
</widget>
|
|
151 |
</item>
|
|
152 |
</layout>
|
|
153 |
</item>
|
|
154 |
<item>
|
|
155 |
<widget class="QLabel" name="TextLabel9">
|
|
156 |
<property name="text">
|
|
157 |
<string>Tilt Information</string>
|
|
158 |
</property>
|
|
159 |
<property name="alignment">
|
|
160 |
<set>Qt::AlignCenter</set>
|
|
161 |
</property>
|
|
162 |
<property name="wordWrap">
|
|
163 |
<bool>false</bool>
|
|
164 |
</property>
|
|
165 |
</widget>
|
|
166 |
</item>
|
|
167 |
<item>
|
|
168 |
<layout class="QHBoxLayout">
|
|
169 |
<property name="margin">
|
|
170 |
<number>0</number>
|
|
171 |
</property>
|
|
172 |
<property name="spacing">
|
|
173 |
<number>6</number>
|
|
174 |
</property>
|
|
175 |
<item>
|
|
176 |
<widget class="QLabel" name="TextLabel10">
|
|
177 |
<property name="text">
|
|
178 |
<string>X Tilt:</string>
|
|
179 |
</property>
|
|
180 |
<property name="wordWrap">
|
|
181 |
<bool>false</bool>
|
|
182 |
</property>
|
|
183 |
</widget>
|
|
184 |
</item>
|
|
185 |
<item>
|
|
186 |
<widget class="QLabel" name="lblXTilt">
|
|
187 |
<property name="text">
|
|
188 |
<string>000</string>
|
|
189 |
</property>
|
|
190 |
<property name="wordWrap">
|
|
191 |
<bool>false</bool>
|
|
192 |
</property>
|
|
193 |
</widget>
|
|
194 |
</item>
|
|
195 |
<item>
|
|
196 |
<widget class="QLabel" name="TextLabel12">
|
|
197 |
<property name="text">
|
|
198 |
<string>Y Tilt:</string>
|
|
199 |
</property>
|
|
200 |
<property name="wordWrap">
|
|
201 |
<bool>false</bool>
|
|
202 |
</property>
|
|
203 |
</widget>
|
|
204 |
</item>
|
|
205 |
<item>
|
|
206 |
<widget class="QLabel" name="lblYTilt">
|
|
207 |
<property name="text">
|
|
208 |
<string>000</string>
|
|
209 |
</property>
|
|
210 |
<property name="wordWrap">
|
|
211 |
<bool>false</bool>
|
|
212 |
</property>
|
|
213 |
</widget>
|
|
214 |
</item>
|
|
215 |
</layout>
|
|
216 |
</item>
|
|
217 |
<item>
|
|
218 |
<widget class="MyOrientation" name="orient"/>
|
|
219 |
</item>
|
|
220 |
</layout>
|
|
221 |
</item>
|
|
222 |
<item>
|
|
223 |
<widget class="StatsCanvas" name="statCan"/>
|
|
224 |
</item>
|
|
225 |
</layout>
|
|
226 |
</widget>
|
|
227 |
<layoutdefault spacing="6" margin="11"/>
|
|
228 |
<customwidgets>
|
|
229 |
<customwidget>
|
|
230 |
<class>MyOrientation</class>
|
|
231 |
<extends>QWidget</extends>
|
|
232 |
<header location="local">tabletstats.h</header>
|
|
233 |
<sizehint>
|
|
234 |
<width>-1</width>
|
|
235 |
<height>-1</height>
|
|
236 |
</sizehint>
|
|
237 |
<container>0</container>
|
|
238 |
<sizepolicy>
|
|
239 |
<hordata>7</hordata>
|
|
240 |
<verdata>7</verdata>
|
|
241 |
</sizepolicy>
|
|
242 |
<pixmap>image0</pixmap>
|
|
243 |
</customwidget>
|
|
244 |
<customwidget>
|
|
245 |
<class>StatsCanvas</class>
|
|
246 |
<extends>QWidget</extends>
|
|
247 |
<header location="local">tabletstats.h</header>
|
|
248 |
<sizehint>
|
|
249 |
<width>-1</width>
|
|
250 |
<height>-1</height>
|
|
251 |
</sizehint>
|
|
252 |
<container>0</container>
|
|
253 |
<sizepolicy>
|
|
254 |
<hordata>7</hordata>
|
|
255 |
<verdata>7</verdata>
|
|
256 |
</sizepolicy>
|
|
257 |
<pixmap>image1</pixmap>
|
|
258 |
</customwidget>
|
|
259 |
</customwidgets>
|
|
260 |
<images>
|
|
261 |
<image name="image0">
|
|
262 |
<data format="XPM.GZ" length="45">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523250004143a55a6b2e0026630c4f</data>
|
|
263 |
</image>
|
|
264 |
<image name="image1">
|
|
265 |
<data format="XPM.GZ" length="4366">789c6dd7596fe3460c07f0f7fd14c1f26d51702dd9b22d147dc81de776eea4e80375f84a9cd3499c14fdeea5867f0e9a62e30ac6af43cd509c43de9f3f56ae8e0f567efcfcf6b290c5b45c2927f2bcf2a37a9dcf3ffefceb8fbfbf7d4fd395e6bf566725fdfedbb7efc3c54ab972f8705f37e09182d23c2d935670616eb7e032ba1f2c8ddb895bda7027cd1b1704f753bbff32385787761ab8db49889fc2a5c517e3688b7f70237e64eeb4103f89b6f8307e27f1785a8d0eedbc61ee74ac9d37e13e9e8fdcc8ffde8dfb2b18f9d269b0783bb1bb13fa970eece35fb8ad9d42ff599a65663e8f96f07c355ce17939dac6fb0c168fe71ccee1757716269f76e00ae3bf4687785ab811df327713f477e6467bbf7137f578b932c7f6398cfc64c38df84318f9ca96dbdaf934dac67f80f1fc5cbb31df9b6ed4ff39daea59997b09eeb7fcc4fb97118c78eebb91cf89bb6bf9df9b7b09c6aba3adbf0cce905fee467c0ae736bff2d4b8d7eea13ef402e7585f891bf7cfdca8e72eecf53888b6fd29e67e82f13ea3adff1337f65b096788ef455bfdd6828b5ede6b07afc215bc63ee27663987bd1ebde8d09f5cc0785e1ebaf1bc398cfd401f6eece7f03c7dcdbf57847881339b2fbe73a37d0fced1fe116df377067b3ddfcc79827caf61d4438edcd85f29ecf37beab6fee412f6e7b17cf579fba15ed481bd9e63b7b5f3ad394f10bf05fb7e9f9805f35d147066e71d8ddc187f1c6debe10e169cf7095cb7cc7d37de178f8df38ee7c3b3e8506f9ec019bc84bdde5d73cc671a6deba1070beab98cb6fa6fbb313f27708dfcc7e622b57c6923dace7fbbbfccf3bc13fc0257c8f7d98df6697419fabb300bd61f1dc219d6ff3a5c637db4cd458ae7a1687bde63379ea7057791ff73b43ddf0d2c989f81dbe285a3adfdc08df18730e697a2311eea53a27e1cce7be94862f5a002ceccb26a2e529c979bb0cfcf07ecfdcfdcd86f4bb38f276f6e9c0f5dd8ebb11f6df319f68368bdc5e6eb29dae66bcd5ca4c8770ad738ffdfdd589f73b38f4f68f7f165df8df558b9118ff14bd49b6ea22dfe18aeb1ff6a37ceb770be149d52701ebeb8edfd45b730eee7d48df3e63ddac6db71e37df5e8c6fbae6daebcde1d377eaf84f928aa52709e3ec035ced3cc1ce393681befd58df7d71adcc5ef917337ceb3eb689b9ff07ba5cc4ac1fcbec235f6ebc06df3cd8766bf5f166eaccf891bfbf718467df9c08de76b455bbe7b30d60b87f55056558dfecedc961f1d99eb14f5bb73e33c0feff34afbb7e7a347736cafa2edfec28df82bb88b7aecb9b15fc3fc54759d16b6fe6f616f5f8fb6faedba51cf1bd8f3bb8c0eed127e3fd45d374517557017f6f909f35beb5f9985f755380f46e1aff170d17c9858b8e052af5f7d571665f15cf388c73ce1a95e33befdcf35d6cf1dcff95eef7988f1053ff2133f6bdb23bff0825ff98ddf79c91ffcc9abbca6f1ebbcc1a5c5f3a6c66df136ef68ec8077798ff7f9800ff9888f79c8277cca677cce177cc914e245b378d69eaef89a6fb8c509a7dce60e67fadde51ef739e79c98886dbe463c25a1824aaaa8e62e8d684c139ad28c6e35be4b7734a77bbea007b6fa95daff95463fd2133dd30b2de8355c737aa3775aeae7833eb5ffd5d8ff8cd6689d53daa04d5ae8d8cdb5c543bdeb43a3b7b5971d8d1f205e347e97f6689f0e62df877444c7e18e916634a4133afdd2ff199d6befdef7055dd2155dd30db528d1fe979486fe3dff19559c501b7d7728a3aed634a11ef529d7e8a1e8f4ebf3c6fe799f8e859abe45a410ad141f4825b57aa4e32e65fc357f9968fb945e45ef945bb9d359c8b82d737d27dc37f973ef6bfef2a0f18ff224cff2220b79953779d7194bf45beb231ff2f925ff5b59d5b63559970ded719387b225dbb2d3cc70537f19c8ee97fcc7b227fb3a5b4f722087a8d1428ee438440fe5e47ff5bfe33539d53c97dc15963339970beac932cced50b319cba5e63f88fdcff954aee43acca55e7ae736226f349781b4249154dac8bf928eaeef73ad9dfe234fe772896b28039a484fa3fb92175c90ade7b05f3674fd9d86ab2e84ee8ae6af647de3ea22ae34ba2e463c8afb4b576a31b61d3a5cd02a3d84cf2a3c2826c5b4d9c3c5cce28b5931d3091f696547faff7ff5bdd9c468fffffcfeed5fd8c2e305</data>
|
|
266 |
</image>
|
|
267 |
</images>
|
|
268 |
<connections>
|
|
269 |
<connection>
|
|
270 |
<sender>statCan</sender>
|
|
271 |
<signal>signalNewPressure(int)</signal>
|
|
272 |
<receiver>lblPressure</receiver>
|
|
273 |
<slot>setNum(int)</slot>
|
|
274 |
</connection>
|
|
275 |
</connections>
|
|
276 |
</ui>
|