Compare commits
1259 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6bf0c2334b | ||
|
|
52c023d5c3 | ||
|
|
ffeec636c5 | ||
|
|
a4b2990b51 | ||
|
|
c6b2394a33 | ||
|
|
7c01f18202 | ||
|
|
c89fa2812f | ||
|
|
be83533509 | ||
|
|
0572680b2c | ||
|
|
27ab0b89d1 | ||
|
|
7e1483d47b | ||
|
|
2ad8e4c4e6 | ||
|
|
b2df92cbc6 | ||
|
|
4bea06f150 | ||
|
|
fdc4be16e6 | ||
|
|
539672b18b | ||
|
|
38076efc74 | ||
|
|
92b586b691 | ||
|
|
df9c72c822 | ||
|
|
c7c8e77197 | ||
|
|
c7ec57ba6c | ||
|
|
b0f62d9199 | ||
|
|
41cd3dad19 | ||
|
|
1fede60001 | ||
|
|
613e41b26f | ||
|
|
5cd379ef00 | ||
|
|
61fc9907a3 | ||
|
|
f51810a70c | ||
|
|
a638b27bb1 | ||
|
|
e718f35fa2 | ||
|
|
bd7893ce9c | ||
|
|
44c0b91d34 | ||
|
|
071e178677 | ||
|
|
6a5b3f9449 | ||
|
|
f79bef3d9d | ||
|
|
72b9315b98 | ||
|
|
384ce6e043 | ||
|
|
c698ab4ebf | ||
|
|
257fb4cdf2 | ||
|
|
e0e2c392e2 | ||
|
|
2e71e89b33 | ||
|
|
051f2fe5ad | ||
|
|
b6340d92be | ||
|
|
6af7e134b2 | ||
|
|
b8ee673fd7 | ||
|
|
14251ad9d1 | ||
|
|
ba17ba224b | ||
|
|
97a030b8fb | ||
|
|
0993739d9c | ||
|
|
f61e01683f | ||
|
|
d1f6e15d65 | ||
|
|
381c43cab8 | ||
|
|
4f8e7c82a5 | ||
|
|
1af00e3809 | ||
|
|
b0f6fc2b6a | ||
|
|
3957769587 | ||
|
|
291adc0a9e | ||
|
|
d38480333e | ||
|
|
406f2d7164 | ||
|
|
dee7d9a28b | ||
|
|
d13dd55bc9 | ||
|
|
838ec34506 | ||
|
|
09217fc381 | ||
|
|
e69e25b98c | ||
|
|
c292a5eef9 | ||
|
|
9cf52eb40d | ||
|
|
e5b4b13c6e | ||
|
|
c5a1888662 | ||
|
|
b18038e61e | ||
|
|
ec42eb6ccc | ||
|
|
9c15e6c4fa | ||
|
|
515f9f77fc | ||
|
|
3182491792 | ||
|
|
41124d7821 | ||
|
|
309b907267 | ||
|
|
23924dd377 | ||
|
|
15f392d7b3 | ||
|
|
4d997cd511 | ||
|
|
ded5f5d84f | ||
|
|
7b42b863a1 | ||
|
|
fd5d7cfd7b | ||
|
|
34a979096c | ||
|
|
dda742fcd4 | ||
|
|
e320e276a1 | ||
|
|
f0f4f8d3c6 | ||
|
|
8804945eb4 | ||
|
|
c87aa43e6c | ||
|
|
fb67dad4a8 | ||
|
|
dc65542cbc | ||
|
|
0ad73f7567 | ||
|
|
a7cbd7a187 | ||
|
|
d3e9d2d31f | ||
|
|
85273e01b2 | ||
|
|
b78a04b401 | ||
|
|
e913d77bd6 | ||
|
|
c4f43c3fad | ||
|
|
1ab335b0b3 | ||
|
|
c6243dac09 | ||
|
|
3cee7dacfa | ||
|
|
a9720d6b36 | ||
|
|
bb5fdb094d | ||
|
|
be282e5cd4 | ||
|
|
e32714f6eb | ||
|
|
b1e20bf8b9 | ||
|
|
1066dd2975 | ||
|
|
4e8cd2398c | ||
|
|
b1d4bd1239 | ||
|
|
a551335b6d | ||
|
|
224d1d0a4b | ||
|
|
30ac368f03 | ||
|
|
26b10b2aa9 | ||
|
|
6d7771d77f | ||
|
|
142882be48 | ||
|
|
3e62f8e139 | ||
|
|
205fa1e54b | ||
|
|
21f30cb14e | ||
|
|
ae00fe4965 | ||
|
|
5eba402166 | ||
|
|
dc6986725e | ||
|
|
c2150e8c6f | ||
|
|
cc6ad31eb1 | ||
|
|
f7ba8c2db5 | ||
|
|
1f10f04fe2 | ||
|
|
312e5b0f03 | ||
|
|
755ed97b6c | ||
|
|
5a88a43a65 | ||
|
|
7ed9d67e9b | ||
|
|
caa0b21949 | ||
|
|
5fd4005f13 | ||
|
|
ddfdb78e55 | ||
|
|
fde98093a7 | ||
|
|
db94e5719c | ||
|
|
1718fb095c | ||
|
|
2826473089 | ||
|
|
af7685a11b | ||
|
|
02c8ae5252 | ||
|
|
0bde2d564f | ||
|
|
e56b8b2444 | ||
|
|
7fac0694eb | ||
|
|
4eb106d045 | ||
|
|
ffd67ae0cf | ||
|
|
ae6c80d2f7 | ||
|
|
88431557e0 | ||
|
|
716384a234 | ||
|
|
846c9f20e1 | ||
|
|
2ffce3f9e6 | ||
|
|
6b26f527fc | ||
|
|
ca49c67515 | ||
|
|
7f1fa84827 | ||
|
|
0fc75b4493 | ||
|
|
b51b04b22c | ||
|
|
95a27c115d | ||
|
|
c6ed3f0a3b | ||
|
|
b4da688395 | ||
|
|
ce4715c379 | ||
|
|
86db79a385 | ||
|
|
846f037130 | ||
|
|
dc95a8d887 | ||
|
|
6dd9d06c31 | ||
|
|
0bdf68a5d1 | ||
|
|
776a59a5c6 | ||
|
|
b6fe1f0978 | ||
|
|
e7a896db48 | ||
|
|
5cc7fdf2a9 | ||
|
|
1d73869a63 | ||
|
|
91fbd2dadc | ||
|
|
22e136f96f | ||
|
|
1cea0b2585 | ||
|
|
70fda6eefa | ||
|
|
ba78583e12 | ||
|
|
190e3fdfab | ||
|
|
615fd3931f | ||
|
|
8669ce641a | ||
|
|
68bb257b77 | ||
|
|
6ed1fb20c0 | ||
|
|
c3528a9b76 | ||
|
|
c12a2ea4d4 | ||
|
|
ad6f574463 | ||
|
|
3854216c01 | ||
|
|
4e0ef64a90 | ||
|
|
65a45eb508 | ||
|
|
2438d647d7 | ||
|
|
ee51378759 | ||
|
|
88e1dc5745 | ||
|
|
8ebcc43e25 | ||
|
|
22eb4b08ae | ||
|
|
7c7989a803 | ||
|
|
97e160ab05 | ||
|
|
cf445e87bd | ||
|
|
5a9cd0f7bd | ||
|
|
84b6fbc6b7 | ||
|
|
bc61c1b845 | ||
|
|
42ad13f848 | ||
|
|
d7e8a23794 | ||
|
|
c94b7a5bb2 | ||
|
|
21232465be | ||
|
|
0c61967d80 | ||
|
|
9669e6f8cf | ||
|
|
4a18cccacf | ||
|
|
2d62a8efdc | ||
|
|
e69176c5ae | ||
|
|
74ad5e1ec7 | ||
|
|
5b2b8f92ef | ||
|
|
1bbccee074 | ||
|
|
253bc089eb | ||
|
|
ddb4359180 | ||
|
|
d389b60ca6 | ||
|
|
e8bb306ec8 | ||
|
|
2fdc18b2c3 | ||
|
|
8b9343c4fb | ||
|
|
099dd9a58f | ||
|
|
db6455f466 | ||
|
|
04f85cae6a | ||
|
|
0025a3073e | ||
|
|
aa2a185fd4 | ||
|
|
81a59f7b7b | ||
|
|
8bb09048e0 | ||
|
|
d9eb99b777 | ||
|
|
91ee82e39c | ||
|
|
d45507c1a4 | ||
|
|
61acb59fe4 | ||
|
|
d0218bf00a | ||
|
|
170d41da52 | ||
|
|
67fdb2164a | ||
|
|
838d27833b | ||
|
|
ac4dd5172a | ||
|
|
0fce4b27e8 | ||
|
|
ee6251beff | ||
|
|
8038799b65 | ||
|
|
db3434fe1a | ||
|
|
d1cd72079b | ||
|
|
057165bba8 | ||
|
|
36b2fe5ad7 | ||
|
|
3fce88ecde | ||
|
|
c86b61ca67 | ||
|
|
fd2d9a7875 | ||
|
|
903e80260d | ||
|
|
df245b84ea | ||
|
|
f9c87fbd0f | ||
|
|
c77da956af | ||
|
|
adeb5ef13b | ||
|
|
f175056e2b | ||
|
|
4eea3214f1 | ||
|
|
44fd164525 | ||
|
|
471ec59f6e | ||
|
|
db14c65969 | ||
|
|
f0280d5b90 | ||
|
|
eaa067a075 | ||
|
|
e6d4293d37 | ||
|
|
ee6dcddc45 | ||
|
|
bf2404715c | ||
|
|
3617bb93ef | ||
|
|
ca3a1e4fa8 | ||
|
|
fd61805bd7 | ||
|
|
eb10b2e8d1 | ||
|
|
818321fe04 | ||
|
|
249402958f | ||
|
|
b0d38aafd7 | ||
|
|
bc290b397c | ||
|
|
e7c9a20ec0 | ||
|
|
1c77185a59 | ||
|
|
681cf48098 | ||
|
|
bb1e8e3917 | ||
|
|
c86b85d12c | ||
|
|
2e1c2366fc | ||
|
|
f83cf11ab3 | ||
|
|
e70d6c302e | ||
|
|
85b0b82a14 | ||
|
|
448b85c9c5 | ||
|
|
53ad9f898b | ||
|
|
2c6e54bee5 | ||
|
|
97b1eb4010 | ||
|
|
87504f3062 | ||
|
|
fc8be32473 | ||
|
|
bc16105125 | ||
|
|
46ca3fb77a | ||
|
|
1d3b855f90 | ||
|
|
5a8248d614 | ||
|
|
741528719a | ||
|
|
b890459b5a | ||
|
|
90ded04a53 | ||
|
|
7480a2ea00 | ||
|
|
327a03b74e | ||
|
|
334d46bf61 | ||
|
|
5d8670a43e | ||
|
|
f20dfd0c82 | ||
|
|
7222182bf7 | ||
|
|
acd61e7076 | ||
|
|
37b9c4c20e | ||
|
|
54be65cf72 | ||
|
|
4b2a444a3d | ||
|
|
340d8599bf | ||
|
|
318cebfa56 | ||
|
|
760d75d852 | ||
|
|
0ebc66ed3c | ||
|
|
0ba03ddf40 | ||
|
|
3a9cde8174 | ||
|
|
9cb0b5755e | ||
|
|
e0d336afb0 | ||
|
|
21b6b4993a | ||
|
|
b6910f4ffa | ||
|
|
3f22b97cce | ||
|
|
702f4682f4 | ||
|
|
a520519db1 | ||
|
|
457bd772ab | ||
|
|
4b90d6e9d4 | ||
|
|
f8d9ce31dc | ||
|
|
8d071338ef | ||
|
|
cac50d949b | ||
|
|
86570d7a30 | ||
|
|
0b5d373751 | ||
|
|
4539be8c72 | ||
|
|
95e8fcfa09 | ||
|
|
45b98b235f | ||
|
|
d6f6eb4f06 | ||
|
|
45b615e553 | ||
|
|
40d9c91bbb | ||
|
|
33d2910488 | ||
|
|
0dfd78b2ef | ||
|
|
f29f87066c | ||
|
|
086aa0b3c2 | ||
|
|
f86f4e7ed2 | ||
|
|
32ab055cab | ||
|
|
ef12c54382 | ||
|
|
f08bfc9c4b | ||
|
|
d16a30330a | ||
|
|
c9644bf8c3 | ||
|
|
6e52284c39 | ||
|
|
14d95cf0ca | ||
|
|
fcea15fc92 | ||
|
|
5cb3ccf05d | ||
|
|
47dd807204 | ||
|
|
7ee52197a2 | ||
|
|
1827da15b3 | ||
|
|
1449805d7d | ||
|
|
d1c3e6972c | ||
|
|
2a229a2d33 | ||
|
|
971fab9944 | ||
|
|
f77eb5c14f | ||
|
|
add3905d25 | ||
|
|
3607f1833b | ||
|
|
1f67774c53 | ||
|
|
2ae27ed71c | ||
|
|
570ad7301c | ||
|
|
5b8a98003a | ||
|
|
a6886416dd | ||
|
|
912859b790 | ||
|
|
a7c0fdf48d | ||
|
|
389f503342 | ||
|
|
1f28eb9892 | ||
|
|
e2b933fe2b | ||
|
|
eeb7223c15 | ||
|
|
ec3ce44399 | ||
|
|
708e8f5f34 | ||
|
|
29aa19fac2 | ||
|
|
f3d72df955 | ||
|
|
dfa2946c1b | ||
|
|
a1fc85740d | ||
|
|
09ab79f221 | ||
|
|
fbbce76ec3 | ||
|
|
517743f5d6 | ||
|
|
1a39dd1520 | ||
|
|
0f1a2bf231 | ||
|
|
894c23287a | ||
|
|
daf81dfd35 | ||
|
|
2fbbcf19ed | ||
|
|
cbb017bc77 | ||
|
|
05f4a2d691 | ||
|
|
f4237a0e93 | ||
|
|
a47420198a | ||
|
|
2daffc9174 | ||
|
|
125318b768 | ||
|
|
bd3cea2232 | ||
|
|
1eb249391f | ||
|
|
316a61ed3d | ||
|
|
27dc513bbe | ||
|
|
fec1db913f | ||
|
|
ecf7086090 | ||
|
|
35406c48a7 | ||
|
|
f3ab2aa16e | ||
|
|
841277a6a5 | ||
|
|
373827171e | ||
|
|
1f2e85f511 | ||
|
|
abc49fdef4 | ||
|
|
153e11e868 | ||
|
|
e6dfbc2908 | ||
|
|
1b46f12a61 | ||
|
|
8cea9629d6 | ||
|
|
8712367fd6 | ||
|
|
bfe48dfec8 | ||
|
|
6930b0c745 | ||
|
|
9655e36aaa | ||
|
|
91eb86a8aa | ||
|
|
70de48f333 | ||
|
|
8ce6e85e00 | ||
|
|
05b5490b6d | ||
|
|
97798df9fe | ||
|
|
b577b84f11 | ||
|
|
257c009343 | ||
|
|
c3ca1d6d72 | ||
|
|
e3b2b5f558 | ||
|
|
a73eb1a962 | ||
|
|
5aa27c662d | ||
|
|
8360388e7a | ||
|
|
3c36bbe481 | ||
|
|
5e95b3ebcd | ||
|
|
ca71d880a6 | ||
|
|
ff01ed0b85 | ||
|
|
cd4ce66de8 | ||
|
|
3479d19d4f | ||
|
|
4ca042b0e3 | ||
|
|
c85e4aa651 | ||
|
|
65f77bafa4 | ||
|
|
a0313732e1 | ||
|
|
8c93aeb3ac | ||
|
|
456ff5c935 | ||
|
|
ceec5627a9 | ||
|
|
2da093cbe9 | ||
|
|
9a94a6c092 | ||
|
|
02f5cb89e0 | ||
|
|
2329816c6e | ||
|
|
09890ad3b6 | ||
|
|
ecfe807a3b | ||
|
|
cc098229b2 | ||
|
|
3ccdb5d525 | ||
|
|
3505adc686 | ||
|
|
587feca1e3 | ||
|
|
ac7b2e0835 | ||
|
|
7c40ad2314 | ||
|
|
25e0d8c18f | ||
|
|
7b4b024f63 | ||
|
|
76afdc6e6c | ||
|
|
008d64e618 | ||
|
|
52c274c82e | ||
|
|
62efd6fd15 | ||
|
|
38925d82e7 | ||
|
|
727762141c | ||
|
|
c6fab73e2d | ||
|
|
284623bfa8 | ||
|
|
d20cac9fa1 | ||
|
|
ecd2e83693 | ||
|
|
ba5f8881a4 | ||
|
|
8c0c5e3bfa | ||
|
|
483cdd738c | ||
|
|
2b5c53c5c0 | ||
|
|
27d062688f | ||
|
|
d19ae6ac43 | ||
|
|
de78667b20 | ||
|
|
654b477d77 | ||
|
|
50298617fb | ||
|
|
7bbca327bc | ||
|
|
b7d28eb253 | ||
|
|
0c93e734c9 | ||
|
|
c6d8bbfaa1 | ||
|
|
ffb7bc3117 | ||
|
|
bdda28f280 | ||
|
|
2be44382d3 | ||
|
|
b737fa918b | ||
|
|
1a53421cd8 | ||
|
|
351580ae60 | ||
|
|
9c4a6bdaf3 | ||
|
|
293cc08968 | ||
|
|
288f1e8fa8 | ||
|
|
cf6750e313 | ||
|
|
7c887cbd21 | ||
|
|
4adfc269cd | ||
|
|
5434edb9f2 | ||
|
|
6489af3a73 | ||
|
|
297d9003b8 | ||
|
|
30efc39a01 | ||
|
|
df7af4c69a | ||
|
|
0149c7da57 | ||
|
|
2b7dc9a16f | ||
|
|
113022ee35 | ||
|
|
1eb5246cbd | ||
|
|
82e70fc27e | ||
|
|
d66e752c89 | ||
|
|
a50efc3eca | ||
|
|
ba2b16e423 | ||
|
|
a796c0e401 | ||
|
|
28e7c83252 | ||
|
|
841956d9c0 | ||
|
|
53871e95f9 | ||
|
|
bee25eb9a0 | ||
|
|
8751de5161 | ||
|
|
f765a8e4d4 | ||
|
|
5710aeeced | ||
|
|
3d00cf3a74 | ||
|
|
66d2bd467e | ||
|
|
71ca1365de | ||
|
|
04c0a02cf6 | ||
|
|
b3f1ab1389 | ||
|
|
b035122107 | ||
|
|
abbe1cf78a | ||
|
|
9a09b052dc | ||
|
|
18bf280893 | ||
|
|
80fee9debc | ||
|
|
a801f5aec8 | ||
|
|
a4f3573af4 | ||
|
|
a4f22b4d8c | ||
|
|
8b431ca0db | ||
|
|
951d048e80 | ||
|
|
e57d2d5521 | ||
|
|
a7c011bcbc | ||
|
|
f9f029a57e | ||
|
|
3f8274f041 | ||
|
|
36b9367785 | ||
|
|
80272cff5c | ||
|
|
475811a510 | ||
|
|
e2432adc04 | ||
|
|
d75c088938 | ||
|
|
900319bfaf | ||
|
|
1d1cff5098 | ||
|
|
c551b82b4f | ||
|
|
0ff6226f33 | ||
|
|
7f05887e37 | ||
|
|
0bed72c6bf | ||
|
|
62722da8e6 | ||
|
|
228344a1e5 | ||
|
|
b1516dc438 | ||
|
|
e9466e70ce | ||
|
|
84928380bd | ||
|
|
e398125922 | ||
|
|
aac0d16376 | ||
|
|
7b93b374f5 | ||
|
|
112ade371f | ||
|
|
3797ca8d14 | ||
|
|
3e72e99b6d | ||
|
|
7e14a93fd3 | ||
|
|
6c4280a63b | ||
|
|
2e315f32ff | ||
|
|
c8de4c31cc | ||
|
|
ecf44d16c5 | ||
|
|
3a668e7003 | ||
|
|
d74c3a729f | ||
|
|
ffb7907376 | ||
|
|
f8c266f254 | ||
|
|
29da166aa0 | ||
|
|
078f0e0a14 | ||
|
|
9ce05de1e9 | ||
|
|
110d41654d | ||
|
|
97d46f1e4b | ||
|
|
317f1b0d2d | ||
|
|
a4646dc0af | ||
|
|
ad9fb3941f | ||
|
|
1497fd0958 | ||
|
|
a926f5ef31 | ||
|
|
601716366a | ||
|
|
3733fafc1e | ||
|
|
636fb8d732 | ||
|
|
9592f39d6a | ||
|
|
f913eff786 | ||
|
|
cc70788085 | ||
|
|
d5711b8b16 | ||
|
|
6eb21699b7 | ||
|
|
f903d6e769 | ||
|
|
d1476df322 | ||
|
|
9f498ecd4b | ||
|
|
4724a72a30 | ||
|
|
4b967c742e | ||
|
|
a25e6c681b | ||
|
|
370c608a38 | ||
|
|
e227d71b31 | ||
|
|
5bd1d77b93 | ||
|
|
ee36a3f32c | ||
|
|
57795d2d2e | ||
|
|
ae3b785531 | ||
|
|
cee07f85fd | ||
|
|
c6eeb4b734 | ||
|
|
49c0aa75fe | ||
|
|
092c60fe37 | ||
|
|
9587201a84 | ||
|
|
85e44ec8c7 | ||
|
|
68c0fbe3f5 | ||
|
|
41e203922a | ||
|
|
9bca3cc44b | ||
|
|
787a8f8173 | ||
|
|
0389b6ba94 | ||
|
|
0367bca2f5 | ||
|
|
76caadeeae | ||
|
|
deeb8a9269 | ||
|
|
4f15a2c814 | ||
|
|
924ef2a8f1 | ||
|
|
3247d1ecce | ||
|
|
61be3437d7 | ||
|
|
991bdccd84 | ||
|
|
e6467bb655 | ||
|
|
203f2d4b46 | ||
|
|
3c490c49a0 | ||
|
|
6cbe38e1e4 | ||
|
|
761c78b3b2 | ||
|
|
59101530c6 | ||
|
|
67cf487d38 | ||
|
|
d0d23d6b37 | ||
|
|
d4cff64ff3 | ||
|
|
885fe498d5 | ||
|
|
051fb42f29 | ||
|
|
95ea10a89d | ||
|
|
d69ebddb1d | ||
|
|
22344ff5e0 | ||
|
|
978d0b5dfb | ||
|
|
ccfaaf3b97 | ||
|
|
aa9cc72aa3 | ||
|
|
db2c758802 | ||
|
|
3dae0a2fe3 | ||
|
|
493f22acec | ||
|
|
d86ece3fb6 | ||
|
|
cfdd32ac64 | ||
|
|
c202a6256c | ||
|
|
eec36971d3 | ||
|
|
6f2f19f826 | ||
|
|
94715c91f7 | ||
|
|
3581773c35 | ||
|
|
37b6753311 | ||
|
|
741b725de2 | ||
|
|
20367a312f | ||
|
|
35a66f0237 | ||
|
|
ebc21f0f88 | ||
|
|
d54d7e3f83 | ||
|
|
8c4ac0abf6 | ||
|
|
3ea003bc46 | ||
|
|
e226083efc | ||
|
|
06bf617c69 | ||
|
|
ba5247eb3a | ||
|
|
4e81a529a0 | ||
|
|
42bfcdc7e2 | ||
|
|
52cd888b73 | ||
|
|
e8dd7dc36c | ||
|
|
ad4c2a8c6a | ||
|
|
41561a2403 | ||
|
|
b81eb146fd | ||
|
|
89017fe2a5 | ||
|
|
f6ff763e13 | ||
|
|
1f5a13dc63 | ||
|
|
cea0cb4e05 | ||
|
|
b051f220f7 | ||
|
|
6868701d6d | ||
|
|
7f02ed473e | ||
|
|
37f21d20ff | ||
|
|
1aebf24bcc | ||
|
|
f5e2d277c7 | ||
|
|
bb23d5a052 | ||
|
|
8db3a80fbf | ||
|
|
36ade93529 | ||
|
|
04241e99ea | ||
|
|
c28357824d | ||
|
|
587a780473 | ||
|
|
d15d61c5b2 | ||
|
|
c8c357772c | ||
|
|
14031a0063 | ||
|
|
9ff760feed | ||
|
|
99aee959a2 | ||
|
|
ded1da5b0b | ||
|
|
fa2a88abc0 | ||
|
|
2916d5f4ee | ||
|
|
6fe27b18ee | ||
|
|
134b976d5f | ||
|
|
6a43f0ded6 | ||
|
|
a073acc78d | ||
|
|
6e47d8820e | ||
|
|
9b0b8d1615 | ||
|
|
3c81052572 | ||
|
|
be064c2e9e | ||
|
|
4b387d6bd6 | ||
|
|
1b68203046 | ||
|
|
27a4479e03 | ||
|
|
358a3511f1 | ||
|
|
c36386d8ca | ||
|
|
3d992cf886 | ||
|
|
a33831f8bf | ||
|
|
6e6418b6be | ||
|
|
ee37a88429 | ||
|
|
ec770a4202 | ||
|
|
5785141157 | ||
|
|
bdf633cf92 | ||
|
|
28a4e6e3aa | ||
|
|
3151f4e383 | ||
|
|
7ffa759395 | ||
|
|
dfe526926b | ||
|
|
f631d72abe | ||
|
|
3270a4f685 | ||
|
|
0144a3016e | ||
|
|
b6c2df1131 | ||
|
|
f65237e226 | ||
|
|
d173dc586e | ||
|
|
4e9d26d2e0 | ||
|
|
0af8bbd826 | ||
|
|
e510f6d736 | ||
|
|
287baedf6f | ||
|
|
a101581dc2 | ||
|
|
734f690e1b | ||
|
|
1b22c9d73b | ||
|
|
ff068705ad | ||
|
|
0bac9299a4 | ||
|
|
daccfa2e10 | ||
|
|
ec3ddfaaca | ||
|
|
b556ee10d2 | ||
|
|
48ef0bc75c | ||
|
|
0c47d6c8f6 | ||
|
|
46ed2a5753 | ||
|
|
5734e61972 | ||
|
|
66dd458792 | ||
|
|
df376796b3 | ||
|
|
91690f68ee | ||
|
|
b5a50bcccf | ||
|
|
96477a8f0b | ||
|
|
ae95511e78 | ||
|
|
0a2875de79 | ||
|
|
888bb9885b | ||
|
|
b1f2999d6d | ||
|
|
2c447eadf3 | ||
|
|
e0194d03a3 | ||
|
|
757bb7d875 | ||
|
|
cbff5c9476 | ||
|
|
70f2ab9f46 | ||
|
|
97ead7f1b4 | ||
|
|
5bf58647e8 | ||
|
|
79e5e8df18 | ||
|
|
4d02a2cf24 | ||
|
|
6305943559 | ||
|
|
eed9bb73de | ||
|
|
00b61bc6ee | ||
|
|
d590e58e41 | ||
|
|
d615abd862 | ||
|
|
9cd3925e76 | ||
|
|
65e762c228 | ||
|
|
b418a78b0d | ||
|
|
11b53edec1 | ||
|
|
cbd9e67ae6 | ||
|
|
0dfb962972 | ||
|
|
99062790ef | ||
|
|
24c9ecc964 | ||
|
|
d4ff56031a | ||
|
|
0e1b4aa271 | ||
|
|
a90bbd86fa | ||
|
|
83cb089908 | ||
|
|
d213a90324 | ||
|
|
317f83d72b | ||
|
|
a53d484cb6 | ||
|
|
7a83da2ee6 | ||
|
|
9bb8e932c7 | ||
|
|
ac40912a3b | ||
|
|
88daadd8b6 | ||
|
|
971901c773 | ||
|
|
16eb9637fe | ||
|
|
6f0b7901df | ||
|
|
8b5bcd0902 | ||
|
|
f8145fd66a | ||
|
|
4e24fcaa21 | ||
|
|
f07089b209 | ||
|
|
cdf210c8b8 | ||
|
|
770dae0f63 | ||
|
|
ecaacca5b3 | ||
|
|
72d9ae1736 | ||
|
|
c8edba547d | ||
|
|
1d7e7c1492 | ||
|
|
9b0d8f09df | ||
|
|
cca9b7221b | ||
|
|
fe44157dec | ||
|
|
94c3681ad7 | ||
|
|
ce2deef793 | ||
|
|
c8e1f95114 | ||
|
|
ca2536b017 | ||
|
|
a4877bd647 | ||
|
|
474e58313f | ||
|
|
4796425ff6 | ||
|
|
9f6077c4d1 | ||
|
|
432e6ec3a9 | ||
|
|
5b7c3805f8 | ||
|
|
f7dd54ff68 | ||
|
|
8974ba2d2f | ||
|
|
f727c6270e | ||
|
|
48b1a283b0 | ||
|
|
030fdc03b3 | ||
|
|
f10e24857d | ||
|
|
3c122d429c | ||
|
|
74b800056a | ||
|
|
46d6e46d85 | ||
|
|
ce0a5c39eb | ||
|
|
fd778c3230 | ||
|
|
c4e20d1777 | ||
|
|
9fe10d4691 | ||
|
|
fb4d513bbe | ||
|
|
86dafd9c57 | ||
|
|
b7092c5a30 | ||
|
|
64b5e22a91 | ||
|
|
1bbc12e4ff | ||
|
|
6ef03ee704 | ||
|
|
d8711a9ba1 | ||
|
|
f186f7e173 | ||
|
|
0128e2fb75 | ||
|
|
121a4c691a | ||
|
|
99df8ab27e | ||
|
|
89a5ca2634 | ||
|
|
393e4a38e3 | ||
|
|
a0114b32f9 | ||
|
|
4ff5a036b7 | ||
|
|
ea493a4405 | ||
|
|
613d10817a | ||
|
|
d15bb966ce | ||
|
|
3c7f591765 | ||
|
|
ca6f0882c1 | ||
|
|
b8e07dbcdd | ||
|
|
a114164baa | ||
|
|
c7f24e9b45 | ||
|
|
8c72f29585 | ||
|
|
3d23e4e994 | ||
|
|
49a10d98ec | ||
|
|
503a3c4ba3 | ||
|
|
57061c26de | ||
|
|
331931cd31 | ||
|
|
6cefb170e2 | ||
|
|
92e7d6090b | ||
|
|
0076a4c68e | ||
|
|
f06c5d0624 | ||
|
|
bbb3a1ddc5 | ||
|
|
1b89d92b0a | ||
|
|
4a1598fe33 | ||
|
|
a98212d093 | ||
|
|
c3c69c7c06 | ||
|
|
789a7c0a70 | ||
|
|
02edd9aba2 | ||
|
|
f0397630da | ||
|
|
87ba542197 | ||
|
|
ee76e6769a | ||
|
|
c0b38a193c | ||
|
|
f10f1cbabf | ||
|
|
c0b29609be | ||
|
|
4f8e344d38 | ||
|
|
d00ac93fb2 | ||
|
|
4474e18a9c | ||
|
|
af67705fd0 | ||
|
|
2c65061924 | ||
|
|
ce7e881957 | ||
|
|
2ac02e7b0b | ||
|
|
37d8e7a603 | ||
|
|
dc5cfc7e76 | ||
|
|
6ebfe79c73 | ||
|
|
9aa5f46f48 | ||
|
|
530c12435f | ||
|
|
d367adb0e6 | ||
|
|
acf439bb1d | ||
|
|
4b460fa9c8 | ||
|
|
f3ba7ed352 | ||
|
|
2eff77f345 | ||
|
|
5b8997dd1d | ||
|
|
59821597c9 | ||
|
|
54ea5514ee | ||
|
|
0aa445a565 | ||
|
|
1caedcac06 | ||
|
|
d87d9b505b | ||
|
|
6540224102 | ||
|
|
eaba1fef7d | ||
|
|
9ca4691464 | ||
|
|
00645d6381 | ||
|
|
df15888b0b | ||
|
|
5ea6a06492 | ||
|
|
df800bdde2 | ||
|
|
13df3073c3 | ||
|
|
015e15c416 | ||
|
|
f90eb8a929 | ||
|
|
20e641e1c5 | ||
|
|
fd72ad67d3 | ||
|
|
b0e6beb671 | ||
|
|
b01f529c65 | ||
|
|
a6c389dcbc | ||
|
|
56206d1fc6 | ||
|
|
c5077af75b | ||
|
|
863415ba26 | ||
|
|
74e7c44c55 | ||
|
|
38a59badf7 | ||
|
|
17a387b043 | ||
|
|
0aee3c2e14 | ||
|
|
adfd9e4f89 | ||
|
|
c319a9f41c | ||
|
|
d748695b0e | ||
|
|
69cadf04ac | ||
|
|
b6885ae979 | ||
|
|
69a4956d61 | ||
|
|
bd37801225 | ||
|
|
99712de70f | ||
|
|
b0a0d7bb17 | ||
|
|
1f68f1ecf5 | ||
|
|
866e884d48 | ||
|
|
8afa57cc39 | ||
|
|
508e4afa68 | ||
|
|
95b993617a | ||
|
|
b03c10e6fd | ||
|
|
4ad2bda50a | ||
|
|
d195de25cb | ||
|
|
ae2cd5eb97 | ||
|
|
77c2c07664 | ||
|
|
b33c2becc7 | ||
|
|
08e7d6d882 | ||
|
|
611ffde353 | ||
|
|
b758e6fefe | ||
|
|
dd7ce1f719 | ||
|
|
b0a17947dd | ||
|
|
0fa9aec9cd | ||
|
|
7d00cba9df | ||
|
|
67ab2b2903 | ||
|
|
bbeb76ab12 | ||
|
|
36ede56ab4 | ||
|
|
9963904fa3 | ||
|
|
5bc1107f3e | ||
|
|
533a13546b | ||
|
|
9d72cf92db | ||
|
|
d48cadc726 | ||
|
|
e4aadbe818 | ||
|
|
c4cd9ee0e6 | ||
|
|
8257a9c6e8 | ||
|
|
420161e400 | ||
|
|
13c504c822 | ||
|
|
7ce5ffa7ea | ||
|
|
80ffb4a3c8 | ||
|
|
192a2e27df | ||
|
|
6817db609b | ||
|
|
5e329fb53f | ||
|
|
4db8930b4e | ||
|
|
a4fc05f70b | ||
|
|
ac27639ff6 | ||
|
|
06242db844 | ||
|
|
20739ebb29 | ||
|
|
6f8df99b8a | ||
|
|
2652b3d1e6 | ||
|
|
c640ab525b | ||
|
|
1175c2d529 | ||
|
|
f96937e360 | ||
|
|
372a1df4a4 | ||
|
|
5f035b223b | ||
|
|
7c43dd24fc | ||
|
|
030b190873 | ||
|
|
e64072437f | ||
|
|
3c3c3af47f | ||
|
|
a61e036d72 | ||
|
|
d898722d0b | ||
|
|
a3d123984a | ||
|
|
613e7ebf39 | ||
|
|
a7ac061114 | ||
|
|
0bd6b77003 | ||
|
|
ce9bc24980 | ||
|
|
976924d535 | ||
|
|
8f836e5556 | ||
|
|
618cce57ee | ||
|
|
e55480e083 | ||
|
|
e5d85bdd0e | ||
|
|
7f2a88bbeb | ||
|
|
4249f45e3c | ||
|
|
345c24b2ca | ||
|
|
8aee630180 | ||
|
|
97c8bf1ef9 | ||
|
|
5b5e309f7a | ||
|
|
2ea02dbfd3 | ||
|
|
5c1b44ffdd | ||
|
|
cfb63f7f8f | ||
|
|
c44b70f52d | ||
|
|
6bfb1ba701 | ||
|
|
80cb8f464d | ||
|
|
a436f41b9f | ||
|
|
bfeb89995d | ||
|
|
98d33c2455 | ||
|
|
ddff82ffdf | ||
|
|
b06c0e4e42 | ||
|
|
2f25320dc5 | ||
|
|
8a5006fc0e | ||
|
|
7230c1822d | ||
|
|
8c063086d5 | ||
|
|
cf6340db06 | ||
|
|
7cab86c148 | ||
|
|
da46380d67 | ||
|
|
e80243eea1 | ||
|
|
dfeda95ca6 | ||
|
|
e6b90fc27c | ||
|
|
f2e85366a4 | ||
|
|
a6007c11ed | ||
|
|
c797e3b43e | ||
|
|
04fef32f6c | ||
|
|
80dac90663 | ||
|
|
f58d778cd1 | ||
|
|
16cd65377d | ||
|
|
f8763e6379 | ||
|
|
3c246ffa28 | ||
|
|
3694b67358 | ||
|
|
e6ccd840f2 | ||
|
|
64c25192ee | ||
|
|
51b420cd4b | ||
|
|
efefba23fd | ||
|
|
baba5cc9d2 | ||
|
|
c3a189b25c | ||
|
|
54234ceca4 | ||
|
|
afd6d4a378 | ||
|
|
07e1b5e769 | ||
|
|
aa8605e8d5 | ||
|
|
2d9e71b500 | ||
|
|
1abbab0d4d | ||
|
|
7fe94bfad4 | ||
|
|
1dce9621c9 | ||
|
|
68053cc7d3 | ||
|
|
4d6b78f222 | ||
|
|
b960aaeddd | ||
|
|
b7c43408ea | ||
|
|
79a2efc6ee | ||
|
|
fddc16a0db | ||
|
|
19fd53b20a | ||
|
|
d33f07661a | ||
|
|
85a9b915eb | ||
|
|
c24991ae93 | ||
|
|
fdfc056ac8 | ||
|
|
4498f77847 | ||
|
|
0433b7cea7 | ||
|
|
c59ab396be | ||
|
|
6e304cd0d4 | ||
|
|
a159181792 | ||
|
|
d39678eebd | ||
|
|
2a47d36ff1 | ||
|
|
7a87725457 | ||
|
|
576dd8b91d | ||
|
|
97e9d3eeb3 | ||
|
|
3c80d16beb | ||
|
|
e7afcbb028 | ||
|
|
4e9613046c | ||
|
|
452e8dfea3 | ||
|
|
b5e7a1e0ab | ||
|
|
974950784c | ||
|
|
3398038727 | ||
|
|
c34b060b2f | ||
|
|
06c1b466be | ||
|
|
3ba81785ed | ||
|
|
0578a6c9f6 | ||
|
|
2f6b5dba2d | ||
|
|
c104b53342 | ||
|
|
97cb1aca09 | ||
|
|
c7c8393578 | ||
|
|
ec100d2923 | ||
|
|
881f37b1ce | ||
|
|
0850f1312c | ||
|
|
d705488a3a | ||
|
|
614b4de605 | ||
|
|
a8730129ad | ||
|
|
7778611587 | ||
|
|
a039806039 | ||
|
|
e088cf916b | ||
|
|
4dc94b97b2 | ||
|
|
008046cfc6 | ||
|
|
75fa2875b6 | ||
|
|
ab8aaee088 | ||
|
|
2ae36fb563 | ||
|
|
c0619eadbc | ||
|
|
7cac290804 | ||
|
|
cd971f5509 | ||
|
|
ebe56b332c | ||
|
|
7bddea39f1 | ||
|
|
7c407c6dd6 | ||
|
|
7b7fa194a2 | ||
|
|
9498cd83d6 | ||
|
|
7aaa63cf30 | ||
|
|
2d79769e7f | ||
|
|
31a4acf84d | ||
|
|
aeab59185c | ||
|
|
1914b6c31c | ||
|
|
821fb9df99 | ||
|
|
a307747d9a | ||
|
|
5054a9bc90 | ||
|
|
bef02d6783 | ||
|
|
06bd80a753 | ||
|
|
8329030786 | ||
|
|
1a8d1a3e27 | ||
|
|
35a179be34 | ||
|
|
6e033099a9 | ||
|
|
83e23dbbf7 | ||
|
|
623dca7a26 | ||
|
|
85b634787a | ||
|
|
f8bfc93ca0 | ||
|
|
ac138f9108 | ||
|
|
5800fa5bab | ||
|
|
6961534137 | ||
|
|
7770587d1b | ||
|
|
4f05a0fe54 | ||
|
|
919629af70 | ||
|
|
8bb8a8d1d3 | ||
|
|
25de00778a | ||
|
|
d4b6e0a1c3 | ||
|
|
8a33e15750 | ||
|
|
d260edd85f | ||
|
|
237e51a48d | ||
|
|
d2c4d88e19 | ||
|
|
ad559394c8 | ||
|
|
e7fe0eb42f | ||
|
|
393fe9f0e7 | ||
|
|
6353e6b329 | ||
|
|
5cc70c2164 | ||
|
|
949335fea8 | ||
|
|
68975d1d12 | ||
|
|
46943948ca | ||
|
|
8b2e9fdd34 | ||
|
|
ae0ac6109c | ||
|
|
c0a9d9894b | ||
|
|
45fb30cd68 | ||
|
|
a720479dcf | ||
|
|
18885f8c32 | ||
|
|
331c6e45f0 | ||
|
|
ff8bfd5aa4 | ||
|
|
0340d5d72c | ||
|
|
4c86246ee2 | ||
|
|
828ba3f77e | ||
|
|
f68f5d1a4d | ||
|
|
e533cbfa26 | ||
|
|
eb244d0609 | ||
|
|
ac397c1a79 | ||
|
|
a8e54faf33 | ||
|
|
eb790ebcff | ||
|
|
008bad6ca5 | ||
|
|
444a915705 | ||
|
|
c08659e84d | ||
|
|
c04964c9e6 | ||
|
|
e3d063d961 | ||
|
|
863cceafbf | ||
|
|
3227974112 | ||
|
|
16b856d9ed | ||
|
|
914ab505d8 | ||
|
|
8ca61dfe34 | ||
|
|
46f70de6db | ||
|
|
6189a8ec39 | ||
|
|
68bbb05568 | ||
|
|
cc2a0efe3e | ||
|
|
7a240f83e2 | ||
|
|
fdbbf4273b | ||
|
|
a367b34fb9 | ||
|
|
eafd004c42 | ||
|
|
94454acded | ||
|
|
d878868a53 | ||
|
|
7042938cba | ||
|
|
3a1449231c | ||
|
|
f0c2c2b840 | ||
|
|
486b6f43c7 | ||
|
|
6f9ff1cdea | ||
|
|
002faa5582 | ||
|
|
07ff277378 | ||
|
|
93b46887e9 | ||
|
|
92b998f746 | ||
|
|
9fb2964223 | ||
|
|
8de642c9ed | ||
|
|
bf5fc21c42 | ||
|
|
878e66dcb2 | ||
|
|
91a5b2833c | ||
|
|
3212befb5f | ||
|
|
d993f7b3c8 | ||
|
|
063c13e70b | ||
|
|
ce93058bc9 | ||
|
|
4d31c13c10 | ||
|
|
29feeeae05 | ||
|
|
9581c01641 | ||
|
|
4274fc26c4 | ||
|
|
2d533e9ddd | ||
|
|
ebd10af163 | ||
|
|
72168132f8 | ||
|
|
41d57c5d26 | ||
|
|
ca3f0b26d0 | ||
|
|
b0672ad422 | ||
|
|
1c3ba1d4e2 | ||
|
|
afaa9f553a | ||
|
|
c304ecf6d6 | ||
|
|
2b20557582 | ||
|
|
61ba344c76 | ||
|
|
2aa13611b5 | ||
|
|
2bf144a6b8 | ||
|
|
d0890d9000 | ||
|
|
9dc146f0d7 | ||
|
|
4a10cf3167 | ||
|
|
b12ecbd6ad | ||
|
|
de11f0cbb7 | ||
|
|
634fd9b427 | ||
|
|
b7b0aaf9d3 | ||
|
|
0ec3cfa153 | ||
|
|
e48612184e | ||
|
|
5f67c9da7e | ||
|
|
ab3524bb7f | ||
|
|
a2a962120c | ||
|
|
eb2a082293 | ||
|
|
89108f3ff0 | ||
|
|
9dcc835648 | ||
|
|
1b85260f62 | ||
|
|
c03d36202f | ||
|
|
4cd23b9fba | ||
|
|
a492f641ff | ||
|
|
e74782c6b9 | ||
|
|
d816f71504 | ||
|
|
9473e28200 | ||
|
|
0a51fdebb5 | ||
|
|
880f9178b2 | ||
|
|
1a1a2d955e | ||
|
|
784b140989 | ||
|
|
319a3981b2 | ||
|
|
cc5229305e | ||
|
|
e0c05929a6 | ||
|
|
150fe21834 | ||
|
|
116778fd54 | ||
|
|
a0ace158e6 | ||
|
|
5abf1eae97 | ||
|
|
2f056ea938 | ||
|
|
e42806b538 | ||
|
|
43b8c013da | ||
|
|
dd8ed9e42d | ||
|
|
ea2455a775 | ||
|
|
0f65fbfd91 | ||
|
|
d153e42f98 | ||
|
|
c8203fa566 | ||
|
|
abc44d97a8 | ||
|
|
b539603407 | ||
|
|
d2901c3119 | ||
|
|
6ebba3c874 | ||
|
|
b0b022aa8c | ||
|
|
b7b4712546 | ||
|
|
bc4a6d978e | ||
|
|
492af3f824 | ||
|
|
7f1a6dafef | ||
|
|
05c2150b12 | ||
|
|
97be00069b | ||
|
|
59fd0db564 | ||
|
|
cf82d1b7a9 | ||
|
|
9e875dd243 | ||
|
|
8060b4a0d4 | ||
|
|
d21ca376be | ||
|
|
ac463538c1 | ||
|
|
d639411f24 | ||
|
|
59505dd100 | ||
|
|
2cfb5bf3a0 | ||
|
|
781b720078 | ||
|
|
210b71588f | ||
|
|
9d8fbad0d2 | ||
|
|
2d33c0aadc | ||
|
|
cf925cf904 | ||
|
|
e7935976c6 | ||
|
|
05f1d577db | ||
|
|
cd54ce16c8 | ||
|
|
b33fe701f8 | ||
|
|
21593b6bb6 | ||
|
|
f04fcfe934 | ||
|
|
22175cf55c | ||
|
|
e407237ac0 | ||
|
|
401957acf9 | ||
|
|
12db0954e9 | ||
|
|
f93155fabd | ||
|
|
94d6cf1d54 | ||
|
|
38963d97eb | ||
|
|
b162e754a6 | ||
|
|
24538b2980 | ||
|
|
2be11b8311 | ||
|
|
9f9f84f1c9 | ||
|
|
2c48f5d837 | ||
|
|
196250ec56 | ||
|
|
c12cb80901 | ||
|
|
626d254acd | ||
|
|
ce49ddd906 | ||
|
|
8a5ed3d4ba | ||
|
|
1b461a9734 | ||
|
|
33ec2a2570 | ||
|
|
32ef1a0df6 | ||
|
|
fb339a527b |
8
.gitignore
vendored
@@ -2,7 +2,15 @@ Makefile
|
||||
|
||||
# old skool
|
||||
.svn
|
||||
*.pri
|
||||
|
||||
# osx noise
|
||||
.DS_Store
|
||||
profile
|
||||
|
||||
moc/
|
||||
obj/
|
||||
lib/
|
||||
bin/
|
||||
plugins/
|
||||
resources/
|
||||
|
||||
@@ -399,3 +399,4 @@ CLUCENE_LIBS = -lclucene
|
||||
$ make clean
|
||||
$ qmake
|
||||
$ make
|
||||
|
||||
|
||||
48
doc/design/Compare Pane.bmml
Normal file
@@ -0,0 +1,48 @@
|
||||
<mockup version="1.0" skin="sketch" fontFace="Balsamiq Sans" measuredW="591" measuredH="228" mockupW="566" mockupH="205">
|
||||
<controls>
|
||||
<control controlID="0" controlTypeID="com.balsamiq.mockups::Canvas" x="25" y="23" w="566" h="205" measuredW="100" measuredH="70" zOrder="0" locked="false" isInGroup="-1"/>
|
||||
<control controlID="1" controlTypeID="com.balsamiq.mockups::HRule" x="31" y="37" w="560" h="-1" measuredW="100" measuredH="10" zOrder="1" locked="false" isInGroup="-1"/>
|
||||
<control controlID="2" controlTypeID="com.balsamiq.mockups::Label" x="34" y="23" w="-1" h="-1" measuredW="110" measuredH="21" zOrder="2" locked="false" isInGroup="-1">
|
||||
<controlProperties>
|
||||
<text>Compare%20Intervals</text>
|
||||
</controlProperties>
|
||||
</control>
|
||||
<control controlID="3" controlTypeID="com.balsamiq.mockups::CheckBox" x="40" y="191" w="-1" h="-1" measuredW="110" measuredH="22" zOrder="3" locked="false" isInGroup="-1">
|
||||
<controlProperties>
|
||||
<text>Compare%20Delta</text>
|
||||
</controlProperties>
|
||||
</control>
|
||||
<control controlID="4" controlTypeID="com.balsamiq.mockups::Canvas" x="34" y="52" w="414" h="133" measuredW="100" measuredH="70" zOrder="4" locked="false" isInGroup="-1">
|
||||
<controlProperties>
|
||||
<borderStyle>roundedDotted</borderStyle>
|
||||
</controlProperties>
|
||||
</control>
|
||||
<control controlID="6" controlTypeID="com.balsamiq.mockups::List" x="456" y="47" w="128" h="174" measuredW="100" measuredH="174" zOrder="5" locked="false" isInGroup="-1">
|
||||
<controlProperties>
|
||||
<text>May%202x20s%0ABarhatch%20Climbs%0ASub%204%20ToSH%0AMarmottes%0AAdH%20Ascents%0ABox%20Hill%202009%0ABox%20Hill%202013%0ABox%20Hill%20All</text>
|
||||
</controlProperties>
|
||||
</control>
|
||||
<control controlID="7" controlTypeID="com.balsamiq.mockups::TextInput" x="170" y="189" w="225" h="-1" measuredW="138" measuredH="27" zOrder="6" locked="false" isInGroup="-1">
|
||||
<controlProperties>
|
||||
<text>Compare%20Set%20Name...</text>
|
||||
</controlProperties>
|
||||
</control>
|
||||
<control controlID="8" controlTypeID="com.balsamiq.mockups::Button" x="402" y="189" w="-1" h="-1" measuredW="45" measuredH="27" zOrder="7" locked="false" isInGroup="-1">
|
||||
<controlProperties>
|
||||
<text>Add</text>
|
||||
</controlProperties>
|
||||
</control>
|
||||
<control controlID="10" controlTypeID="com.balsamiq.mockups::RoundButton" x="569" y="24" w="15" h="18" measuredW="32" measuredH="32" zOrder="8" locked="false" isInGroup="-1">
|
||||
<controlProperties>
|
||||
<icon>CircledXIcon%7Cxsmall</icon>
|
||||
<text/>
|
||||
</controlProperties>
|
||||
</control>
|
||||
<control controlID="11" controlTypeID="com.balsamiq.mockups::Label" x="48" y="62" w="387" h="-1" measuredW="180" measuredH="21" zOrder="9" locked="false" isInGroup="-1">
|
||||
<controlProperties>
|
||||
<color>10066329</color>
|
||||
<text>Drag%20and%20drop%20intervals%20here%20...</text>
|
||||
</controlProperties>
|
||||
</control>
|
||||
</controls>
|
||||
</mockup>
|
||||
BIN
doc/design/Compare Pane.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
doc/design/Implementing Compare.docx
Normal file
|
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 85 KiB |
BIN
doc/design/MainWindow-Options-v31.jpg
Normal file
|
After Width: | Height: | Size: 2.2 MiB |
BIN
doc/design/uml/Golden Cheetah 3.1 MainWindow Refactor.png
Normal file
|
After Width: | Height: | Size: 141 KiB |
BIN
doc/design/uml/Golden Cheetah 3.1 MainWindow Refactor.vpp
Normal file
@@ -514,16 +514,21 @@ sport of "Bike" if you plan on uploading rides to training peaks.
|
||||
Training Peaks only allow paid up members to get access to their data.
|
||||
If you are using a free service they do not let you retrieve your data.
|
||||
|
||||
5.3 Why is data uploaded to Strava all wrong?
|
||||
=============================================
|
||||
5.3 Upload/Download with Strava fails?
|
||||
======================================
|
||||
|
||||
In general Strava will only use GPS data. If your ride does not contain
|
||||
GPS data then Strava is not likely to play nice. In addition many of
|
||||
the other data series will be ignored. This is related to Strava data
|
||||
processing in V2.0 of their API.
|
||||
Strava have switched off their v1 and v2 APIs before providing access
|
||||
to their v3 APIs. We have requested access to the new v3 API but it has
|
||||
not been granted. In the meantime to upload to Strava you can send an
|
||||
email to <upload@strava.com> from you registered email account
|
||||
attaching the ride in a format Strava supports.
|
||||
|
||||
We always upload as TCX since the JSON flavour of their API appears to
|
||||
have less functionality.
|
||||
We remain committed to helping cyclists download their power data to
|
||||
the computer of their choice, analyze it in whatever way they see fit,
|
||||
and share their methods of analysis with others.
|
||||
|
||||
We will be deprecating support for Strava upload/download in v3 SP1 and
|
||||
have no immediate plans to provide support for it in the future.
|
||||
|
||||
5.4 What settings do I need to get GoldenCheetah to upload to my Google Calendar?
|
||||
=================================================================================
|
||||
@@ -753,7 +758,7 @@ Index
|
||||
* Garmin Connect: METRICS. (line 80)
|
||||
* github: GENERAL. (line 40)
|
||||
* Google: UPLOADING AND DOWNLOADING.
|
||||
(line 33)
|
||||
(line 38)
|
||||
* install: GENERAL. (line 31)
|
||||
* join: DATA. (line 9)
|
||||
* JSON: DATA. (line 88)
|
||||
@@ -802,7 +807,7 @@ Index
|
||||
* weight: MOST COMMON QUESTIONS OF ALL.
|
||||
(line 36)
|
||||
* Withings: UPLOADING AND DOWNLOADING.
|
||||
(line 46)
|
||||
(line 51)
|
||||
* xPower: METRICS. (line 9)
|
||||
* zoom: CHARTS. (line 97)
|
||||
|
||||
@@ -815,8 +820,8 @@ Node: GENERAL6062
|
||||
Node: METRICS9684
|
||||
Node: DATA16676
|
||||
Node: UPLOADING AND DOWNLOADING20606
|
||||
Node: SEASONS AND EVENTS23090
|
||||
Node: CHARTS24487
|
||||
Node: INDEX29288
|
||||
Node: SEASONS AND EVENTS23387
|
||||
Node: CHARTS24784
|
||||
Node: INDEX29585
|
||||
|
||||
End Tag Table
|
||||
|
||||
@@ -567,16 +567,20 @@ using a free service they do not let you retrieve your data.
|
||||
|
||||
|
||||
|
||||
@section Why is data uploaded to Strava all wrong?
|
||||
@section Upload/Download with Strava fails?
|
||||
@cindex Strava
|
||||
|
||||
In general Strava will only use GPS data. If your ride does not contain GPS data then
|
||||
Strava is not likely to play nice. In addition many of the other data series will be
|
||||
ignored. This is related to Strava data processing in V2.0 of their API.
|
||||
Strava have switched off their v1 and v2 APIs before providing access to their
|
||||
v3 APIs. We have requested access to the new v3 API but it has not been granted.
|
||||
In the meantime to upload to Strava you can send an email to @email{upload@@strava.com}
|
||||
from you registered email account attaching the ride in a format Strava supports.
|
||||
|
||||
We always upload as TCX since the JSON flavour of their API appears to have less
|
||||
functionality.
|
||||
We remain committed to helping cyclists download their power data
|
||||
to the computer of their choice, analyze it in whatever way they see fit, and
|
||||
share their methods of analysis with others.
|
||||
|
||||
We will be deprecating support for Strava upload/download in v3 SP1 and have no
|
||||
immediate plans to provide support for it in the future.
|
||||
|
||||
|
||||
@section What settings do I need to get GoldenCheetah to upload to my Google Calendar?
|
||||
|
||||
89
doc/user/GC31-Release.txt
Normal file
@@ -0,0 +1,89 @@
|
||||
Some notes on what is new in GC 3.1
|
||||
-----------------------------------
|
||||
|
||||
MAJOR NEW FEATURES
|
||||
|
||||
1. Compare Mode
|
||||
* Across Summary, Ride, QA, CP, Histogram, Metric charts
|
||||
* Compare Athletes, Seasons, Rides, Intervals
|
||||
* Easy and intuitive user interface
|
||||
|
||||
2. Additional Power Duration Models
|
||||
* Multiple PD models now available
|
||||
* Track changes in model estimates for W', CP, P-Max, FTP over time
|
||||
* Track changes in model estimates for any duration over time
|
||||
|
||||
2. Merge Activities
|
||||
3. Share Dialog
|
||||
|
||||
ENHANCEMENTS
|
||||
|
||||
1. General
|
||||
i Open Athletes in Tabs
|
||||
ii Redesign Tabbed mode with a ChartBar
|
||||
iii Themes and better support for color customisation
|
||||
iv Improved Interactivity (axes, interval hover)
|
||||
v Autofilter in Trends view
|
||||
vi Specify athlete library location
|
||||
vii Improved Dropbox support (CRC)
|
||||
viii Find intervals via matches, hills etc
|
||||
ix Fix Elevation
|
||||
|
||||
2. Device
|
||||
i Fixed up Tacx Fortius Support
|
||||
ii Joule GPS updates
|
||||
iii FIT ride file updates
|
||||
iv Pedal Smoothness / Torque Effectiveness support
|
||||
v Moxy support
|
||||
|
||||
3. Metrics
|
||||
i Plot best x power etc, Plot W', CP et al
|
||||
ii W'bal implemented with metrics
|
||||
iii TISS implemented
|
||||
iv aPower
|
||||
v Polarised Zones
|
||||
vi Pacing Index / Fatigue Index
|
||||
vii W' work
|
||||
viii Average Pedal Smoothness / Torque Efficiency
|
||||
|
||||
4. LTM Chart
|
||||
i Chart selection sidebar
|
||||
ii LTM settings cleaned up
|
||||
iii Stack mode
|
||||
iv Data table mode
|
||||
v Labels
|
||||
vi Quadratic trend lines
|
||||
|
||||
5. CP Chart
|
||||
i User selectable CP models
|
||||
ii Extended CP Model
|
||||
iii Plot rates of change
|
||||
iv Plot heat and heat by age
|
||||
v Plot as percentge of best
|
||||
vi Plot centiles
|
||||
v Ranking
|
||||
vi Plot intervals
|
||||
vii Export Data
|
||||
|
||||
6. Ride Chart
|
||||
i Plot lots of derived series; NP, W'bal, xPower, Delta etc etc
|
||||
ii Plot delta series
|
||||
iii Plot stack series
|
||||
iv Isolate series hover on axis
|
||||
v Create/Edit reference lines
|
||||
|
||||
7. Summary Chart
|
||||
i Athlete Bests
|
||||
ii Model derived estimates (CP, FTP etc)
|
||||
|
||||
8. Foundational
|
||||
i QT 5 support
|
||||
ii QWT 6.1 support
|
||||
iii MainWindow/Context/Athlete refactored
|
||||
iv CP refactored (for models and intervals)
|
||||
v AllPlot refactored (for compare)
|
||||
|
||||
BUG FIXES
|
||||
i Over 1000 commits since 3.0 including many bug fixes
|
||||
ii Eradicating assert reduces crashes
|
||||
iii Crash dialog/restart to menu
|
||||
BIN
doc/user/Golden Cheetah Science v1.docx
Normal file
BIN
doc/user/Golden Cheetah Science v1.pdf
Normal file
@@ -8,10 +8,10 @@ OTHER= 3d.png choose-a-cyclist.png cpint.gp cpint.png critical-power-plot.png cr
|
||||
pm.png power.zones realtime.png ride-plot.png ride-plot2.png ride-summary.png sample.gp \
|
||||
sample.png weekly-summary.png google-earth.png aerolab.png
|
||||
|
||||
BIN= GoldenCheetah_2.1.0_Linux_x86_64.tgz \
|
||||
GoldenCheetah_2.1.0_Linux_x86.tgz \
|
||||
GoldenCheetah_2.1.0_Mac_Universal.dmg \
|
||||
GoldenCheetah_2.1.0_Windows_Installer.exe
|
||||
BIN= GoldenCheetah_3.0.1_Mac_Universal.dmg \
|
||||
GoldenCheetah-3.0.1-1.fc18.x86_64.rpm \
|
||||
GoldenCheetah-3.0.1-1.fc19.x86_64.rpm \
|
||||
GoldenCheetah_3.0.1_Windows_Installer.exe
|
||||
|
||||
all: $(HTML)
|
||||
.PHONY: all clean install
|
||||
@@ -51,6 +51,15 @@ download.html: download.content genpage.pl
|
||||
release-notes.html: release-notes.content genpage.pl
|
||||
./genpage.pl "Release Notes" $< > $@
|
||||
|
||||
release-notes_2.1.0.html: release-notes_2.1.0.content genpage.pl
|
||||
./genpage.pl "Release Notes 2.1.0" $< > $@
|
||||
|
||||
release-notes_3.0.0.html: release-notes_3.0.0.content genpage.pl
|
||||
./genpage.pl "Release Notes 3.0.0" $< > $@
|
||||
|
||||
release-notes_3.0.1.html: release-notes_3.0.1.content genpage.pl
|
||||
./genpage.pl "Release Notes 3.0.1" $< > $@
|
||||
|
||||
faq.html: faq.content genpage.pl
|
||||
./genpage.pl "Frequently Asked Questions" $< > $@
|
||||
|
||||
|
||||
@@ -11,7 +11,8 @@ Installing dependencies
|
||||
</font></big>
|
||||
|
||||
<p>GC requires a number of libraries. On Mac OS X, you can get most of these
|
||||
through <a href="http://www.macports.org/">Mac Ports</a>. On Linux and other
|
||||
through <a href="http://www.macports.org/">Mac Ports</a> or
|
||||
<a href="http://www.brew.sh/">Homebrew</a>. On Linux and other
|
||||
Unixes, you can use whatever package manager your distribution provides. (We
|
||||
list the package names for MacPorts and Ubuntu below.) On Windows, you'll
|
||||
probably need to download and install everything by hand. You might also want
|
||||
|
||||
@@ -2,20 +2,21 @@
|
||||
|
||||
<p>
|
||||
Golden Cheetah is available in binary form for
|
||||
Linux x86, Mac OS X (universal binary), and Windows.
|
||||
Fedora (RPMs), Mac OS X (Universal Intel binary), and Windows.
|
||||
It is also available as source code.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Golden Cheetah downloads data from all versions of the PowerTap
|
||||
computer including the new Joule. If you're using the PowerTap USB cradle
|
||||
(as opposed to the older, serial cable), you may need to install the
|
||||
<a href="http://www.ftdichip.com/Drivers/D2XX.htm">FTDI USB driver</a>
|
||||
before downloading.
|
||||
computer including the new Joule GPS. Previously you needed to have the
|
||||
FTDI USB Drivers installed if you were using the PowerTap USB cradle
|
||||
(as opposed to the older, serial cable). This should not be necessary.
|
||||
If you are having problems then you can manually install the
|
||||
<a href="http://www.ftdichip.com/Drivers/D2XX.htm">FTDI USB driver</a>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
On Linux and Mac OS X, Golden Cheetah also downloads from the SRM PCV. On Mac
|
||||
On Windows, Linux and Mac OS X, Golden Cheetah also downloads from the SRM PCV. On Mac
|
||||
OS X, you'll need to install <a href="http://osx-pl2303.sourceforge.net/">the
|
||||
open source PL2303 driver</a> to download from an SRM. Please see the
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/wiki/Installing-the-d2xx-drivers-on-mac-os">WIKI</a> article
|
||||
@@ -25,24 +26,40 @@ PCV on Mac OS X</a> for further information.
|
||||
|
||||
<p>
|
||||
<font face="arial,helvetica,sanserif">
|
||||
<big><strong>Download Release 2.1</strong></big>
|
||||
<big><strong>Download Release 3.0.2</strong></big>
|
||||
</font>
|
||||
</p>
|
||||
|
||||
<p>This is a bug fix release with a few new features.</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="GoldenCheetah_2.1.0_Windows_Installer.exe">Windows 32-bit (runs on 64bit as well)</a>
|
||||
<li><a href="GoldenCheetah_2.1.0_Mac_Universal.dmg">Mac OS X Universal 10.4->10.8</a><br>
|
||||
<li><a href="GoldenCheetah_2.1.0_Linux_x86.tgz">Linux x86</a><br>
|
||||
<li><a href="GoldenCheetah_2.1.0_Linux_x86_64.tgz">Linux x86_64</a><br>
|
||||
<li><a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v3.0-SP2/GoldenCheetah_3.0.2_Windows_Installer.exe">Windows 32-bit (runs on 64bit as well)</a>
|
||||
<li><a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v3.0-SP2/GoldenCheetah_3.0.2_Mac_Universal.dmg">Mac OS X Intel Universal (10.6+)</a><br>
|
||||
<li>Fedora 18 RPMS - <a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v3.0-SP2/GoldenCheetah-3.0.2-1.fc18.i686.rpm">32bit</a>
|
||||
/ <a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v3.0-SP2/GoldenCheetah-3.0.2-1.fc18.x86_64.rpm">64 bit</a><br>
|
||||
<li>Fedora 19 RPMS - <a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v3.0-SP2/GoldenCheetah-3.0.2-1.fc19.i686.rpm">32bit</a>
|
||||
/ <a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v3.0-SP2/GoldenCheetah-3.0.2-1.fc19.x86_64.rpm">64 bit</a><br>
|
||||
<li>Fedora 20 RPMS - <a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v3.0-SP2/GoldenCheetah-3.0.2-1.fc20.i686.rpm">32bit</a>
|
||||
/ <a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v3.0-SP2/GoldenCheetah-3.0.2-1.fc20.x86_64.rpm">64 bit</a><br>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Please follow the <a href="/users-guide.html">User's Guide</a> on how to install
|
||||
and use Golden Cheetah.
|
||||
Installation is simple. Download the file for your operating system.<br>
|
||||
On Mac, open the DMG and drag and drop where you would like to install.<br>
|
||||
For Windows, run the Installer and follow the prompts.<br>
|
||||
For Fedora, install as root (yum install filename.rpm) or using sudo (sudo yum install filename.rpm).<br>
|
||||
</p>
|
||||
<p>
|
||||
You can also <a href="release-notes.html">view the release notes</a> for 2.1
|
||||
There is a <a href="https://github.com/GoldenCheetah/GoldenCheetah/blob/master/doc/user/GC3-Manual.pdf?raw=true">Manual</a>
|
||||
and a <a href="https://github.com/GoldenCheetah/GoldenCheetah/blob/master/doc/user/GC3-FAQ.pdf?raw=true">FAQ</a> that
|
||||
you can use to help you use the program.
|
||||
</p>
|
||||
<p>
|
||||
There is the older Version 2.1.0 <a href="/users-guide.html">User's Guide</a> on how to install
|
||||
and use Golden Cheetah that can assist also.
|
||||
</p>
|
||||
<p>
|
||||
You can also <a href="release-notes.html">view the release notes</a> for 3.0.2
|
||||
or <a href="older-releases.html">download older releases</a> of Golden Cheetah.
|
||||
</p>
|
||||
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
<!-- $Id: faq.content,v 1.4 2006/07/05 16:59:56 srhea Exp $ -->
|
||||
|
||||
<h2>Documentation</h2>
|
||||
<p>
|
||||
There is a <a href="https://github.com/GoldenCheetah/GoldenCheetah/blob/master/doc/user/GC3-Manual.pdf?raw=true">Manual</a>
|
||||
and a <a href="https://github.com/GoldenCheetah/GoldenCheetah/blob/master/doc/user/GC3-FAQ.pdf?raw=true">FAQ</a> that
|
||||
you can use to help you use the program.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b><i>GoldenCheetah doesn't find my PowerTap on Ubuntu Linux.</i></b>
|
||||
<p>
|
||||
|
||||
@@ -54,6 +54,7 @@ body {
|
||||
<img src="logo.jpg" width="175" height="175" alt="Picture of Cheetah">
|
||||
|
||||
<p> <b><a href="index.html">Introduction</a></b>
|
||||
<br> <b><a href="download.html">Download</a></b>
|
||||
<br> <b><a href="screenshots.html">Screenshots</a>
|
||||
<br> <b><a href="wiki.html">Wiki</a>
|
||||
<br> <b><a href="users-guide.html">User's Guide</a>
|
||||
@@ -61,7 +62,6 @@ body {
|
||||
<br> <b><a href="faq.html">FAQ</a>
|
||||
<br> <b><a href="wishlist.html">Wish List</a>
|
||||
<br> <b><a href="license.html">License</a></b>
|
||||
<br> <b><a href="download.html">Download</a></b>
|
||||
<br> <b><a href="contrib.html">Contributors</a></b>
|
||||
<br> <b><a href="search.html">Search</a></b>
|
||||
<br> <b><a href="mailing-list.html">Mailing List</a></b>
|
||||
|
||||
@@ -13,8 +13,7 @@ GoldenCheetah is a software package that:
|
||||
|
||||
<ul>
|
||||
<li>Downloads ride data directly from the CycleOps PowerTap and the SRM
|
||||
PowerControl V. Support for SRM PowerControl VI and VII is planned for the
|
||||
future.<p>
|
||||
PowerControl V, VI and VII.</p>
|
||||
|
||||
<li>Imports ride data downloaded with other programs, including TrainingPeaks
|
||||
WKO+ and the manufacturers' software for the Ergomo, Garmin, Polar, PowerTap,
|
||||
@@ -24,8 +23,7 @@ and SRM devices.<p>
|
||||
BikeScore calculation, histogram analysis, a best interval finder, and a pedal
|
||||
force versus pedal velocity chart, to name just a few.<p>
|
||||
|
||||
<li>Is available for Linux, Mac OS X, and Windows. (The Windows version
|
||||
does not yet support direct downloads from the SRM PowerControl.)<p>
|
||||
<li>Is available for Linux, Mac OS X, and Windows.<p>
|
||||
|
||||
<li>Is released under an Open Source license.
|
||||
</ul>
|
||||
|
||||
@@ -18,13 +18,122 @@ please see <a href="download.html">the download page</a> instead.
|
||||
<td><i>Description</i></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top">3.0.1</td>
|
||||
<td valign="top">
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v3.0-SP1/GoldenCheetah_3.0.1_Mac_Universal.dmg">Mac OS X Intel Universal (10.6+)</a><br>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v3.0-SP1/GoldenCheetah_3.0.1_Windows_Installer.exe">Windows 32-bit</a><br>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v3.0-SP1/GoldenCheetah-3.0.1-2.fc18.x86_64.rpm">Fedora 18 RPM (64bit)</a><br>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v3.0-SP1/GoldenCheetah-3.0.1-2.fc19.x86_64.rpm">Fedora 19 RPM (64bit)</a>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<a href="release-notes_3.0.1.html">Full Version 3.0.1 change log.</a><br>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top">3.0.0</td>
|
||||
<td valign="top">
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v3.0/GoldenCheetah_3.0.0_Mac_32bit.dmg">Mac OS X Intel (32bit)</a><br>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v3.0/GoldenCheetah_3.0.0_Mac_64bit.dmg">Mac OS X Intel (64bit)</a><br>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v3.0/GoldenCheetah_3.0.0_Windows_Installer.exe">Windows 32-bit</a>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<p>
|
||||
New Features and Enhancements
|
||||
<ul>
|
||||
<li>See the full log below.</li>
|
||||
<li>See the <a href="https://github.com/GoldenCheetah/GoldenCheetah/blob/master/doc/user/GC3-Release.pdf?raw=true">Release Notes</a> PDF on GitHub.</li>
|
||||
<li>A PDF <a href="https://github.com/GoldenCheetah/GoldenCheetah/blob/master/doc/user/GC3-Manual.pdf?raw=true">User's Manual</a></li>
|
||||
<li>A PDF <a href="https://github.com/GoldenCheetah/GoldenCheetah/blob/master/doc/user/GC3-FAQ.pdf?raw=true">Frequently Asked Questions (FAQ)</a></li>
|
||||
<li>Welcome Screens to help setup the program.</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Internationalisation
|
||||
<ul>
|
||||
<li>German (Tilman Schmiedeberg)</li>
|
||||
<li>Italian (Marco Piccirilli)</li>
|
||||
<li>Japanese (Okano Takayoshi)</li>
|
||||
<li>Spanish (Alejandro Martinez)</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Development Builds
|
||||
<ul>
|
||||
<li>Gareth Coco</li>
|
||||
<li>Jamie Kimberley</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<a href="release-notes_3.0.0.html">Full Version 3.0.0 change log.</a><br>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top">2.1.0</td>
|
||||
<td valign="top">
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v2.1/GoldenCheetah_2.1.0_Linux_x86.tgz">Linux (32bit)</a><br>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v2.1/GoldenCheetah_2.1.0_Linux_x86_64.tgz">Linux (64bit)</a><br>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v2.1/GoldenCheetah_2.1.0_Mac_Universal.dmg">Mac OS X Universal</a><br>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v2.1/GoldenCheetah_2.1.0_Windows_Installer.exe">Windows 32-bit</a>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<p>
|
||||
New Features and Enhancements
|
||||
<ul>
|
||||
<li>FIT file support for Mac OSX - Rainer Clasen</li>
|
||||
<li>SRM 5 - Rainer Clasen</li>
|
||||
<li>Aerolab Improvements - Damien Grauser</li>
|
||||
<li>O-Sync Macro X device support - Damien Grauser</li>
|
||||
<li>Air density (RHO) Calculator - Steven Gribble</li>
|
||||
<li>Virtual Power - Darren Hague</li>
|
||||
<li>GoldenCheetah JSON - Mark Liversedge</li>
|
||||
<li>Support TrainerRoad.com TCX Files - Mark Liversedge</li>
|
||||
<li>Garmin GPX - Greg Lonnon</li>
|
||||
<li>Sigma SLF/SMF - Frank Zschockelt</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Internationalisation
|
||||
<ul>
|
||||
<li>Czech (David Kramar)</li>
|
||||
<li>French (Damien Grauser, Guillaume LeMaitre)</li>
|
||||
<li>German (Alexander Pietsch)</li>
|
||||
<li>Italian (Robert Masso)</li>
|
||||
<li>Portugese (Thomas Irps)</li>
|
||||
<li>Portugese-Brazil (Bruno Assis)</li>
|
||||
<li>Japanese (Mitsukuni Sato, Keisuke Yamaguchi)</li>
|
||||
<li>Spanish (Alejandro Martinez)</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Development Builds
|
||||
<ul>
|
||||
<li>Gareth Coco</li>
|
||||
<li>Jamie Kimberley</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<a href="release-notes_2.1.0.html">Full Version 2.1.0 change log.</a><br>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top">2.0.0</td>
|
||||
<td valign="top">
|
||||
<a href="GoldenCheetah_2.0.0_Linux_x86.gz">Linux x86</a><br>
|
||||
<a href="GoldenCheetah_2.0.0_Linux_x86_64.gz">Linux x86_64</a><br>
|
||||
<a href="GoldenCheetah_2.0.0_Mac_Universal.zip">Mac OS X Universal</a><br>
|
||||
<a href="GoldenCheetah_2.0.0_Windows_Installer.exe">Windows 32-bit</a>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v2.0/GoldenCheetah_2.0.0_Linux_x86.gz">Linux (32bit)</a><br>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v2.0/GoldenCheetah_2.0.0_Linux_x86_64.gz">Linux (64bit)</a><br>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v2.0/GoldenCheetah_2.0.0_Mac_Universal.dmg">Mac OS X Universal</a><br>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v2.0/GoldenCheetah_2.0.0_Windows_Installer.exe">Windows 32-bit</a>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<p>
|
||||
@@ -107,10 +216,10 @@ Builds, testing and support
|
||||
<tr>
|
||||
<td valign="top">1.3.0</td>
|
||||
<td valign="top">
|
||||
<a href="GoldenCheetah_1.3.0_Linux_x86.gz">Linux x86</a><br>
|
||||
<a href="GoldenCheetah_1.3.0_Linux_x86_64.gz">Linux x86_64</a><br>
|
||||
<a href="GoldenCheetah_1.3.0_Mac_Universal.zip">Mac OS X Universal</a><br>
|
||||
<a href="GoldenCheetah_1.3.0_Windows_Installer.exe">Windows 32-bit</a>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v1.3/GoldenCheetah_1.3.0_Linux_x86.gz">Linux (32bit)</a><br>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v1.3/GoldenCheetah_1.3.0_Linux_x86_64.gz">Linux (64bit)</a><br>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v1.3/GoldenCheetah_1.3.0_Mac_Universal.zip">Mac OS X Universal</a><br>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v1.3/GoldenCheetah_1.3.0_Windows_Installer.exe">Windows 32-bit</a>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<p>
|
||||
@@ -207,10 +316,10 @@ Other new features:
|
||||
<tr>
|
||||
<td valign="top">1.2.0</td>
|
||||
<td valign="top">
|
||||
<a href="GoldenCheetah_1.2.0_Linux_x86.tgz">Linux x86</a><br>
|
||||
<a href="GoldenCheetah_1.2.0_Linux_x86_64.tgz">Linux x86_64</a><br>
|
||||
<a href="GoldenCheetah_1.2.0_Darwin_Universal.dmg">Mac OS X Universal</a><br>
|
||||
<a href="GoldenCheetah_1.2.0_Windows_Installer.exe">Windows 32-bit</a>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v1.2/GoldenCheetah_1.2.0_Linux_x86.tgz">Linux (32bit)</a><br>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v1.2/GoldenCheetah_1.2.0_Linux_x86_64.tgz">Linux (6bit)</a><br>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v1.2/GoldenCheetah_1.2.0_Darwin_Universal.dmg">Mac OS X Universal</a><br>
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/releases/download/v1.2/GoldenCheetah_1.2.0_Windows_Installer.exe">Windows 32-bit</a>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<p>
|
||||
|
||||
@@ -1,252 +1,51 @@
|
||||
<p>
|
||||
<font face="arial,helvetica,sanserif">
|
||||
<big><strong>GoldenCheetah 2.1</strong></big>
|
||||
<big><strong>GoldenCheetah 3.0.2</strong></big>
|
||||
</font>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
New Features and Enhancements
|
||||
<ul>
|
||||
<li>FIT file support for Mac OSX - Rainer Clasen</li>
|
||||
<li>SRM 5 - Rainer Clasen</li>
|
||||
<li>Aerolab Improvements - Damien Grauser</li>
|
||||
<li>O-Sync Macro X device support - Damien Grauser</li>
|
||||
<li>Air density (RHO) Calculator - Steven Gribble</li>
|
||||
<li>Virtual Power - Darren Hague</li>
|
||||
<li>GoldenCheetah JSON - Mark Liversedge</li>
|
||||
<li>Support TrainerRoad.com TCX Files - Mark Liversedge</li>
|
||||
<li>Garmin GPX - Greg Lonnon</li>
|
||||
<li>Sigma SLF/SMF - Frank Zschockelt</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Internationalisation
|
||||
<ul>
|
||||
<li>Czech (David Kramar)</li>
|
||||
<li>French (Damien Grauser, Guillaume LeMaitre)</li>
|
||||
<li>German (Alexander Pietsch)</li>
|
||||
<li>Italian (Robert Masso)</li>
|
||||
<li>Portugese (Thomas Irps)</li>
|
||||
<li>Portugese-Brazil (Bruno Assis)</li>
|
||||
<li>Japanese (Mitsukuni Sato, Keisuke Yamaguchi)</li>
|
||||
<li>Spanish (Alejandro Martinez)</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Development Builds
|
||||
<ul>
|
||||
<li>Gareth Coco</li>
|
||||
<li>Jamie Kimberley</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Full Change Log
|
||||
<pre>
|
||||
Alejandro Martinez (7):
|
||||
Add Spanish Translation and Enable Metrics Translation
|
||||
Add Spanish Translation & Fix Translation Issues
|
||||
Set UTF-8 in charts,metadata and seasons xml files
|
||||
Add HrZones to Weekly Summary and Fix Spanish Translation
|
||||
Update Spanish Translation
|
||||
Enable 3d Plot Translation and include spanish translation
|
||||
Rho Estimator Translation
|
||||
|
||||
Bruno Assis (1):
|
||||
Portugese (Brazil) Translation
|
||||
|
||||
Damien (22):
|
||||
Modify csv import for ergomo file with comma or semicolon separator
|
||||
Remove error logs for unused datas in ride file
|
||||
handle showHr/Speed/Cad/Alt state for stacked view
|
||||
Add summary metrics list to preferences
|
||||
Correct crash with truncated files
|
||||
Add PeakPowerHr metric (average HR during peak power)
|
||||
Altitude scale present with no altitude data.
|
||||
Bug #178 TRIMP is not updated after modification in Rest Hr Tag -> compute metric after save
|
||||
Add a setFocus on the Treelist to correct a MacOs Bug of Qt
|
||||
Modification to handle odd start page and compatible with qt 4.6
|
||||
Correct interval
|
||||
Modify TRIMP formula to use time_riding instead of workout time
|
||||
Modify Aerolab to add interval highlight and zoom + auto offset
|
||||
Aerolab : Change LCD display to LineEdit
|
||||
Correct bug in the peakPowerHr formula
|
||||
Correct encoding in json parser
|
||||
Correct bug #496 for longitude < -65
|
||||
Remove Joule warnings
|
||||
Update french translation for rho estimator
|
||||
Change speed to double in Bin parser
|
||||
Correct intialisation of altitude for TCX without altitude
|
||||
Correct intialisation of altitude for TCX without altitude
|
||||
|
||||
Damien Grauser (2):
|
||||
Update French translation.
|
||||
O_Sync Macro X device support
|
||||
|
||||
Darren Hague (5):
|
||||
Virtual Power; Better GSC-10 pairing support.
|
||||
Corrected - to + in CycleOps formula
|
||||
Use realtime clock for realtime-mode clock
|
||||
Add virtual power support for BT-ATS trainer
|
||||
Remove toMSecsSinceEpoch() and work around
|
||||
|
||||
David (1):
|
||||
Updated Czech translations
|
||||
|
||||
Eric Brandt (1):
|
||||
fix realtime mode load timer and lcd sig. digit display issues
|
||||
|
||||
Frank Zschockelt (2):
|
||||
Support for Sigma SLF/SMF file formats
|
||||
Included 4 sample sigma files in the test/rides directory
|
||||
|
||||
Gareth Coco (25):
|
||||
Changes to map markers
|
||||
FIT file reader fixes
|
||||
Set default Smoothing (secs) in Ride Plot to one (1) second
|
||||
Change start date from UTC to localtime for bin ride file
|
||||
Make interval period on map user defineable
|
||||
Reorder liboauth includes
|
||||
Comment out QwtDesigner build in qwtconfig.pri.in
|
||||
Changed kph to km/h in displays
|
||||
Changed KPH to km/h in displays
|
||||
Update translation .qm files
|
||||
Update gc_fr.qm for updated French translation
|
||||
Fixes for RealtimeController
|
||||
Initialise LAT/LON to zero (0.0) in the parser
|
||||
Updated Spanish Translation
|
||||
Add a Portuguese translation
|
||||
Add a TCX ride exporter
|
||||
Fix interpolation of lat/lon when missing or 0/0
|
||||
Allow CdA to lowest possible in AerolabWindow.cpp
|
||||
Update translation files
|
||||
Ordered build - qwt then src
|
||||
Fixes for Manual Ride Entry
|
||||
Comment added and replace tabs with spaces
|
||||
v2.1dev - Allow ride to be added with no Average HR
|
||||
Update documentation
|
||||
Added v2.0.0 information.
|
||||
|
||||
Greg Lonnon (3):
|
||||
GPX RideFile Support
|
||||
changes to the markers in google maps.
|
||||
Added a QFilesystemWatcher to monitor adding files to the workout directory.
|
||||
|
||||
Ilja Booij (1):
|
||||
fix 'Wrong distance on Tacx caf file import'
|
||||
|
||||
Jamie Kimberley (6):
|
||||
Update download page to reflect build of mac 10.4
|
||||
force use of no elide and scrollbars in main tab
|
||||
Update user guide steps 1 and 2
|
||||
clean up wishlist web page
|
||||
Add other TRIMP metrics to performance manager.
|
||||
update French Translation
|
||||
|
||||
Justin Knotzke (2):
|
||||
Cycleops Test Ride
|
||||
Update of German translation by LukeNRG
|
||||
|
||||
Keisuke Yamaguchi (1):
|
||||
Update Japanese translation files
|
||||
|
||||
LukeNRG (4):
|
||||
German Translation
|
||||
Updated German Translation
|
||||
Updated German Translations
|
||||
German Translations
|
||||
|
||||
Mark Liversedge (59):
|
||||
Updated www.goldencheetah.org for v2.0 release.
|
||||
Joule support fixed on download page.
|
||||
Add link to wiki from the website.
|
||||
Mac PPC binary added to downloads page.
|
||||
Translations Bonanza!
|
||||
Fix Computrainer with Stereo FTDI adaptor
|
||||
Fix 'Save data' in RealtimeWindow
|
||||
Updated Czech translation
|
||||
Fix Wko GPS parsing on 64bit
|
||||
Fix Virtual Power for Fluid2
|
||||
Revert "Add Spanish Translation and Enable Metrics Translation"
|
||||
Fix WKO parser for Ergomo users
|
||||
Better rounding of time in AllPlot
|
||||
Fix WKO+ file reader GPS 'drops'
|
||||
Remove console error for seasons.xml
|
||||
Fix RideSummaryWindow crash
|
||||
Fix RideEditor find dialog for 'between'
|
||||
Fix .man crash in CP plot
|
||||
Better support for Negative, Inf, NaN and High Values
|
||||
Fix annoying gap in CP curve.
|
||||
Fix Save when old .bak exists
|
||||
Fix SummaryWindow crash
|
||||
Don't allow Nan or Inf sample values
|
||||
Fix LogY Intervals on Histogram
|
||||
Fit files sometimes go backwards
|
||||
Guess ride date time for Poweragent CSV files
|
||||
Add JSON support to v2.1
|
||||
Fix date/time handling when importing rides
|
||||
Update .gitignore for Lex/yacc
|
||||
Fix Macro device data crash
|
||||
Support FR310xt latest firmware
|
||||
Fix FitRideFile for header change
|
||||
Fix Download Ride Dialog instructions refresh
|
||||
SplitRide overwrites existing file
|
||||
Revert "SplitRide overwrites existing file"
|
||||
Fix Split Ride file loss bug
|
||||
Check Date/Time unique
|
||||
Summary fixups
|
||||
Updated translation files.
|
||||
Add virtual power for LeMond Revolution
|
||||
Use strtod() to convert text to double
|
||||
Fix FTDI Adaptor on Linux and Mac
|
||||
Better Bounds Checking in RideFile::intervalBegin()
|
||||
Forward support in .json for temp/slope
|
||||
Add Virtual Power for 1UP USA bike trainer
|
||||
FitRideFile distance of zero bug
|
||||
Disable roch text in metadata
|
||||
Fix zero speed in TxtRideFile for Imperial units
|
||||
Support TrainerRoad.com TCX Files/Tcx speed in meters/sec The TCX parser ignored samples where distance is
|
||||
Fix crash if TRIMP zones > 5
|
||||
Fix PWX file intervals
|
||||
Fix SEGV on empty/dodgy FIT files
|
||||
|
||||
Mitsukuni Sato (1):
|
||||
Japanese Translation
|
||||
|
||||
Rainer Clasen (8):
|
||||
Added SRM5 file format read support
|
||||
whitespace cleanup
|
||||
fix reading signed values from srm files
|
||||
Fit: ignore unknown message types
|
||||
Fit: support big/little endian data
|
||||
Fit: handle unknown fields gracefully
|
||||
SrmRideFile: turned assertions into graceful fail
|
||||
FitRideFile: turned assertions into graceful fail
|
||||
|
||||
Roberto Massa (1):
|
||||
Italian Translation
|
||||
|
||||
Roderic Campbell (1):
|
||||
There was what looked like a copy paste error. I changed the zone 7 label to the appropriate 7 instead of
|
||||
|
||||
Steven Gribble (1):
|
||||
This patch adds an air density (rho) calculator feature to GoldenCheetah.
|
||||
|
||||
Thomas Irps (1):
|
||||
Portuguese translation
|
||||
|
||||
Tim Shaffer (1):
|
||||
Make the default date range for Performance Manager a user preference.
|
||||
|
||||
kohasa (1):
|
||||
enabled editing interval duration by keyboard.
|
||||
|
||||
lemaitre (1):
|
||||
Updating of the French translation
|
||||
|
||||
unknown (1):
|
||||
This patch correct altitude for TCX files converted from FIT files These files doesn't have altitude for e
|
||||
</pre>
|
||||
</p>
|
||||
<pre>
|
||||
$ git checkout release_3.0.1
|
||||
$ git shortlog v3.0-SP2 ^v3.0-SP1
|
||||
|
||||
Christian Stade-Schuldt (3):
|
||||
Added virtual power support for Tacx Blue Twist trainer
|
||||
Added virtual power support for Tacx Blue Motion trainer
|
||||
added Tacx Blue Twist and Tacx Blue Motion to Device Wizard
|
||||
|
||||
Damien (6):
|
||||
AerobicDecoupling: Correct formula fix #721
|
||||
AllPlot: Handle noTemp with no smooth fix #634
|
||||
FitRideFile: correct issue with unknown field type in fit file fix #724
|
||||
FitRideFile: We may need to add string support
|
||||
FitRideFile: wrong copy-paste
|
||||
GoogleMapControl: Small fix for Google Map fix #814
|
||||
|
||||
Gareth Coco (1):
|
||||
Update translations for upcoming release
|
||||
|
||||
Jaime Jofre (1):
|
||||
Fixes issue #791
|
||||
|
||||
Mark Liversedge (7):
|
||||
Increase Starting LTS limits
|
||||
Fix WKO import - another optpad constant
|
||||
Compromise on import
|
||||
Fix SEGV on bad file/header in FitRideFile
|
||||
Revert "Fix SEGV on bad file/header in FitRideFile"
|
||||
Another attempt to fix SEGV in FitRideFile
|
||||
Release 3.0-SP2
|
||||
|
||||
Stig B. Dørmænen (1):
|
||||
Made the fault handling in TPDownload a little more user friendly
|
||||
|
||||
Walter (1):
|
||||
using milliseconds for delta_t when calculating speed, supports Suunto Ambit gpx datafiles
|
||||
|
||||
alexdelli (1):
|
||||
Added Support for Elite Supercrono PowerMag
|
||||
|
||||
</pre>
|
||||
|
||||
252
doc/web/release-notes_2.1.0.content
Normal file
@@ -0,0 +1,252 @@
|
||||
<p>
|
||||
<font face="arial,helvetica,sanserif">
|
||||
<big><strong>GoldenCheetah 2.1</strong></big>
|
||||
</font>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
New Features and Enhancements
|
||||
<ul>
|
||||
<li>FIT file support for Mac OSX - Rainer Clasen</li>
|
||||
<li>SRM 5 - Rainer Clasen</li>
|
||||
<li>Aerolab Improvements - Damien Grauser</li>
|
||||
<li>O-Sync Macro X device support - Damien Grauser</li>
|
||||
<li>Air density (RHO) Calculator - Steven Gribble</li>
|
||||
<li>Virtual Power - Darren Hague</li>
|
||||
<li>GoldenCheetah JSON - Mark Liversedge</li>
|
||||
<li>Support TrainerRoad.com TCX Files - Mark Liversedge</li>
|
||||
<li>Garmin GPX - Greg Lonnon</li>
|
||||
<li>Sigma SLF/SMF - Frank Zschockelt</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Internationalisation
|
||||
<ul>
|
||||
<li>Czech (David Kramar)</li>
|
||||
<li>French (Damien Grauser, Guillaume LeMaitre)</li>
|
||||
<li>German (Alexander Pietsch)</li>
|
||||
<li>Italian (Robert Masso)</li>
|
||||
<li>Portugese (Thomas Irps)</li>
|
||||
<li>Portugese-Brazil (Bruno Assis)</li>
|
||||
<li>Japanese (Mitsukuni Sato, Keisuke Yamaguchi)</li>
|
||||
<li>Spanish (Alejandro Martinez)</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Development Builds
|
||||
<ul>
|
||||
<li>Gareth Coco</li>
|
||||
<li>Jamie Kimberley</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Full Change Log
|
||||
<pre>
|
||||
Alejandro Martinez (7):
|
||||
Add Spanish Translation and Enable Metrics Translation
|
||||
Add Spanish Translation & Fix Translation Issues
|
||||
Set UTF-8 in charts,metadata and seasons xml files
|
||||
Add HrZones to Weekly Summary and Fix Spanish Translation
|
||||
Update Spanish Translation
|
||||
Enable 3d Plot Translation and include spanish translation
|
||||
Rho Estimator Translation
|
||||
|
||||
Bruno Assis (1):
|
||||
Portugese (Brazil) Translation
|
||||
|
||||
Damien (22):
|
||||
Modify csv import for ergomo file with comma or semicolon separator
|
||||
Remove error logs for unused datas in ride file
|
||||
handle showHr/Speed/Cad/Alt state for stacked view
|
||||
Add summary metrics list to preferences
|
||||
Correct crash with truncated files
|
||||
Add PeakPowerHr metric (average HR during peak power)
|
||||
Altitude scale present with no altitude data.
|
||||
Bug #178 TRIMP is not updated after modification in Rest Hr Tag -> compute metric after save
|
||||
Add a setFocus on the Treelist to correct a MacOs Bug of Qt
|
||||
Modification to handle odd start page and compatible with qt 4.6
|
||||
Correct interval
|
||||
Modify TRIMP formula to use time_riding instead of workout time
|
||||
Modify Aerolab to add interval highlight and zoom + auto offset
|
||||
Aerolab : Change LCD display to LineEdit
|
||||
Correct bug in the peakPowerHr formula
|
||||
Correct encoding in json parser
|
||||
Correct bug #496 for longitude < -65
|
||||
Remove Joule warnings
|
||||
Update french translation for rho estimator
|
||||
Change speed to double in Bin parser
|
||||
Correct intialisation of altitude for TCX without altitude
|
||||
Correct intialisation of altitude for TCX without altitude
|
||||
|
||||
Damien Grauser (2):
|
||||
Update French translation.
|
||||
O_Sync Macro X device support
|
||||
|
||||
Darren Hague (5):
|
||||
Virtual Power; Better GSC-10 pairing support.
|
||||
Corrected - to + in CycleOps formula
|
||||
Use realtime clock for realtime-mode clock
|
||||
Add virtual power support for BT-ATS trainer
|
||||
Remove toMSecsSinceEpoch() and work around
|
||||
|
||||
David (1):
|
||||
Updated Czech translations
|
||||
|
||||
Eric Brandt (1):
|
||||
fix realtime mode load timer and lcd sig. digit display issues
|
||||
|
||||
Frank Zschockelt (2):
|
||||
Support for Sigma SLF/SMF file formats
|
||||
Included 4 sample sigma files in the test/rides directory
|
||||
|
||||
Gareth Coco (25):
|
||||
Changes to map markers
|
||||
FIT file reader fixes
|
||||
Set default Smoothing (secs) in Ride Plot to one (1) second
|
||||
Change start date from UTC to localtime for bin ride file
|
||||
Make interval period on map user defineable
|
||||
Reorder liboauth includes
|
||||
Comment out QwtDesigner build in qwtconfig.pri.in
|
||||
Changed kph to km/h in displays
|
||||
Changed KPH to km/h in displays
|
||||
Update translation .qm files
|
||||
Update gc_fr.qm for updated French translation
|
||||
Fixes for RealtimeController
|
||||
Initialise LAT/LON to zero (0.0) in the parser
|
||||
Updated Spanish Translation
|
||||
Add a Portuguese translation
|
||||
Add a TCX ride exporter
|
||||
Fix interpolation of lat/lon when missing or 0/0
|
||||
Allow CdA to lowest possible in AerolabWindow.cpp
|
||||
Update translation files
|
||||
Ordered build - qwt then src
|
||||
Fixes for Manual Ride Entry
|
||||
Comment added and replace tabs with spaces
|
||||
v2.1dev - Allow ride to be added with no Average HR
|
||||
Update documentation
|
||||
Added v2.0.0 information.
|
||||
|
||||
Greg Lonnon (3):
|
||||
GPX RideFile Support
|
||||
changes to the markers in google maps.
|
||||
Added a QFilesystemWatcher to monitor adding files to the workout directory.
|
||||
|
||||
Ilja Booij (1):
|
||||
fix 'Wrong distance on Tacx caf file import'
|
||||
|
||||
Jamie Kimberley (6):
|
||||
Update download page to reflect build of mac 10.4
|
||||
force use of no elide and scrollbars in main tab
|
||||
Update user guide steps 1 and 2
|
||||
clean up wishlist web page
|
||||
Add other TRIMP metrics to performance manager.
|
||||
update French Translation
|
||||
|
||||
Justin Knotzke (2):
|
||||
Cycleops Test Ride
|
||||
Update of German translation by LukeNRG
|
||||
|
||||
Keisuke Yamaguchi (1):
|
||||
Update Japanese translation files
|
||||
|
||||
LukeNRG (4):
|
||||
German Translation
|
||||
Updated German Translation
|
||||
Updated German Translations
|
||||
German Translations
|
||||
|
||||
Mark Liversedge (59):
|
||||
Updated www.goldencheetah.org for v2.0 release.
|
||||
Joule support fixed on download page.
|
||||
Add link to wiki from the website.
|
||||
Mac PPC binary added to downloads page.
|
||||
Translations Bonanza!
|
||||
Fix Computrainer with Stereo FTDI adaptor
|
||||
Fix 'Save data' in RealtimeWindow
|
||||
Updated Czech translation
|
||||
Fix Wko GPS parsing on 64bit
|
||||
Fix Virtual Power for Fluid2
|
||||
Revert "Add Spanish Translation and Enable Metrics Translation"
|
||||
Fix WKO parser for Ergomo users
|
||||
Better rounding of time in AllPlot
|
||||
Fix WKO+ file reader GPS 'drops'
|
||||
Remove console error for seasons.xml
|
||||
Fix RideSummaryWindow crash
|
||||
Fix RideEditor find dialog for 'between'
|
||||
Fix .man crash in CP plot
|
||||
Better support for Negative, Inf, NaN and High Values
|
||||
Fix annoying gap in CP curve.
|
||||
Fix Save when old .bak exists
|
||||
Fix SummaryWindow crash
|
||||
Don't allow Nan or Inf sample values
|
||||
Fix LogY Intervals on Histogram
|
||||
Fit files sometimes go backwards
|
||||
Guess ride date time for Poweragent CSV files
|
||||
Add JSON support to v2.1
|
||||
Fix date/time handling when importing rides
|
||||
Update .gitignore for Lex/yacc
|
||||
Fix Macro device data crash
|
||||
Support FR310xt latest firmware
|
||||
Fix FitRideFile for header change
|
||||
Fix Download Ride Dialog instructions refresh
|
||||
SplitRide overwrites existing file
|
||||
Revert "SplitRide overwrites existing file"
|
||||
Fix Split Ride file loss bug
|
||||
Check Date/Time unique
|
||||
Summary fixups
|
||||
Updated translation files.
|
||||
Add virtual power for LeMond Revolution
|
||||
Use strtod() to convert text to double
|
||||
Fix FTDI Adaptor on Linux and Mac
|
||||
Better Bounds Checking in RideFile::intervalBegin()
|
||||
Forward support in .json for temp/slope
|
||||
Add Virtual Power for 1UP USA bike trainer
|
||||
FitRideFile distance of zero bug
|
||||
Disable roch text in metadata
|
||||
Fix zero speed in TxtRideFile for Imperial units
|
||||
Support TrainerRoad.com TCX Files/Tcx speed in meters/sec The TCX parser ignored samples where distance is
|
||||
Fix crash if TRIMP zones > 5
|
||||
Fix PWX file intervals
|
||||
Fix SEGV on empty/dodgy FIT files
|
||||
|
||||
Mitsukuni Sato (1):
|
||||
Japanese Translation
|
||||
|
||||
Rainer Clasen (8):
|
||||
Added SRM5 file format read support
|
||||
whitespace cleanup
|
||||
fix reading signed values from srm files
|
||||
Fit: ignore unknown message types
|
||||
Fit: support big/little endian data
|
||||
Fit: handle unknown fields gracefully
|
||||
SrmRideFile: turned assertions into graceful fail
|
||||
FitRideFile: turned assertions into graceful fail
|
||||
|
||||
Roberto Massa (1):
|
||||
Italian Translation
|
||||
|
||||
Roderic Campbell (1):
|
||||
There was what looked like a copy paste error. I changed the zone 7 label to the appropriate 7 instead of
|
||||
|
||||
Steven Gribble (1):
|
||||
This patch adds an air density (rho) calculator feature to GoldenCheetah.
|
||||
|
||||
Thomas Irps (1):
|
||||
Portuguese translation
|
||||
|
||||
Tim Shaffer (1):
|
||||
Make the default date range for Performance Manager a user preference.
|
||||
|
||||
kohasa (1):
|
||||
enabled editing interval duration by keyboard.
|
||||
|
||||
lemaitre (1):
|
||||
Updating of the French translation
|
||||
|
||||
unknown (1):
|
||||
This patch correct altitude for TCX files converted from FIT files These files doesn't have altitude for e
|
||||
</pre>
|
||||
</p>
|
||||
1860
doc/web/release-notes_3.0.0.content
Normal file
99
doc/web/release-notes_3.0.1.content
Normal file
@@ -0,0 +1,99 @@
|
||||
<p>
|
||||
<font face="arial,helvetica,sanserif">
|
||||
<big><strong>GoldenCheetah 3.0.1</strong></big>
|
||||
</font>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Full Change Log
|
||||
</p>
|
||||
<pre>
|
||||
$ git checkout release_3.0.0
|
||||
$ git shortlog v3.0-SP1 ^v3.0
|
||||
|
||||
Christian Stade-Schuldt (1):
|
||||
Updated Tacx Satori Virtual Power values
|
||||
|
||||
Damien (16):
|
||||
CsvRideFile: add temperature and hill slope (%) parsing for ibike csv file
|
||||
Bin2RideFile: Changes in Summary pages for Data version 5
|
||||
Bin2RideFile: correct bug for some GPS data
|
||||
JouleDevice: Remove debug lines
|
||||
JouleDevice: Remove debug lines
|
||||
Aerolab: Add a constant altitude option
|
||||
GoogleMap: Little fix
|
||||
ShareDialog 2/3 : For version 3.0.1
|
||||
FitRideFile: Add Calibration Event parsing
|
||||
Correction for release_3.0.0 branch
|
||||
AllPlot: plot references lines
|
||||
OAuthDialog: Remove qDebug()
|
||||
ShareDialog: Manage null error message
|
||||
ShareDialog: Add upload to CyclingAnalytics and SelfLoops
|
||||
FitRideFile: Correction for last Garmin firmware updates In last Garmin firmware there is some (unknow) fields with multi
|
||||
FitRideFile: - Add Left/Right TorqueEff and Left/Rigth PedalSmooth - Open Truncated file
|
||||
|
||||
Dave Waterworth (2):
|
||||
Fix Tacx Fortius Device Support
|
||||
More Fortius Fixes
|
||||
|
||||
Eric Johnson (1):
|
||||
Use float division when converting wheel size
|
||||
|
||||
G Coco (2):
|
||||
Reinstate Twitter functionality
|
||||
Merge StraveDialog and RideWithGPSDialog
|
||||
|
||||
Gareth Coco (3):
|
||||
Website updates for Version 3.0 (cherry picked from commit fb339a527b7937ef8141b90af81cd2fd8017f891)
|
||||
assert cleanup
|
||||
Update translation source files
|
||||
|
||||
Jaime (1):
|
||||
Work around to ensure controller key presses aren't missed. Borrowed from Fortius.cpp
|
||||
|
||||
Jon Escombe (3):
|
||||
Detach kernel driver before claiming USB2 ANT+ interface.
|
||||
Don't reset ANT channel settings on search timeout
|
||||
Don't reset ANT channel settings on search timeout
|
||||
|
||||
Mark Liversedge (18):
|
||||
Fixup Fit File issue
|
||||
Fix PWX export SEGV
|
||||
Deprecate Strava Support
|
||||
Fix allplot crash on daft power value
|
||||
Recognise Dave Waterworth
|
||||
Merge pull request #694 from gcoco/release_3.0.0
|
||||
Truncate Altitude values
|
||||
Interval Summary Off By 1 Error
|
||||
Add /dev/cu.usbserial as a serial device
|
||||
Merge pull request #713 from gcoco/qwt-fix
|
||||
V3.0 SP1 RC1 Update
|
||||
Fix LC_LOCALE on Xcode 5
|
||||
Fix findBests when no speed/gps
|
||||
Merge branch 'release_3.0.0' of https://github.com/GoldenCheetah/GoldenCheetah into release_3.0.0
|
||||
Batch Export remembers last format/dir
|
||||
Fix 3d grid when users specify background colors
|
||||
Fix SEGV if metric not available
|
||||
V3.1 SP1 (3.0.1) released
|
||||
|
||||
Rainer Clasen (9):
|
||||
SrmDevice: fix writing srmio data
|
||||
inlude srmio version + commit in about dialog
|
||||
make srmio details in version dialog conditionally
|
||||
Tcx: fix speed in summary information
|
||||
fix PWX export: handle end of gaps gracefully.
|
||||
fix PWX export: always write summarydata
|
||||
PWX export: keep timestamp + distance precision
|
||||
PWX: read/write temperature
|
||||
use pwx for Trainingstagebuch upload
|
||||
|
||||
Walter Bürki (1):
|
||||
adding hr,cad,power,temp of Suunto Ambit gpx files
|
||||
|
||||
gcoco (5):
|
||||
Support Twitter API 1.1
|
||||
Twitter API change
|
||||
Kurt Kinetic Road Machine PowerCurve fix
|
||||
Get rid of qwt compile error about format string.
|
||||
Add Garmin Forerunner 910XT
|
||||
</pre>
|
||||
@@ -3,6 +3,12 @@
|
||||
<p>
|
||||
<center>
|
||||
|
||||
<p>
|
||||
<h2><font face="arial,helvetica,sanserif">
|
||||
Version 2.1.0
|
||||
</font></h2>
|
||||
<p>
|
||||
|
||||
<p>
|
||||
<big><font face="arial,helvetica,sanserif">
|
||||
Ride Summary
|
||||
|
||||
@@ -1,12 +1,24 @@
|
||||
<!-- $Id: users-guide.content,v 1.5 2006/05/27 16:32:46 GoldenCheetah Exp $ -->
|
||||
<h2><font face="arial,helvetica,sanserif">Version 3.0</font></h2>
|
||||
|
||||
<p>
|
||||
Please dowload the <a href="https://github.com/GoldenCheetah/GoldenCheetah/blob/master/doc/user/GC3-Manual.pdf?raw=true">Manual</a>
|
||||
for great information on how to use all the functions in Golden Cheetah.
|
||||
</p>
|
||||
<p>
|
||||
You can also see a list of
|
||||
<a href="https://github.com/GoldenCheetah/GoldenCheetah/blob/master/doc/user/GC3-FAQ.pdf?raw=true">Frequently Asked Questions (FAQ)</a>.
|
||||
</p>
|
||||
<p>
|
||||
Note that more detailed information is often available on the
|
||||
<a href ="wiki.html">
|
||||
Golden Cheetah Wiki</a>.
|
||||
|
||||
<h2><font face="arial,helvetica,sanserif">Version 2.1</font></h2>
|
||||
|
||||
<p>
|
||||
What follows is a brief step-by-step guide to installing and setting up
|
||||
Golden Cheetah.
|
||||
Golden Cheetah Version 2.1.0.
|
||||
|
||||
<p>
|
||||
<big><font face="arial,helvetica,sanserif">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
infile(config.pri, SOLUTIONS_LIBRARY, yes): CONFIG += qtsoap-uselib
|
||||
exists(config.pri):infile(config.pri, SOLUTIONS_LIBRARY, yes): CONFIG += qtsoap-uselib
|
||||
TEMPLATE += fakelib
|
||||
QTSOAP_LIBNAME = $$qtLibraryTarget(QtSolutions_SOAP-2.7)
|
||||
TEMPLATE -= fakelib
|
||||
|
||||
291
qtsolutions/json/mvjson.cpp
Normal file
@@ -0,0 +1,291 @@
|
||||
/*
|
||||
*
|
||||
* Compact JSON format parsing lib (native cross-platform c++)
|
||||
*
|
||||
* Copyright (C) 2013 Victor Laskin (victor.laskin@gmail.com)
|
||||
* Details: http://vitiy.info/?p=102
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
* 3. The names of the authors may not be used to endorse or promote
|
||||
* products derived from this software without specific prior
|
||||
* written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
|
||||
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
||||
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
||||
* IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "mvjson.h"
|
||||
|
||||
MVJSONReader::MVJSONReader(const string & source) {
|
||||
root = parse(source);
|
||||
}
|
||||
|
||||
MVJSONReader::~MVJSONReader() {
|
||||
if (root != NULL)
|
||||
delete root;
|
||||
}
|
||||
|
||||
MVJSONNode::~MVJSONNode() {
|
||||
if (values.size() > 0)
|
||||
for (size_t i = 0; i < values.size(); i++)
|
||||
delete values.at(i);
|
||||
}
|
||||
|
||||
|
||||
|
||||
MVJSONNode* MVJSONReader::parse(string text)
|
||||
{
|
||||
string s = trim(text);
|
||||
if (s.length() < 2) return NULL;
|
||||
|
||||
// object
|
||||
if ((s[0] == '{') && (s[s.length() - 1] == '}'))
|
||||
{
|
||||
// erase last and first symbols
|
||||
s.erase(0, 1);
|
||||
s.erase(s.length() - 1, 1);
|
||||
|
||||
vector<string> parts;
|
||||
splitList(s, parts);
|
||||
|
||||
MVJSONNode* node = new MVJSONNode();
|
||||
|
||||
for (size_t i = 0; i < parts.size(); i++)
|
||||
node->values.push_back(parseValue(parts.at(i), false));
|
||||
|
||||
return node;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
MVJSONValue* MVJSONReader::parseValue(string text, bool hasNoName)
|
||||
{
|
||||
string key;
|
||||
string s;
|
||||
splitInHalf(text, ":", key, s);
|
||||
key = trim(key);
|
||||
s = trim(s);
|
||||
if (key.length() > 2)
|
||||
{
|
||||
// strip "
|
||||
key.erase(0, 1);
|
||||
key.erase(key.length() - 1, 1);
|
||||
}
|
||||
|
||||
if (hasNoName)
|
||||
{
|
||||
s = text;
|
||||
key = "";
|
||||
}
|
||||
|
||||
|
||||
if (s == "false") // bool
|
||||
return new MVJSONValue(key, false);
|
||||
|
||||
if (s == "true") // bool
|
||||
return new MVJSONValue(key, true);
|
||||
|
||||
if (s == "null") // null
|
||||
return new MVJSONValue(key, MVJSON_TYPE_NULL);
|
||||
|
||||
char first = s[0];
|
||||
|
||||
if (first == '"') // string
|
||||
return new MVJSONValue(key, s.substr(1, s.length() - 2));
|
||||
|
||||
if (first == '{') // object
|
||||
return new MVJSONValue(key, parse(s));
|
||||
|
||||
if (first == '[') // array
|
||||
{
|
||||
s.erase(0, 1);
|
||||
s.erase(s.length() - 1, 1);
|
||||
vector<string> parts;
|
||||
splitList(s, parts);
|
||||
|
||||
MVJSONValue* val = new MVJSONValue(key, MVJSON_TYPE_ARRAY);
|
||||
for (size_t i = 0; i < parts.size(); i++)
|
||||
val->arrayValue.push_back(parseValue(parts.at(i), true));
|
||||
return val;
|
||||
}
|
||||
|
||||
// else its number!
|
||||
if (s.find(".") == string::npos)
|
||||
return new MVJSONValue(key, stringToInt(s));
|
||||
else
|
||||
return new MVJSONValue(key, stringToDouble(s));
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
MVJSONValue::~MVJSONValue()
|
||||
{
|
||||
if (objValue != NULL)
|
||||
delete objValue;
|
||||
if (arrayValue.size() > 0)
|
||||
for (size_t i = 0; i < arrayValue.size(); i++)
|
||||
delete arrayValue.at(i);
|
||||
}
|
||||
|
||||
void MVJSONValue::init(MVJSON_TYPE valueType)
|
||||
{
|
||||
this->valueType = valueType;
|
||||
objValue = NULL;
|
||||
name = "";
|
||||
}
|
||||
|
||||
MVJSONValue::MVJSONValue(string name, MVJSON_TYPE valueType)
|
||||
{
|
||||
init(valueType);
|
||||
this->name = name;
|
||||
}
|
||||
|
||||
MVJSONValue::MVJSONValue(string name, bool value)
|
||||
{
|
||||
init(MVJSON_TYPE_BOOL);
|
||||
this->name = name;
|
||||
boolValue = value;
|
||||
}
|
||||
|
||||
MVJSONValue::MVJSONValue(string name, string value)
|
||||
{
|
||||
init(MVJSON_TYPE_STRING);
|
||||
this->name = name;
|
||||
|
||||
stringValue = value;
|
||||
|
||||
// here we switch back special chars
|
||||
// \" \\ \/ \b \f \n \r \t \u four-hex-digits
|
||||
//replace(stringValue, "\\\"", "\"");
|
||||
//replace(stringValue, "\\\\", "\\");
|
||||
//replace(stringValue, "\\/", "/");
|
||||
//replace(stringValue, "\\b", "\b");
|
||||
//replace(stringValue, "\\f", "\f");
|
||||
//replace(stringValue, "\\n", "\n");
|
||||
//replace(stringValue, "\\r", "\r");
|
||||
//replace(stringValue, "\\t", "\t");
|
||||
|
||||
// TODO - \u four-hex-digits
|
||||
// SS::replace(stringValue, "\\\\", "\\");
|
||||
|
||||
}
|
||||
|
||||
MVJSONValue::MVJSONValue(string name, int value)
|
||||
{
|
||||
init(MVJSON_TYPE_INT);
|
||||
this->name = name;
|
||||
intValue = value;
|
||||
}
|
||||
|
||||
MVJSONValue::MVJSONValue(string name, double value)
|
||||
{
|
||||
init(MVJSON_TYPE_DOUBLE);
|
||||
this->name = name;
|
||||
doubleValue = value;
|
||||
}
|
||||
|
||||
MVJSONValue::MVJSONValue(string name, MVJSONNode* value)
|
||||
{
|
||||
init(MVJSON_TYPE_OBJECT);
|
||||
this->name = name;
|
||||
objValue = value;
|
||||
}
|
||||
|
||||
bool MVJSONNode::hasField(string name)
|
||||
{
|
||||
if (values.size() == 0) return false;
|
||||
for (size_t i = 0; i < values.size(); i++)
|
||||
if (values.at(i)->name == name)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
MVJSONValue* MVJSONNode::getField(string name)
|
||||
{
|
||||
if (values.size() == 0) return NULL;
|
||||
for (size_t i = 0; i < values.size(); i++)
|
||||
if (values.at(i)->name == name)
|
||||
return values.at(i);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
double MVJSONNode::getFieldDouble(string name)
|
||||
{
|
||||
MVJSONValue* value = getField(name);
|
||||
if (value == NULL) return 0;
|
||||
if (value->valueType == MVJSON_TYPE_INT) return value->intValue;
|
||||
if (value->valueType == MVJSON_TYPE_DOUBLE) return value->doubleValue;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int MVJSONNode::getFieldInt(string name)
|
||||
{
|
||||
MVJSONValue* value = getField(name);
|
||||
if (value == NULL) return 0;
|
||||
if (value->valueType == MVJSON_TYPE_INT) return value->intValue;
|
||||
return 0;
|
||||
}
|
||||
|
||||
string MVJSONNode::getFieldString(string name)
|
||||
{
|
||||
MVJSONValue* value = getField(name);
|
||||
if (value == NULL) return "";
|
||||
if (value->valueType == MVJSON_TYPE_STRING) return value->stringValue;
|
||||
return "";
|
||||
}
|
||||
|
||||
bool MVJSONNode::getFieldBool(string name)
|
||||
{
|
||||
MVJSONValue* value = getField(name);
|
||||
if (value == NULL) return false;
|
||||
if (value->valueType == MVJSON_TYPE_INT) return (bool)value->intValue;
|
||||
if (value->valueType == MVJSON_TYPE_BOOL) return value->boolValue;
|
||||
return false;
|
||||
}
|
||||
|
||||
double MVJSONValue::getFieldDouble(string name)
|
||||
{
|
||||
if (objValue == NULL) return 0;
|
||||
return objValue->getFieldDouble(name);
|
||||
}
|
||||
|
||||
int MVJSONValue::getFieldInt(string name)
|
||||
{
|
||||
if (objValue == NULL) return 0;
|
||||
return objValue->getFieldInt(name);
|
||||
}
|
||||
|
||||
string MVJSONValue::getFieldString(string name)
|
||||
{
|
||||
if (objValue == NULL) return "";
|
||||
return objValue->getFieldString(name);
|
||||
}
|
||||
|
||||
bool MVJSONValue::getFieldBool(string name)
|
||||
{
|
||||
if (objValue == NULL) return false;
|
||||
return objValue->getFieldBool(name);
|
||||
}
|
||||
255
qtsolutions/json/mvjson.h
Normal file
@@ -0,0 +1,255 @@
|
||||
/*
|
||||
*
|
||||
* Compact JSON format parsing lib (native cross-platform c++)
|
||||
*
|
||||
* Copyright (C) 2013 Victor Laskin (victor.laskin@gmail.com)
|
||||
* Details: http://vitiy.info/?p=102
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
* 3. The names of the authors may not be used to endorse or promote
|
||||
* products derived from this software without specific prior
|
||||
* written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
|
||||
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
||||
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
||||
* IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifndef MVJSON_H_
|
||||
#define MVJSON_H_
|
||||
|
||||
using namespace std;
|
||||
|
||||
/// JSON node types
|
||||
enum MVJSON_TYPE
|
||||
{
|
||||
MVJSON_TYPE_NULL,
|
||||
MVJSON_TYPE_OBJECT,
|
||||
MVJSON_TYPE_ARRAY,
|
||||
MVJSON_TYPE_STRING,
|
||||
MVJSON_TYPE_INT,
|
||||
MVJSON_TYPE_DOUBLE,
|
||||
MVJSON_TYPE_BOOL
|
||||
};
|
||||
|
||||
class MVJSONUtils {
|
||||
protected:
|
||||
|
||||
// string parsing functions
|
||||
inline static int stringToInt(const string & s); ///< convert string to int
|
||||
inline static double stringToDouble(const string & s); ///< convert string to float
|
||||
inline static bool symbolToBeTrimmed(const char& c); ///< check if symbol is space, tab or new line break
|
||||
inline static string trim(const string & text); ///< trim spaces, tabs and line break
|
||||
inline static void replace(string & target, const string & oldStr, const string & newStr); ///< replace all occurrences of substring
|
||||
inline static void splitInHalf(const string & s, const string & separator, string & begin, string & end); ///< second half (output)
|
||||
inline static void splitList(const string & s, vector<string> & parts);
|
||||
};
|
||||
|
||||
|
||||
class MVJSONNode;
|
||||
|
||||
/// JSON Value
|
||||
class MVJSONValue : public MVJSONUtils {
|
||||
public:
|
||||
MVJSONValue(string name, MVJSON_TYPE valueType);
|
||||
MVJSONValue(string name, bool value);
|
||||
MVJSONValue(string name, string value);
|
||||
MVJSONValue(string name, int value);
|
||||
MVJSONValue(string name, double value);
|
||||
MVJSONValue(string name, MVJSONNode* value);
|
||||
virtual ~MVJSONValue();
|
||||
|
||||
string name; ///< value name [optional]
|
||||
MVJSON_TYPE valueType; ///< type of node
|
||||
|
||||
string stringValue; ///< value if data has string type
|
||||
bool boolValue; ///< value if data has bool type
|
||||
int intValue; ///< value if data has int type
|
||||
double doubleValue; ///< value if data has double type
|
||||
MVJSONNode* objValue; ///< value if data has object type
|
||||
|
||||
vector<MVJSONValue*> arrayValue; ///< array of values
|
||||
|
||||
double getFieldDouble(string name); ///< get value of double field of VALUE OBJECT (objValue)
|
||||
int getFieldInt(string name); ///< get value of int field of VALUE OBJECT (objValue)
|
||||
string getFieldString(string name); ///< get value of string field of VALUE OBJECT (objValue)
|
||||
bool getFieldBool(string name); ///< get value of bool field of VALUE OBJECT (objValue)
|
||||
|
||||
inline MVJSONValue* at(unsigned int i){ return arrayValue.at(i); }
|
||||
inline int size() { if (valueType == MVJSON_TYPE_ARRAY) return arrayValue.size(); else return 1; }
|
||||
private:
|
||||
void init(MVJSON_TYPE valueType);
|
||||
};
|
||||
|
||||
/// JSON Node (Object)
|
||||
class MVJSONNode {
|
||||
public:
|
||||
|
||||
virtual ~MVJSONNode();
|
||||
|
||||
vector<MVJSONValue*> values; ///< values (props)
|
||||
|
||||
bool hasField(string name); ///< check that object has field
|
||||
MVJSONValue* getField(string name); ///< get field by name
|
||||
|
||||
double getFieldDouble(string name); ///< get value of double field
|
||||
int getFieldInt(string name); ///< get value of int field
|
||||
string getFieldString(string name); ///< get value of string field
|
||||
bool getFieldBool(string name); ///< get value of bool field
|
||||
};
|
||||
|
||||
/// Compact JSON parser (based on specification: http://www.json.org/)
|
||||
class MVJSONReader : public MVJSONUtils {
|
||||
public:
|
||||
MVJSONReader(const string & source); ///< constructor from json source
|
||||
virtual ~MVJSONReader();
|
||||
|
||||
MVJSONNode* root; ///< root object (if its null - parsing was failed)
|
||||
|
||||
private:
|
||||
MVJSONValue* parseValue(string text, bool hasNoName); ///< parse value
|
||||
MVJSONNode* parse(string text); ///< parse node
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
// ------------------- inlined string processing functions ------------->
|
||||
|
||||
|
||||
inline int MVJSONUtils::stringToInt(const string & s)
|
||||
{
|
||||
return atoi(s.c_str());
|
||||
}
|
||||
|
||||
|
||||
inline double MVJSONUtils::stringToDouble(const string & s)
|
||||
{
|
||||
return atof(s.c_str());
|
||||
}
|
||||
|
||||
|
||||
inline bool MVJSONUtils::symbolToBeTrimmed(const char& c ///< the char to test
|
||||
)
|
||||
{
|
||||
if (c == ' ') return true;
|
||||
if (c == '\n') return true;
|
||||
if (c == '\r') return true;
|
||||
if (c == '\t') return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
inline string MVJSONUtils::trim(const string & text ///< the text to trim
|
||||
)
|
||||
{
|
||||
if (text.length() == 0) return "";
|
||||
size_t start = 0;
|
||||
while ((start < text.length()) && (symbolToBeTrimmed(text[start]))) start++;
|
||||
size_t end = text.length() - 1;
|
||||
while ((end > 0) && (symbolToBeTrimmed(text[end]))) end--;
|
||||
if (start > end) return "";
|
||||
|
||||
return text.substr(start, end - start + 1);
|
||||
}
|
||||
|
||||
inline void MVJSONUtils::splitInHalf(const string & s, ///< source string to split up
|
||||
const string & separator, ///< separator string)
|
||||
string & begin, ///< first part (output)
|
||||
string & end ///< second half (output)
|
||||
)
|
||||
{
|
||||
size_t pos = s.find(separator);
|
||||
if (pos == string::npos) { begin = s; end = ""; return; }
|
||||
|
||||
begin = s.substr(0, pos);
|
||||
end = s.substr(pos + separator.length(), s.length() - pos - separator.length());
|
||||
}
|
||||
|
||||
/// split string by "," - ignore content inside of "{", "}", "[", "]" and quotations "...."
|
||||
/// also take \" into account
|
||||
/// (Code should be cleared of comments beforehand)
|
||||
inline void MVJSONUtils::splitList(const string & s, ///< string to be splitted
|
||||
vector<string> & parts ///< result parts
|
||||
)
|
||||
{
|
||||
|
||||
bool isNotInQuotes = true;
|
||||
int b1 = 0;
|
||||
int b2 = 0;
|
||||
int lastPos = 0;
|
||||
|
||||
const char* start = s.c_str();
|
||||
const char* ps = start;
|
||||
|
||||
while (*ps) // *ps != 0
|
||||
{
|
||||
if ((*ps == ',') && (isNotInQuotes) && (b1 == 0) && (b2 == 0))
|
||||
{
|
||||
parts.push_back(s.substr(lastPos, ps - start - lastPos));
|
||||
lastPos = ps - start + 1;
|
||||
}
|
||||
|
||||
if (isNotInQuotes)
|
||||
{
|
||||
if (*ps == '{') b1++;
|
||||
if (*ps == '}') b1--;
|
||||
if (*ps == '[') b2++;
|
||||
if (*ps == ']') b2--;
|
||||
}
|
||||
|
||||
if (*ps == '"')
|
||||
{
|
||||
isNotInQuotes = !isNotInQuotes;
|
||||
if (ps != start)
|
||||
if (*(ps-1) == '\\')
|
||||
isNotInQuotes = !isNotInQuotes;
|
||||
}
|
||||
|
||||
ps++;
|
||||
}
|
||||
|
||||
parts.push_back(s.substr(lastPos, s.length() - lastPos));
|
||||
}
|
||||
|
||||
inline void MVJSONUtils::replace(string & target, ///< text to be modified
|
||||
const string & oldStr, ///< old string
|
||||
const string & newStr ///< new string
|
||||
)
|
||||
{
|
||||
size_t pos = 0;
|
||||
unsigned int oldLen = oldStr.length();
|
||||
unsigned int newLen = newStr.length();
|
||||
|
||||
for (;;)
|
||||
{
|
||||
pos = target.find(oldStr, pos);
|
||||
if (pos == string::npos) break;
|
||||
target.replace(pos, oldLen, newStr);
|
||||
pos += newLen;
|
||||
}
|
||||
}
|
||||
#endif /* MVJSON_H_ */
|
||||
@@ -1,10 +1,10 @@
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtGui/QMenu>
|
||||
#include <QtGui/QPainter>
|
||||
#include <QtGui/QStyleOption>
|
||||
#include <QtGui/QMouseEvent>
|
||||
#include <QtCore/QDebug>
|
||||
#include <QtGui/QPixmapCache>
|
||||
#include <QIcon>
|
||||
#include <QMenu>
|
||||
#include <QPainter>
|
||||
#include <QStyleOption>
|
||||
#include <QMouseEvent>
|
||||
#include <QDebug>
|
||||
#include <QPixmapCache>
|
||||
|
||||
#include "qtsegmentcontrol.h"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
A whole bunch of stuff here.
|
||||
*/
|
||||
|
||||
#include <QtGui/QWidget>
|
||||
#include <QWidget>
|
||||
class QMenu;
|
||||
class QStyleOption;
|
||||
|
||||
|
||||
@@ -3147,7 +3147,7 @@ void QtSoapHttpTransport::submitRequest(QtSoapMessage &request, const QString &p
|
||||
{
|
||||
QNetworkRequest networkReq;
|
||||
networkReq.setHeader(QNetworkRequest::ContentTypeHeader, QLatin1String("text/xml;charset=utf-8"));
|
||||
networkReq.setRawHeader("SOAPAction", soapAction.toAscii());
|
||||
networkReq.setRawHeader("SOAPAction", soapAction.toLatin1());
|
||||
url.setPath(path);
|
||||
networkReq.setUrl(url);
|
||||
|
||||
|
||||
6
qwt/.gitignore
vendored
@@ -1,6 +0,0 @@
|
||||
lib
|
||||
qwtconfig.pri
|
||||
*.so
|
||||
moc*.cpp
|
||||
*.obj
|
||||
*.o
|
||||
510
qwt/CHANGES
@@ -1,510 +0,0 @@
|
||||
Release 6.0.1
|
||||
===================
|
||||
|
||||
Changes
|
||||
-------
|
||||
1) Incompatibilities with Qt < 4.6.1 fixed
|
||||
2) Reduce warnings with pedantic compiler options
|
||||
3) Examples fixed
|
||||
4) Legend identifiers of with symbol and line fixed
|
||||
|
||||
Release 6.0.0
|
||||
===================
|
||||
|
||||
Changes
|
||||
-------
|
||||
1) Qt3 support dropped
|
||||
2) QwtPlot layout/render code ported from int to double
|
||||
Exported/printed documents in scalable formats like SVG or PDF
|
||||
are 100% scalable now.
|
||||
3) Template base classes introduced for curve and curve data
|
||||
to be reusable in all plot items displaying series of samples.
|
||||
4) New plot items
|
||||
- QwtPlotHistogram
|
||||
- QwtPlotIntervalCurve ( error bars or displaying the area between 2 curves )
|
||||
- QwtPlotSpectroCurve ( mapping the z value to a color )
|
||||
5) Raster items
|
||||
- QwtMatrixRasterData introduced
|
||||
- More accurate rendering
|
||||
- Several API changes
|
||||
- Thread support for rendering spectrograms
|
||||
6) QwtPlot::print moved to QwtPlotRenderer
|
||||
7) Other new classes
|
||||
QwtColumnSymbol
|
||||
QwtDoublePoint3D
|
||||
QwtIntervalSymbol
|
||||
QwtPlotDirectPainter
|
||||
QwtSamplingThread
|
||||
QwtSystemClock
|
||||
8) QwtPicker and friends reorganized,
|
||||
QwtPickerTrackerMachine added for displaying a rubberband for
|
||||
mouse moves. Enter/Leave added to events, that are handled
|
||||
by the picker machines.
|
||||
9) QwtScaleWidget::LayoutFlag added
|
||||
Introduced to control the direction of vertical axis titles.
|
||||
10)QwtWeedingCurveFitter added
|
||||
QwtWeedingCurveFitter is an implementation of the Douglas/Peuker
|
||||
algorithm, that can be used to reduce the number of curve points.
|
||||
It can be very useful to improve the performance of painting
|
||||
curves of many lines ( f.e. by implementing different level of details ).
|
||||
11)Legend code update for representing different pixmaps for different
|
||||
types of plot items.
|
||||
12)Copy operators removed, using pointers instead
|
||||
13)QwtPolarPoint from qwtpolar added
|
||||
14)QwtThermo
|
||||
Optional QwtColorMaps added
|
||||
15)Interfaces and code of all sliders/dials cleaned up.
|
||||
QApplication::globalStrut(), styled backgrounds ...
|
||||
|
||||
|
||||
Release 5.2.2
|
||||
===================
|
||||
|
||||
Bug Fixes
|
||||
---------
|
||||
1) QwtSplineCurveFitter
|
||||
Rounding to integers values removed
|
||||
2) QwtPlot
|
||||
initial size of 200x200
|
||||
3) QwtPlotPrintFilter, QwtPlot::print
|
||||
handling of background color in QwtPlot::print
|
||||
4) QwtPlotPrintFilter
|
||||
Problem with colored plot titles fixed
|
||||
5) QwtPlotItem
|
||||
Crash fixed, when changing the z order of attached items
|
||||
6) QwtLinearScaleEngine, QwtLog10ScaleEngine
|
||||
Several minor fixes
|
||||
|
||||
Release 5.2.1
|
||||
===================
|
||||
|
||||
Bug Fixes
|
||||
---------
|
||||
1) Export declarations removed from qwt_valuelist.h to avoid
|
||||
compiler errors with Qt 4.6 + certain compilers on Windows.
|
||||
2) QwtScaleDraw
|
||||
Wrong border dist hints for unregular scale divisions fixed
|
||||
Layout calculation for the tick labels fixed.
|
||||
The layout was wrong by 1 pixel for top/left/bottom axes.
|
||||
On a left axis without a title the labels were sometimes cut off.
|
||||
3) QwtPainter
|
||||
Splits polylines for all pens to avoid a bottleneck of the
|
||||
raster paint engine.
|
||||
4) QwtScaleWidget
|
||||
Calculation of the colorbar position fixed ( spacing/margin )
|
||||
5) QwtPlotCurve
|
||||
Wrong clipping rect fixed
|
||||
6) QwtPicker
|
||||
QwtPicker::setTrackerFont() fixed.
|
||||
Recursion on the Mac, when constructing the rubberband fixed.
|
||||
Workaround for a Qt3 bug added that is responsible for left aligning
|
||||
all tracker texts to the canvas.
|
||||
|
||||
Changes
|
||||
-------
|
||||
1) Project files adopted for symbian
|
||||
2) qwt.pro
|
||||
CONFIG += ordered added for using make -j
|
||||
CONFIG += silent added
|
||||
|
||||
Release 5.2.0
|
||||
===================
|
||||
|
||||
Changes
|
||||
-------
|
||||
1) Ported to Qt 4.5.x
|
||||
2) Scaling of non cosmetic pens (for printing to devices in high resolution)
|
||||
3) Clipping of polygons for SVG rendering
|
||||
4) QwtRect removed
|
||||
use QwtClipper instead
|
||||
5) QwtPlotRescaler
|
||||
Introduced
|
||||
6) QwtDoubleInterval
|
||||
BorderMode introduced
|
||||
7) QwtPlotCurve
|
||||
Performance of incremental curve painting ( = draw(from, to) ) improved.
|
||||
8) QwtLegendItem
|
||||
setIdentfierMode renamed to setIdentifierMode
|
||||
9) QwtPlotCanvas::replot() introduced
|
||||
code from QwtPlot::replot shifted
|
||||
10)QwtPlot
|
||||
drawCanvas(), updateAxes() changed from protected to public
|
||||
11)QwtScaleEngine
|
||||
loMargin/hiMargin renamed to lowerMargin/upperMargin
|
||||
12)QwtScaleDiv
|
||||
lBound/hBound renamed to lowerBound/upperBound
|
||||
13)QwtSpline
|
||||
cofficientA/B/C introduced
|
||||
14)QwtDial
|
||||
counter clockwise scales introduced
|
||||
15)QwtPlotMarker
|
||||
Vertical text labels
|
||||
16)doc/qwt-5.2.0.qch added foe browsing the Qwt docs in the Qt assistant
|
||||
|
||||
Bug Fixes
|
||||
---------
|
||||
1) QwtLinearScaleEngine
|
||||
Rounding problems fixed
|
||||
2) Again some print layout problems fixed
|
||||
3) QwtPlotScaleItem: 1 pixel offset fixed
|
||||
4) QwtPlotSpectrogram, clipping of contour lines
|
||||
against the bounding rect
|
||||
5) QwtPlotZoomer::setZoomStack for stacks with unlimited depth
|
||||
6) Printing of rotated tick labels
|
||||
|
||||
|
||||
Release 5.1.1
|
||||
===================
|
||||
|
||||
Bug Fixes
|
||||
---------
|
||||
1) Several compiler incompatibilities fixed
|
||||
2) DBL_EPSILON removed
|
||||
Using DBL_EPSILON in the calculations of the dials/sliders and the
|
||||
scale engines leads to problems with the inaccuracy of floating points.
|
||||
The behaviour has been reverted to 5.0.x.
|
||||
3) QwtSlider/QwtKnob
|
||||
setScaleDraw() fixed.
|
||||
4) QwtRect
|
||||
Pointless private declaration removed
|
||||
|
||||
Release 5.1.0
|
||||
===================
|
||||
|
||||
Changes
|
||||
-------
|
||||
1) QwtSymbol::copy introduced
|
||||
Now it is possible to use derived symbol classes for curves
|
||||
2) QwtPlotScaleItem introduced
|
||||
A new type of plot item for displaying axes on the canvas
|
||||
3) QwtClipper added
|
||||
A collection of clipping algos
|
||||
4) Using DBL_EPSILON
|
||||
This change allows smaller intervals for sliders/dials
|
||||
5) QwtPanner
|
||||
setOrientation() added.
|
||||
6) QwtPlot
|
||||
axisStepSize() added
|
||||
clear is virtual now
|
||||
7) QwtPlotPrintFilter
|
||||
PrintCanvasBackground splitted into PrintBackground, PrintFrameWithScales
|
||||
8) QwtPlotZoomer
|
||||
setZoomStack() added
|
||||
9) Changes for the QwtPolar package
|
||||
QwtLegendItemManager introduced
|
||||
QwtMagnifier introduced
|
||||
10)Suffix rules added in qwtconfig.pri for different targets for
|
||||
debug/release builds.
|
||||
|
||||
Bug Fixes
|
||||
---------
|
||||
1. QwtAbstractScaleDraw::setAbstractScaleDraw
|
||||
Reinitialization problem fixed
|
||||
2. QwtLegendItem
|
||||
key event handlers fixed
|
||||
3. QwtPicker
|
||||
solaris-cc compiler problem fixed
|
||||
4. Inaccurate mapping of scale to widget coordinates fixed
|
||||
5. QwtPlotCurve::draw
|
||||
Updates for Qt 4.3 added
|
||||
6. QwtPlotLayout
|
||||
AlignToCanvas layout calculation fixed
|
||||
7. QwtPlot::print
|
||||
Workaround for a QPen initialization problem,
|
||||
when printing to Pdf, added
|
||||
8. QwtText
|
||||
Layout of rich text documents fixed
|
||||
9. Designer
|
||||
Handling of QwtScaleWidget fixed
|
||||
10. realtime example
|
||||
Qt::WA_PaintOutsidePaintEvent added, ScrollZoomer fixed
|
||||
11. Several others I have forgotten
|
||||
|
||||
Release 5.0.2
|
||||
===================
|
||||
|
||||
Bug Fixes
|
||||
---------
|
||||
1. QwtPlotCurve::Xfy curve type fixed
|
||||
2. Memory leak in QwtLegend fixed
|
||||
3. Vertical alignment of rich texts fixed
|
||||
4. Workaround for a Qt4 bug added, that produces horrible performance
|
||||
when painting curves with a pen width > 1.
|
||||
5. Background for the tracker text of QwtPickers fixed.
|
||||
Improved (faster + better rendered texts) implementation of
|
||||
painting tracker texts, using capabilities of Qt >= 4.3.
|
||||
6. QwtArrowButton/QwtCounter: workaround for layout bug ( Qt < 4.3 )
|
||||
of the Cleanlook style added.
|
||||
7. A couple of minor fixes
|
||||
|
||||
Changes
|
||||
-------
|
||||
1. QSvgGenerator added to the bode example
|
||||
|
||||
Release 5.0.1
|
||||
===================
|
||||
|
||||
Changes
|
||||
-------
|
||||
1. A couple of problems, when building Qwt fixed.
|
||||
2. Displaying Rich Text with Qt 4.x fixed
|
||||
|
||||
Release 5.0.0
|
||||
===================
|
||||
|
||||
Platforms
|
||||
---------
|
||||
Support of Qt3 and Qt4. Qt2 is not supported any longer.
|
||||
|
||||
Key features
|
||||
------------
|
||||
1. Redesign of plot items. Makes it much easier to develop
|
||||
individual items.
|
||||
2. Redesign of the scale classes. All calculations are
|
||||
collected in scale engines, where the application can
|
||||
implement it´s own (f.e log2, or date scales). Now it´s
|
||||
also possible to have individual and completely irregular scales
|
||||
3. Redesign of the QwtText classes. The MathML renderer of
|
||||
the Qt4 solutions package is embedded.
|
||||
work for all expressions/situations.
|
||||
4. New classes for navigating: QwtPanner, QwtMaginfier
|
||||
5. Spectrogram/Contour plots and other classes for displaying
|
||||
raster data added.
|
||||
|
||||
Changes
|
||||
-------
|
||||
5.0.0 is by far the release with the most changes in the history of Qwt
|
||||
- too many to make list.
|
||||
|
||||
|
||||
Release 4.2.0/0.4.2
|
||||
===================
|
||||
|
||||
License
|
||||
--------
|
||||
A couple of exceptions to the LGPL with the intention to allow static
|
||||
linking with commercial applications. See COPYING.
|
||||
|
||||
Key features:
|
||||
-------------
|
||||
1. Designer plugin
|
||||
2. Rich Text support ( f.e. E = m * c<sup>2</sup> ) added.
|
||||
3. QwtDial class family added (QwtDial, QwtCompass, QwtAnalogClock, ...)
|
||||
4. QwtPicker class family added. Includes QwtPlotZoomer, a complete
|
||||
implementation of recursive zooming.
|
||||
5. Device metrics independent printing of QwtPlot. (QPrinter::HighResolution)
|
||||
6. QwtPlot::setCurveBrush(), QwtCurve::setBrush() added. The area
|
||||
between curve and baseline will be filled with this brush.
|
||||
7. Rotation of axis tick labels added. Very useful for axis with long
|
||||
labels like time scales ...
|
||||
8. Added a new abstract QwtData class to plot data from almost any type of
|
||||
container class.
|
||||
9. QwtDoublePoint, QwtDoubleSize, QwtDoubleRect double counterparts
|
||||
for QPoint, QSize, QRect.
|
||||
10. First steps to support Qtopia. All examples can be compiled and started
|
||||
in the qvfb emulator.
|
||||
|
||||
|
||||
Changes:
|
||||
---------
|
||||
1. Rewrite of QwtLegend/QwtLegendItem (no QTable anymore)
|
||||
2. Each plot item will be painted, even if one of the axis it is
|
||||
attached to is disabled. (like in all other releases beside 0.4.1)
|
||||
3. Code for double buffering moved to a new class QwtPaintBuffer.
|
||||
Double buffering can be enabled/disabled now.
|
||||
4. QwtPainter, QwtMetricsMap, QwtLayoutMetrics added
|
||||
Hide paint device metrics dependencies.
|
||||
5. Layout code rewritten and moved to a new class QwtPlotLayout
|
||||
New layout options canvasMargin(), alignCanvasToScales()
|
||||
6. QwtPlot: sizeHint() != minimumSizeHint()
|
||||
9. Internal plot data are private again. A couple of get methods
|
||||
added instead.
|
||||
10. canvas repaints triggered by paint events. Enables event filtering
|
||||
11. QwtPlot::drawCanvasItems added. In opposite to QwtPlot::drawCanvas
|
||||
it is used by the printing code too.
|
||||
12. qwtMax, qwtMin, qwtInt mapped to QMAX, QMIN, qRound from qglobal.h
|
||||
13. operator= for plot item classes changed.
|
||||
14. readOnly property added for sliders.
|
||||
15. valid flag added for QwtDblRange
|
||||
16. QwtCounter wrap around policy: a counter under- or overflow sets
|
||||
focus to the smallest up/down button and disables counting.
|
||||
A space bar keypress release event re-enables counting.
|
||||
17. QwtPushButton added. A class that adds rich text and alignments
|
||||
features to QPushButton, like they are used in QLabel
|
||||
18. Clipped painting code moved from QwtCurve to QwtPainter/QwtRect
|
||||
19. Canvas cache added to optimize trivial repaints.
|
||||
20. QwtPlot::drawCurve added for incremental curve data
|
||||
21. QwtSliderBase, readOnly, isValid added
|
||||
22. Added filtering of the colors of the title and scales to QwtPrintFilter.
|
||||
23. Support of QT_NO_CAST_ASII and QT_NO_COMPAT added
|
||||
24. Batch file added for generating Visual Studio project files
|
||||
25. QwtPlotCurve, QwtPlotMarker, QwtPlotGrid: more methods public
|
||||
26. QwtPlot::setLegendPosition added
|
||||
27. A lot of changes I don't remember, ... sorry.
|
||||
|
||||
Bugfixes:
|
||||
---------
|
||||
1. Autodetection of painter redirection. QPixmap::grabWidget() works
|
||||
with Qwt Widgets again.
|
||||
2. QwtSlider: Rounding double->int conversions instead of simple casts.
|
||||
3. Bad additional line, connected to the first curve point, when zooming
|
||||
deep, fixed.
|
||||
4. QwtMarker: Painting of symbols with width != height fixed
|
||||
5. QwtPlot::plotMouseXXX/canvasMap pixel coordinates synced.
|
||||
Now both include the canvas frame.
|
||||
6. Layout fixed for QwtScaleDraws without tick labels
|
||||
8. Tab focus chains fixed, focus indications added.
|
||||
9. Support QwtAutoScale::Inverted when autoScale is off also.
|
||||
10. Keyboard control, focus indications added.
|
||||
11. Improved QStyle awareness.
|
||||
12. Printing of plots with disabled axes
|
||||
|
||||
Examples
|
||||
--------
|
||||
1. New example linux/cpustat added. Runs also on non linux boxes
|
||||
with dummy values. Beside showing a couple of features that
|
||||
are new with 0.4.1 and 0.4.2, it shows how to extend and customize
|
||||
a QwtPlots.
|
||||
2. Added new example event_filter to demonstrate event filtering.
|
||||
This example shows how to add additional controls to the scales,
|
||||
how to translate mouse clicks on the scales into signals and
|
||||
how to move points on the canvas.
|
||||
3. realtime example shows how to use scrollbars when zooming
|
||||
|
||||
Release 0.4.1
|
||||
============
|
||||
|
||||
Changes:
|
||||
---------
|
||||
1. Platform independent project files. makefiles directory removed.
|
||||
2. RPM spec file template added.
|
||||
3. __declspec formalism added for Win32 DLLs. Requires
|
||||
'DEFINES += QWT_DLL' in the .pro file.
|
||||
4. QString used for visible texts.
|
||||
5. Code for error curves removed. These type of features should be
|
||||
implemented in derived curve classes.
|
||||
6. A lot of Qt 1.2 related code removed/replaced.
|
||||
7. QwtColorFilter, QwtPixFrame removed. QwtPlotPixFrame renamed
|
||||
to QwtPlotCanvas.
|
||||
8. qmodules.h aware. Skips QwtLegend in case of !QT_MODULE_TABLE
|
||||
9. All Widgets including QwtPlot optimized to reduce flicker
|
||||
during resize/repaint.
|
||||
10. QwtPlot curves/markers can be disabled/enabled to hide/show individual
|
||||
curves without removing the curves from the plot.
|
||||
11. Internal maps removed from QwtCurve. QwtCurve::setMap, QwtCurve::setRect,
|
||||
QwtCurve::setRange removed.
|
||||
|
||||
Feature additions:
|
||||
------------------
|
||||
1. Printing
|
||||
QwtPlot::print prints to any type of QPaintDevice now.
|
||||
Hardcoded printer attributes margin, creator and document title have
|
||||
been removed and must/can be set by the applications now.
|
||||
Printing of background and legends added. QwtColorFilter replaced
|
||||
by QwtPlotPrintFilter.
|
||||
2. Layout
|
||||
Many layout fixes and additions. Now all Widgets behave well in
|
||||
QLayouts and provide sensible sizeHints. QwtPlot::setMargin(int) added.
|
||||
Fieldwidth added for QwtPlot::setAxisFormat for application that need
|
||||
range independent width. Title and axis title are Qt:Alignment aware.
|
||||
Qt::WordBreak or multiline titles are possible.
|
||||
3. Legend
|
||||
En/Disabling of single curves in the legend added.
|
||||
QwtPlot::setAutoLegend added.
|
||||
4. Extensibility
|
||||
QwtPlot::insertCurve + QwtPlot::insertMarker added. Now derived
|
||||
classes of QwtPlotCurve and QwtPlotMarker can be added. Virtual
|
||||
methods provided by QwtPlotCurve for sub-classing.
|
||||
QwtScale::setScaleDraw + QwtPlot::setAxisScaleDraw + some virtual
|
||||
methods for QwtScaleDraw added. Application can implement individual
|
||||
axis labels now.
|
||||
5. Sliders
|
||||
QWheelEvent added. The MouseWheel stepsize is controlled by the
|
||||
Scroll Page Size. QwtWheel::setWheelWidth added. QwtKnob::setSymbol,
|
||||
QwtKnob::symbol added.
|
||||
|
||||
Bugfixes:
|
||||
---------
|
||||
1. Workaround for spontanous curves resulting from overruns
|
||||
when zooming too deep.
|
||||
2. Wrong QColorGroup::ColorRole for background colors fixed.
|
||||
Necessary for several non default QStyles.
|
||||
3. QwtWheel fixed for vertical wheels. Better color support.
|
||||
4. QwtSlider fixed.
|
||||
5. Many forgotten others
|
||||
|
||||
Release 0.4.0
|
||||
============
|
||||
|
||||
Bugfixes:
|
||||
---------
|
||||
1. A few occurences of the boolean literal \c false were changed into macro
|
||||
\c FALSE for cross compiler compatibility.
|
||||
2. A few local variables in member functions were renamed to suppress
|
||||
warnings issued by really picky compilers about global/class variables
|
||||
being hidden.
|
||||
3. In qwt_legend.h, a fully qualified name was used in a class declaration.
|
||||
The HPUX compiler chokes on this (and it's ugly), so it was fixed.
|
||||
4. Macro M_2PI is now only defined is this hasn't already been done by the
|
||||
system's clib.
|
||||
|
||||
Feature additions:
|
||||
------------------
|
||||
1. Qwt now works with Qt3.0. In order to achieve this, QwtLegend now no
|
||||
longer derives from QTableView, but from QTable. This seems to have had
|
||||
quite a few consequences. Kudo's to Uwe Rathmann for uploading this nice
|
||||
fix to the CVS tree.
|
||||
2. Getters for a plot's title and title font have been added.
|
||||
|
||||
Release 0.3.0
|
||||
============
|
||||
|
||||
License:
|
||||
--------
|
||||
1. The license has changed from GPL to LGPL.
|
||||
|
||||
Bugfixes:
|
||||
---------
|
||||
1. The makefiles for win32 caused object files to have extension .o instead of
|
||||
.obj. The 'propagate' file was changed to fix this, using tmake's target
|
||||
platform flag.
|
||||
2. There were problems with rint() on win32 platforms. rint() is a BSD call,
|
||||
not even available on all unices. All calls to rint(x) have been replaced
|
||||
by floor(x+.5).
|
||||
3. Some static class data members were initialized with the value of other
|
||||
static class data members (from Qt). This caused programs depend on the
|
||||
initialization order of class members. This is now fixed by replacing the
|
||||
static properties by static signleton factories.
|
||||
4. When a plot was zoomed and then printed, curves and markers laying outside
|
||||
the plot's scale were still printed. The print() function now uses clipping.
|
||||
|
||||
Feature additions:
|
||||
------------------
|
||||
1. Multi-line plot titles are now supported: the PostScript document name is
|
||||
not the plot title, with "\n" characters replaced by "--". Geometry
|
||||
management has been changed to support multi-line titles.
|
||||
2. In the mailinglist, there were often feature requests for features that
|
||||
were in fact implemented, but not available through QwtPlot's API. Many
|
||||
private members have been made protected or even public, to give users
|
||||
more control. This is poor design, but Qwt will be refactored anyway.
|
||||
3. Qwt always displayed floats with 5 digits. This was insufficient for many
|
||||
applications. QwtPlot, QwtScale, QwtAutoScale got some methods to set the
|
||||
label format. This is a printf like format for the numbers at the scales,
|
||||
consisting of 'f' and a precision, or 'g' and the significance.
|
||||
|
||||
Build system:
|
||||
-------------
|
||||
1. The 'makefiles' directory was removed from the cvs tree, and is now only
|
||||
generated for releases. CVS users should have tmake installed, to generate
|
||||
the makefiles themselves.
|
||||
2. The 'examples' directory now uses tmake's 'subdirs' template, to iterate
|
||||
over all subdirectories and build all examples with one command. There was
|
||||
allready a makefile for this, but now the process is automated by tmake.
|
||||
3. Under unix, the library now gets a proper version number. Current version
|
||||
is 0.3.0.
|
||||
|
||||
Documentation:
|
||||
--------------
|
||||
1. All documentation is converted to the Doxygen documentation system. The
|
||||
release contains two settings files, 'Doxygen' and 'Doxygen.users',
|
||||
generating a developer's and user's manual, respectively.
|
||||
165
qwt/INSTALL
@@ -1,164 +1 @@
|
||||
Introduction
|
||||
============
|
||||
|
||||
Qwt uses qmake to build all its components and examples.
|
||||
qmake is part of a Qt distribution.
|
||||
|
||||
qmake reads project files, that contain the options and rules how to
|
||||
build a certain project. A project file ends with the suffix "*.pro".
|
||||
Files that end with the suffix "*.pri" are included by the project
|
||||
files and contain definitions, that are common for several project files.
|
||||
|
||||
qwtconfig.pri and qwtbuild.pri are read by all project files of the Qwt
|
||||
package. qwtconfig.pri is also read by qwt.prf, when building your
|
||||
application. So the first step is to edit the *.pri files to adjust
|
||||
them to your needs.
|
||||
|
||||
The subdirs template of qmake is known to be buggy when using spaces
|
||||
in path names. So better don't build Qwt below a path name with spaces.
|
||||
( Otherwise you might have to run qmake in all subdirs manually ).
|
||||
|
||||
Documentation
|
||||
==========================
|
||||
|
||||
Qwt includes a class documentation, that is available in various formats:
|
||||
|
||||
- Html files
|
||||
- PDF document
|
||||
- Qt Compressed Help (*.qch ) for the Qt assistant or creator.
|
||||
You can load it "Edit Preferences" -> "Documentation" -> "Add..."
|
||||
- Man pages ( UNIX only )
|
||||
|
||||
Building Qwt
|
||||
==========================
|
||||
|
||||
The easiest way to build Qwt is from the command line - but you insist on
|
||||
using an IDE don't forget the "make install" step.
|
||||
|
||||
A) Unix
|
||||
--------
|
||||
|
||||
qmake
|
||||
make
|
||||
make install
|
||||
|
||||
If you have installed a shared library it's path has to be known to
|
||||
the run-time linker of your operating system. On Linux systems read
|
||||
"man ldconfig" ( or google for it ). Another option is to use
|
||||
the LD_LIBRARY_PATH (on some systems LIBPATH is used instead, on MacOSX
|
||||
it is called DYLD_LIBRARY_PATH) environment variable.
|
||||
|
||||
If you only want to check the Qwt examples without installing something,
|
||||
you can set the LD_LIBRARY_PATH to the lib directory
|
||||
of your local build.
|
||||
|
||||
If you didn't enable autobuilding of the examples in qwtconfig.pri
|
||||
you have to build the examples this way:
|
||||
|
||||
cd examples
|
||||
qmake
|
||||
make
|
||||
|
||||
|
||||
B) Win32/MSVC
|
||||
--------
|
||||
|
||||
Check that your Qt version has been built with MSVC - not with MinGW !
|
||||
|
||||
Please read the qmake documentation how to convert
|
||||
your *.pro files into your development environment.
|
||||
|
||||
F.e MSVC with nmake:
|
||||
qmake qwt.pro
|
||||
nmake
|
||||
nmake install
|
||||
|
||||
If you didn't enable autobuilding of the examples in qwtconfig.pri
|
||||
you have to build the examples this way:
|
||||
|
||||
cd examples
|
||||
qmake examples.pro
|
||||
nmake
|
||||
|
||||
Windows doesn't like mixing of debug and release binaries. Most
|
||||
of the problems with using the Qwt designer plugin are because
|
||||
of trying to load a Qwt debug library into a designer release
|
||||
executable.
|
||||
|
||||
It's not possible to load a plugin, that has been built with MinGW
|
||||
into a Qt Designer/Creator, that has been built with MSVC ( and v.v ).
|
||||
This is a common reason for problems, when working with prebuild
|
||||
binaries of the Qt Creator.
|
||||
|
||||
C) Win32/MinGW
|
||||
--------
|
||||
|
||||
Check that your Qt version has been built with MinGW - not with MSVC !
|
||||
|
||||
Start a Shell, where Qt4 is initialized. ( F.e. with
|
||||
"Programs->Qt by Trolltech ...->Qt 4.x.x Command Prompt" ).
|
||||
Check if you can execute "make" or something like "mingw32-make".
|
||||
|
||||
qmake qwt.pro
|
||||
make
|
||||
make install
|
||||
|
||||
If you didn't enable autobuilding of the examples in qwtconfig.pri
|
||||
you have to build the examples this way:
|
||||
|
||||
cd examples
|
||||
qmake examples.pro
|
||||
make
|
||||
|
||||
Windows doesn't like mixing of debug and release binaries. Most
|
||||
of the problems with using the Qwt designer plugin are because
|
||||
of trying to load a Qwt debug library into a designer release
|
||||
executable.
|
||||
|
||||
Don't forget to tell qmake where to find qwt.prf:
|
||||
qmake -set QMAKEFEATURES ...
|
||||
|
||||
D) MacOSX
|
||||
--------
|
||||
|
||||
Well, the Mac is only another Unix system. So read the instructions in A).
|
||||
|
||||
In the recent Qt4 releases the default target of qmake is to generate
|
||||
XCode project files instead of makefiles. So you might need to do the
|
||||
following:
|
||||
|
||||
qmake -spec macx-g++
|
||||
...
|
||||
|
||||
D) Qt Embedded
|
||||
--------
|
||||
|
||||
I only tested Qwt with Qt Embedded in qvfb (Virtual Framebuffer Devivce)
|
||||
Emulator on my Linux box. To build Qwt for the emulator was as simple as
|
||||
for a regular Unix build.
|
||||
|
||||
F) Symbian
|
||||
--------
|
||||
|
||||
I never tried this platform myself.
|
||||
|
||||
Using Qwt
|
||||
===========
|
||||
|
||||
For building a Qwt application with qmake use the Qwt configuration features
|
||||
file, that has been installed by "make install". When qmake is able to find
|
||||
it ( http://doc.qt.nokia.com/4.7/qmake-advanced-usage.html#adding-new-configuration-features )
|
||||
you can simply add "CONFIG += qwt" to your application project file.
|
||||
|
||||
If you don't use qmake you have to add the include path to find the Qwt
|
||||
headers to your compiler flags and the Qwt library to your linker list.
|
||||
Don't forget to add QWT_DLL to the compiler flags, when you work with a
|
||||
Qwt-DLLs on Windows.
|
||||
|
||||
For using the designer plugin you have to configure the Qt designer/creator
|
||||
where to look for plugins. This can be done by setting the QT_PLUGIN_PATH or
|
||||
using a qt.conf file ( see http://doc.qt.nokia.com/4.7/deployment-plugins.html ).
|
||||
Beside the plugin the Qwt library itsself also needs to be known to the Designer/Creator
|
||||
( see LD_LIBRARY_PATH, PATH ... above ).
|
||||
|
||||
Good luck !
|
||||
see doc/html/qwtinstall.html
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
The Qwt Widget Library
|
||||
----------------------
|
||||
|
||||
Qwt is an extension to the Qt GUI library from Troll Tech AS.
|
||||
Qwt is an extension to the libraries of the Qt Project.
|
||||
|
||||
The Qwt library contains widgets and components which are
|
||||
primarily useful for technical and scientifical purposes.
|
||||
It includes a 2-D plotting widget, different kinds of sliders,
|
||||
|
||||
38
qwt/TODO
Normal file
@@ -0,0 +1,38 @@
|
||||
Qwt TODO list
|
||||
|
||||
Ideas
|
||||
------
|
||||
- Improve Documention
|
||||
- QAbstractModel -> QwtSeriesData
|
||||
- Box/Whisker plot item
|
||||
- QwtSeriesData + functors
|
||||
- QwtSeriesData/QwtPlotCurve + Level of details (Douglas Peucker)
|
||||
- Common zoom stack for all navigation objects
|
||||
- Watermark Item
|
||||
- Contour algorithm for vectors: http://apptree.net/conrec.htm
|
||||
- QwtPlotCanvas rendered via FBO, PBO
|
||||
- Time/Date scale engine
|
||||
- TeX texts
|
||||
- Grid of QwtPlots
|
||||
- Interval scale labels ( between 2 ticks )
|
||||
- More than 4 axes
|
||||
- QwtIntervalSymbol + QPainterPath/...
|
||||
- QwtPlotScene + breaking composite architecture
|
||||
- Using QStaticText for markers ( and scales ? )
|
||||
- Scales/Grid item like in QwtPolarGrid
|
||||
- Container for a 2D matrix
|
||||
- Waterfall plots
|
||||
- transform/invTransform for polygons and lines
|
||||
- cursor item
|
||||
- line marker with a line from the position to the axis
|
||||
- quadtree
|
||||
- QwtText supporting Qt::TextElideMode
|
||||
- Multitouch events
|
||||
- QwtKnob/QwtDial fixed contents size mode
|
||||
- controls ( f.e QwtWheel ) with a very dark palette
|
||||
|
||||
Bugs/Change requests
|
||||
--------------------
|
||||
- Remove QwtScaleTransformation::copy()
|
||||
- Reference value for QwtThermo
|
||||
- Transparent canvas background + backingstore
|
||||
326
qwt/admin/svn2package.sh
Executable file
@@ -0,0 +1,326 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# Generates a Qwt package from sourceforge svn
|
||||
#
|
||||
# Usage: svn2package.sh [-b|--branch <svn-branch>] [packagename]
|
||||
#
|
||||
|
||||
##########################
|
||||
# usage
|
||||
##########################
|
||||
|
||||
function usage() {
|
||||
echo "Usage: $0 [-b|--branch <svn-branch>] [-s|--suffix <suffix>] [-html] [-pdf] [-qch] [packagename]"
|
||||
exit 1
|
||||
}
|
||||
|
||||
################################
|
||||
# checkout
|
||||
################################
|
||||
|
||||
function checkoutQwt() {
|
||||
|
||||
if [ -x $2 ]
|
||||
then
|
||||
rm -r $2
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit $?
|
||||
fi
|
||||
fi
|
||||
|
||||
svn -q co https://svn.code.sf.net/p/qwt/code/$1/$2
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "Can't access sourceforge SVN"
|
||||
exit $?
|
||||
fi
|
||||
|
||||
if [ "$3" != "$2" ]
|
||||
then
|
||||
rm -rf $3
|
||||
mv $2 $3
|
||||
fi
|
||||
}
|
||||
|
||||
##########################
|
||||
# cleanQwt dirname
|
||||
##########################
|
||||
|
||||
function cleanQwt {
|
||||
|
||||
cd $1
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit $?
|
||||
fi
|
||||
|
||||
find . -name .svn -print | xargs rm -r
|
||||
|
||||
rm -f TODO
|
||||
rm -rf admin
|
||||
rm -rf doc/tex
|
||||
|
||||
PROFILES="qwtbuild.pri"
|
||||
for PROFILE in $PROFILES
|
||||
do
|
||||
sed -i -e 's/= debug/= release/' $PROFILE
|
||||
sed -i -e 's/= release_and_release/= debug_and_release/' $PROFILE
|
||||
done
|
||||
|
||||
HEADERS=`find . -type f -name '*.h' -print`
|
||||
SOURCES=`find . -type f -name '*.cpp' -print`
|
||||
PROFILES=`find . -type f -name '*.pro' -print`
|
||||
PRIFILES=`find . -type f -name '*.pri' -print`
|
||||
|
||||
for EXPANDFILE in $HEADERS $SOURCES $PROFILES $PRIFILES
|
||||
do
|
||||
expand -4 $EXPANDFILE > $EXPANDFILE.expand
|
||||
mv $EXPANDFILE.expand $EXPANDFILE
|
||||
done
|
||||
|
||||
for SRCFILE in $SOURCES $PROFILES $PRIFILES
|
||||
do
|
||||
sed -i -e '/#warning/d' $SRCFILE
|
||||
done
|
||||
|
||||
if [ "$SUFFIX" != "" ]
|
||||
then
|
||||
sed -i -e "s/\$\$QWT_VERSION-svn/\$\$QWT_VERSION-$SUFFIX/" qwtconfig.pri
|
||||
sed -i -e "s/\$(QWTVERSION)/$VERSION-$SUFFIX/" doc/install.dox
|
||||
else
|
||||
sed -i -e "s/\$\$QWT_VERSION-svn/\$\$QWT_VERSION/" qwtconfig.pri
|
||||
sed -i -e "s/\$(QWTVERSION)/$VERSION/" doc/install.dox
|
||||
fi
|
||||
|
||||
cd - > /dev/null
|
||||
}
|
||||
|
||||
##########################
|
||||
# createDocs dirname
|
||||
##########################
|
||||
|
||||
function createDocs {
|
||||
|
||||
ODIR=`pwd`
|
||||
|
||||
cd $1
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit $?
|
||||
fi
|
||||
|
||||
if [ "$SUFFIX" != "" ]
|
||||
then
|
||||
export QWTVERSION=$VERSION-$SUFFIX
|
||||
else
|
||||
export QWTVERSION=$VERSION
|
||||
fi
|
||||
cp Doxyfile Doxyfile.doc
|
||||
|
||||
if [ $GENERATE_MAN -ne 0 ]
|
||||
then
|
||||
sed -i -e '/GENERATE_MAN/d' Doxyfile.doc
|
||||
echo 'GENERATE_MAN = YES' >> Doxyfile.doc
|
||||
fi
|
||||
|
||||
if [ $GENERATE_PDF -ne 0 ]
|
||||
then
|
||||
# We need LateX for the qwtdoc.pdf
|
||||
|
||||
sed -i -e '/GENERATE_LATEX/d' -e '/GENERATE_MAN/d' Doxyfile.doc
|
||||
echo 'GENERATE_LATEX = YES' >> Doxyfile.doc
|
||||
echo 'GENERATE_MAN = YES' >> Doxyfile.doc
|
||||
|
||||
# sed -i -e '/INLINE_INHERITED_MEMB/d' Doxyfile.doc
|
||||
# echo 'INLINE_INHERITED_MEMB = NO' >> Doxyfile.doc
|
||||
fi
|
||||
|
||||
if [ $GENERATE_QCH -ne 0 ]
|
||||
then
|
||||
sed -i -e '/GENERATE_QHP/d' Doxyfile.doc
|
||||
echo "GENERATE_QHP = YES" >> Doxyfile.doc
|
||||
fi
|
||||
|
||||
cp ../INSTALL ../COPYING ./
|
||||
|
||||
doxygen Doxyfile.doc > /dev/null 2>&1
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit $?
|
||||
fi
|
||||
|
||||
rm Doxyfile.doc Doxygen.log INSTALL COPYING
|
||||
rm -r images
|
||||
|
||||
if [ $GENERATE_PDF -ne 0 ]
|
||||
then
|
||||
cd latex
|
||||
make > /dev/null 2>&1
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit $?
|
||||
fi
|
||||
|
||||
cd ..
|
||||
mkdir pdf
|
||||
mv latex/refman.pdf pdf/qwtdoc-$VERSION.pdf
|
||||
|
||||
rm -r latex
|
||||
fi
|
||||
|
||||
cd $ODIR
|
||||
}
|
||||
|
||||
##########################
|
||||
# posix2dos filename
|
||||
##########################
|
||||
|
||||
function posix2dos {
|
||||
# At least one unix2dos writes to stdout instead of overwriting the input.
|
||||
# The -q option is always enabled in stdin->stdout mode.
|
||||
unix2dos <$1 >$1.dos
|
||||
mv $1.dos $1
|
||||
}
|
||||
|
||||
##########################
|
||||
# prepare4Win dirname
|
||||
##########################
|
||||
|
||||
function prepare4Win {
|
||||
|
||||
cd $1
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit $?
|
||||
fi
|
||||
|
||||
rm -rf doc/man 2> /dev/null
|
||||
|
||||
# win files, but not uptodate
|
||||
|
||||
BATCHES=`find . -type f -name '*.bat' -print`
|
||||
HEADERS=`find . -type f -name '*.h' -print`
|
||||
SOURCES=`find . -type f -name '*.cpp' -print`
|
||||
PROFILES=`find . -type f -name '*.pro' -print`
|
||||
PRIFILES=`find . -type f -name '*.pri' -print`
|
||||
PRFFILES=`find . -type f -name '*.prf' -print`
|
||||
|
||||
for FILE in $BATCHES $HEADERS $SOURCES $PROFILES $PRIFILES $PRFFILES
|
||||
do
|
||||
posix2dos $FILE
|
||||
done
|
||||
|
||||
cd - > /dev/null
|
||||
}
|
||||
|
||||
##########################
|
||||
# prepare4Unix dirname
|
||||
##########################
|
||||
|
||||
function prepare4Unix {
|
||||
|
||||
cd $1
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit $?
|
||||
fi
|
||||
|
||||
cd - > /dev/null
|
||||
}
|
||||
|
||||
##########################
|
||||
# main
|
||||
##########################
|
||||
|
||||
QWTDIR=
|
||||
SVNDIR=trunk
|
||||
BRANCH=qwt
|
||||
SUFFIX=
|
||||
VERSION=
|
||||
GENERATE_DOC=0
|
||||
GENERATE_PDF=0
|
||||
GENERATE_QCH=0
|
||||
GENERATE_MAN=0
|
||||
|
||||
while [ $# -gt 0 ] ; do
|
||||
case "$1" in
|
||||
-h|--help)
|
||||
usage; exit 1 ;;
|
||||
-b|--branch)
|
||||
shift; SVNDIR=branches; BRANCH=$1; shift;;
|
||||
-s|--suffix)
|
||||
shift; SUFFIX=$1; shift;;
|
||||
-html)
|
||||
GENERATE_DOC=1; shift;;
|
||||
-pdf)
|
||||
GENERATE_DOC=1; GENERATE_PDF=1; shift;;
|
||||
-qch)
|
||||
GENERATE_DOC=1; GENERATE_QCH=1; shift;;
|
||||
*)
|
||||
QWTDIR=qwt-$1 ; VERSION=$1; shift;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ "$QWTDIR" == "" ]
|
||||
then
|
||||
usage
|
||||
exit 2
|
||||
fi
|
||||
|
||||
QWTNAME=$QWTDIR
|
||||
if [ "$SUFFIX" != "" ]
|
||||
then
|
||||
QWTDIR=$QWTDIR-$SUFFIX
|
||||
fi
|
||||
|
||||
TMPDIR=/tmp/$QWTDIR-tmp
|
||||
|
||||
echo -n "checkout to $TMPDIR ... "
|
||||
checkoutQwt $SVNDIR $BRANCH $TMPDIR
|
||||
cleanQwt $TMPDIR
|
||||
echo done
|
||||
|
||||
if [ $GENERATE_DOC -ne 0 ]
|
||||
then
|
||||
echo -n "generate documentation ... "
|
||||
|
||||
export VERSION # used in the doxygen files
|
||||
createDocs $TMPDIR/doc
|
||||
|
||||
if [ $GENERATE_PDF -ne 0 ]
|
||||
then
|
||||
mv $TMPDIR/doc/pdf/qwtdoc-$VERSION.pdf $QWTDIR.pdf
|
||||
rmdir $TMPDIR/doc/pdf
|
||||
fi
|
||||
|
||||
if [ $GENERATE_QCH -ne 0 ]
|
||||
then
|
||||
mv $TMPDIR/doc/html/qwtdoc.qch $QWTDIR.qch
|
||||
fi
|
||||
fi
|
||||
|
||||
echo done
|
||||
|
||||
|
||||
DIR=`pwd`
|
||||
echo -n "create packages in $DIR ... "
|
||||
|
||||
cd /tmp
|
||||
|
||||
rm -rf $QWTDIR
|
||||
cp -a $TMPDIR $QWTDIR
|
||||
prepare4Unix $QWTDIR
|
||||
tar cfj $QWTDIR.tar.bz2 $QWTDIR
|
||||
|
||||
rm -rf $QWTDIR
|
||||
cp -a $TMPDIR $QWTDIR
|
||||
prepare4Win $QWTDIR
|
||||
zip -r $QWTDIR.zip $QWTDIR > /dev/null
|
||||
|
||||
rm -rf $TMPDIR $QWTDIR
|
||||
|
||||
mv $QWTDIR.tar.bz2 $QWTDIR.zip $DIR/
|
||||
echo done
|
||||
|
||||
exit 0
|
||||
@@ -11,37 +11,97 @@ QWT_ROOT = $${PWD}/..
|
||||
|
||||
include ( $${QWT_ROOT}/qwtconfig.pri )
|
||||
include ( $${QWT_ROOT}/qwtbuild.pri )
|
||||
include ( $${QWT_ROOT}/qwtfunctions.pri )
|
||||
|
||||
|
||||
CONFIG( debug_and_release ) {
|
||||
|
||||
# When building debug_and_release the designer plugin is built
|
||||
# for release only. If you want to have a debug version it has to be
|
||||
# done with "CONFIG += debug" only.
|
||||
|
||||
message("debug_and_release: building the Qwt designer plugin in release mode only")
|
||||
|
||||
CONFIG -= debug_and_release
|
||||
CONFIG += release
|
||||
}
|
||||
|
||||
contains(QWT_CONFIG, QwtDesigner) {
|
||||
|
||||
CONFIG += qt designer plugin
|
||||
CONFIG += qt plugin
|
||||
CONFIG += warn_on
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
|
||||
QT += designer
|
||||
}
|
||||
else {
|
||||
|
||||
CONFIG += designer
|
||||
}
|
||||
|
||||
|
||||
TEMPLATE = lib
|
||||
TARGET = qwt_designer_plugin
|
||||
|
||||
DESTDIR = plugins/designer
|
||||
|
||||
INCLUDEPATH += $${QWT_ROOT}/src
|
||||
DEPENDPATH += $${QWT_ROOT}/src
|
||||
|
||||
contains(QWT_CONFIG, QwtFramework) {
|
||||
|
||||
LIBS += -F$${QWT_ROOT}/lib
|
||||
}
|
||||
else {
|
||||
|
||||
LIBS += -L$${QWT_ROOT}/lib
|
||||
}
|
||||
|
||||
IPATH = $${INCLUDEPATH}
|
||||
qtAddLibrary(qwt)
|
||||
INCLUDEPATH = $${IPATH}
|
||||
INCLUDEPATH += $${QWT_ROOT}/src
|
||||
DEPENDPATH += $${QWT_ROOT}/src
|
||||
|
||||
contains(QWT_CONFIG, QwtDll) {
|
||||
|
||||
win32 {
|
||||
DEFINES += QT_DLL QWT_DLL
|
||||
contains(QWT_CONFIG, QwtDesignerSelfContained) {
|
||||
|
||||
QWT_CONFIG += include_src
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
# for linking against a static library the
|
||||
# plugin will be self contained anyway
|
||||
}
|
||||
|
||||
contains(QWT_CONFIG, include_src) {
|
||||
|
||||
# compile all qwt classes into the plugin
|
||||
|
||||
include ( $${QWT_ROOT}/src/src.pri )
|
||||
|
||||
for( header, HEADERS) {
|
||||
QWT_HEADERS += $${QWT_ROOT}/src/$${header}
|
||||
}
|
||||
|
||||
for( source, SOURCES ) {
|
||||
QWT_SOURCES += $${QWT_ROOT}/src/$${source}
|
||||
}
|
||||
|
||||
HEADERS = $${QWT_HEADERS}
|
||||
SOURCES = $${QWT_SOURCES}
|
||||
|
||||
} else {
|
||||
|
||||
# compile the path for finding the Qwt library
|
||||
# into the plugin. Not supported on Windows !
|
||||
|
||||
QMAKE_RPATHDIR *= $${QWT_INSTALL_LIBS}
|
||||
|
||||
contains(QWT_CONFIG, QwtFramework) {
|
||||
|
||||
LIBS += -F$${QWT_ROOT}/lib
|
||||
}
|
||||
else {
|
||||
|
||||
LIBS += -L$${QWT_ROOT}/lib
|
||||
}
|
||||
|
||||
qwtAddLibrary(qwt)
|
||||
|
||||
contains(QWT_CONFIG, QwtDll) {
|
||||
|
||||
win32 {
|
||||
DEFINES += QT_DLL QWT_DLL
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -15,27 +15,28 @@
|
||||
|
||||
using namespace QwtDesignerPlugin;
|
||||
|
||||
PlotDialog::PlotDialog(const QString &properties, QWidget *parent):
|
||||
QDialog(parent)
|
||||
PlotDialog::PlotDialog( const QString &properties, QWidget *parent ):
|
||||
QDialog( parent )
|
||||
{
|
||||
setWindowTitle("Plot Properties");
|
||||
setWindowTitle( "Plot Properties" );
|
||||
|
||||
QLineEdit *lineEdit = new QLineEdit(properties);
|
||||
connect(lineEdit, SIGNAL(textChanged(const QString &)),
|
||||
SIGNAL(edited(const QString &)));
|
||||
QLineEdit *lineEdit = new QLineEdit( properties );
|
||||
connect( lineEdit, SIGNAL( textChanged( const QString & ) ),
|
||||
SIGNAL( edited( const QString & ) ) );
|
||||
|
||||
QTabWidget *tabWidget = new QTabWidget(this);
|
||||
tabWidget->addTab(lineEdit, "General");
|
||||
QTabWidget *tabWidget = new QTabWidget( this );
|
||||
tabWidget->addTab( lineEdit, "General" );
|
||||
|
||||
QPushButton *closeButton = new QPushButton("Close");
|
||||
connect(closeButton, SIGNAL(clicked()), this, SLOT(accept()));
|
||||
QPushButton *closeButton = new QPushButton( "Close" );
|
||||
connect( closeButton, SIGNAL( clicked() ), this, SLOT( accept() ) );
|
||||
|
||||
QHBoxLayout *buttonLayout = new QHBoxLayout;
|
||||
buttonLayout->addStretch(1);
|
||||
buttonLayout->addWidget(closeButton);
|
||||
buttonLayout->addStretch( 1 );
|
||||
buttonLayout->addWidget( closeButton );
|
||||
|
||||
QVBoxLayout *mainLayout = new QVBoxLayout;
|
||||
mainLayout->addWidget(tabWidget);
|
||||
mainLayout->addLayout(buttonLayout);
|
||||
setLayout(mainLayout);
|
||||
mainLayout->addWidget( tabWidget );
|
||||
mainLayout->addLayout( buttonLayout );
|
||||
setLayout( mainLayout );
|
||||
}
|
||||
|
||||
|
||||
@@ -15,16 +15,16 @@
|
||||
namespace QwtDesignerPlugin
|
||||
{
|
||||
|
||||
class PlotDialog: public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
class PlotDialog: public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
PlotDialog(const QString &properties, QWidget *parent = NULL);
|
||||
public:
|
||||
PlotDialog( const QString &properties, QWidget *parent = NULL );
|
||||
|
||||
Q_SIGNALS:
|
||||
void edited(const QString&);
|
||||
};
|
||||
Q_SIGNALS:
|
||||
void edited( const QString& );
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#ifndef NO_QWT_PLOT
|
||||
#include "qwt_designer_plotdialog.h"
|
||||
#include "qwt_plot.h"
|
||||
#include "qwt_plot_canvas.h"
|
||||
#include "qwt_scale_widget.h"
|
||||
#endif
|
||||
|
||||
@@ -34,6 +35,8 @@
|
||||
#include "qwt_thermo.h"
|
||||
#include "qwt_knob.h"
|
||||
#include "qwt_slider.h"
|
||||
#include "qwt_dial.h"
|
||||
#include "qwt_dial_needle.h"
|
||||
#include "qwt_analog_clock.h"
|
||||
#include "qwt_compass.h"
|
||||
#endif
|
||||
@@ -42,9 +45,9 @@
|
||||
|
||||
using namespace QwtDesignerPlugin;
|
||||
|
||||
CustomWidgetInterface::CustomWidgetInterface(QObject *parent):
|
||||
QObject(parent),
|
||||
d_isInitialized(false)
|
||||
CustomWidgetInterface::CustomWidgetInterface( QObject *parent ):
|
||||
QObject( parent ),
|
||||
d_isInitialized( false )
|
||||
{
|
||||
}
|
||||
|
||||
@@ -99,7 +102,7 @@ QString CustomWidgetInterface::whatsThis() const
|
||||
}
|
||||
|
||||
void CustomWidgetInterface::initialize(
|
||||
QDesignerFormEditorInterface *formEditor)
|
||||
QDesignerFormEditorInterface *formEditor )
|
||||
{
|
||||
if ( d_isInitialized )
|
||||
return;
|
||||
@@ -107,8 +110,8 @@ void CustomWidgetInterface::initialize(
|
||||
QExtensionManager *manager = formEditor->extensionManager();
|
||||
if ( manager )
|
||||
{
|
||||
manager->registerExtensions(new TaskMenuFactory(manager),
|
||||
Q_TYPEID(QDesignerTaskMenuExtension));
|
||||
manager->registerExtensions( new TaskMenuFactory( manager ),
|
||||
Q_TYPEID( QDesignerTaskMenuExtension ) );
|
||||
}
|
||||
|
||||
d_isInitialized = true;
|
||||
@@ -116,12 +119,12 @@ void CustomWidgetInterface::initialize(
|
||||
|
||||
#ifndef NO_QWT_PLOT
|
||||
|
||||
PlotInterface::PlotInterface(QObject *parent):
|
||||
CustomWidgetInterface(parent)
|
||||
PlotInterface::PlotInterface( QObject *parent ):
|
||||
CustomWidgetInterface( parent )
|
||||
{
|
||||
d_name = "QwtPlot";
|
||||
d_include = "qwt_plot.h";
|
||||
d_icon = QPixmap(":/pixmaps/qwtplot.png");
|
||||
d_icon = QPixmap( ":/pixmaps/qwtplot.png" );
|
||||
d_domXml =
|
||||
"<widget class=\"QwtPlot\" name=\"qwtPlot\">\n"
|
||||
" <property name=\"geometry\">\n"
|
||||
@@ -135,21 +138,46 @@ PlotInterface::PlotInterface(QObject *parent):
|
||||
"</widget>\n";
|
||||
}
|
||||
|
||||
QWidget *PlotInterface::createWidget(QWidget *parent)
|
||||
QWidget *PlotInterface::createWidget( QWidget *parent )
|
||||
{
|
||||
return new QwtPlot(parent);
|
||||
return new QwtPlot( parent );
|
||||
}
|
||||
|
||||
|
||||
PlotCanvasInterface::PlotCanvasInterface( QObject *parent ):
|
||||
CustomWidgetInterface( parent )
|
||||
{
|
||||
d_name = "QwtPlotCanvas";
|
||||
d_include = "qwt_plot_canvas.h";
|
||||
d_icon = QPixmap( ":/pixmaps/qwtplot.png" );
|
||||
d_domXml =
|
||||
"<widget class=\"QwtPlotCanvas\" name=\"qwtPlotCanvas\">\n"
|
||||
" <property name=\"geometry\">\n"
|
||||
" <rect>\n"
|
||||
" <x>0</x>\n"
|
||||
" <y>0</y>\n"
|
||||
" <width>400</width>\n"
|
||||
" <height>200</height>\n"
|
||||
" </rect>\n"
|
||||
" </property>\n"
|
||||
"</widget>\n";
|
||||
}
|
||||
|
||||
QWidget *PlotCanvasInterface::createWidget( QWidget *parent )
|
||||
{
|
||||
return new QwtPlotCanvas( qobject_cast<QwtPlot *>( parent ) );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef NO_QWT_WIDGETS
|
||||
|
||||
AnalogClockInterface::AnalogClockInterface(QObject *parent):
|
||||
CustomWidgetInterface(parent)
|
||||
AnalogClockInterface::AnalogClockInterface( QObject *parent ):
|
||||
CustomWidgetInterface( parent )
|
||||
{
|
||||
d_name = "QwtAnalogClock";
|
||||
d_include = "qwt_analog_clock.h";
|
||||
d_icon = QPixmap(":/pixmaps/qwtanalogclock.png");
|
||||
d_icon = QPixmap( ":/pixmaps/qwtanalogclock.png" );
|
||||
d_domXml =
|
||||
"<widget class=\"QwtAnalogClock\" name=\"AnalogClock\">\n"
|
||||
" <property name=\"geometry\">\n"
|
||||
@@ -166,21 +194,21 @@ AnalogClockInterface::AnalogClockInterface(QObject *parent):
|
||||
"</widget>\n";
|
||||
}
|
||||
|
||||
QWidget *AnalogClockInterface::createWidget(QWidget *parent)
|
||||
QWidget *AnalogClockInterface::createWidget( QWidget *parent )
|
||||
{
|
||||
return new QwtAnalogClock(parent);
|
||||
return new QwtAnalogClock( parent );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef NO_QWT_WIDGETS
|
||||
|
||||
CompassInterface::CompassInterface(QObject *parent):
|
||||
CustomWidgetInterface(parent)
|
||||
CompassInterface::CompassInterface( QObject *parent ):
|
||||
CustomWidgetInterface( parent )
|
||||
{
|
||||
d_name = "QwtCompass";
|
||||
d_include = "qwt_compass.h";
|
||||
d_icon = QPixmap(":/pixmaps/qwtcompass.png");
|
||||
d_icon = QPixmap( ":/pixmaps/qwtcompass.png" );
|
||||
d_domXml =
|
||||
"<widget class=\"QwtCompass\" name=\"Compass\">\n"
|
||||
" <property name=\"geometry\">\n"
|
||||
@@ -197,41 +225,47 @@ CompassInterface::CompassInterface(QObject *parent):
|
||||
"</widget>\n";
|
||||
}
|
||||
|
||||
QWidget *CompassInterface::createWidget(QWidget *parent)
|
||||
QWidget *CompassInterface::createWidget( QWidget *parent )
|
||||
{
|
||||
return new QwtCompass(parent);
|
||||
QwtCompass *compass = new QwtCompass( parent );
|
||||
compass->setNeedle( new QwtCompassMagnetNeedle(
|
||||
QwtCompassMagnetNeedle::TriangleStyle,
|
||||
compass->palette().color( QPalette::Mid ),
|
||||
compass->palette().color( QPalette::Dark ) ) );
|
||||
|
||||
return compass;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef NO_QWT_WIDGETS
|
||||
|
||||
CounterInterface::CounterInterface(QObject *parent):
|
||||
CustomWidgetInterface(parent)
|
||||
CounterInterface::CounterInterface( QObject *parent ):
|
||||
CustomWidgetInterface( parent )
|
||||
{
|
||||
d_name = "QwtCounter";
|
||||
d_include = "qwt_counter.h";
|
||||
d_icon = QPixmap(":/pixmaps/qwtcounter.png");
|
||||
d_icon = QPixmap( ":/pixmaps/qwtcounter.png" );
|
||||
d_domXml =
|
||||
"<widget class=\"QwtCounter\" name=\"Counter\">\n"
|
||||
"</widget>\n";
|
||||
}
|
||||
|
||||
QWidget *CounterInterface::createWidget(QWidget *parent)
|
||||
QWidget *CounterInterface::createWidget( QWidget *parent )
|
||||
{
|
||||
return new QwtCounter(parent);
|
||||
return new QwtCounter( parent );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef NO_QWT_WIDGETS
|
||||
|
||||
DialInterface::DialInterface(QObject *parent):
|
||||
CustomWidgetInterface(parent)
|
||||
DialInterface::DialInterface( QObject *parent ):
|
||||
CustomWidgetInterface( parent )
|
||||
{
|
||||
d_name = "QwtDial";
|
||||
d_include = "qwt_dial.h";
|
||||
d_icon = QPixmap(":/pixmaps/qwtdial.png");
|
||||
d_icon = QPixmap( ":/pixmaps/qwtdial.png" );
|
||||
d_domXml =
|
||||
"<widget class=\"QwtDial\" name=\"Dial\">\n"
|
||||
" <property name=\"geometry\">\n"
|
||||
@@ -248,102 +282,110 @@ DialInterface::DialInterface(QObject *parent):
|
||||
"</widget>\n";
|
||||
}
|
||||
|
||||
QWidget *DialInterface::createWidget(QWidget *parent)
|
||||
QWidget *DialInterface::createWidget( QWidget *parent )
|
||||
{
|
||||
return new QwtDial(parent);
|
||||
QwtDial *dial = new QwtDial( parent );
|
||||
dial->setNeedle( new QwtDialSimpleNeedle(
|
||||
QwtDialSimpleNeedle::Arrow, true,
|
||||
dial->palette().color( QPalette::Dark ),
|
||||
dial->palette().color( QPalette::Mid ) ) );
|
||||
|
||||
return dial;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef NO_QWT_WIDGETS
|
||||
|
||||
KnobInterface::KnobInterface(QObject *parent):
|
||||
CustomWidgetInterface(parent)
|
||||
KnobInterface::KnobInterface( QObject *parent ):
|
||||
CustomWidgetInterface( parent )
|
||||
{
|
||||
d_name = "QwtKnob";
|
||||
d_include = "qwt_knob.h";
|
||||
d_icon = QPixmap(":/pixmaps/qwtknob.png");
|
||||
d_icon = QPixmap( ":/pixmaps/qwtknob.png" );
|
||||
d_domXml =
|
||||
"<widget class=\"QwtKnob\" name=\"Knob\">\n"
|
||||
" <property name=\"geometry\">\n"
|
||||
" <rect>\n"
|
||||
" <x>0</x>\n"
|
||||
" <y>0</y>\n"
|
||||
" <width>100</width>\n"
|
||||
" <height>100</height>\n"
|
||||
" <width>150</width>\n"
|
||||
" <height>150</height>\n"
|
||||
" </rect>\n"
|
||||
" </property>\n"
|
||||
"</widget>\n";
|
||||
}
|
||||
|
||||
QWidget *KnobInterface::createWidget(QWidget *parent)
|
||||
QWidget *KnobInterface::createWidget( QWidget *parent )
|
||||
{
|
||||
return new QwtKnob(parent);
|
||||
return new QwtKnob( parent );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef NO_QWT_PLOT
|
||||
|
||||
ScaleWidgetInterface::ScaleWidgetInterface(QObject *parent):
|
||||
CustomWidgetInterface(parent)
|
||||
ScaleWidgetInterface::ScaleWidgetInterface( QObject *parent ):
|
||||
CustomWidgetInterface( parent )
|
||||
{
|
||||
d_name = "QwtScaleWidget";
|
||||
d_include = "qwt_scale_widget.h";
|
||||
d_icon = QPixmap(":/pixmaps/qwtscale.png");
|
||||
d_icon = QPixmap( ":/pixmaps/qwtscale.png" );
|
||||
d_domXml =
|
||||
"<widget class=\"QwtScaleWidget\" name=\"ScaleWidget\">\n"
|
||||
" <property name=\"geometry\">\n"
|
||||
" <rect>\n"
|
||||
" <x>0</x>\n"
|
||||
" <y>0</y>\n"
|
||||
" <width>60</width>\n"
|
||||
" <height>250</height>\n"
|
||||
" </rect>\n"
|
||||
" </property>\n"
|
||||
"</widget>\n";
|
||||
}
|
||||
|
||||
QWidget *ScaleWidgetInterface::createWidget(QWidget *parent)
|
||||
QWidget *ScaleWidgetInterface::createWidget( QWidget *parent )
|
||||
{
|
||||
return new QwtScaleWidget(QwtScaleDraw::LeftScale, parent);
|
||||
return new QwtScaleWidget( QwtScaleDraw::LeftScale, parent );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef NO_QWT_WIDGETS
|
||||
|
||||
SliderInterface::SliderInterface(QObject *parent):
|
||||
CustomWidgetInterface(parent)
|
||||
SliderInterface::SliderInterface( QObject *parent ):
|
||||
CustomWidgetInterface( parent )
|
||||
{
|
||||
d_name = "QwtSlider";
|
||||
d_include = "qwt_slider.h";
|
||||
d_icon = QPixmap(":/pixmaps/qwtslider.png");
|
||||
d_icon = QPixmap( ":/pixmaps/qwtslider.png" );
|
||||
d_domXml =
|
||||
"<widget class=\"QwtSlider\" name=\"Slider\">\n"
|
||||
" <property name=\"geometry\">\n"
|
||||
" <rect>\n"
|
||||
" <x>0</x>\n"
|
||||
" <y>0</y>\n"
|
||||
" <width>200</width>\n"
|
||||
" <height>60</height>\n"
|
||||
" <width>60</width>\n"
|
||||
" <height>250</height>\n"
|
||||
" </rect>\n"
|
||||
" </property>\n"
|
||||
"</widget>\n";
|
||||
}
|
||||
|
||||
QWidget *SliderInterface::createWidget(QWidget *parent)
|
||||
QWidget *SliderInterface::createWidget( QWidget *parent )
|
||||
{
|
||||
QwtSlider *slider = new QwtSlider(parent);
|
||||
#if 0
|
||||
slider->setScalePosition(QwtSlider::Bottom);
|
||||
slider->setRange(0.0, 10.0, 1.0, 0);
|
||||
slider->setValue(3.0);
|
||||
#endif
|
||||
return slider;
|
||||
return new QwtSlider( parent );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
TextLabelInterface::TextLabelInterface(QObject *parent):
|
||||
CustomWidgetInterface(parent)
|
||||
TextLabelInterface::TextLabelInterface( QObject *parent ):
|
||||
CustomWidgetInterface( parent )
|
||||
{
|
||||
d_name = "QwtTextLabel";
|
||||
d_include = "qwt_text_label.h";
|
||||
|
||||
d_icon = QPixmap(":/pixmaps/qwtwidget.png");
|
||||
d_icon = QPixmap( ":/pixmaps/qwtwidget.png" );
|
||||
d_domXml =
|
||||
"<widget class=\"QwtTextLabel\" name=\"TextLabel\">\n"
|
||||
" <property name=\"geometry\">\n"
|
||||
@@ -357,117 +399,131 @@ TextLabelInterface::TextLabelInterface(QObject *parent):
|
||||
"</widget>\n";
|
||||
}
|
||||
|
||||
QWidget *TextLabelInterface::createWidget(QWidget *parent)
|
||||
QWidget *TextLabelInterface::createWidget( QWidget *parent )
|
||||
{
|
||||
return new QwtTextLabel(parent);
|
||||
return new QwtTextLabel( QwtText( "Label" ), parent );
|
||||
}
|
||||
|
||||
#ifndef NO_QWT_WIDGETS
|
||||
|
||||
ThermoInterface::ThermoInterface(QObject *parent):
|
||||
CustomWidgetInterface(parent)
|
||||
ThermoInterface::ThermoInterface( QObject *parent ):
|
||||
CustomWidgetInterface( parent )
|
||||
{
|
||||
d_name = "QwtThermo";
|
||||
d_include = "qwt_thermo.h";
|
||||
d_icon = QPixmap(":/pixmaps/qwtthermo.png");
|
||||
d_icon = QPixmap( ":/pixmaps/qwtthermo.png" );
|
||||
d_domXml =
|
||||
"<widget class=\"QwtThermo\" name=\"Thermo\">\n"
|
||||
" <property name=\"geometry\">\n"
|
||||
" <rect>\n"
|
||||
" <x>0</x>\n"
|
||||
" <y>0</y>\n"
|
||||
" <width>60</width>\n"
|
||||
" <height>250</height>\n"
|
||||
" </rect>\n"
|
||||
" </property>\n"
|
||||
"</widget>\n";
|
||||
}
|
||||
|
||||
QWidget *ThermoInterface::createWidget(QWidget *parent)
|
||||
QWidget *ThermoInterface::createWidget( QWidget *parent )
|
||||
{
|
||||
return new QwtThermo(parent);
|
||||
return new QwtThermo( parent );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef NO_QWT_WIDGETS
|
||||
|
||||
WheelInterface::WheelInterface(QObject *parent):
|
||||
CustomWidgetInterface(parent)
|
||||
WheelInterface::WheelInterface( QObject *parent ):
|
||||
CustomWidgetInterface( parent )
|
||||
{
|
||||
d_name = "QwtWheel";
|
||||
d_include = "qwt_wheel.h";
|
||||
d_icon = QPixmap(":/pixmaps/qwtwheel.png");
|
||||
d_icon = QPixmap( ":/pixmaps/qwtwheel.png" );
|
||||
d_domXml =
|
||||
"<widget class=\"QwtWheel\" name=\"Wheel\">\n"
|
||||
"</widget>\n";
|
||||
}
|
||||
|
||||
QWidget *WheelInterface::createWidget(QWidget *parent)
|
||||
QWidget *WheelInterface::createWidget( QWidget *parent )
|
||||
{
|
||||
return new QwtWheel(parent);
|
||||
return new QwtWheel( parent );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
CustomWidgetCollectionInterface::CustomWidgetCollectionInterface(
|
||||
QObject *parent):
|
||||
QObject(parent)
|
||||
QObject *parent ):
|
||||
QObject( parent )
|
||||
{
|
||||
#ifndef NO_QWT_PLOT
|
||||
d_plugins.append(new PlotInterface(this));
|
||||
d_plugins.append(new ScaleWidgetInterface(this));
|
||||
d_plugins.append( new PlotInterface( this ) );
|
||||
|
||||
#if 0
|
||||
// better not: the designer crashes TODO ..
|
||||
d_plugins.append( new PlotCanvasInterface( this ) );
|
||||
#endif
|
||||
|
||||
d_plugins.append( new ScaleWidgetInterface( this ) );
|
||||
#endif
|
||||
|
||||
#ifndef NO_QWT_WIDGETS
|
||||
d_plugins.append(new AnalogClockInterface(this));
|
||||
d_plugins.append(new CompassInterface(this));
|
||||
d_plugins.append(new CounterInterface(this));
|
||||
d_plugins.append(new DialInterface(this));
|
||||
d_plugins.append(new KnobInterface(this));
|
||||
d_plugins.append(new SliderInterface(this));
|
||||
d_plugins.append(new ThermoInterface(this));
|
||||
d_plugins.append(new WheelInterface(this));
|
||||
d_plugins.append( new AnalogClockInterface( this ) );
|
||||
d_plugins.append( new CompassInterface( this ) );
|
||||
d_plugins.append( new CounterInterface( this ) );
|
||||
d_plugins.append( new DialInterface( this ) );
|
||||
d_plugins.append( new KnobInterface( this ) );
|
||||
d_plugins.append( new SliderInterface( this ) );
|
||||
d_plugins.append( new ThermoInterface( this ) );
|
||||
d_plugins.append( new WheelInterface( this ) );
|
||||
#endif
|
||||
|
||||
d_plugins.append(new TextLabelInterface(this));
|
||||
d_plugins.append( new TextLabelInterface( this ) );
|
||||
}
|
||||
|
||||
QList<QDesignerCustomWidgetInterface*>
|
||||
CustomWidgetCollectionInterface::customWidgets(void) const
|
||||
CustomWidgetCollectionInterface::customWidgets( void ) const
|
||||
{
|
||||
return d_plugins;
|
||||
}
|
||||
|
||||
TaskMenuFactory::TaskMenuFactory(QExtensionManager *parent):
|
||||
QExtensionFactory(parent)
|
||||
TaskMenuFactory::TaskMenuFactory( QExtensionManager *parent ):
|
||||
QExtensionFactory( parent )
|
||||
{
|
||||
}
|
||||
|
||||
QObject *TaskMenuFactory::createExtension(
|
||||
QObject *object, const QString &iid, QObject *parent) const
|
||||
QObject *object, const QString &iid, QObject *parent ) const
|
||||
{
|
||||
if (iid == Q_TYPEID(QDesignerTaskMenuExtension))
|
||||
if ( iid == Q_TYPEID( QDesignerTaskMenuExtension ) )
|
||||
{
|
||||
#ifndef NO_QWT_PLOT
|
||||
if (QwtPlot *plot = qobject_cast<QwtPlot*>(object))
|
||||
return new TaskMenuExtension(plot, parent);
|
||||
if ( QwtPlot *plot = qobject_cast<QwtPlot*>( object ) )
|
||||
return new TaskMenuExtension( plot, parent );
|
||||
#endif
|
||||
#ifndef NO_QWT_WIDGETS
|
||||
if (QwtDial *dial = qobject_cast<QwtDial*>(object))
|
||||
return new TaskMenuExtension(dial, parent);
|
||||
if ( QwtDial *dial = qobject_cast<QwtDial*>( object ) )
|
||||
return new TaskMenuExtension( dial, parent );
|
||||
#endif
|
||||
}
|
||||
|
||||
return QExtensionFactory::createExtension(object, iid, parent);
|
||||
return QExtensionFactory::createExtension( object, iid, parent );
|
||||
}
|
||||
|
||||
|
||||
TaskMenuExtension::TaskMenuExtension(QWidget *widget, QObject *parent):
|
||||
QObject(parent),
|
||||
d_widget(widget)
|
||||
TaskMenuExtension::TaskMenuExtension( QWidget *widget, QObject *parent ):
|
||||
QObject( parent ),
|
||||
d_widget( widget )
|
||||
{
|
||||
d_editAction = new QAction(tr("Edit Qwt Attributes ..."), this);
|
||||
connect(d_editAction, SIGNAL(triggered()),
|
||||
this, SLOT(editProperties()));
|
||||
d_editAction = new QAction( tr( "Edit Qwt Attributes ..." ), this );
|
||||
connect( d_editAction, SIGNAL( triggered() ),
|
||||
this, SLOT( editProperties() ) );
|
||||
}
|
||||
|
||||
QList<QAction *> TaskMenuExtension::taskActions() const
|
||||
{
|
||||
QList<QAction *> list;
|
||||
list.append(d_editAction);
|
||||
list.append( d_editAction );
|
||||
return list;
|
||||
}
|
||||
|
||||
@@ -478,19 +534,19 @@ QAction *TaskMenuExtension::preferredEditAction() const
|
||||
|
||||
void TaskMenuExtension::editProperties()
|
||||
{
|
||||
const QVariant v = d_widget->property("propertiesDocument");
|
||||
const QVariant v = d_widget->property( "propertiesDocument" );
|
||||
if ( v.type() != QVariant::String )
|
||||
return;
|
||||
|
||||
#ifndef NO_QWT_PLOT
|
||||
QString properties = v.toString();
|
||||
|
||||
if ( qobject_cast<QwtPlot*>(d_widget) )
|
||||
if ( qobject_cast<QwtPlot*>( d_widget ) )
|
||||
{
|
||||
PlotDialog dialog(properties);
|
||||
connect(&dialog, SIGNAL(edited(const QString&)),
|
||||
SLOT(applyProperties(const QString &)));
|
||||
(void)dialog.exec();
|
||||
PlotDialog dialog( properties );
|
||||
connect( &dialog, SIGNAL( edited( const QString& ) ),
|
||||
SLOT( applyProperties( const QString & ) ) );
|
||||
( void )dialog.exec();
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
@@ -498,15 +554,17 @@ void TaskMenuExtension::editProperties()
|
||||
static QErrorMessage *errorMessage = NULL;
|
||||
if ( errorMessage == NULL )
|
||||
errorMessage = new QErrorMessage();
|
||||
errorMessage->showMessage("Not implemented yet.");
|
||||
errorMessage->showMessage( "Not implemented yet." );
|
||||
}
|
||||
|
||||
void TaskMenuExtension::applyProperties(const QString &properties)
|
||||
void TaskMenuExtension::applyProperties( const QString &properties )
|
||||
{
|
||||
QDesignerFormWindowInterface *formWindow
|
||||
= QDesignerFormWindowInterface::findFormWindow(d_widget);
|
||||
QDesignerFormWindowInterface *formWindow =
|
||||
QDesignerFormWindowInterface::findFormWindow( d_widget );
|
||||
if ( formWindow && formWindow->cursor() )
|
||||
formWindow->cursor()->setProperty("propertiesDocument", properties);
|
||||
formWindow->cursor()->setProperty( "propertiesDocument", properties );
|
||||
}
|
||||
|
||||
Q_EXPORT_PLUGIN2(QwtDesignerPlugin, CustomWidgetCollectionInterface)
|
||||
#if QT_VERSION < 0x050000
|
||||
Q_EXPORT_PLUGIN2( QwtDesignerPlugin, CustomWidgetCollectionInterface )
|
||||
#endif
|
||||
|
||||
@@ -16,218 +16,232 @@
|
||||
|
||||
namespace QwtDesignerPlugin
|
||||
{
|
||||
class CustomWidgetInterface: public QObject,
|
||||
public QDesignerCustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES( QDesignerCustomWidgetInterface )
|
||||
|
||||
class CustomWidgetInterface: public QObject,
|
||||
public QDesignerCustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDesignerCustomWidgetInterface)
|
||||
public:
|
||||
CustomWidgetInterface( QObject *parent );
|
||||
|
||||
public:
|
||||
CustomWidgetInterface(QObject *parent);
|
||||
virtual bool isContainer() const;
|
||||
virtual bool isInitialized() const;
|
||||
virtual QIcon icon() const;
|
||||
virtual QString codeTemplate() const;
|
||||
virtual QString domXml() const;
|
||||
virtual QString group() const;
|
||||
virtual QString includeFile() const;
|
||||
virtual QString name() const;
|
||||
virtual QString toolTip() const;
|
||||
virtual QString whatsThis() const;
|
||||
virtual void initialize( QDesignerFormEditorInterface * );
|
||||
|
||||
virtual bool isContainer() const;
|
||||
virtual bool isInitialized() const;
|
||||
virtual QIcon icon() const;
|
||||
virtual QString codeTemplate() const;
|
||||
virtual QString domXml() const;
|
||||
virtual QString group() const;
|
||||
virtual QString includeFile() const;
|
||||
virtual QString name() const;
|
||||
virtual QString toolTip() const;
|
||||
virtual QString whatsThis() const;
|
||||
virtual void initialize(QDesignerFormEditorInterface *);
|
||||
protected:
|
||||
QString d_name;
|
||||
QString d_include;
|
||||
QString d_toolTip;
|
||||
QString d_whatsThis;
|
||||
QString d_domXml;
|
||||
QString d_codeTemplate;
|
||||
QIcon d_icon;
|
||||
|
||||
protected:
|
||||
QString d_name;
|
||||
QString d_include;
|
||||
QString d_toolTip;
|
||||
QString d_whatsThis;
|
||||
QString d_domXml;
|
||||
QString d_codeTemplate;
|
||||
QIcon d_icon;
|
||||
private:
|
||||
bool d_isInitialized;
|
||||
};
|
||||
|
||||
private:
|
||||
bool d_isInitialized;
|
||||
};
|
||||
class CustomWidgetCollectionInterface: public QObject,
|
||||
public QDesignerCustomWidgetCollectionInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES( QDesignerCustomWidgetCollectionInterface )
|
||||
|
||||
class CustomWidgetCollectionInterface: public QObject,
|
||||
public QDesignerCustomWidgetCollectionInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
|
||||
#if QT_VERSION >= 0x050000
|
||||
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDesignerCustomWidgetCollectionInterface" )
|
||||
#endif
|
||||
|
||||
public:
|
||||
CustomWidgetCollectionInterface(QObject *parent = NULL);
|
||||
|
||||
virtual QList<QDesignerCustomWidgetInterface*> customWidgets() const;
|
||||
public:
|
||||
CustomWidgetCollectionInterface( QObject *parent = NULL );
|
||||
|
||||
private:
|
||||
QList<QDesignerCustomWidgetInterface*> d_plugins;
|
||||
};
|
||||
virtual QList<QDesignerCustomWidgetInterface*> customWidgets() const;
|
||||
|
||||
private:
|
||||
QList<QDesignerCustomWidgetInterface*> d_plugins;
|
||||
};
|
||||
|
||||
#ifndef NO_QWT_PLOT
|
||||
class PlotInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDesignerCustomWidgetInterface)
|
||||
class PlotInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES( QDesignerCustomWidgetInterface )
|
||||
|
||||
public:
|
||||
PlotInterface(QObject *parent);
|
||||
virtual QWidget *createWidget(QWidget *parent);
|
||||
};
|
||||
public:
|
||||
PlotInterface( QObject *parent );
|
||||
virtual QWidget *createWidget( QWidget *parent );
|
||||
};
|
||||
|
||||
class PlotCanvasInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES( QDesignerCustomWidgetInterface )
|
||||
|
||||
public:
|
||||
PlotCanvasInterface( QObject *parent );
|
||||
virtual QWidget *createWidget( QWidget *parent );
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifndef NO_QWT_WIDGETS
|
||||
class AnalogClockInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDesignerCustomWidgetInterface)
|
||||
class AnalogClockInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES( QDesignerCustomWidgetInterface )
|
||||
|
||||
public:
|
||||
AnalogClockInterface(QObject *parent);
|
||||
virtual QWidget *createWidget(QWidget *parent);
|
||||
};
|
||||
public:
|
||||
AnalogClockInterface( QObject *parent );
|
||||
virtual QWidget *createWidget( QWidget *parent );
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifndef NO_QWT_WIDGETS
|
||||
class CompassInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDesignerCustomWidgetInterface)
|
||||
class CompassInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES( QDesignerCustomWidgetInterface )
|
||||
|
||||
public:
|
||||
CompassInterface(QObject *parent);
|
||||
virtual QWidget *createWidget(QWidget *parent);
|
||||
};
|
||||
public:
|
||||
CompassInterface( QObject *parent );
|
||||
virtual QWidget *createWidget( QWidget *parent );
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifndef NO_QWT_WIDGETS
|
||||
class CounterInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDesignerCustomWidgetInterface)
|
||||
class CounterInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES( QDesignerCustomWidgetInterface )
|
||||
|
||||
public:
|
||||
CounterInterface(QObject *parent);
|
||||
virtual QWidget *createWidget(QWidget *parent);
|
||||
};
|
||||
public:
|
||||
CounterInterface( QObject *parent );
|
||||
virtual QWidget *createWidget( QWidget *parent );
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifndef NO_QWT_WIDGETS
|
||||
class DialInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDesignerCustomWidgetInterface)
|
||||
class DialInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES( QDesignerCustomWidgetInterface )
|
||||
|
||||
public:
|
||||
DialInterface(QObject *parent);
|
||||
virtual QWidget *createWidget(QWidget *parent);
|
||||
};
|
||||
public:
|
||||
DialInterface( QObject *parent );
|
||||
virtual QWidget *createWidget( QWidget *parent );
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifndef NO_QWT_WIDGETS
|
||||
class KnobInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDesignerCustomWidgetInterface)
|
||||
class KnobInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES( QDesignerCustomWidgetInterface )
|
||||
|
||||
public:
|
||||
KnobInterface(QObject *parent);
|
||||
virtual QWidget *createWidget(QWidget *parent);
|
||||
};
|
||||
public:
|
||||
KnobInterface( QObject *parent );
|
||||
virtual QWidget *createWidget( QWidget *parent );
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifndef NO_QWT_PLOT
|
||||
class ScaleWidgetInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDesignerCustomWidgetInterface)
|
||||
class ScaleWidgetInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES( QDesignerCustomWidgetInterface )
|
||||
|
||||
public:
|
||||
ScaleWidgetInterface(QObject *parent);
|
||||
virtual QWidget *createWidget(QWidget *parent);
|
||||
};
|
||||
public:
|
||||
ScaleWidgetInterface( QObject *parent );
|
||||
virtual QWidget *createWidget( QWidget *parent );
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifndef NO_QWT_WIDGETS
|
||||
class SliderInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDesignerCustomWidgetInterface)
|
||||
class SliderInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES( QDesignerCustomWidgetInterface )
|
||||
|
||||
public:
|
||||
SliderInterface(QObject *parent);
|
||||
virtual QWidget *createWidget(QWidget *parent);
|
||||
};
|
||||
public:
|
||||
SliderInterface( QObject *parent );
|
||||
virtual QWidget *createWidget( QWidget *parent );
|
||||
};
|
||||
#endif
|
||||
|
||||
class TextLabelInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDesignerCustomWidgetInterface)
|
||||
class TextLabelInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES( QDesignerCustomWidgetInterface )
|
||||
|
||||
public:
|
||||
TextLabelInterface(QObject *parent);
|
||||
virtual QWidget *createWidget(QWidget *parent);
|
||||
};
|
||||
public:
|
||||
TextLabelInterface( QObject *parent );
|
||||
virtual QWidget *createWidget( QWidget *parent );
|
||||
};
|
||||
|
||||
#ifndef NO_QWT_WIDGETS
|
||||
class ThermoInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDesignerCustomWidgetInterface)
|
||||
class ThermoInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES( QDesignerCustomWidgetInterface )
|
||||
|
||||
public:
|
||||
ThermoInterface(QObject *parent);
|
||||
virtual QWidget *createWidget(QWidget *parent);
|
||||
};
|
||||
public:
|
||||
ThermoInterface( QObject *parent );
|
||||
virtual QWidget *createWidget( QWidget *parent );
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifndef NO_QWT_WIDGETS
|
||||
class WheelInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDesignerCustomWidgetInterface)
|
||||
class WheelInterface: public CustomWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES( QDesignerCustomWidgetInterface )
|
||||
|
||||
public:
|
||||
WheelInterface(QObject *parent);
|
||||
virtual QWidget *createWidget(QWidget *parent);
|
||||
};
|
||||
public:
|
||||
WheelInterface( QObject *parent );
|
||||
virtual QWidget *createWidget( QWidget *parent );
|
||||
};
|
||||
#endif
|
||||
|
||||
class TaskMenuFactory: public QExtensionFactory
|
||||
{
|
||||
Q_OBJECT
|
||||
class TaskMenuFactory: public QExtensionFactory
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
TaskMenuFactory(QExtensionManager *parent = 0);
|
||||
public:
|
||||
TaskMenuFactory( QExtensionManager *parent = 0 );
|
||||
|
||||
protected:
|
||||
QObject *createExtension(QObject *object,
|
||||
const QString &iid, QObject *parent) const;
|
||||
};
|
||||
protected:
|
||||
QObject *createExtension( QObject *object,
|
||||
const QString &iid, QObject *parent ) const;
|
||||
};
|
||||
|
||||
class TaskMenuExtension: public QObject,
|
||||
public QDesignerTaskMenuExtension
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDesignerTaskMenuExtension)
|
||||
class TaskMenuExtension: public QObject,
|
||||
public QDesignerTaskMenuExtension
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES( QDesignerTaskMenuExtension )
|
||||
|
||||
public:
|
||||
TaskMenuExtension(QWidget *widget, QObject *parent);
|
||||
public:
|
||||
TaskMenuExtension( QWidget *widget, QObject *parent );
|
||||
|
||||
QAction *preferredEditAction() const;
|
||||
QList<QAction *> taskActions() const;
|
||||
QAction *preferredEditAction() const;
|
||||
QList<QAction *> taskActions() const;
|
||||
|
||||
private Q_SLOTS:
|
||||
void editProperties();
|
||||
void applyProperties(const QString &);
|
||||
private Q_SLOTS:
|
||||
void editProperties();
|
||||
void applyProperties( const QString & );
|
||||
|
||||
private:
|
||||
QAction *d_editAction;
|
||||
QWidget *d_widget;
|
||||
};
|
||||
private:
|
||||
QAction *d_editAction;
|
||||
QWidget *d_widget;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -1,615 +0,0 @@
|
||||
/****************************************************************************
|
||||
** Resource object code
|
||||
**
|
||||
** Created: Thu Feb 2 22:55:24 2012
|
||||
** by: The Resource Compiler for Qt version 4.7.4
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
static const unsigned char qt_resource_data[] = {
|
||||
// /Users/grauser/Documents/DEV/Qt/qwt-6.0.1/designer/pixmaps/qwtslider.png
|
||||
0x0,0x0,0x1,0xc4,
|
||||
0x89,
|
||||
0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0,
|
||||
0x0,0x0,0x16,0x0,0x0,0x0,0x16,0x8,0x6,0x0,0x0,0x0,0xc4,0xb4,0x6c,0x3b,
|
||||
0x0,0x0,0x0,0x7,0x74,0x49,0x4d,0x45,0x7,0xd2,0xa,0x9,0x13,0xa,0x30,0x66,
|
||||
0xcc,0x85,0xa0,0x0,0x0,0x0,0x9,0x70,0x48,0x59,0x73,0x0,0x0,0xb,0x12,0x0,
|
||||
0x0,0xb,0x12,0x1,0xd2,0xdd,0x7e,0xfc,0x0,0x0,0x0,0x4,0x67,0x41,0x4d,0x41,
|
||||
0x0,0x0,0xb1,0x8f,0xb,0xfc,0x61,0x5,0x0,0x0,0x1,0x53,0x49,0x44,0x41,0x54,
|
||||
0x78,0xda,0x63,0x60,0x18,0x5,0xc3,0xf,0xfc,0x47,0x2,0x75,0x4b,0xba,0xfe,0x93,
|
||||
0xaa,0x9f,0x9,0x9f,0xe4,0xa7,0x6f,0x9f,0x18,0x8e,0x5c,0x3e,0x2,0x66,0xfb,0x54,
|
||||
0x5,0x92,0x64,0x38,0x13,0x29,0x8a,0x7,0x85,0xc1,0x2c,0x30,0x6,0xa3,0x3,0xdb,
|
||||
0xff,0xff,0xc,0xff,0x21,0x76,0x31,0x62,0x2a,0x3c,0x7d,0xed,0x24,0x3,0x83,0x23,
|
||||
0x3b,0xee,0xe0,0x60,0x62,0x66,0xe0,0x16,0x55,0x64,0xf8,0xba,0xe2,0x2a,0x23,0xdc,
|
||||
0x60,0x26,0xa0,0xa1,0xff,0x18,0x99,0x18,0xf8,0x85,0x14,0x18,0xd8,0xd8,0x79,0x19,
|
||||
0x18,0x81,0x8a,0xb0,0x1,0x31,0x69,0x43,0x1c,0xa6,0x32,0x32,0x30,0xb1,0xb0,0x31,
|
||||
0xbc,0xf8,0xf0,0x88,0x41,0xa2,0x2a,0xe1,0xff,0x8b,0xb6,0x5,0x8c,0x60,0x83,0xff,
|
||||
0x31,0x32,0x32,0x8,0x89,0xaa,0x32,0x18,0x5a,0xa7,0x30,0xe8,0x2a,0x6a,0x3,0x2d,
|
||||
0x67,0xc1,0xd0,0xca,0x2d,0xac,0xcc,0x10,0x10,0xd4,0x8c,0xdd,0xb1,0x40,0x87,0xbc,
|
||||
0xff,0xf5,0x9f,0xe1,0xee,0xc5,0x5,0xc,0x92,0x2,0x22,0xc,0xcb,0x61,0x2e,0xe6,
|
||||
0x16,0x53,0x66,0x78,0xf7,0xf3,0x13,0xc3,0xb1,0xb3,0x8b,0x19,0x98,0xbf,0x1a,0x33,
|
||||
0xb0,0xb3,0xb0,0x32,0x30,0x78,0xd9,0xa3,0x68,0xfe,0xfa,0xe9,0x29,0xc3,0xed,0xab,
|
||||
0x6b,0xb0,0x1a,0xcc,0xc9,0xce,0xc1,0xa0,0x2c,0x2e,0xcb,0xe0,0xe0,0x18,0xc8,0x20,
|
||||
0x22,0x2a,0x7,0x34,0xb8,0xb,0x62,0xf0,0xd7,0x95,0xd7,0x18,0x25,0x2a,0xe3,0xfe,
|
||||
0x4b,0xfc,0xfb,0xce,0x20,0x21,0x20,0xcc,0xc0,0xce,0xca,0x86,0xa1,0x99,0x9d,0x95,
|
||||
0x9d,0x41,0x42,0x50,0x4,0xab,0xc1,0x1c,0x40,0x39,0x61,0x1e,0x7e,0x6,0x69,0x49,
|
||||
0x25,0x6,0x27,0x15,0x6d,0x46,0x48,0xe0,0xe0,0x0,0xa0,0x8c,0x1,0x4a,0xc7,0x97,
|
||||
0xee,0x5e,0x62,0xd8,0x7d,0xe9,0x38,0xc3,0xb9,0x6b,0xc7,0x19,0xb6,0xb4,0xad,0xc7,
|
||||
0xa9,0x1e,0x23,0x78,0x88,0x55,0x48,0x2a,0xa0,0x7d,0x3a,0x46,0x7,0x69,0x53,0x2b,
|
||||
0x28,0x32,0x18,0x6f,0x98,0xa1,0x97,0xf,0xa4,0x84,0xf1,0x28,0x80,0x3,0x0,0xb9,
|
||||
0xf0,0x60,0x59,0x7a,0xd9,0xd8,0x20,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae,
|
||||
0x42,0x60,0x82,
|
||||
// /Users/grauser/Documents/DEV/Qt/qwt-6.0.1/designer/pixmaps/qwtdial.png
|
||||
0x0,0x0,0x1,0xb1,
|
||||
0x89,
|
||||
0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0,
|
||||
0x0,0x0,0x16,0x0,0x0,0x0,0x16,0x8,0x2,0x0,0x0,0x0,0x4b,0xd6,0xfb,0x6c,
|
||||
0x0,0x0,0x1,0x78,0x49,0x44,0x41,0x54,0x78,0x9c,0x9d,0x94,0x31,0x8e,0xc2,0x30,
|
||||
0x10,0x45,0x7,0x67,0x63,0x8d,0x81,0x2b,0x50,0x86,0x3,0xa4,0xa6,0xe2,0x0,0xf4,
|
||||
0x5c,0x82,0x9e,0x1b,0x70,0x83,0xb4,0x91,0xb8,0x41,0x2a,0x9a,0x70,0x84,0xa4,0x81,
|
||||
0xa,0x21,0x21,0x51,0x50,0x50,0x23,0x41,0x50,0xa4,0x2d,0x7e,0xd6,0xc,0xe,0xc9,
|
||||
0x66,0xf7,0x57,0x96,0x3d,0xff,0x79,0x3c,0xc9,0x4c,0x2f,0xcb,0x32,0x12,0x3a,0x1c,
|
||||
0xe,0xd4,0xaa,0x20,0x8,0x9c,0x9d,0xaf,0x8f,0xfe,0x3c,0xcf,0x99,0xd9,0x18,0xe3,
|
||||
0x79,0x9e,0xc,0x18,0x8d,0x46,0x88,0x91,0xa0,0x9e,0xcd,0x2,0x67,0x69,0x9a,0x6a,
|
||||
0xad,0x8d,0x31,0xf3,0xf9,0xdc,0xb9,0x6d,0xbb,0xdd,0x5a,0x90,0xa4,0x54,0x8,0xf8,
|
||||
0x93,0x24,0xf1,0x7d,0x7f,0xb1,0x58,0x48,0x67,0x18,0x86,0xf2,0xb1,0x0,0x49,0x8a,
|
||||
0xb2,0xfe,0xf5,0x7a,0x5d,0x14,0x5,0xfc,0x61,0x18,0x5a,0x8f,0x53,0xac,0xe9,0x74,
|
||||
0x4a,0x44,0xe7,0xf3,0xd9,0x1a,0x15,0xe,0xa2,0x28,0x2a,0x8a,0x62,0xb9,0x5c,0x3a,
|
||||
0xb6,0x44,0xb0,0x2c,0xd7,0xa1,0x28,0x90,0xca,0xb2,0x5c,0xad,0x56,0xd4,0x2a,0x99,
|
||||
0xe,0x28,0x90,0x22,0xa2,0x38,0x8e,0x8d,0x31,0x4e,0xfe,0x2d,0x42,0x98,0xd6,0xfa,
|
||||
0x7a,0xbd,0x56,0x8,0x63,0xc,0x52,0x70,0x9e,0xdd,0x9e,0xce,0x64,0x32,0xc1,0xc5,
|
||||
0x15,0xa2,0x29,0x7a,0x96,0x65,0x49,0x73,0x6a,0xcc,0x5c,0x21,0x7c,0xdf,0xef,0x72,
|
||||
0x79,0x5d,0x30,0x2a,0x22,0x1a,0xe,0x87,0xd4,0xb9,0x10,0x10,0x82,0x7,0x83,0x41,
|
||||
0x85,0xd0,0x5a,0x53,0x73,0x21,0x66,0x9f,0xf6,0x11,0xc,0xe3,0x2f,0xb5,0x68,0xd7,
|
||||
0xab,0x16,0xcc,0xbc,0xd9,0x6c,0xfe,0x81,0x78,0x7d,0x91,0xf1,0x78,0x8c,0x94,0xfe,
|
||||
0xea,0x3f,0x1e,0x8f,0x64,0x7f,0x70,0x12,0x8d,0xd8,0x51,0x65,0x59,0x62,0xa1,0xd0,
|
||||
0x6d,0xe8,0xbc,0x8e,0x94,0xdb,0xed,0xf6,0x7c,0x3e,0xf7,0xfb,0x3d,0x11,0x5,0x41,
|
||||
0xa0,0xe8,0xa7,0x67,0x3b,0x52,0x2e,0x97,0xcb,0xfd,0x7e,0x3f,0x9d,0x4e,0xd6,0xe8,
|
||||
0x8e,0x1c,0xf4,0x1f,0xbd,0x37,0x12,0xb4,0xdb,0xed,0x98,0x59,0x6b,0xfd,0x78,0x3c,
|
||||
0xa8,0x3e,0x72,0x24,0x45,0x82,0x20,0xcf,0xf3,0x98,0x99,0x99,0xfb,0xfd,0x3e,0x76,
|
||||
0xe4,0xe0,0x7b,0x9b,0x9d,0xf5,0xd1,0x5a,0x57,0x3d,0xe6,0x1b,0xf1,0xc5,0xa7,0x36,
|
||||
0x5f,0xe6,0x63,0x88,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,
|
||||
|
||||
// /Users/grauser/Documents/DEV/Qt/qwt-6.0.1/designer/pixmaps/qwtwheel.png
|
||||
0x0,0x0,0x1,0x2a,
|
||||
0x89,
|
||||
0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0,
|
||||
0x0,0x0,0x16,0x0,0x0,0x0,0x16,0x8,0x3,0x0,0x0,0x0,0xf3,0x6a,0x9c,0x9,
|
||||
0x0,0x0,0x0,0x2a,0x74,0x45,0x58,0x74,0x43,0x72,0x65,0x61,0x74,0x69,0x6f,0x6e,
|
||||
0x20,0x54,0x69,0x6d,0x65,0x0,0x4d,0x69,0x20,0x39,0x20,0x4f,0x6b,0x74,0x20,0x32,
|
||||
0x30,0x30,0x32,0x20,0x32,0x32,0x3a,0x35,0x33,0x3a,0x30,0x30,0x20,0x2b,0x30,0x31,
|
||||
0x30,0x30,0x8a,0x59,0x4f,0x7f,0x0,0x0,0x0,0x7,0x74,0x49,0x4d,0x45,0x7,0xd2,
|
||||
0xa,0x9,0x14,0x38,0x1c,0xbc,0x2b,0xab,0xb7,0x0,0x0,0x0,0x9,0x70,0x48,0x59,
|
||||
0x73,0x0,0x0,0xe,0xc3,0x0,0x0,0xe,0xc3,0x1,0xc7,0x6f,0xa8,0x64,0x0,0x0,
|
||||
0x0,0x4,0x67,0x41,0x4d,0x41,0x0,0x0,0xb1,0x8f,0xb,0xfc,0x61,0x5,0x0,0x0,
|
||||
0x0,0x27,0x50,0x4c,0x54,0x45,0xfb,0xb3,0x8,0xfb,0xfb,0xfb,0x75,0x75,0x75,0xd7,
|
||||
0xd7,0xd7,0xe1,0xe1,0xe1,0xf2,0xf2,0xf2,0xea,0xea,0xea,0xc6,0xc6,0xc6,0xbd,0xbd,
|
||||
0xbd,0xb3,0xb3,0xb3,0xa1,0xa1,0xa1,0x86,0x86,0x86,0x7d,0x7d,0x7d,0xab,0xa1,0x7c,
|
||||
0x5d,0x0,0x0,0x0,0x1,0x74,0x52,0x4e,0x53,0x0,0x40,0xe6,0xd8,0x66,0x0,0x0,
|
||||
0x0,0x43,0x49,0x44,0x41,0x54,0x78,0xda,0xcd,0x8f,0x37,0xe,0x0,0x20,0x10,0xc3,
|
||||
0xc8,0xd1,0xcb,0xff,0xdf,0x4b,0x13,0x4c,0x61,0x3,0x9,0xf,0x1e,0x9c,0x29,0x4a,
|
||||
0xdd,0x40,0x18,0xa0,0x19,0x3d,0x83,0x30,0xf3,0x98,0xe6,0x2e,0x2b,0x6b,0x6d,0x4,
|
||||
0xd6,0x35,0xf9,0x10,0x93,0x20,0x97,0xcf,0xf2,0xf8,0xb5,0xd5,0x8d,0xf3,0x79,0xd0,
|
||||
0xf3,0xe0,0xf9,0x21,0x15,0xd5,0x8b,0x3,0xae,0x41,0xc3,0x32,0xc9,0x0,0x0,0x0,
|
||||
0x0,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,
|
||||
// /Users/grauser/Documents/DEV/Qt/qwt-6.0.1/designer/pixmaps/qwtplot.png
|
||||
0x0,0x0,0x2,0x1f,
|
||||
0x89,
|
||||
0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0,
|
||||
0x0,0x0,0x16,0x0,0x0,0x0,0x16,0x8,0x6,0x0,0x0,0x0,0xc4,0xb4,0x6c,0x3b,
|
||||
0x0,0x0,0x0,0x2a,0x74,0x45,0x58,0x74,0x43,0x72,0x65,0x61,0x74,0x69,0x6f,0x6e,
|
||||
0x20,0x54,0x69,0x6d,0x65,0x0,0x4d,0x69,0x20,0x39,0x20,0x4f,0x6b,0x74,0x20,0x32,
|
||||
0x30,0x30,0x32,0x20,0x32,0x31,0x3a,0x32,0x34,0x3a,0x33,0x30,0x20,0x2b,0x30,0x31,
|
||||
0x30,0x30,0x72,0xfb,0x2a,0xa8,0x0,0x0,0x0,0x7,0x74,0x49,0x4d,0x45,0x7,0xd2,
|
||||
0xa,0x9,0x13,0x21,0x1,0x41,0x62,0x78,0xf3,0x0,0x0,0x0,0x9,0x70,0x48,0x59,
|
||||
0x73,0x0,0x0,0xa,0xf0,0x0,0x0,0xa,0xf0,0x1,0x42,0xac,0x34,0x98,0x0,0x0,
|
||||
0x0,0x4,0x67,0x41,0x4d,0x41,0x0,0x0,0xb1,0x8f,0xb,0xfc,0x61,0x5,0x0,0x0,
|
||||
0x1,0x78,0x49,0x44,0x41,0x54,0x78,0xda,0x63,0x60,0x18,0x5,0x74,0x5,0x1a,0x62,
|
||||
0x5c,0xff,0xa9,0x65,0x16,0x23,0x36,0x43,0x6f,0xbc,0xfa,0xc6,0x48,0x9e,0x71,0x8,
|
||||
0xc0,0x34,0x28,0x82,0xe2,0x8c,0x28,0x13,0xb,0x10,0xf3,0x82,0x68,0xaa,0xb9,0x18,
|
||||
0x68,0x98,0x12,0xab,0x84,0xd4,0x46,0x16,0x11,0xb1,0xb,0x2c,0xc2,0x22,0x1b,0x81,
|
||||
0x7c,0x1d,0x8a,0xd,0x6,0x1a,0xc2,0xc5,0x22,0x2e,0x39,0x8b,0x4d,0x5e,0xc9,0x41,
|
||||
0xaa,0x7b,0x9a,0x12,0xbb,0xba,0xb6,0x3d,0xd0,0x82,0x79,0x40,0x71,0x41,0x8a,0x82,
|
||||
0xe2,0x82,0x96,0xa4,0xf7,0x39,0x25,0x81,0x9f,0x6f,0x76,0x6f,0xfb,0xff,0xfd,0xfb,
|
||||
0xf7,0xff,0x1f,0x2e,0x9e,0xfb,0x7f,0x41,0x53,0xe2,0xfb,0x5,0xd,0xf1,0x2c,0x8a,
|
||||
0x5c,0xcc,0xc8,0xce,0x9e,0xc0,0xa1,0xaa,0xc9,0xc4,0x69,0x60,0x2,0xe6,0xb3,0xab,
|
||||
0x6a,0x30,0xf0,0xfb,0x87,0xb2,0x32,0x30,0x31,0x65,0x2,0x5d,0xcd,0x47,0x96,0xc1,
|
||||
0xa0,0xc8,0xfa,0xff,0xeb,0x97,0x9,0xaf,0x87,0x1f,0xb,0x13,0xf,0x2f,0xd4,0x26,
|
||||
0x46,0x6,0x81,0xe0,0x28,0xe6,0xff,0x3f,0x7f,0xa8,0x30,0x71,0xf3,0xb8,0x92,0x65,
|
||||
0x30,0xb3,0xa0,0x50,0x0,0x23,0xb,0x8b,0x18,0xaf,0x93,0x3b,0x8a,0x38,0xbb,0xba,
|
||||
0x16,0x3,0xb7,0x8d,0x23,0x33,0xb3,0xa0,0x70,0x2e,0xd0,0x72,0x36,0xa2,0xd,0x6,
|
||||
0x29,0x3e,0x2b,0xcd,0xe1,0xf3,0xff,0xf7,0xef,0xe,0x7e,0xbf,0x50,0x66,0x90,0xf7,
|
||||
0x51,0x82,0x87,0x95,0x8d,0x41,0x24,0xbd,0x80,0x95,0x91,0x91,0xd1,0x8c,0x55,0x5a,
|
||||
0xb6,0x10,0xdd,0x70,0x26,0x2c,0x6,0x32,0x9e,0x95,0x64,0xb3,0x7,0x25,0x29,0x26,
|
||||
0xe,0xce,0xe5,0x40,0x43,0x85,0x45,0xf3,0x2a,0xd8,0x41,0xde,0x47,0x7,0x9c,0x86,
|
||||
0xa6,0x3f,0x84,0x92,0xb3,0x19,0xff,0x7d,0xf9,0x5c,0xcf,0xa6,0xa8,0xd2,0xf,0xd4,
|
||||
0xcb,0xc,0x93,0xc3,0x96,0xd0,0x99,0x19,0xd9,0xd8,0x4d,0x59,0xa5,0x64,0xdf,0x9,
|
||||
0x84,0xc7,0xf5,0xf3,0x79,0xf8,0x3d,0x65,0xe2,0xe1,0xf9,0x85,0xc3,0x63,0xf,0xf9,
|
||||
0xdc,0x7d,0x3f,0xfe,0xb8,0x7c,0x5e,0xe7,0xef,0xfb,0x77,0x4f,0xf5,0x4e,0xdd,0xfa,
|
||||
0x8b,0x55,0x15,0x25,0x85,0x10,0x48,0x2f,0xb2,0x7e,0x46,0x74,0x49,0x72,0xd,0x46,
|
||||
0x6,0xd4,0x28,0xc4,0x70,0xba,0x78,0xe8,0x1,0x0,0x3e,0x3c,0x69,0x30,0x7,0xb3,
|
||||
0x24,0xc3,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,
|
||||
// /Users/grauser/Documents/DEV/Qt/qwt-6.0.1/designer/pixmaps/qwtscale.png
|
||||
0x0,0x0,0x1,0x75,
|
||||
0x89,
|
||||
0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0,
|
||||
0x0,0x0,0x16,0x0,0x0,0x0,0x16,0x8,0x6,0x0,0x0,0x0,0xc4,0xb4,0x6c,0x3b,
|
||||
0x0,0x0,0x0,0x2b,0x74,0x45,0x58,0x74,0x43,0x72,0x65,0x61,0x74,0x69,0x6f,0x6e,
|
||||
0x20,0x54,0x69,0x6d,0x65,0x0,0x53,0x6f,0x20,0x32,0x37,0x20,0x4f,0x6b,0x74,0x20,
|
||||
0x32,0x30,0x30,0x32,0x20,0x31,0x36,0x3a,0x31,0x33,0x3a,0x32,0x32,0x20,0x2b,0x30,
|
||||
0x31,0x30,0x30,0x8c,0x3a,0x78,0x7b,0x0,0x0,0x0,0x7,0x74,0x49,0x4d,0x45,0x7,
|
||||
0xd2,0xa,0x1b,0x11,0x10,0x23,0xab,0xcb,0x75,0xdf,0x0,0x0,0x0,0x9,0x70,0x48,
|
||||
0x59,0x73,0x0,0x0,0xa,0xf0,0x0,0x0,0xa,0xf0,0x1,0x42,0xac,0x34,0x98,0x0,
|
||||
0x0,0x0,0x4,0x67,0x41,0x4d,0x41,0x0,0x0,0xb1,0x8f,0xb,0xfc,0x61,0x5,0x0,
|
||||
0x0,0x0,0xcd,0x49,0x44,0x41,0x54,0x78,0xda,0x63,0x64,0xc0,0x3,0x74,0xf4,0xa6,
|
||||
0x54,0x2,0x29,0x6f,0x1c,0xd2,0x6c,0x40,0xfc,0x13,0x88,0x23,0xaf,0x5c,0xca,0x79,
|
||||
0x82,0x2e,0xc9,0xc2,0x80,0x1f,0xf4,0x3,0xf1,0x14,0x5c,0xf6,0x2,0xf1,0x5a,0x20,
|
||||
0x16,0x2,0x62,0xd2,0xc,0x6,0xba,0xe4,0x7,0x90,0xfa,0x81,0xc3,0x37,0x5f,0x81,
|
||||
0xd4,0x7f,0x5c,0x7a,0x99,0x18,0x68,0x4,0x8,0x5,0x5,0xc8,0x65,0x32,0x50,0xef,
|
||||
0xa2,0x3,0x35,0x20,0x66,0x26,0xdb,0x60,0x68,0xc4,0x3c,0x29,0x29,0xbb,0x73,0x64,
|
||||
0xc7,0x8e,0x1d,0xc8,0x52,0xdc,0x40,0xcc,0x49,0x89,0x8b,0x39,0x80,0x14,0x2b,0xd0,
|
||||
0x50,0x4f,0x74,0x29,0x6,0x48,0xe4,0x91,0xed,0x62,0xac,0x11,0x38,0x2,0x23,0xf,
|
||||
0x8,0x62,0x19,0xb0,0xe7,0x3e,0xca,0x22,0x8f,0x1,0x77,0xee,0x1b,0x8d,0x3c,0x38,
|
||||
0xa0,0x4e,0xce,0xeb,0xe9,0xfb,0x72,0x64,0xc1,0x82,0x5,0xc8,0x52,0x78,0x23,0x8f,
|
||||
0x91,0x8,0x17,0x83,0x73,0x1e,0x36,0x29,0x6,0x48,0xe4,0x79,0x0,0x2d,0xbf,0x44,
|
||||
0x8e,0x8b,0x87,0x50,0xe4,0xe1,0x89,0x38,0x10,0xa0,0x28,0xf2,0x70,0xe5,0x3a,0x10,
|
||||
0xa0,0x28,0xe7,0xe1,0xab,0xf3,0x4,0x80,0xd8,0x1e,0x88,0x1f,0x63,0x93,0x4,0x0,
|
||||
0xa7,0x60,0x4a,0x2f,0x7f,0x4f,0xa0,0xf9,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,
|
||||
0xae,0x42,0x60,0x82,
|
||||
// /Users/grauser/Documents/DEV/Qt/qwt-6.0.1/designer/pixmaps/qwtanalogclock.png
|
||||
0x0,0x0,0x1,0xa6,
|
||||
0x89,
|
||||
0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0,
|
||||
0x0,0x0,0x16,0x0,0x0,0x0,0x16,0x8,0x2,0x0,0x0,0x0,0x4b,0xd6,0xfb,0x6c,
|
||||
0x0,0x0,0x1,0x6d,0x49,0x44,0x41,0x54,0x78,0x9c,0x9d,0x54,0x31,0x8e,0xc2,0x40,
|
||||
0xc,0x34,0x4b,0x58,0xb1,0x8f,0xd8,0x32,0x1d,0x95,0x85,0x44,0x8b,0xb6,0xa3,0x47,
|
||||
0xe2,0x7,0x54,0x48,0x34,0x3c,0x3,0xf1,0x3,0x5a,0xa4,0x48,0xf4,0x14,0x91,0x22,
|
||||
0x5e,0xe0,0x8a,0xce,0x65,0x5e,0xc0,0xf,0xae,0xf0,0x9d,0x65,0x36,0x90,0xcb,0xdd,
|
||||
0x54,0x6b,0xed,0xce,0x78,0xec,0x38,0x1e,0x11,0x11,0x18,0x30,0x33,0x0,0x3c,0x1e,
|
||||
0xf,0xef,0x7d,0x8,0xc1,0x5e,0xc5,0x18,0x1,0xa0,0x2c,0x4b,0x78,0x45,0x91,0xf1,
|
||||
0xef,0xf7,0x7b,0x8,0x61,0xb1,0x58,0xe8,0x53,0x44,0x94,0x34,0x4d,0xd3,0xe8,0x4b,
|
||||
0x2b,0xe4,0x2c,0xff,0x76,0xbb,0x2d,0x97,0xcb,0xd3,0xe9,0xd4,0x4d,0x5,0x0,0x29,
|
||||
0xa5,0x94,0x52,0xdb,0xb6,0x6a,0xf6,0x45,0x82,0x99,0xaf,0xd7,0xeb,0x6a,0xb5,0x7a,
|
||||
0x4b,0x56,0x20,0x62,0x57,0xc5,0x49,0x70,0x3e,0x9f,0xd7,0xeb,0xb5,0xf0,0x89,0x8,
|
||||
0x11,0x95,0x96,0x35,0x4b,0xec,0x58,0x95,0x11,0x11,0xed,0xf7,0xfb,0xdd,0x6e,0xf7,
|
||||
0x29,0xbf,0xc8,0x89,0xae,0x95,0x6b,0x9a,0x46,0x1a,0xec,0x98,0xd9,0x7b,0xbf,0xd9,
|
||||
0x6c,0x6c,0xe6,0xb7,0xc8,0xec,0x1c,0xe,0x87,0xef,0x42,0x2e,0x97,0xcb,0x76,0xbb,
|
||||
0x25,0xa2,0xcc,0x7f,0xf,0x10,0x51,0x1c,0x3d,0x9f,0x4f,0x0,0x28,0xbc,0xf7,0x5a,
|
||||
0x42,0xb7,0xec,0x7e,0x3b,0xf3,0xf9,0x9c,0x99,0xdd,0x74,0x3a,0x1d,0x42,0xeb,0x81,
|
||||
0xcb,0x46,0xf0,0x1f,0x28,0x42,0x8,0xda,0x82,0x9e,0x42,0xb2,0xcf,0xac,0x61,0x55,
|
||||
0x55,0x45,0x8,0x61,0x60,0xb,0x2c,0x94,0xc2,0xcc,0xc5,0x64,0x32,0x19,0xf8,0xfa,
|
||||
0x13,0xdc,0x6c,0x36,0xab,0xeb,0xfa,0x4f,0x16,0xb4,0xa,0x99,0x4e,0x7,0x0,0xe3,
|
||||
0xf1,0x38,0xbb,0xfb,0xd5,0x97,0x8c,0x86,0x84,0x5,0x0,0xc4,0x18,0x75,0x8a,0x7,
|
||||
0x1a,0x21,0x22,0xfd,0xcd,0x46,0x1a,0xb4,0x6d,0x9b,0x52,0xea,0xf7,0x6f,0xbb,0x28,
|
||||
0x87,0xb2,0x2c,0x1d,0xfc,0xec,0x8f,0x18,0xa3,0x2e,0x15,0x5b,0x91,0xfd,0xe4,0x72,
|
||||
0xb6,0x7c,0xd0,0x7d,0xd1,0x55,0xf9,0x84,0x8c,0xf,0x76,0x6b,0xa9,0xa,0x22,0x1e,
|
||||
0x8f,0xc7,0xb7,0xe4,0xaa,0xaa,0x32,0x3e,0x48,0x2f,0x7a,0x52,0x75,0xd1,0x5d,0x2b,
|
||||
0x5f,0xb,0x0,0xbe,0xfd,0x70,0x63,0x0,0x15,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,
|
||||
0x44,0xae,0x42,0x60,0x82,
|
||||
// /Users/grauser/Documents/DEV/Qt/qwt-6.0.1/designer/pixmaps/qwtcounter.png
|
||||
0x0,0x0,0x4,0x2,
|
||||
0x89,
|
||||
0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0,
|
||||
0x0,0x0,0x16,0x0,0x0,0x0,0x16,0x8,0x6,0x0,0x0,0x0,0xc4,0xb4,0x6c,0x3b,
|
||||
0x0,0x0,0x0,0x7,0x74,0x49,0x4d,0x45,0x7,0xd2,0xa,0x9,0x15,0x9,0x2d,0x2a,
|
||||
0x6a,0xc6,0x8,0x0,0x0,0x0,0x9,0x70,0x48,0x59,0x73,0x0,0x0,0xb,0x12,0x0,
|
||||
0x0,0xb,0x12,0x1,0xd2,0xdd,0x7e,0xfc,0x0,0x0,0x0,0x4,0x67,0x41,0x4d,0x41,
|
||||
0x0,0x0,0xb1,0x8f,0xb,0xfc,0x61,0x5,0x0,0x0,0x3,0x91,0x49,0x44,0x41,0x54,
|
||||
0x78,0xda,0xad,0x95,0x5b,0x68,0x13,0x59,0x1c,0xc6,0xbf,0x5c,0x6d,0x6a,0xd2,0x34,
|
||||
0x69,0x2e,0xbd,0xc5,0x34,0x49,0xa1,0x46,0xbc,0x81,0x14,0x53,0x44,0xc5,0xdb,0x52,
|
||||
0x16,0xca,0xb2,0xb,0x22,0xfa,0x24,0xcb,0xae,0x3e,0x6d,0x1f,0x7c,0x13,0x65,0x97,
|
||||
0x85,0x45,0x41,0x45,0xc4,0xdb,0x83,0x88,0xa,0x8a,0xa2,0x20,0x8a,0xdd,0x15,0x41,
|
||||
0x1f,0x54,0x76,0xdb,0x2e,0x1b,0xb7,0xd5,0xd6,0x5a,0x35,0xb1,0x35,0x6d,0xc5,0x71,
|
||||
0x9a,0x9b,0x69,0x26,0xe9,0x34,0x33,0xc7,0x39,0x27,0xda,0x26,0x8a,0x9a,0x8a,0x1f,
|
||||
0x4c,0x38,0x27,0x9c,0xfc,0xe6,0x3b,0xdf,0xff,0x9f,0x73,0x54,0x28,0x90,0xb9,0x65,
|
||||
0x3d,0x49,0xf2,0x1c,0xbe,0x44,0x66,0xbb,0x13,0xc9,0xae,0x5b,0xaa,0x77,0x73,0x2d,
|
||||
0xfd,0x68,0xd8,0xb4,0x8d,0xc,0xdf,0xeb,0x42,0x4b,0xad,0x15,0x96,0x26,0x17,0xaa,
|
||||
0x8c,0x73,0x67,0x5,0x8d,0x4e,0xa4,0x21,0xa9,0xb5,0xb8,0xc4,0x2f,0x22,0xd,0xcb,
|
||||
0x5a,0x30,0x7c,0xf1,0x84,0x2a,0xff,0x86,0xc6,0x45,0xa4,0x75,0x89,0x1f,0x8d,0x35,
|
||||
0xe,0xf8,0xfd,0x7e,0xb8,0x5c,0x2e,0x98,0x4c,0xa6,0x92,0xa0,0x6a,0xb5,0x1a,0x84,
|
||||
0x10,0xe8,0xf5,0x7a,0x4,0x7,0x9f,0xa2,0x7d,0xcf,0x1,0x20,0xd4,0xa7,0xd2,0xd2,
|
||||
0xed,0x53,0xa7,0x14,0xda,0xd6,0xd6,0x86,0xe6,0xe6,0x66,0x18,0x8d,0x46,0xe8,0x74,
|
||||
0xba,0xcf,0x42,0x25,0x99,0x28,0x6e,0x27,0x91,0x11,0x73,0x70,0x56,0xcc,0x41,0x20,
|
||||
0x10,0x80,0xd3,0xe9,0xc4,0xb6,0x3f,0xe,0x10,0x35,0xcd,0xd4,0x62,0x9a,0xb,0xaf,
|
||||
0xd7,0xcb,0xa0,0x16,0x8b,0xa5,0x24,0x28,0x55,0x42,0x10,0x71,0xae,0x33,0x82,0xed,
|
||||
0xa7,0x83,0x18,0x78,0x36,0x8a,0x6c,0x36,0x8b,0xf9,0x3e,0xf,0x28,0x93,0x65,0x4c,
|
||||
0x33,0xad,0xaf,0xaf,0x67,0x4e,0x4b,0x15,0x75,0x1b,0x4f,0x4f,0x82,0x4f,0x65,0x71,
|
||||
0xff,0xf9,0x38,0xfe,0xed,0x49,0xc1,0x66,0xd4,0x63,0x81,0xcf,0x3b,0x53,0x3c,0xaa,
|
||||
0x52,0xb7,0x5f,0xe8,0xf6,0xc6,0x3,0xe,0x2f,0x92,0x79,0xf8,0xd1,0x8e,0x3e,0x78,
|
||||
0x6b,0x6d,0xb0,0x56,0x9a,0xf3,0xd9,0x17,0x2f,0x9e,0xc2,0xc9,0x3b,0x43,0x1f,0x1,
|
||||
0x4d,0xa1,0xfd,0x7c,0x2f,0xfa,0x46,0x93,0x6f,0xb3,0xcd,0x62,0x2c,0x91,0xc1,0x33,
|
||||
0x5e,0x80,0x24,0xc9,0xe0,0x26,0xa6,0xf0,0x30,0x34,0x8c,0x58,0x3c,0x1,0xa5,0x9a,
|
||||
0xc5,0xe0,0x5f,0xaf,0x3e,0xc4,0xce,0xcb,0xfd,0x1f,0x40,0xcf,0x77,0x8f,0x60,0xe3,
|
||||
0xf1,0x6e,0xdc,0x1e,0xe4,0xb1,0x72,0xef,0x1d,0x56,0xb0,0x53,0x77,0x9f,0xe3,0x7a,
|
||||
0x3f,0x87,0xbf,0xfb,0xc2,0x40,0x3c,0x82,0x44,0x22,0x89,0x93,0xd7,0xfe,0xc1,0xa3,
|
||||
0x70,0x84,0x81,0xb5,0x85,0x80,0xc3,0x5b,0x96,0xe2,0x82,0x2,0x79,0x5f,0x5b,0x2,
|
||||
0x2e,0xac,0x68,0xac,0x82,0xdb,0x56,0x8e,0x85,0xbb,0x6f,0xb2,0x2e,0xe8,0x1c,0x18,
|
||||
0x41,0x74,0xe0,0x3f,0x38,0x5e,0xd,0x41,0x16,0x5,0x20,0x37,0x9,0xe8,0xcb,0x11,
|
||||
0x8f,0x45,0x15,0xb0,0x5c,0xc,0xfe,0x94,0x28,0x74,0xed,0xbe,0xbb,0x4a,0xa1,0xf5,
|
||||
0xac,0xb5,0xe,0x6d,0x5e,0x88,0x70,0xa8,0xc,0xb1,0xe8,0x7c,0x48,0xb9,0x9c,0xb2,
|
||||
0x42,0xe9,0x65,0xa5,0x46,0x75,0xe,0x6b,0x71,0xf1,0x3e,0x96,0x6b,0x65,0xf9,0x4c,
|
||||
0x41,0x7f,0x5a,0xe5,0xc1,0x8f,0xa7,0x82,0x78,0x99,0x14,0xe1,0x9f,0xe7,0x40,0x5d,
|
||||
0x65,0x19,0x32,0x99,0x4c,0xd1,0x6f,0xc,0x6,0x3,0xfd,0xd7,0x7c,0x1a,0x5c,0x8,
|
||||
0x7d,0x17,0xc9,0x9e,0x3f,0x7,0x11,0x4b,0x8b,0xe8,0xe8,0x1d,0xc7,0xcb,0xd7,0x59,
|
||||
0xf0,0xca,0xf3,0x3a,0x9b,0xc3,0x53,0x6e,0x2,0x9a,0x34,0x8f,0x63,0x5b,0x97,0x7f,
|
||||
0xe8,0x98,0x3a,0xcc,0x49,0x64,0x7a,0x6e,0xfb,0xa5,0x3,0xe3,0x47,0xda,0xd8,0xf8,
|
||||
0xe7,0x33,0xf7,0xb0,0xcc,0x6d,0x41,0x85,0x41,0xab,0x44,0xa1,0x47,0x88,0x4b,0x61,
|
||||
0x24,0x41,0x5b,0x4d,0x44,0xff,0x58,0x12,0xa9,0xa1,0x1e,0xf8,0x75,0x3c,0x5e,0x44,
|
||||
0x1c,0x80,0x2c,0x17,0x77,0x45,0x77,0x28,0x8a,0xdf,0xbf,0x5f,0xc0,0x5a,0x8a,0x75,
|
||||
0xc9,0x77,0x7e,0x1c,0xbe,0x15,0x62,0xe3,0xe5,0x1e,0x2b,0x22,0x31,0x1,0x9d,0xbb,
|
||||
0xd6,0xb0,0x9c,0xbf,0x69,0x32,0xe1,0xf1,0x58,0xc,0xdd,0xe1,0x28,0x12,0xe1,0xff,
|
||||
0x61,0xe6,0x82,0xf8,0x76,0xb1,0x13,0x86,0xb7,0x56,0x8b,0x1c,0xb7,0x2e,0xae,0x46,
|
||||
0x6b,0xc1,0xbc,0x7d,0x7d,0xe3,0x4c,0xbe,0xab,0x3d,0xd3,0xe3,0x39,0x3a,0x2d,0x7c,
|
||||
0x35,0x16,0x58,0xd,0x3a,0x90,0xc9,0x28,0x34,0x89,0x8,0x2c,0xda,0x1c,0x5c,0xb5,
|
||||
0xd5,0xa8,0x76,0x2a,0x8e,0x55,0xea,0x62,0xc7,0xa5,0x4a,0xa5,0x1c,0x8a,0x6e,0x7b,
|
||||
0x5,0x76,0x6c,0x98,0x7,0x9b,0x36,0x83,0x4a,0x95,0x80,0x1f,0x36,0x4,0xe0,0x6b,
|
||||
0x50,0xe6,0x36,0x1b,0x5d,0x90,0x77,0x4c,0xcf,0xd3,0x9c,0xd2,0x32,0x92,0x24,0x41,
|
||||
0xa3,0xd1,0x94,0x4,0x2f,0xd3,0xeb,0xd0,0x54,0x57,0x85,0x6,0x23,0x81,0x60,0x35,
|
||||
0xc2,0xe3,0x76,0xa3,0xae,0xb6,0x6,0x23,0xaf,0xf8,0x3c,0x98,0x9e,0xfc,0xf1,0x54,
|
||||
0x9a,0x9d,0xa9,0xa2,0x28,0xe6,0xdb,0xa5,0x44,0xd7,0x1e,0xa7,0x19,0x47,0xb6,0xaf,
|
||||
0xc3,0x68,0xc4,0x7,0x5b,0x45,0x39,0xec,0x76,0x3b,0x6e,0x7,0x7b,0xd8,0x6d,0x92,
|
||||
0x97,0x72,0xd0,0xff,0xb6,0xff,0x20,0x99,0xad,0x64,0x59,0x26,0x82,0x20,0x10,0x8e,
|
||||
0xe3,0xd8,0x73,0xf6,0xca,0x35,0x42,0x59,0xd3,0x6f,0xa7,0x57,0x13,0xfd,0xe2,0xe2,
|
||||
0x5f,0x37,0xc8,0x83,0xc7,0x4f,0x66,0xd,0xef,0x1d,0x78,0x44,0x2e,0x74,0x5c,0x67,
|
||||
0xc,0x7a,0x71,0xb0,0x1d,0x15,0x6e,0xef,0x6b,0x5e,0xa6,0x6f,0x0,0x1e,0x59,0xe5,
|
||||
0x15,0x7,0x8d,0xbc,0x11,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,
|
||||
0x82,
|
||||
// /Users/grauser/Documents/DEV/Qt/qwt-6.0.1/designer/pixmaps/qwtcompass.png
|
||||
0x0,0x0,0x3,0xe0,
|
||||
0x89,
|
||||
0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0,
|
||||
0x0,0x0,0x16,0x0,0x0,0x0,0x16,0x8,0x2,0x0,0x0,0x0,0x4b,0xd6,0xfb,0x6c,
|
||||
0x0,0x0,0x0,0x9,0x70,0x48,0x59,0x73,0x0,0x0,0xb,0x12,0x0,0x0,0xb,0x12,
|
||||
0x1,0xd2,0xdd,0x7e,0xfc,0x0,0x0,0x0,0x7,0x74,0x49,0x4d,0x45,0x7,0xd3,0x4,
|
||||
0xe,0xd,0x34,0x33,0x41,0x3,0x14,0x60,0x0,0x0,0x3,0x7f,0x49,0x44,0x41,0x54,
|
||||
0x78,0x9c,0x6d,0x54,0xcb,0x6e,0xdb,0x46,0x14,0xbd,0xf3,0x20,0x45,0x72,0xc4,0x21,
|
||||
0xf4,0x82,0x64,0x4b,0xb5,0x90,0x8,0x96,0x83,0x78,0x55,0x67,0xdb,0xae,0xbc,0xc9,
|
||||
0xa6,0x5d,0x7,0x68,0x7f,0x21,0x9b,0x16,0x8,0xb2,0xce,0xb2,0xfd,0x85,0x7c,0x41,
|
||||
0x11,0x20,0x7f,0x11,0x78,0x99,0x38,0x80,0x5b,0x38,0x80,0x1d,0x55,0xb6,0x1e,0x21,
|
||||
0x44,0x4a,0x91,0xf8,0x18,0x92,0xc3,0xe9,0x82,0x82,0x22,0x5b,0xbd,0x2b,0xf2,0xc,
|
||||
0xef,0xb9,0xe7,0xde,0x73,0x39,0xe8,0xcd,0x5f,0x6f,0xe0,0x6e,0xe4,0x79,0xbe,0x58,
|
||||
0x2c,0xa2,0x38,0xd2,0x4b,0xba,0x6d,0xdb,0x94,0x50,0x95,0x2b,0x40,0x40,0x30,0x41,
|
||||
0x8,0xc1,0x4e,0xd0,0xed,0x17,0xa5,0xd4,0xcd,0xed,0x4d,0xae,0xf2,0x7e,0xbf,0xdf,
|
||||
0x6c,0x35,0x9,0x21,0xdb,0x47,0x61,0x18,0x6,0x41,0x90,0xc6,0x69,0x92,0x24,0xff,
|
||||
0x4f,0x91,0x24,0xc9,0xc5,0xe5,0xc5,0x93,0x93,0x27,0x7,0x7,0x7,0x1b,0xf0,0xfa,
|
||||
0xfa,0x1a,0x0,0x1e,0x3c,0x78,0x80,0x10,0x62,0x8c,0x31,0xc6,0xd2,0x24,0xd,0x56,
|
||||
0xc1,0x62,0xbe,0xc8,0xf3,0xfc,0xe,0x45,0x92,0x24,0x97,0x57,0x97,0xa7,0xa7,0xa7,
|
||||
0xdc,0xe6,0x5,0x22,0xa5,0x14,0x42,0x58,0x96,0x65,0x18,0xc6,0x72,0xb9,0xb4,0x6d,
|
||||
0xbb,0xc0,0x35,0x5d,0x73,0x2a,0xe,0x63,0x6c,0x3c,0x1a,0x4b,0x29,0x1,0x0,0x17,
|
||||
0x22,0x2f,0x2e,0x2f,0xf6,0xf7,0xf6,0xbd,0x99,0xb7,0x5a,0xae,0xf2,0x3c,0xf7,0x3c,
|
||||
0x2f,0x8a,0x22,0x8c,0x71,0xb3,0xd9,0x74,0x1c,0x87,0x52,0xea,0xfb,0x7e,0x71,0x34,
|
||||
0x99,0x4c,0xae,0xae,0xae,0xe2,0x24,0xee,0x74,0x3a,0xc5,0x68,0x28,0x0,0xc,0x86,
|
||||
0x83,0x93,0xef,0x4f,0xb2,0x2c,0x33,0x4d,0x53,0x8,0x21,0x73,0x59,0xad,0x56,0xb7,
|
||||
0xbb,0x35,0x4d,0xd3,0x34,0x4d,0x4a,0xe9,0x6a,0xb5,0x32,0xc,0x63,0x36,0x9b,0x61,
|
||||
0x8c,0x35,0x43,0xab,0x37,0xea,0xee,0x17,0x17,0x4b,0x29,0x65,0x2e,0xbb,0xdd,0x6e,
|
||||
0xaf,0xd7,0x6b,0x34,0x1a,0x54,0xa3,0x9c,0xf3,0xdd,0xb1,0x6b,0x9a,0xf6,0xe8,0xe8,
|
||||
0x51,0xa5,0x52,0x1,0x80,0xe3,0xe3,0x63,0xc6,0x98,0x94,0x72,0x7f,0x6f,0x9f,0x10,
|
||||
0x82,0x7d,0xdf,0xef,0xf7,0xfb,0xc5,0x77,0xf3,0xf9,0xdc,0x71,0x9c,0x5d,0xe7,0x30,
|
||||
0xc6,0xbd,0x87,0xbd,0xe9,0x97,0x69,0x14,0x45,0x8e,0xe3,0xf8,0xbe,0x5f,0xe0,0xa9,
|
||||
0x4c,0x6b,0xb5,0x1a,0x8e,0xa2,0xa8,0xdd,0x6e,0x17,0xf3,0xd3,0x75,0x7d,0xb7,0x3e,
|
||||
0x0,0x74,0xf,0xba,0x61,0x18,0xba,0xae,0xb,0x0,0x8,0x21,0x4a,0xa9,0x52,0xa,
|
||||
0x0,0x62,0x11,0xb7,0x5a,0x2d,0xac,0x95,0xb4,0xc2,0x7f,0x21,0x4,0xa5,0xf4,0x5e,
|
||||
0xb2,0x69,0x9a,0xed,0x76,0x9b,0x52,0x3a,0xbc,0x19,0x6e,0x40,0x84,0x50,0x9a,0xa6,
|
||||
0x85,0xf,0xe5,0x72,0x19,0x33,0xc6,0xd2,0x34,0x1d,0xc,0x6,0x93,0xc9,0xc4,0x30,
|
||||
0x8c,0x3b,0xf9,0x9f,0x3e,0xb5,0xfe,0xfe,0x27,0x11,0xc9,0xe7,0xc1,0xe7,0xa2,0x6c,
|
||||
0x11,0xba,0xae,0xbb,0xae,0x3b,0xfc,0x77,0x8,0x0,0x80,0x0,0xeb,0xba,0xae,0x69,
|
||||
0x1a,0x21,0xa4,0x56,0xab,0xdd,0x93,0xa0,0x8f,0xc7,0xe1,0x8b,0x17,0xf2,0xf5,0xeb,
|
||||
0x2c,0xcb,0xb6,0x71,0x42,0x88,0x65,0x59,0xdc,0xe1,0x6b,0xa,0x99,0x49,0x0,0xe8,
|
||||
0x74,0x3a,0x18,0xe3,0x28,0x8a,0xbe,0x59,0xe0,0xba,0xdf,0xfd,0xf1,0x67,0xfc,0xfc,
|
||||
0xb9,0xff,0xf3,0x4f,0xdb,0x12,0x0,0x20,0x8,0x2,0xd3,0x34,0x1d,0xc7,0x1,0x0,
|
||||
0x82,0x9,0x6,0x80,0x62,0x55,0x6d,0xdb,0x8e,0xe3,0x78,0x6d,0x41,0x14,0x3f,0xfc,
|
||||
0xed,0xf7,0xe9,0xaf,0xbf,0x2c,0x7e,0xfc,0x41,0x61,0x7c,0x4f,0x9d,0x94,0xb2,0x68,
|
||||
0xb9,0xa8,0x8a,0x4b,0x7a,0x29,0x8,0x82,0x75,0x65,0xaa,0x15,0x74,0xdd,0x57,0xaf,
|
||||
0xa2,0xa3,0xbe,0xfb,0xec,0xd9,0xae,0x3b,0x52,0x4a,0x4d,0xd3,0x8a,0x67,0x6e,0xf3,
|
||||
0xe9,0x74,0x8a,0x9,0x21,0xcb,0xaf,0xcb,0x2,0xb2,0x98,0xb5,0x5c,0x2e,0xab,0x6f,
|
||||
0xdf,0x52,0xcf,0x1b,0xbe,0x7c,0xb9,0x9b,0x9f,0x65,0x59,0x10,0x4,0xe5,0x72,0x79,
|
||||
0x4d,0xc1,0xf9,0x78,0x34,0xa6,0x0,0x90,0x88,0x24,0x8e,0xe3,0xd1,0x68,0x4,0xa,
|
||||
0xca,0x76,0x79,0xf8,0xf8,0xb1,0xff,0xf4,0xa9,0xda,0x31,0x58,0x4a,0x19,0x86,0x61,
|
||||
0x18,0x86,0x83,0xc1,0xa0,0xd7,0xeb,0xed,0xb5,0xf6,0x6e,0x6f,0x6e,0xb3,0x2c,0xa3,
|
||||
0x0,0xa0,0x72,0xb5,0xfa,0xba,0xb2,0x2c,0xcb,0x34,0x4d,0x84,0x10,0x3b,0x3a,0xf2,
|
||||
0x7c,0x9f,0x66,0x19,0x42,0x48,0xd7,0x75,0x42,0x48,0x10,0x4,0x85,0x7e,0xce,0xb9,
|
||||
0xa6,0x69,0x42,0x8,0xc6,0x58,0x99,0x95,0xcf,0xdf,0x9f,0xc3,0xe6,0x67,0x5f,0xad,
|
||||
0x56,0x8d,0x7a,0x83,0xd9,0xc,0x10,0x0,0x40,0xa5,0x52,0x51,0x4a,0xa5,0x69,0xea,
|
||||
0xfb,0xbe,0x61,0x18,0xa5,0x52,0x69,0xb3,0x32,0xa6,0x69,0x1e,0x1e,0x1e,0xb6,0x9a,
|
||||
0xad,0xb3,0x77,0x67,0xc5,0xe0,0xd6,0xd3,0x56,0xb9,0x9a,0xcd,0x66,0x22,0x16,0x18,
|
||||
0xad,0x91,0x42,0x2,0xa5,0x54,0x8,0xb1,0xbd,0x72,0xe,0x77,0x1a,0xb5,0xc6,0xd9,
|
||||
0xbb,0x33,0x21,0x44,0x81,0x7c,0x6b,0x58,0x4a,0x39,0x1e,0x8d,0x2b,0x95,0x4a,0xa3,
|
||||
0xd5,0xc0,0x80,0x45,0x2a,0x94,0x52,0x9b,0x7d,0xc3,0x18,0x73,0x9b,0x73,0xce,0x6f,
|
||||
0x6f,0x6e,0xcf,0xdf,0x9f,0x6f,0xae,0x2c,0xd8,0xbd,0x3b,0x3d,0xcf,0x9b,0xcf,0xe7,
|
||||
0xd5,0x6a,0xb5,0x5e,0xaf,0x73,0x9b,0x3,0x1,0x4a,0x28,0x21,0x24,0x8a,0xa2,0xe9,
|
||||
0x74,0xfa,0xf1,0xc3,0xc7,0x7b,0x9b,0xa,0x0,0xff,0x1,0xeb,0xd6,0xb9,0xfd,0x35,
|
||||
0x6a,0x40,0xa3,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,
|
||||
// /Users/grauser/Documents/DEV/Qt/qwt-6.0.1/designer/pixmaps/qwtknob.png
|
||||
0x0,0x0,0x3,0x27,
|
||||
0x89,
|
||||
0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0,
|
||||
0x0,0x0,0x16,0x0,0x0,0x0,0x16,0x8,0x2,0x0,0x0,0x0,0x4b,0xd6,0xfb,0x6c,
|
||||
0x0,0x0,0x0,0x2a,0x74,0x45,0x58,0x74,0x43,0x72,0x65,0x61,0x74,0x69,0x6f,0x6e,
|
||||
0x20,0x54,0x69,0x6d,0x65,0x0,0x4d,0x69,0x20,0x39,0x20,0x4f,0x6b,0x74,0x20,0x32,
|
||||
0x30,0x30,0x32,0x20,0x32,0x33,0x3a,0x31,0x32,0x3a,0x30,0x37,0x20,0x2b,0x30,0x31,
|
||||
0x30,0x30,0xcd,0x73,0xb0,0xc8,0x0,0x0,0x0,0x7,0x74,0x49,0x4d,0x45,0x7,0xd2,
|
||||
0xa,0x9,0x15,0xf,0x9,0x40,0x33,0x85,0x5f,0x0,0x0,0x0,0x9,0x70,0x48,0x59,
|
||||
0x73,0x0,0x0,0xe,0xc3,0x0,0x0,0xe,0xc3,0x1,0xc7,0x6f,0xa8,0x64,0x0,0x0,
|
||||
0x0,0x4,0x67,0x41,0x4d,0x41,0x0,0x0,0xb1,0x8f,0xb,0xfc,0x61,0x5,0x0,0x0,
|
||||
0x2,0x80,0x49,0x44,0x41,0x54,0x78,0xda,0xad,0x54,0x6b,0x6b,0xd3,0x50,0x18,0x6e,
|
||||
0xd3,0x5b,0xd6,0x26,0xdd,0xb2,0x5e,0xd2,0x76,0x75,0x75,0x17,0x10,0xc6,0xaa,0x93,
|
||||
0xb5,0x9b,0x88,0x96,0x21,0x88,0xfe,0x6,0x61,0xf8,0x41,0xf0,0x8f,0x88,0x1f,0xfc,
|
||||
0xf,0xc2,0x44,0xf0,0xb3,0x82,0xb8,0x31,0xd1,0x8f,0x7e,0xd0,0x8d,0x2a,0xeb,0x6c,
|
||||
0xb3,0xae,0xdd,0x4c,0xb7,0x5e,0xd7,0xa4,0xcd,0x65,0x4d,0xba,0x66,0xa9,0x6f,0x8d,
|
||||
0xc,0x7b,0x5b,0x95,0xf9,0xe4,0x25,0x9c,0xf3,0x9c,0xf7,0x3d,0x3c,0xef,0x73,0x4e,
|
||||
0xa2,0xdf,0xf8,0xf4,0x5e,0x77,0x31,0x20,0x17,0xac,0x7,0x18,0xbb,0xa9,0x7d,0x9a,
|
||||
0x96,0xe5,0xba,0x7f,0xcc,0x87,0x63,0xd8,0x9f,0xfc,0x6e,0x7a,0x4f,0xae,0xc9,0x6e,
|
||||
0xb7,0x8b,0x24,0x5d,0x3,0x54,0xac,0xbc,0x78,0xc5,0x32,0x6c,0x3c,0x41,0x75,0xf0,
|
||||
0xf1,0xef,0x9,0x2a,0x99,0xfc,0x91,0xa1,0x3b,0x78,0x7d,0xb7,0x17,0x95,0x2a,0x97,
|
||||
0xcb,0xe5,0xa6,0x26,0xa7,0x50,0xd4,0xc,0xd3,0x83,0xc3,0xec,0x25,0xff,0x18,0xc,
|
||||
0xa8,0x64,0xca,0x68,0x44,0x46,0x9,0x2,0x62,0x40,0x23,0xc4,0xc8,0xb0,0xdd,0x8e,
|
||||
0x47,0xa3,0xdf,0x30,0x1c,0xe3,0x79,0x9e,0xa6,0x33,0x62,0x70,0xd6,0x64,0x32,0x3b,
|
||||
0x46,0x9,0x97,0xd3,0xf1,0x57,0x5e,0x0,0x58,0xb6,0x22,0x49,0x72,0x78,0xf1,0x86,
|
||||
0xd3,0xe9,0x86,0x69,0xb9,0x5c,0x5a,0x5b,0x5d,0xd,0xcd,0x5f,0xef,0x99,0xdc,0xd9,
|
||||
0x88,0x20,0x8a,0x5b,0x5b,0xdb,0x5e,0x9f,0xef,0x76,0xe4,0xe,0x5b,0x2e,0x4a,0x35,
|
||||
0x1,0xc8,0x21,0x2b,0x3e,0xea,0x24,0x3f,0x7e,0x58,0x67,0x18,0x66,0x7a,0x6a,0x82,
|
||||
0x74,0xbb,0x3a,0x55,0x9c,0xaa,0xaa,0xd2,0x50,0x9a,0x4d,0x15,0x45,0x51,0x9b,0xcd,
|
||||
0x66,0x36,0x99,0x6f,0xde,0x8a,0x64,0x33,0xa9,0xb3,0x24,0xd8,0xe8,0x80,0xe6,0x8f,
|
||||
0xa5,0xba,0xc1,0x80,0xb8,0x5c,0x4e,0x8d,0xac,0xc9,0x32,0xbc,0xad,0x28,0x6a,0x78,
|
||||
0xfc,0x68,0x99,0xe3,0xf8,0xe7,0x2b,0x2f,0x25,0xb9,0x95,0x51,0xc8,0x17,0x83,0xd7,
|
||||
0xe6,0x4e,0x4f,0xea,0x8a,0xd2,0x68,0x53,0xab,0xd7,0x83,0xbb,0x8a,0xa2,0x82,0x10,
|
||||
0x49,0x96,0x4a,0xc5,0xa3,0xd7,0x6f,0xde,0x6e,0xc5,0xe2,0xa1,0xf9,0xb9,0xd6,0xa1,
|
||||
0x32,0x2c,0x33,0x17,0x9c,0x1d,0xb1,0x3,0xf0,0x58,0x3c,0xe1,0x26,0xbd,0xb2,0x5c,
|
||||
0xeb,0xee,0x19,0x5c,0x56,0x55,0x5d,0x2c,0xb6,0x6d,0x34,0x1a,0x31,0x3b,0x36,0x33,
|
||||
0x73,0x25,0x30,0xee,0xff,0xdd,0xc8,0xf4,0xe4,0x24,0x84,0x96,0xa7,0xb1,0x1a,0xa0,
|
||||
0xc1,0x6a,0x85,0x73,0x38,0xda,0x8e,0x30,0x10,0x18,0xf7,0x79,0x3c,0x30,0xf0,0x92,
|
||||
0x64,0xef,0xab,0x55,0x2e,0x33,0xa5,0x62,0x1e,0x45,0xad,0x50,0xff,0xe4,0xe9,0x33,
|
||||
0x5e,0xe0,0xcf,0x96,0xaa,0x1c,0x8f,0x20,0xad,0x84,0x8e,0x92,0xb6,0x2d,0xc0,0xa1,
|
||||
0x85,0x70,0x28,0x1a,0xdd,0x1c,0x71,0xba,0x3f,0x7f,0xd9,0x7c,0xb8,0xfc,0x60,0xe2,
|
||||
0x72,0x40,0x5b,0x52,0x9b,0xcd,0x7d,0xfa,0x50,0x14,0xf8,0xa5,0xa5,0x8,0xc3,0x54,
|
||||
0xfa,0xde,0xb,0xb0,0x17,0xa2,0xa1,0x34,0xbe,0x6e,0x6e,0x20,0x6,0xb,0x86,0xdb,
|
||||
0xa1,0xf2,0x97,0x59,0xd5,0xf4,0x5e,0xc6,0xef,0x6b,0x9d,0xa5,0x6d,0x68,0x8,0xa2,
|
||||
0xaf,0xa,0xd,0xc,0xc3,0xda,0x71,0x6c,0x21,0x74,0xf5,0xf8,0x58,0x4a,0x50,0x69,
|
||||
0x8,0x18,0xc0,0xd4,0xeb,0xf5,0x14,0x4b,0x47,0xd0,0xe0,0x80,0xab,0xf5,0x6e,0x6d,
|
||||
0xfd,0xfe,0xbd,0xbb,0x6,0xa4,0xf7,0x4f,0x0,0xea,0xf3,0x85,0x42,0x36,0x9b,0x13,
|
||||
0x45,0x11,0xc3,0xb0,0xc5,0x70,0xa8,0x87,0xa,0x6a,0x27,0xd5,0xaf,0x1e,0x0,0x4b,
|
||||
0x4,0x41,0x24,0x12,0x3b,0x14,0xb5,0xcb,0x71,0x42,0x6f,0x15,0x9c,0x20,0xc,0xe3,
|
||||
0xb8,0xae,0x3f,0xc0,0x9d,0xc6,0x9,0x3c,0xd,0xb5,0xa9,0x6a,0x99,0x9d,0x9f,0xd9,
|
||||
0xf9,0xf5,0x2d,0xd9,0x7a,0xbd,0xc5,0x62,0x86,0x38,0xcf,0xce,0x7f,0xc5,0x7f,0xd8,
|
||||
0xe2,0x27,0x25,0x35,0x22,0x3,0x9a,0x52,0xcb,0xd9,0x0,0x0,0x0,0x0,0x49,0x45,
|
||||
0x4e,0x44,0xae,0x42,0x60,0x82,
|
||||
// /Users/grauser/Documents/DEV/Qt/qwt-6.0.1/designer/pixmaps/qwtthermo.png
|
||||
0x0,0x0,0x2,0x44,
|
||||
0x89,
|
||||
0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0,
|
||||
0x0,0x0,0xd,0x0,0x0,0x0,0x16,0x8,0x2,0x0,0x0,0x0,0x94,0x98,0x81,0x73,
|
||||
0x0,0x0,0x0,0x2a,0x74,0x45,0x58,0x74,0x43,0x72,0x65,0x61,0x74,0x69,0x6f,0x6e,
|
||||
0x20,0x54,0x69,0x6d,0x65,0x0,0x4d,0x69,0x20,0x39,0x20,0x4f,0x6b,0x74,0x20,0x32,
|
||||
0x30,0x30,0x32,0x20,0x32,0x33,0x3a,0x30,0x33,0x3a,0x31,0x31,0x20,0x2b,0x30,0x31,
|
||||
0x30,0x30,0x4c,0x45,0x31,0x92,0x0,0x0,0x0,0x7,0x74,0x49,0x4d,0x45,0x7,0xd2,
|
||||
0xa,0x1b,0xf,0x2,0x6,0x8e,0x83,0x5f,0x31,0x0,0x0,0x0,0x9,0x70,0x48,0x59,
|
||||
0x73,0x0,0x0,0xe,0x74,0x0,0x0,0xe,0x74,0x1,0x6b,0x24,0xb3,0xd6,0x0,0x0,
|
||||
0x0,0x4,0x67,0x41,0x4d,0x41,0x0,0x0,0xb1,0x8f,0xb,0xfc,0x61,0x5,0x0,0x0,
|
||||
0x1,0x9d,0x49,0x44,0x41,0x54,0x78,0xda,0x8d,0x53,0xd9,0x6a,0xc2,0x50,0x10,0xcd,
|
||||
0xe6,0x52,0x12,0x22,0x62,0x44,0x51,0x7c,0xd0,0x44,0x83,0xa2,0xe2,0x77,0xb4,0x8f,
|
||||
0xfd,0x64,0x5f,0x84,0x56,0x2b,0x42,0xab,0xf,0x22,0x28,0xa6,0x5a,0x97,0x98,0xa8,
|
||||
0x91,0xba,0xd2,0xa3,0x57,0x34,0xca,0x6d,0xe9,0x81,0x84,0x99,0x9b,0x99,0x33,0xe7,
|
||||
0xce,0x4c,0xd8,0x72,0xb9,0xcc,0xfc,0x3,0x2,0x9e,0x6a,0xb5,0x2a,0x49,0xd2,0xf2,
|
||||
0x4,0x4d,0xd3,0xe2,0xf1,0xf8,0x62,0xb1,0xc0,0xf9,0x6e,0xb7,0xeb,0xf5,0x7a,0xb9,
|
||||
0x5c,0xce,0xe3,0xf1,0x70,0xf0,0x39,0x8e,0x5b,0xad,0x56,0xfb,0xfd,0x5e,0x10,0x84,
|
||||
0xd9,0x6c,0x86,0x93,0xd1,0x68,0xd4,0x6c,0x36,0x2b,0x95,0x4a,0x24,0x12,0x51,0x55,
|
||||
0xf5,0xcc,0x87,0xc,0xbc,0xd7,0x27,0x84,0xc3,0x61,0xd8,0xa2,0x28,0xb6,0x5a,0x2d,
|
||||
0xe4,0x5f,0xea,0x1e,0x2d,0x9f,0xcf,0x77,0x38,0x1c,0xc0,0x87,0x42,0xe4,0x34,0x1a,
|
||||
0x8d,0xa2,0xfa,0xbd,0x3e,0x0,0xd9,0x96,0x65,0xf9,0xfd,0xfe,0xc9,0x64,0x52,0x28,
|
||||
0x14,0xea,0xf5,0xfa,0xdd,0x3d,0xce,0xcc,0x28,0x14,0x8,0x4,0xb6,0xdb,0x6d,0x28,
|
||||
0x14,0x82,0x5b,0x2a,0x95,0xc8,0x79,0xa7,0x63,0x2d,0x97,0x9b,0x2b,0x5f,0x26,0x93,
|
||||
0x71,0x67,0xf,0x87,0x43,0xc7,0x61,0xde,0x3f,0xe4,0xd7,0x97,0x37,0x5d,0x2f,0x22,
|
||||
0xf7,0xcc,0x67,0x18,0x46,0xbb,0xdd,0xae,0xd5,0x6a,0xb6,0x6d,0x13,0x7d,0xdf,0x6b,
|
||||
0xc6,0xf8,0x7c,0x60,0x39,0xfe,0xa6,0x6e,0x7,0x5,0x2c,0x8b,0x65,0x59,0x18,0x70,
|
||||
0x7f,0xd5,0x97,0xcd,0x66,0x15,0x45,0xf1,0x7a,0xbd,0x30,0xe0,0xa2,0xdb,0xe6,0x74,
|
||||
0x4a,0xb9,0xaf,0x72,0x82,0xfb,0x83,0x2c,0xcb,0x94,0xb8,0xf1,0x78,0xc,0x7d,0x64,
|
||||
0x6e,0xc9,0x64,0x72,0x30,0x18,0xd0,0xeb,0x9a,0xa6,0x9,0x7d,0xe8,0xf6,0x66,0x73,
|
||||
0xec,0x42,0x2c,0x16,0xa3,0xec,0x1,0xa0,0xeb,0x7a,0x3a,0x9d,0x46,0x1c,0x46,0xc,
|
||||
0x17,0x7b,0xc0,0xba,0x86,0x76,0xe5,0x9b,0xcf,0xe7,0xe8,0x19,0x2e,0x8b,0xe9,0x91,
|
||||
0xbe,0xf0,0x3c,0x4f,0x89,0x3,0xba,0xdd,0xae,0xe3,0x38,0x8d,0x46,0xe3,0xaf,0xbe,
|
||||
0x60,0xcf,0xb0,0x29,0xd8,0x97,0x44,0x22,0xe1,0x9e,0xdb,0xbd,0xbe,0x7c,0x3e,0x4f,
|
||||
0xda,0x76,0x99,0x1b,0x9d,0x8f,0x0,0x8b,0x89,0x6,0x11,0x7d,0x74,0x3e,0x2,0x2c,
|
||||
0x62,0xbf,0xdf,0x87,0x0,0xe8,0x93,0x44,0xe6,0xe9,0x31,0xa8,0xa9,0xcf,0xa9,0x54,
|
||||
0xd0,0xb6,0xbf,0x6e,0xe2,0xf0,0x97,0x90,0x2d,0x77,0xeb,0x43,0x10,0xde,0x3f,0x4,
|
||||
0xb,0xc6,0xcd,0x1c,0x98,0xbd,0xf5,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae,
|
||||
0x42,0x60,0x82,
|
||||
// /Users/grauser/Documents/DEV/Qt/qwt-6.0.1/designer/pixmaps/qwtwidget.png
|
||||
0x0,0x0,0x4,0x36,
|
||||
0x89,
|
||||
0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0,
|
||||
0x0,0x0,0x16,0x0,0x0,0x0,0x16,0x8,0x3,0x0,0x0,0x0,0xf3,0x6a,0x9c,0x9,
|
||||
0x0,0x0,0x0,0x7,0x74,0x49,0x4d,0x45,0x7,0xd2,0xa,0x9,0x12,0x32,0xe,0xb1,
|
||||
0xf0,0x4e,0xc7,0x0,0x0,0x0,0x9,0x70,0x48,0x59,0x73,0x0,0x0,0xb,0x12,0x0,
|
||||
0x0,0xb,0x12,0x1,0xd2,0xdd,0x7e,0xfc,0x0,0x0,0x0,0x4,0x67,0x41,0x4d,0x41,
|
||||
0x0,0x0,0xb1,0x8f,0xb,0xfc,0x61,0x5,0x0,0x0,0x3,0x0,0x50,0x4c,0x54,0x45,
|
||||
0xf7,0x0,0x0,0xf7,0x8,0x8,0xf7,0x10,0x10,0xff,0x10,0x10,0xff,0x18,0x18,0xff,
|
||||
0x21,0x21,0xff,0x29,0x29,0xff,0x31,0x31,0xff,0x39,0x39,0xff,0x42,0x42,0xff,0x52,
|
||||
0x52,0xff,0x5a,0x5a,0xff,0x63,0x63,0xff,0x6b,0x6b,0xff,0x73,0x73,0xff,0x7b,0x7b,
|
||||
0xff,0x84,0x84,0xff,0x8c,0x8c,0xff,0x94,0x94,0xff,0x9c,0x9c,0xff,0xa5,0xa5,0xff,
|
||||
0xad,0xad,0xff,0xb5,0xb5,0xff,0xbd,0xbd,0xff,0xc6,0xc6,0xff,0xce,0xce,0xff,0xd6,
|
||||
0xd6,0xff,0xde,0xde,0xff,0xe7,0xe7,0xff,0xef,0xef,0xff,0xf7,0xf7,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0x21,0x6a,0xf5,0x10,0x0,0x0,0x0,0x20,0x74,0x52,0x4e,0x53,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
|
||||
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x0,0x5c,0x5c,0x1b,0xed,
|
||||
0x0,0x0,0x0,0x8d,0x49,0x44,0x41,0x54,0x78,0xda,0xbd,0x90,0xdd,0xa,0xc3,0x20,
|
||||
0xc,0x85,0x8d,0xd0,0xfa,0x53,0xb3,0xb6,0xae,0x15,0x5b,0xd4,0xf3,0xfe,0x6f,0xb9,
|
||||
0xb8,0xab,0x6d,0xf4,0x72,0x5b,0x8,0xe4,0xf0,0x41,0x38,0x39,0x51,0xb8,0x2c,0xf5,
|
||||
0x53,0xdc,0xa2,0xd1,0xa1,0x7d,0xe2,0xe6,0xb8,0xb6,0x99,0xdf,0x20,0x43,0xad,0x93,
|
||||
0xcc,0xaa,0x5f,0x60,0x9,0x9,0xca,0xe4,0x2e,0x9,0xd0,0x94,0x61,0xf,0xc,0x22,
|
||||
0x8,0x8a,0x3a,0xcd,0xa3,0x6c,0xc,0x28,0x1a,0xad,0xf7,0x9,0xa5,0xab,0x60,0xbf,
|
||||
0x0,0x5b,0xc0,0xea,0xb1,0x33,0x92,0x15,0xcb,0x69,0x6e,0x95,0x9d,0x5c,0x12,0xf6,
|
||||
0x64,0xe3,0x61,0x2a,0xf8,0x2e,0xb8,0x38,0x1a,0xe3,0xd3,0x5e,0xc7,0x8d,0xec,0x9,
|
||||
0xdc,0x68,0xe9,0x71,0xa8,0x94,0x7a,0x91,0x92,0xc9,0x97,0xff,0x7e,0xf0,0xb,0xf8,
|
||||
0x1,0x79,0x65,0x34,0x9a,0xd3,0x83,0x54,0x7c,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,
|
||||
0x44,0xae,0x42,0x60,0x82,
|
||||
|
||||
};
|
||||
|
||||
static const unsigned char qt_resource_name[] = {
|
||||
// pixmaps
|
||||
0x0,0x7,
|
||||
0x7,0xf,0x38,0x93,
|
||||
0x0,0x70,
|
||||
0x0,0x69,0x0,0x78,0x0,0x6d,0x0,0x61,0x0,0x70,0x0,0x73,
|
||||
// qwtslider.png
|
||||
0x0,0xd,
|
||||
0xb,0x12,0x13,0x47,
|
||||
0x0,0x71,
|
||||
0x0,0x77,0x0,0x74,0x0,0x73,0x0,0x6c,0x0,0x69,0x0,0x64,0x0,0x65,0x0,0x72,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67,
|
||||
// qwtdial.png
|
||||
0x0,0xb,
|
||||
0xf,0x8e,0x82,0x7,
|
||||
0x0,0x71,
|
||||
0x0,0x77,0x0,0x74,0x0,0x64,0x0,0x69,0x0,0x61,0x0,0x6c,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67,
|
||||
// qwtwheel.png
|
||||
0x0,0xc,
|
||||
0x4,0xa2,0x2c,0x87,
|
||||
0x0,0x71,
|
||||
0x0,0x77,0x0,0x74,0x0,0x77,0x0,0x68,0x0,0x65,0x0,0x65,0x0,0x6c,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67,
|
||||
// qwtplot.png
|
||||
0x0,0xb,
|
||||
0x3,0x96,0x81,0xa7,
|
||||
0x0,0x71,
|
||||
0x0,0x77,0x0,0x74,0x0,0x70,0x0,0x6c,0x0,0x6f,0x0,0x74,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67,
|
||||
// qwtscale.png
|
||||
0x0,0xc,
|
||||
0xb,0x3d,0x24,0x67,
|
||||
0x0,0x71,
|
||||
0x0,0x77,0x0,0x74,0x0,0x73,0x0,0x63,0x0,0x61,0x0,0x6c,0x0,0x65,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67,
|
||||
// qwtanalogclock.png
|
||||
0x0,0x12,
|
||||
0x3,0xcf,0x42,0x7,
|
||||
0x0,0x71,
|
||||
0x0,0x77,0x0,0x74,0x0,0x61,0x0,0x6e,0x0,0x61,0x0,0x6c,0x0,0x6f,0x0,0x67,0x0,0x63,0x0,0x6c,0x0,0x6f,0x0,0x63,0x0,0x6b,0x0,0x2e,0x0,0x70,0x0,0x6e,
|
||||
0x0,0x67,
|
||||
// qwtcounter.png
|
||||
0x0,0xe,
|
||||
0x7,0x91,0x99,0xc7,
|
||||
0x0,0x71,
|
||||
0x0,0x77,0x0,0x74,0x0,0x63,0x0,0x6f,0x0,0x75,0x0,0x6e,0x0,0x74,0x0,0x65,0x0,0x72,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67,
|
||||
// qwtcompass.png
|
||||
0x0,0xe,
|
||||
0x5,0xf2,0x81,0xa7,
|
||||
0x0,0x71,
|
||||
0x0,0x77,0x0,0x74,0x0,0x63,0x0,0x6f,0x0,0x6d,0x0,0x70,0x0,0x61,0x0,0x73,0x0,0x73,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67,
|
||||
// qwtknob.png
|
||||
0x0,0xb,
|
||||
0x5,0xa4,0x81,0x7,
|
||||
0x0,0x71,
|
||||
0x0,0x77,0x0,0x74,0x0,0x6b,0x0,0x6e,0x0,0x6f,0x0,0x62,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67,
|
||||
// qwtthermo.png
|
||||
0x0,0xd,
|
||||
0x9,0x19,0xb,0x27,
|
||||
0x0,0x71,
|
||||
0x0,0x77,0x0,0x74,0x0,0x74,0x0,0x68,0x0,0x65,0x0,0x72,0x0,0x6d,0x0,0x6f,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67,
|
||||
// qwtwidget.png
|
||||
0x0,0xd,
|
||||
0xc,0x10,0xe9,0xe7,
|
||||
0x0,0x71,
|
||||
0x0,0x77,0x0,0x74,0x0,0x77,0x0,0x69,0x0,0x64,0x0,0x67,0x0,0x65,0x0,0x74,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67,
|
||||
|
||||
};
|
||||
|
||||
static const unsigned char qt_resource_struct[] = {
|
||||
// :
|
||||
0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x1,
|
||||
// :/pixmaps
|
||||
0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0xb,0x0,0x0,0x0,0x2,
|
||||
// :/pixmaps/qwtplot.png
|
||||
0x0,0x0,0x0,0x6e,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x4,0xab,
|
||||
// :/pixmaps/qwtanalogclock.png
|
||||
0x0,0x0,0x0,0xa8,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x8,0x47,
|
||||
// :/pixmaps/qwtwheel.png
|
||||
0x0,0x0,0x0,0x50,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x3,0x7d,
|
||||
// :/pixmaps/qwtknob.png
|
||||
0x0,0x0,0x1,0x16,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x11,0xdb,
|
||||
// :/pixmaps/qwtcompass.png
|
||||
0x0,0x0,0x0,0xf4,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0xd,0xf7,
|
||||
// :/pixmaps/qwtcounter.png
|
||||
0x0,0x0,0x0,0xd2,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x9,0xf1,
|
||||
// :/pixmaps/qwtthermo.png
|
||||
0x0,0x0,0x1,0x32,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x15,0x6,
|
||||
// :/pixmaps/qwtslider.png
|
||||
0x0,0x0,0x0,0x14,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,
|
||||
// :/pixmaps/qwtscale.png
|
||||
0x0,0x0,0x0,0x8a,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x6,0xce,
|
||||
// :/pixmaps/qwtwidget.png
|
||||
0x0,0x0,0x1,0x52,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x17,0x4e,
|
||||
// :/pixmaps/qwtdial.png
|
||||
0x0,0x0,0x0,0x34,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x1,0xc8,
|
||||
|
||||
};
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
extern Q_CORE_EXPORT bool qRegisterResourceData
|
||||
(int, const unsigned char *, const unsigned char *, const unsigned char *);
|
||||
|
||||
extern Q_CORE_EXPORT bool qUnregisterResourceData
|
||||
(int, const unsigned char *, const unsigned char *, const unsigned char *);
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
|
||||
int QT_MANGLE_NAMESPACE(qInitResources_qwt_designer_plugin)()
|
||||
{
|
||||
QT_PREPEND_NAMESPACE(qRegisterResourceData)
|
||||
(0x01, qt_resource_struct, qt_resource_name, qt_resource_data);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_qwt_designer_plugin))
|
||||
|
||||
int QT_MANGLE_NAMESPACE(qCleanupResources_qwt_designer_plugin)()
|
||||
{
|
||||
QT_PREPEND_NAMESPACE(qUnregisterResourceData)
|
||||
(0x01, qt_resource_struct, qt_resource_name, qt_resource_data);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Q_DESTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qCleanupResources_qwt_designer_plugin))
|
||||
1799
qwt/doc/Doxyfile
Normal file
8
qwt/doc/articles/TODO
Normal file
@@ -0,0 +1,8 @@
|
||||
1) Installation guides
|
||||
2) QwtSeriesData + QAbstractModel
|
||||
3) Navigation
|
||||
4) Scales
|
||||
5) Alive plots + sampling threads
|
||||
6) Exporting + printing plots
|
||||
7) Plot Items
|
||||
8) Raster items
|
||||
306
qwt/doc/changes.dox
Normal file
@@ -0,0 +1,306 @@
|
||||
/*!
|
||||
\page qwtchangelog What's new in Qwt 6.1
|
||||
|
||||
\tableofcontents
|
||||
|
||||
\section ITEMS New plot items
|
||||
|
||||
- QwtPlotBarChart\n
|
||||
Bar chart, see "examples/distrowatch"
|
||||
|
||||
- QwtPlotMultiBarChart\n
|
||||
Chart of grouped bars - stacked or aligned side by side.
|
||||
See "examples/barchart"
|
||||
|
||||
- QwtPlotTradingCurve\n
|
||||
Candlestick or OHLC charts typically used to describe
|
||||
price movements over time. See "examples/stockchart"
|
||||
|
||||
- QwtPlotShapeItem\n
|
||||
A plot item to display rectangles, circles, polygons and all
|
||||
other type of shapes ( built from intersections or unifications ),
|
||||
that can be expressed by a QPainterPath. See "examples/itemeditor"
|
||||
|
||||
- QwtPlotLegendItem\n
|
||||
A legend on the plot canvas. See "examples/legends"
|
||||
|
||||
- QwtPlotZoneItem\n
|
||||
A horizontal or vertical section
|
||||
|
||||
- QwtPlotTextLabel\n
|
||||
In opposite to a QwtPlotMarker the text is not aligned to a plot coordinate
|
||||
but according to the geometry of the canvas ( f.e top/centered for a title ).
|
||||
See "playground/curvetracker".
|
||||
|
||||
|
||||
\section SCALES Scales beyond linear and logarithmic transformations
|
||||
|
||||
QwtScaleTransformation has been replaced by QwtTransform and its derived classes:
|
||||
|
||||
- QwtTransform
|
||||
- QwtNullTransform
|
||||
- QwtLogTransform
|
||||
- QwtPowerTransform
|
||||
|
||||
Individual transformations ( f.e. different scaling for special sections )
|
||||
can be implemented by overloading QwtTransform ( see playground/scaleengine ).
|
||||
|
||||
QwtLinearScaleEngine and QwtLogScaleEngine are not limited to
|
||||
base 10 anymore.
|
||||
|
||||
\subsection DATETIME Datetime scales
|
||||
|
||||
A set of a new classes for displaying datetime values:
|
||||
|
||||
- QwtDate\n
|
||||
A collection of methods to convert between QDateTime and doubles
|
||||
|
||||
- QwtDateScaleEngine\n
|
||||
A scale engine that aligns and finds ticks in terms of datetime units.
|
||||
|
||||
- QwtDateScaleDraw\n
|
||||
A scale draw mapping values to datetime strings.
|
||||
|
||||
Scales for Qt::UTC and Qt::LocalTime are supported.
|
||||
|
||||
\section CONTROLS Redesign of the dial and meter widgets
|
||||
|
||||
Many parts of the class design of the dial and meter widgets were left over
|
||||
from the 90s ( Qwt 0.2, Qt 1.1 ).
|
||||
|
||||
The derivation tree is simpler and more logical:
|
||||
|
||||
- QwtAbstractScale is a QWidget
|
||||
- QwtAbstractSlider is a QwtAbstractScale.
|
||||
( for sliders without scales QAbstractSlider should be the base class )
|
||||
- QwtThermo is also a QwtAbstractScale
|
||||
- QwtDial, QwtKnob, QwtSlider are derived from QwtAbstractSlider
|
||||
- QwtCounter is derived from QWidget
|
||||
|
||||
QwtDoubleRange has been removed.
|
||||
|
||||
All classes use the terminology known from QAbstractSlider - as far as possible.
|
||||
The extended \ref SCALES "system for scales" is completely supported.
|
||||
|
||||
\section OPENGL Basic support for an OpenGL plot canvas
|
||||
|
||||
QwtPlotGLCanvas offers the option to draw plot items using an
|
||||
OpenGL paint engine ( QPaintEngine::OpenGL/OpenGL2 ),
|
||||
This is not what could be implemented with native OpenGL,
|
||||
but it offers hardware acceleration in environments,
|
||||
where the raster paint engine is the only option.
|
||||
( f.e Qt4/Windows, or Qt5 on all platforms ).
|
||||
|
||||
QwtPlotGLCanvas is in an experimental state and is not recommended for average
|
||||
use cases.
|
||||
|
||||
\section LEGEND A new system for plot legends
|
||||
|
||||
QwtLegend has been decoupled from QwtPlot and can be replaced by
|
||||
application specific implementations. Plot items and the legend
|
||||
exchange the information using QwtLegendData.
|
||||
|
||||
QwtPlotLegendItem is a new plot item that displays a legend on the
|
||||
plot canvas.
|
||||
|
||||
The following examples demonstrate how to use the new system:
|
||||
|
||||
- examples/legends\n
|
||||
shows how to use the new legend system
|
||||
- examples/stockchart\n
|
||||
implementats a QTreeView with checkable items as legend
|
||||
|
||||
\section GRAPHIC Off-screen paint device for vector graphics
|
||||
|
||||
QwtGraphic can be copied like QImage or QPixmap but is scalable like QSvgGenerator.
|
||||
It is implemented as a record/replay paint device like QPicture.
|
||||
|
||||
\section OVERLAY QwtWidgetOverlay
|
||||
|
||||
QwtWidgetOverlay is a base class for implementing widget overlays - primarily
|
||||
used for use cases like graphical editors or running cursors for the plot canvas.
|
||||
|
||||
The following examples show how to use overlays:
|
||||
|
||||
- examples/itemeditor
|
||||
- examples/curvetracker
|
||||
|
||||
QwtPicker ( -> QwtPlotPicker, QwtPlotZoomer ) internally uses
|
||||
QwtWidgetOverlay now, making it easier to implement individual rubber bands.
|
||||
|
||||
\section SYMBOL QwtSymbol
|
||||
|
||||
New symbol types have been introduced:
|
||||
|
||||
- QwtSymbol::Path
|
||||
- QwtSymbol::Pixmap
|
||||
- QwtSymbol::Graphic
|
||||
- QwtSymbol::SvgDocument
|
||||
|
||||
QwtSymbol autodetect the most performant paint strategy for a paint device
|
||||
what is in most situations using a QPixmap cache.
|
||||
|
||||
QwtSymbol::setPinPoint() allows to align the symbol individually, f.e to the position
|
||||
of the peak of an arrow.
|
||||
|
||||
\section PLOTCURVE QwtPlotCurve
|
||||
|
||||
Some optimizations that got lost with introducing the floating point
|
||||
based render code with Qwt 6.0 have been reenabled. Other specific optimizations
|
||||
have been added.
|
||||
|
||||
New paint attributes:
|
||||
|
||||
- QwtPlotCurve::FilterPoints
|
||||
- QwtPlotCurve::MinimizeMemory
|
||||
- QwtPlotCurve::ImageBuffer
|
||||
|
||||
QwtPlotCurve::CacheSymbols has been removed, as caching is implemented
|
||||
in QwtSymbol now.
|
||||
|
||||
QwtPlotCurve::drawLines(), QwtPlotCurve::drawDots(),
|
||||
QwtPlotCurve::drawSteps() and QwtPlotCurve::drawSticks() are virtual now.
|
||||
|
||||
\section PLOT QwtPlot
|
||||
|
||||
A footer similar to a title has been added.
|
||||
|
||||
QwtPlot::ExternalLegend is obsolete with the
|
||||
new \ref LEGEND "system for legends". The signals
|
||||
QwtPlot::legendClicked(), QwtPlot::legendChecked() have been
|
||||
removed. Applications need to connect to QwtLegend::clicked()
|
||||
and QwtLegend::checked().
|
||||
|
||||
To support using an OpenGL canvas QwtPlot::setCanvas has been added.
|
||||
This has 2 important implications for the application code:
|
||||
|
||||
- QwtPlot::canvas() returns QWidget and needs to be casted, when
|
||||
using methods of QwtPlotCanvas.
|
||||
- QwtPlotCanvas can be created and assigned in application code,
|
||||
what makes it possible to derive and overload methods.
|
||||
|
||||
The initialization of a plot canvas with Qwt 6.1 will probably look like
|
||||
this:
|
||||
|
||||
\code
|
||||
QwtPlotCanvas* canvas = new QwtPlotCanvas();
|
||||
canvas->setXY( ... );
|
||||
...
|
||||
|
||||
plot->setCanvas( canvas );
|
||||
\endcode
|
||||
|
||||
To have a consistent API QwtPlot::setPlotLayout() has been added,
|
||||
|
||||
|
||||
\section OTHER Other
|
||||
|
||||
\subsection SCALEDIV QwtScaleDiv
|
||||
|
||||
The following methods have been added:
|
||||
|
||||
- QwtScaleDiv::inverted()
|
||||
- QwtScaleDiv::bounded()
|
||||
- QwtScaleDiv::isEmpty()
|
||||
- QwtScaleDiv::isIncreasing()
|
||||
- QDebug operator
|
||||
|
||||
The following methods have been removed:
|
||||
|
||||
- QwtScaleDiv::isValid(), QwtScaleDiv::invalidate()\n
|
||||
The valid state was left over from early Qwt versions indicating
|
||||
a state of the autoscaler.
|
||||
|
||||
\subsection SCALEENGINE QwtScaleEngine
|
||||
|
||||
The following methods have been added:
|
||||
|
||||
- QwtScaleEngine::setBase()
|
||||
- QwtScaleEngine::setTransformation()
|
||||
|
||||
\subsection PLOTLAYOUT QwtPlotLayout
|
||||
|
||||
The following flags have been added:
|
||||
|
||||
- QwtPlotLayout::IgnoreTitle
|
||||
- QwtPlotLayout::IgnoreFooter
|
||||
- QwtPlotLayout::setAlignCanvasToScale()
|
||||
|
||||
\subsection PLOTCANVAS QwtPlotCanvas
|
||||
|
||||
Rounded borders ( like with style sheets ) can configured
|
||||
using QwtPlotCanvas::setBorderRadius();
|
||||
|
||||
\subsection OTHERS Other changes
|
||||
|
||||
- QwtWeedingCurveFitter\n
|
||||
QwtWeedingCurveFitter::setChunkSize() has been added, with drastic
|
||||
performance improvements for huge sets of points.
|
||||
|
||||
- QwtPlotRenderer
|
||||
The frame of the plot canvas can be rendered, what makes the result
|
||||
even closer to WYSWYG. QwtPlotRenderer::exportTo() has been added.
|
||||
|
||||
- QwtSystemClock
|
||||
For Qt >= 4.9 QwtSystemClock uses QElapsedTimer internally. As it doesn't
|
||||
support a similar feature, QwtSystemClock::precision() has been removed.
|
||||
|
||||
- QwtPlotAbstractSeriesItem\n
|
||||
QwtPlotAbstractSeriesItem has been split into QwtPlotSeriesItem
|
||||
and QwtPlotAbstractSeriesStore.
|
||||
|
||||
- QwtText\n
|
||||
A metatype declaration has been added, so that QwtText can be used
|
||||
with QVariant.
|
||||
|
||||
- QwtEventPattern, QwtPanner, QwtMagnifier\n
|
||||
Forgotten Qt3 leftovers have been fixed: int -> Qt::KeyboardModifiers
|
||||
|
||||
- QPen Qt5/Qt4 incompatibility
|
||||
The default pen width for Qt5 is 1, what makes it a non cosmetic.
|
||||
To hide this nasty incompatibility several setPen() methods have been added
|
||||
the build pens with a width 0. See QPen::isCosmetic(),
|
||||
|
||||
- qwtUpperSampleIndex()\n
|
||||
A binary search algorithm for sorted samples
|
||||
|
||||
- QwtMatrixRasterData
|
||||
QwtMatrixRasterData::setValue() has been added
|
||||
|
||||
- QwtPicker
|
||||
QwtPicker::rubberBandWidget(), QwtPicker::trackerWidget() have been replaced by
|
||||
QwtPicker::rubberBandOverlay(), QwtPicker::trackerOverlay().
|
||||
QwtPicker::rubberBandMask() has been added. QwtPicker::pickRect() has been
|
||||
replaced by QwtPicker::pickArea()
|
||||
|
||||
- QwtPlotItem
|
||||
QwtPlotItem::ItemInterest has been added. QwtPlotItem::setRenderThreadCount()
|
||||
was shifted from QwtPlotRasterItem.
|
||||
|
||||
- ...
|
||||
|
||||
\section CLASSES Summary of the new classes
|
||||
|
||||
- QwtAbstractLegend
|
||||
- QwtDate
|
||||
- QwtDateScaleDraw
|
||||
- QwtDateScaleEngine
|
||||
- QwtGraphic
|
||||
- QwtLegendData
|
||||
- QwtLegendLabel
|
||||
- QwtPainterCommand
|
||||
- QwtPixelMatrix
|
||||
- QwtPlotAbstractBarChart
|
||||
- QwtPlotBarChart
|
||||
- QwtPlotMultiBarChart
|
||||
- QwtPlotGLCanvas
|
||||
- QwtPlotLegendItem
|
||||
- QwtPlotShapeItem
|
||||
- QwtPlotTextLabel
|
||||
- QwtPlotTradingCurve
|
||||
- QwtPlotZoneItem
|
||||
- QwtPointData
|
||||
- QwtPointMapper
|
||||
- QwtTransform, QwtNullTransform, QwtLogTransform, QwtPowerTransform
|
||||
- QwtWidgetOverlay
|
||||
*/
|
||||
22
qwt/doc/doc.pro
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################
|
||||
# Qwt Widget Library
|
||||
# Copyright (C) 1997 Josef Wilgen
|
||||
# Copyright (C) 2002 Uwe Rathmann
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the Qwt License, Version 1.0
|
||||
################################################################
|
||||
|
||||
# qmake project file for installing the documentation
|
||||
|
||||
QWT_ROOT = $${PWD}/..
|
||||
include( $${QWT_ROOT}/qwtconfig.pri )
|
||||
|
||||
TEMPLATE = subdirs
|
||||
|
||||
doc.files = $${QWT_ROOT}/doc/html
|
||||
unix:doc.files += $${QWT_ROOT}/doc/man
|
||||
doc.path = $${QWT_INSTALL_DOCS}
|
||||
|
||||
INSTALLS = doc
|
||||
|
||||
BIN
qwt/doc/images/analogclock.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
qwt/doc/images/cpuplot.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
qwt/doc/images/curves.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
qwt/doc/images/dials1.png
Normal file
|
After Width: | Height: | Size: 71 KiB |
BIN
qwt/doc/images/dials2.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
qwt/doc/images/graph.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
qwt/doc/images/histogram.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
qwt/doc/images/knob.png
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
BIN
qwt/doc/images/plot.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
qwt/doc/images/radio.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
qwt/doc/images/scatterplot.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
qwt/doc/images/sinus.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
qwt/doc/images/sliders.png
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
qwt/doc/images/spectrogram1.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
qwt/doc/images/spectrogram2.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
qwt/doc/images/spectrogram3.png
Normal file
|
After Width: | Height: | Size: 55 KiB |
BIN
qwt/doc/images/sysinfo.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
305
qwt/doc/install.dox
Normal file
@@ -0,0 +1,305 @@
|
||||
/*!
|
||||
\page qwtinstall Installing Qwt
|
||||
|
||||
\tableofcontents
|
||||
|
||||
\section DOWNLOAD Download
|
||||
|
||||
Stable Qwt releases are available from the
|
||||
Qwt <a href="http://sourceforge.net/projects/qwt/files/qwt">project page</a>.
|
||||
|
||||
Qwt-$(QWTVERSION) consists of 4 files:
|
||||
|
||||
- qwt-$(QWTVERSION).zip\n
|
||||
Zip file with the Qwt sources and the html documentation for Windows
|
||||
|
||||
- qwt-$(QWTVERSION).tar.bz2\n
|
||||
Compressed tar file with the Qwt sources and the html documentation
|
||||
for UNIX systems ( Linux, Mac, ... )
|
||||
|
||||
- qwt-$(QWTVERSION).pdf\n
|
||||
Qwt documentation as PDF document.
|
||||
|
||||
- qwt-$(QWTVERSION).qch\n
|
||||
Qwt documentation as Qt Compressed Help document, that can be loaded into
|
||||
the Qt Assistant or Creator. In the Qt Creator context sensitive help will be
|
||||
available like for Qt classes.
|
||||
|
||||
Precompiled Qwt Designer plugins, that are compatible with some binary packages
|
||||
of the Qt Creator:
|
||||
|
||||
- qwtdesigner-$(QWTVERSION)-*.zip
|
||||
|
||||
|
||||
\section INSTALL Installing Qwt
|
||||
|
||||
Beside headers, libraries and the html version of the class documentation a proper
|
||||
Qwt installation contains a Designer plugin and a Qwt features file for building
|
||||
applications using Qwt.
|
||||
|
||||
All files will be copied to an installation directory, that is configurable
|
||||
by editing qwtconfig.pri. Its default settings is:
|
||||
|
||||
- Windows\n
|
||||
C:\\Qwt-$(QWTVERSION)
|
||||
|
||||
- Unix like systems\n
|
||||
/usr/local/qwt-$(QWTVERSION)
|
||||
|
||||
For the rest of the document this install path will be written as <i>${QWT_ROOT}</i>
|
||||
and needs to be replaced by the real path in all commands below.
|
||||
|
||||
It is not unlikely, to have more than one installation of Qwt
|
||||
on the same system. F.e for using the Qwt Designer plugin in the Qt Creator
|
||||
a version of Qwt is necessary with the same Qt and compiler combination, that had
|
||||
been used for building the Qt Creator ( see "Help->About Qt Creator ..." ).
|
||||
|
||||
Installing Qwt is done in 3 steps, that are quite common on UNIX systems.
|
||||
|
||||
-# Configuration\n
|
||||
In the configuration step all parameters are set to control how
|
||||
to build and install Qwt
|
||||
-# Build\n
|
||||
In the build step binaries are built from the source files.
|
||||
-# Installation\n
|
||||
The installation copies and rearranges all files that are necessary to build
|
||||
Qwt applications to a target directory.
|
||||
|
||||
The installation doesn't modify the system beside copying files to a
|
||||
directory in a proper way. After removing build and installation directories the
|
||||
system is in the same state as it was before.
|
||||
|
||||
\subsection CONFIGSUBSECTION Configuration
|
||||
|
||||
Configuring Qwt has to be done by editing the Project files used for building:
|
||||
|
||||
- qwtbuild.pri\n
|
||||
qwtbuild.pri contains settings for how to build Qwt. All settings
|
||||
of this file are only for building Qwt itself and doesn't have an impact
|
||||
on how an application using Qwt is built. Usually its default settings
|
||||
doesn't need to be modified.
|
||||
|
||||
- qwtconfig.pri\n
|
||||
qwtconfig.pri defines what modules of Qwt will be built and where to
|
||||
install them. qwtconfig.pri gets installed together with the Qwt features
|
||||
file qwt.prf and all its settings are known to project files for building
|
||||
Qwt applications.
|
||||
|
||||
In qwtconfig.pri the meaning of each option is explained in detail - it's worth
|
||||
reading it before running into problems later.
|
||||
|
||||
\subsection BUILDSUBSECTION Build and installation
|
||||
|
||||
The Qt Creator is a graphical frontend for calling qmake/make and - technically -
|
||||
it could be used for building and installing Qwt. But as this way requires a lot
|
||||
more understanding of details the following step by step instructions are for
|
||||
the easier way using the command line.
|
||||
|
||||
\subsubsection qwtinstall-unix Unix-like systems
|
||||
|
||||
The first step before creating the Makefile is to check that the correct version
|
||||
of qmake is used. F.e. on older Linux distribution you often find a Qt3 qmake
|
||||
and in the path.
|
||||
|
||||
The default setting of qmake is to generate a makefile that builds Qwt for the
|
||||
same environment where the version of qmake has been built for.
|
||||
So creating a makefile usually means something like:
|
||||
|
||||
\code
|
||||
cd qwt-$(QWTVERSION)
|
||||
/usr/local/Qt-5.0.1/bin/qmake qwt.pro
|
||||
\endcode
|
||||
|
||||
The generated Makefile includes all paths related to the chosen Qt version
|
||||
and the next step is:
|
||||
|
||||
\code
|
||||
make
|
||||
\endcode
|
||||
( On multicore systems you can speed up building the Qwt libraries with running several
|
||||
jobs simultaneously: f.e. "make -j4" on a dual core. )
|
||||
|
||||
|
||||
Finally you have to install everything below the directories you have specified
|
||||
in qwtconfig.pri. Usually this is one of the system directories ( /usr/local, /opt, ... )
|
||||
where you don't have write permission and then the installation
|
||||
needs to be done as root:
|
||||
|
||||
\code
|
||||
sudo make install
|
||||
\endcode
|
||||
( On systems where sudo is not supported you can do the same with: su -c "make install" )
|
||||
|
||||
\subsubsection qwtinstall-windows Windows
|
||||
|
||||
Qt packages offer a command line interface, that can be found in the Qt application
|
||||
menu: f.e "All Programs -> Qt -> Command Prompt". It is not mandatory to use it, but
|
||||
probably the easiest way as it offers an environment, where everything is
|
||||
initialized for a version of Qt ( f.e qmake is in the PATH ).
|
||||
|
||||
Creating a makefile usually means something like:
|
||||
|
||||
\code
|
||||
cd qwt-$(QWTVERSION)
|
||||
qmake qwt.pro
|
||||
\endcode
|
||||
|
||||
The generated makefile includes all paths related to the chosen Qt version.
|
||||
|
||||
\paragraph qwtinstall-windows-mingw MinGW
|
||||
|
||||
For MinGW builds the name of the make tool is "mingw32-make"
|
||||
|
||||
\code
|
||||
mingw32-make
|
||||
\endcode
|
||||
( On multicore systems you can speed up building the Qwt libraries with running several
|
||||
jobs simultaneously: "mingw32-make -j" )
|
||||
|
||||
Finally you have to install everything below the directories you have specified
|
||||
in qwtconfig.pri.
|
||||
|
||||
\code
|
||||
mingw32-make install
|
||||
\endcode
|
||||
|
||||
|
||||
\paragraph qwtinstall-windows-msvc MSVC
|
||||
|
||||
For MSVC builds the name of the make tool is "nmake". Alternatively
|
||||
it is possible to use "jom" ( http://qt-project.org/wiki/jom ),
|
||||
that is usually included in a Qt Creator package.
|
||||
|
||||
\code
|
||||
nmake
|
||||
\endcode
|
||||
|
||||
Finally you have to install everything below the directories you have specified
|
||||
in qwtconfig.pri.
|
||||
|
||||
\code
|
||||
nmake install
|
||||
\endcode
|
||||
|
||||
|
||||
\section INTEGRATION Qwt and the Qt tool chain
|
||||
|
||||
\subsection USEPLUGIN Designer plugin
|
||||
|
||||
The Designer plugin and the corresponding Qwt library ( if the plugin has not
|
||||
been built self containing ) have to be compatible with Qt version of the application
|
||||
loading it ( usually the Qt Creator ) - what is often a different version of the
|
||||
Qt libraries you want to build your application with. F.e on Windows the Qt Creator
|
||||
is usually built with a MSVC compiler - even if included in a MinGW package !
|
||||
|
||||
To help Qt Designer/Creator with locating the Qwt Designer plugin
|
||||
you have to set the environment variable QT_PLUGIN_PATH, modify qt.conf -
|
||||
or install the plugin to one of the application default paths.
|
||||
|
||||
The Qt documentation explains all options in detail:
|
||||
|
||||
- http://qt-project.org/doc/qt-5.0/qtdoc/deployment-plugins.html
|
||||
- http://qt-project.org/doc/qtcreator-2.7/adding-plugins.html.
|
||||
|
||||
F.e. on a Linux system you could add the following lines to .bashrc:
|
||||
|
||||
\code
|
||||
QT_PLUGIN_PATH="${QWT_ROOT}/plugins:$QT_PLUGIN_PATH"
|
||||
export QT_PLUGIN_PATH
|
||||
\endcode
|
||||
|
||||
When the plugin has not been built including the Qwt library
|
||||
( see QwtDesignerSelfContained in qwtconfig.pri )
|
||||
the Qt Designer/Creator also needs to locate the Qwt libraries. On Unix systems the
|
||||
path to the installed library is compiled into the plugin ( see rpath, ldd ), but on
|
||||
Windows the Qt Creator needs to be configured ( ( \ref RUNAPP ) in the same way as for
|
||||
any application using Qwt.
|
||||
|
||||
In case of problems the diagnostics of Qt Creator and Designer are very limited
|
||||
( usually none ), but setting the environment variable QT_DEBUG_PLUGINS might help.
|
||||
In the Qt Creator it is possible to check which plugins were loaded
|
||||
successfully and for certain problems it also lists those that were recognized
|
||||
but failed ( <i>Tools > Form Editor > About Qt Designer Plugins</i> ).
|
||||
|
||||
\subsection USEHELP Online Help
|
||||
|
||||
The Qwt class documentation can be loaded into the Qt Creator:
|
||||
|
||||
- open the settings dialog from the <i>Tools->Options</i> menu
|
||||
- raise the tab "Help->Documentation".
|
||||
- press the <i>Add</i> button and select qwt-$(QWTVERSION).qch.
|
||||
|
||||
Now the context sensitive help ( <i>F1</i> ) works for Qwt classes.
|
||||
|
||||
For browsing the documentation in the Qt Assistant:
|
||||
|
||||
- open the settings dialog from the <i>Edit->Preferences</i> menu
|
||||
- raise the tab <i>Documentation</i>.
|
||||
- press the <i>Add</i> button and select qwt-$(QWTVERSION).qch.
|
||||
|
||||
\section COMPILEANDLINKAPP Building a Qwt application
|
||||
|
||||
All flags and settings that are necessary to compile and link an application using Qwt
|
||||
can be found in the file ${QWT_ROOT}/features/qwt.prf.
|
||||
|
||||
When using qmake it can included from the application project file in 2 different ways:
|
||||
|
||||
- Adding Qwt as qmake feature\n\n
|
||||
When using the qmake feature mechanism you can bind a special version
|
||||
of qmake to a special installation of Qwt without having to add
|
||||
this dependency to the application project.
|
||||
How to add Qwt as feature is documented in the
|
||||
<a href="https://qt-project.org/doc/qt-5.0/qtdoc/qmake-advanced-usage.html#adding-new-configuration-features">qmake docs</a>.
|
||||
|
||||
After adding Qwt as a feature f.e on Linux as a persistent property ....
|
||||
@code
|
||||
qmake -set QMAKEFEATURES ${QWT_ROOT}/features
|
||||
@endcode
|
||||
.. the following line can be added to the application project file:
|
||||
\code
|
||||
CONFIG += qwt
|
||||
\endcode
|
||||
|
||||
- Including qwt.prf in the application project file\n\n
|
||||
Instead of using qwt.prf as qmake feature it can be included from
|
||||
the application project file:\n\n
|
||||
\code
|
||||
include ( ${QWT_ROOT}/features/qwt.prf )
|
||||
\endcode \n
|
||||
The advantage of using a direct include is, that all settings of qwt.prf
|
||||
are known to the application project file ( qmake features are included after the
|
||||
application project file has been parsed ) and it can be implemented depending on -
|
||||
f.e. settings made in qwtconfig.pri.
|
||||
|
||||
On Unix platforms it is possible to link a runtime path into the executable, so that the
|
||||
location of the Qwt libraries can be found without having to configure a runtime environment:
|
||||
- <a href="https://qt-project.org/doc/qt-5.0/qtdoc/qmake-variable-reference.html#qmake-lflags-rpath">QMAKE_LFLAGS_RPATH</a>
|
||||
- <a href="https://qt-project.org/doc/qt-5.0/qtdoc/qmake-variable-reference.html#qmake-rpath">QMAKE_RPATH</a>
|
||||
- <a href="https://qt-project.org/doc/qt-5.0/qtdoc/qmake-variable-reference.html#qmake-rpathdir">QMAKE_RPATHDIR</a>
|
||||
|
||||
\section RUNAPP Running a Qwt application
|
||||
|
||||
When using Qwt as shared library ( DLL ) the
|
||||
<a href="http://en.wikipedia.org/wiki/Dynamic_linker">dynamic linker</a> has to find
|
||||
it according to the rules of the operating system.
|
||||
|
||||
\subsection RUNWINDOWS Windows
|
||||
|
||||
The only reasonable way to configure the runtime environment - without having to copy the
|
||||
Qwt libraries around - is to modify the PATH variable. F.e. this could be done by adding
|
||||
the following line to some batch file:
|
||||
|
||||
\code
|
||||
set PATH=%PATH%;${QWT_ROOT}\lib
|
||||
\endcode
|
||||
|
||||
\subsection RUNLINUX GNU/Linux
|
||||
|
||||
Read the documentation about:
|
||||
|
||||
- <i>ldconfig</i>
|
||||
- <i>/etc/ld.so.conf</i>
|
||||
- <i>LD_LIBRARY_PATH</i>
|
||||
|
||||
Using the <i>ldd</i> command a configuration can be tested.
|
||||
*/
|
||||
153
qwt/doc/qwt.dox
Normal file
@@ -0,0 +1,153 @@
|
||||
/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
|
||||
* Qwt Widget Library
|
||||
* Copyright (C) 1997 Josef Wilgen
|
||||
* Copyright (C) 2002 Uwe Rathmann
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the Qwt License, Version 1.0
|
||||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
This file contains NO source code, just some documentation for doxygen to
|
||||
parse.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\mainpage Qwt - Qt Widgets for Technical Applications
|
||||
|
||||
The Qwt library contains GUI Components and utility classes which are primarily
|
||||
useful for programs with a technical background. Beside a framework for 2D plots
|
||||
it provides scales, sliders, dials, compasses, thermometers, wheels and knobs
|
||||
to control or display values, arrays, or ranges of type double.
|
||||
|
||||
\image html plot.png
|
||||
|
||||
\if homepage
|
||||
\section homepage Project page
|
||||
The official project page is hosted at
|
||||
<a href="http://qwt.sourceforge.net">sourceforge</a>
|
||||
\endif
|
||||
|
||||
\section license License
|
||||
|
||||
Qwt is distributed under the terms of the \ref qwtlicense.
|
||||
|
||||
\section platforms Platforms
|
||||
|
||||
Qwt 6.1 might be usable in all environments where you find
|
||||
<a href="https://qt-project.org">Qt</a>.
|
||||
It is compatible with Qt4 ( >= 4.4 ) and Qt5.
|
||||
|
||||
\section changelogonmainpage What's new
|
||||
Read the \ref qwtchangelog "summary" of the most important changes.
|
||||
|
||||
\section screenshotsonmainpage Screenshots
|
||||
- \ref curvescreenshots\n
|
||||
- \ref scatterscreenshots\n
|
||||
- \ref spectrogramscreenshots\n
|
||||
- \ref histogramscreenshots\n
|
||||
- \ref controlscreenshots\n
|
||||
|
||||
\latexonly Screenshots are only available in the HTML docs.\endlatexonly
|
||||
|
||||
\section downloads Downloads
|
||||
Stable releases or prereleases are available at the Qwt <a href="http://sourceforge.net/projects/qwt/files">project page</a>.
|
||||
|
||||
For getting a snapshot with all bugfixes for the latest 5.2 release:
|
||||
\code svn checkout svn://svn.code.sf.net/p/qwt/code/branches/qwt-5.2 \endcode
|
||||
|
||||
For getting a snapshot with all bugfixes for the latest 6.1 release:
|
||||
\code svn checkout svn://svn.code.sf.net/p/qwt/code/branches/qwt-6.1 \endcode
|
||||
|
||||
For getting a development snapshot from the SVN repository:
|
||||
\code svn checkout svn://svn.code.sf.net/p/qwt/code/trunk/qwt \endcode
|
||||
|
||||
\section installonmainpage Installation
|
||||
|
||||
Qwt doesn't distribute binary packages, but today all major Linux distributors
|
||||
offer one. Note, that these packages often don't include the examples.
|
||||
|
||||
When no binary packages are available ( f.e. on Windows ) Qwt needs to be
|
||||
\ref qwtinstall "compiled and installed" on the target system.
|
||||
|
||||
\section support Support
|
||||
- Mailing list\n
|
||||
For all kind of Qwt related questions use the Qwt <a href="http://sourceforge.net/mail/?group_id=13693">mailing list</a>.\n
|
||||
If you prefer newsgroups use the mail to news gateway of <a href="http://dir.gmane.org/gmane.comp.graphics.qwt.general">Gmane</a>.
|
||||
|
||||
- Forum\n
|
||||
<a href="http://www.qtcentre.org">Qt Centre</a> is a great resource for Qt
|
||||
related questions. It has a sub forum, that is dedicated to
|
||||
Qwt related questions.
|
||||
|
||||
- Individual support\n
|
||||
If you are looking for individual support, or need someone who implements
|
||||
your Qwt component/application contact support@qwt-project.org. Sending
|
||||
requests to this address without a good reason for not using public
|
||||
support channels might be silently ignored.
|
||||
|
||||
\section relatedprojects Related Projects
|
||||
|
||||
<a href="http://qwtpolar.sourceforge.net">QwtPolar</a>, a polar plot widget.\n
|
||||
<a href="http://qwtplot3d.sourceforge.net">QwtPlot3D</a>, an OpenGL 3D plot widget.\n
|
||||
|
||||
\section donations Donations
|
||||
|
||||
Sourceforge offers a <a href="http://sourceforge.net/docman/display_doc.php?docid=20244&group_id=1"> Donation System</a> via PayPal.
|
||||
You can use it, if you like to <a href="http://sourceforge.net/project/project_donations.php?group_id=13693">support</a> the development of Qwt.
|
||||
|
||||
\section credits Credits:
|
||||
\par Authors:
|
||||
Uwe Rathmann, Josef Wilgen ( <= Qwt 0.2 )
|
||||
\par Project admin:
|
||||
Uwe Rathmann \<rathmann@users.sourceforge.net\>
|
||||
*/
|
||||
|
||||
/*!
|
||||
\page qwtlicense Qwt License, Version 1.0
|
||||
\include "COPYING"
|
||||
*/
|
||||
|
||||
/*!
|
||||
\page curvescreenshots Curve Plots
|
||||
\image html plot.png
|
||||
|
||||
\image html sinus.png
|
||||
|
||||
\image html cpuplot.png
|
||||
|
||||
\image html graph.png
|
||||
|
||||
\image html curves.png
|
||||
*/
|
||||
|
||||
/*!
|
||||
\page scatterscreenshots Scatter Plot
|
||||
\image html scatterplot.png
|
||||
*/
|
||||
|
||||
/*!
|
||||
\page spectrogramscreenshots Spectrogram, Contour Plot
|
||||
\image html spectrogram1.png
|
||||
|
||||
\image html spectrogram2.png
|
||||
|
||||
\image html spectrogram3.png
|
||||
|
||||
/*!
|
||||
\page histogramscreenshots Histogram
|
||||
\image html histogram.png
|
||||
*/
|
||||
|
||||
/*!
|
||||
\page controlscreenshots Dials, Compasses, Knobs, Wheels, Sliders, Thermos
|
||||
\image html radio.png
|
||||
|
||||
\image html sliders.png
|
||||
|
||||
\image html dials1.png
|
||||
|
||||
\image html dials2.png
|
||||
|
||||
\image html sysinfo.png
|
||||
*/
|
||||
155
qwt/doc/tex/plotlayout.tex
Normal file
@@ -0,0 +1,155 @@
|
||||
\begin{tikzpicture}{0pt}{0pt}{500pt}{400pt}
|
||||
\clip(0pt,400pt) -- (425.118pt,400pt) -- (425.118pt,63.8605pt) -- (0pt,63.8605pt) -- (0pt,400pt);
|
||||
\color[rgb]{0.501961,0.501961,0.501961}
|
||||
\fill(0pt,400pt) -- (424.267pt,400pt) -- (424.267pt,64.7008pt) -- (0pt,64.7008pt) -- (0pt,400pt);
|
||||
\color[rgb]{0.752941,0.752941,0.752941}
|
||||
\fill(130.086pt,326.89pt) -- (353.698pt,326.89pt) -- (353.698pt,114.281pt) -- (130.086pt,114.281pt) -- (130.086pt,326.89pt);
|
||||
\color[rgb]{0,0,0}
|
||||
\pgftext[center, base, at={\pgfpoint{242.317pt}{215.964pt}}]{\fontsize{14}{0}\selectfont{Canvas}}
|
||||
\color[rgb]{1,1,1}
|
||||
\fill(68.0188pt,391.597pt) -- (415.765pt,391.597pt) -- (415.765pt,373.109pt) -- (68.0188pt,373.109pt) -- (68.0188pt,391.597pt);
|
||||
\color[rgb]{0,0,0}
|
||||
\pgftext[center, base, at={\pgfpoint{242.317pt}{377.311pt}}]{\fontsize{14}{0}\selectfont{\textbf{Title}}}
|
||||
\color[rgb]{1,1,1}
|
||||
\fill(8.50235pt,326.89pt) -- (62.9174pt,326.89pt) -- (62.9174pt,114.281pt) -- (8.50235pt,114.281pt) -- (8.50235pt,326.89pt);
|
||||
\begin{scope}
|
||||
\clip(8.50235pt,326.89pt) -- (63.7676pt,326.89pt) -- (63.7676pt,305.881pt) -- (8.50235pt,305.881pt) -- (8.50235pt,326.89pt);
|
||||
\color[rgb]{0,0,0}
|
||||
\fill(10.2028pt,319.747pt) -- (17.0047pt,319.747pt) -- (17.0047pt,313.024pt) -- (10.2028pt,313.024pt) -- (10.2028pt,319.747pt);
|
||||
\color[rgb]{0,0,0}
|
||||
\pgftext[center, base, at={\pgfpoint{39.5359pt}{311.763pt}}]{\fontsize{14}{0}\selectfont{Item 1}}
|
||||
\end{scope}
|
||||
\begin{scope}
|
||||
\clip(8.50235pt,300.839pt) -- (63.7676pt,300.839pt) -- (63.7676pt,279.83pt) -- (8.50235pt,279.83pt) -- (8.50235pt,300.839pt);
|
||||
\color[rgb]{0,0,0}
|
||||
\fill(10.2028pt,293.696pt) -- (17.0047pt,293.696pt) -- (17.0047pt,286.973pt) -- (10.2028pt,286.973pt) -- (10.2028pt,293.696pt);
|
||||
\color[rgb]{0,0,0}
|
||||
\pgftext[center, base, at={\pgfpoint{39.5359pt}{285.713pt}}]{\fontsize{14}{0}\selectfont{Item 2}}
|
||||
\end{scope}
|
||||
\begin{scope}
|
||||
\color[rgb]{1,1,1}
|
||||
\fill(68.0188pt,328.57pt) -- (129.236pt,328.57pt) -- (129.236pt,113.441pt) -- (68.0188pt,113.441pt) -- (68.0188pt,328.57pt);
|
||||
\color[rgb]{0,0,0}
|
||||
\pgftext[center, base, at={\pgfpoint{80.7724pt}{220.586pt}},rotate=90]{\fontsize{12}{0}\selectfont{\textbf{Axis: yLeft}}}
|
||||
\pgftext[center, base, at={\pgfpoint{101.603pt}{113.861pt}}]{\fontsize{10}{0}\selectfont{-1,000}}
|
||||
\pgftext[center, base, at={\pgfpoint{105.854pt}{165.333pt}}]{\fontsize{10}{0}\selectfont{-500}}
|
||||
\pgftext[center, base, at={\pgfpoint{113.506pt}{216.804pt}}]{\fontsize{10}{0}\selectfont{0}}
|
||||
\pgftext[center, base, at={\pgfpoint{107.555pt}{268.275pt}}]{\fontsize{10}{0}\selectfont{500}}
|
||||
\pgftext[center, base, at={\pgfpoint{103.304pt}{319.747pt}}]{\fontsize{10}{0}\selectfont{1,000}}
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,127.727pt) -- (124.134pt,127.727pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,137.811pt) -- (124.134pt,137.811pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,148.736pt) -- (124.134pt,148.736pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,158.82pt) -- (124.134pt,158.82pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,178.988pt) -- (124.134pt,178.988pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,189.913pt) -- (124.134pt,189.913pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,199.997pt) -- (124.134pt,199.997pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,210.081pt) -- (124.134pt,210.081pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,231.09pt) -- (124.134pt,231.09pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,241.174pt) -- (124.134pt,241.174pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,251.258pt) -- (124.134pt,251.258pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,261.342pt) -- (124.134pt,261.342pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,282.351pt) -- (124.134pt,282.351pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,292.435pt) -- (124.134pt,292.435pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,302.52pt) -- (124.134pt,302.52pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,313.444pt) -- (124.134pt,313.444pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,117.643pt) -- (120.733pt,117.643pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,168.904pt) -- (120.733pt,168.904pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,220.165pt) -- (120.733pt,220.165pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,272.267pt) -- (120.733pt,272.267pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,323.528pt) -- (120.733pt,323.528pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](127.535pt,323.528pt) -- (127.535pt,117.643pt);
|
||||
\color[rgb]{1,1,1}
|
||||
\fill(354.548pt,328.57pt) -- (415.765pt,328.57pt) -- (415.765pt,113.441pt) -- (354.548pt,113.441pt) -- (354.548pt,328.57pt);
|
||||
\color[rgb]{0,0,0}
|
||||
\pgftext[center, base, at={\pgfpoint{403.862pt}{220.586pt}},rotate=-90]{\fontsize{12}{0}\selectfont{\textbf{Axis: yRight}}}
|
||||
\pgftext[center, base, at={\pgfpoint{382.181pt}{113.861pt}}]{\fontsize{10}{0}\selectfont{-1,000}}
|
||||
\pgftext[center, base, at={\pgfpoint{377.93pt}{165.333pt}}]{\fontsize{10}{0}\selectfont{-500}}
|
||||
\pgftext[center, base, at={\pgfpoint{370.277pt}{216.804pt}}]{\fontsize{10}{0}\selectfont{0}}
|
||||
\pgftext[center, base, at={\pgfpoint{376.229pt}{268.275pt}}]{\fontsize{10}{0}\selectfont{500}}
|
||||
\pgftext[center, base, at={\pgfpoint{380.48pt}{319.747pt}}]{\fontsize{10}{0}\selectfont{1,000}}
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,127.727pt) -- (359.65pt,127.727pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,137.811pt) -- (359.65pt,137.811pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,148.736pt) -- (359.65pt,148.736pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,158.82pt) -- (359.65pt,158.82pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,178.988pt) -- (359.65pt,178.988pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,189.913pt) -- (359.65pt,189.913pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,199.997pt) -- (359.65pt,199.997pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,210.081pt) -- (359.65pt,210.081pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,231.09pt) -- (359.65pt,231.09pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,241.174pt) -- (359.65pt,241.174pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,251.258pt) -- (359.65pt,251.258pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,261.342pt) -- (359.65pt,261.342pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,282.351pt) -- (359.65pt,282.351pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,292.435pt) -- (359.65pt,292.435pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,302.52pt) -- (359.65pt,302.52pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,313.444pt) -- (359.65pt,313.444pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,117.643pt) -- (363.05pt,117.643pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,168.904pt) -- (363.05pt,168.904pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,220.165pt) -- (363.05pt,220.165pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,272.267pt) -- (363.05pt,272.267pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,323.528pt) -- (363.05pt,323.528pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](356.249pt,323.528pt) -- (356.249pt,117.643pt);
|
||||
\color[rgb]{1,1,1}
|
||||
\fill(118.183pt,113.441pt) -- (363.05pt,113.441pt) -- (363.05pt,73.1043pt) -- (118.183pt,73.1043pt) -- (118.183pt,113.441pt);
|
||||
\color[rgb]{0,0,0}
|
||||
\pgftext[center, base, at={\pgfpoint{241.042pt}{76.4657pt}}]{\fontsize{12}{0}\selectfont{\textbf{Axis: xBottom}}}
|
||||
\pgftext[center, base, at={\pgfpoint{133.487pt}{92.4323pt}}]{\fontsize{10}{0}\selectfont{-1,000}}
|
||||
\pgftext[center, base, at={\pgfpoint{187.689pt}{92.4323pt}}]{\fontsize{10}{0}\selectfont{-500}}
|
||||
\pgftext[center, base, at={\pgfpoint{241.892pt}{92.4323pt}}]{\fontsize{10}{0}\selectfont{0}}
|
||||
\pgftext[center, base, at={\pgfpoint{296.094pt}{92.4323pt}}]{\fontsize{10}{0}\selectfont{500}}
|
||||
\pgftext[center, base, at={\pgfpoint{350.297pt}{92.4323pt}}]{\fontsize{10}{0}\selectfont{1,000}}
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](144.54pt,111.76pt) -- (144.54pt,108.399pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](155.593pt,111.76pt) -- (155.593pt,108.399pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](165.796pt,111.76pt) -- (165.796pt,108.399pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](176.849pt,111.76pt) -- (176.849pt,108.399pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](198.955pt,111.76pt) -- (198.955pt,108.399pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](209.158pt,111.76pt) -- (209.158pt,108.399pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](220.211pt,111.76pt) -- (220.211pt,108.399pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](231.264pt,111.76pt) -- (231.264pt,108.399pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](252.52pt,111.76pt) -- (252.52pt,108.399pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](263.573pt,111.76pt) -- (263.573pt,108.399pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](274.626pt,111.76pt) -- (274.626pt,108.399pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](285.679pt,111.76pt) -- (285.679pt,108.399pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](306.935pt,111.76pt) -- (306.935pt,108.399pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](317.988pt,111.76pt) -- (317.988pt,108.399pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](329.041pt,111.76pt) -- (329.041pt,108.399pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](339.244pt,111.76pt) -- (339.244pt,108.399pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](133.487pt,111.76pt) -- (133.487pt,105.038pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](187.902pt,111.76pt) -- (187.902pt,105.038pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](242.317pt,111.76pt) -- (242.317pt,105.038pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](295.882pt,111.76pt) -- (295.882pt,105.038pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](350.297pt,111.76pt) -- (350.297pt,105.038pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](133.487pt,111.76pt) -- (350.297pt,111.76pt);
|
||||
\color[rgb]{1,1,1}
|
||||
\fill(118.183pt,368.067pt) -- (363.05pt,368.067pt) -- (363.05pt,327.73pt) -- (118.183pt,327.73pt) -- (118.183pt,368.067pt);
|
||||
\color[rgb]{0,0,0}
|
||||
\pgftext[center, base, at={\pgfpoint{241.042pt}{355.462pt}}]{\fontsize{12}{0}\selectfont{\textbf{Axis: xTop}}}
|
||||
\pgftext[center, base, at={\pgfpoint{133.487pt}{341.176pt}}]{\fontsize{10}{0}\selectfont{-1,000}}
|
||||
\pgftext[center, base, at={\pgfpoint{187.689pt}{341.176pt}}]{\fontsize{10}{0}\selectfont{-500}}
|
||||
\pgftext[center, base, at={\pgfpoint{241.892pt}{341.176pt}}]{\fontsize{10}{0}\selectfont{0}}
|
||||
\pgftext[center, base, at={\pgfpoint{296.094pt}{341.176pt}}]{\fontsize{10}{0}\selectfont{500}}
|
||||
\pgftext[center, base, at={\pgfpoint{350.297pt}{341.176pt}}]{\fontsize{10}{0}\selectfont{1,000}}
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](144.54pt,329.411pt) -- (144.54pt,332.772pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](155.593pt,329.411pt) -- (155.593pt,332.772pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](165.796pt,329.411pt) -- (165.796pt,332.772pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](176.849pt,329.411pt) -- (176.849pt,332.772pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](198.955pt,329.411pt) -- (198.955pt,332.772pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](209.158pt,329.411pt) -- (209.158pt,332.772pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](220.211pt,329.411pt) -- (220.211pt,332.772pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](231.264pt,329.411pt) -- (231.264pt,332.772pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](252.52pt,329.411pt) -- (252.52pt,332.772pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](263.573pt,329.411pt) -- (263.573pt,332.772pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](274.626pt,329.411pt) -- (274.626pt,332.772pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](285.679pt,329.411pt) -- (285.679pt,332.772pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](306.935pt,329.411pt) -- (306.935pt,332.772pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](317.988pt,329.411pt) -- (317.988pt,332.772pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](329.041pt,329.411pt) -- (329.041pt,332.772pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](339.244pt,329.411pt) -- (339.244pt,332.772pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](133.487pt,329.411pt) -- (133.487pt,336.133pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](187.902pt,329.411pt) -- (187.902pt,336.133pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](242.317pt,329.411pt) -- (242.317pt,336.133pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](295.882pt,329.411pt) -- (295.882pt,336.133pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](350.297pt,329.411pt) -- (350.297pt,336.133pt);
|
||||
\draw[line width=0pt, line join=bevel, line cap=rect](133.487pt,329.411pt) -- (350.297pt,329.411pt);
|
||||
\end{scope}
|
||||
\end{tikzpicture}
|
||||
234
qwt/doc/tex/qwtplot.tex
Normal file
@@ -0,0 +1,234 @@
|
||||
\documentclass[12pt,a4paper]{book}
|
||||
\usepackage[latin1]{inputenc}
|
||||
\usepackage{amsmath}
|
||||
\usepackage{amsfonts}
|
||||
\usepackage{amssymb}
|
||||
\usepackage{makeidx}
|
||||
\usepackage{pdfpages}
|
||||
\usepackage{tikz}
|
||||
%\usepackage{fullpage}
|
||||
\usepackage[left=1cm,right=2cm,top=2cm,footskip=1.5cm,bottom=1cm]{geometry}
|
||||
\usepackage{listings}
|
||||
\usepackage{color}
|
||||
|
||||
%\setlength{\parskip}{\baselineskip}
|
||||
\setlength{\parindent}{0pt}
|
||||
|
||||
\definecolor{lightgray}{gray}{0.97}
|
||||
\lstset{frame=single}
|
||||
\lstset{framesep=5pt}
|
||||
\lstset{language=C++}
|
||||
\lstset{keywordstyle=\color{black}\bfseries\emph}
|
||||
\lstset{backgroundcolor=\color{lightgray}}
|
||||
|
||||
\author{Uwe Rathmann}
|
||||
\title{Qwt Plot Framework}
|
||||
|
||||
|
||||
\begin{document}
|
||||
|
||||
\maketitle
|
||||
\pagestyle{headings}
|
||||
|
||||
\tableofcontents
|
||||
|
||||
\chapter{Introduction}
|
||||
|
||||
Introduction bla bla
|
||||
|
||||
\chapter{Plot Widget}
|
||||
|
||||
\section{Composite Widget Architecture}
|
||||
|
||||
QwtPlot is a composite widget, that contains a QwtPlotCanvas,
|
||||
4 QwtScaleWidgets, a QwtTextWidget for the title and an optional QwtLegend.
|
||||
All widgets might be hidden or visible depending on the current configuration
|
||||
of the plot widget. Many attributes of a plot are in fact
|
||||
attributes of the internal child widgets,
|
||||
\\
|
||||
\\
|
||||
QwtPlot has its own layout engine, that is implemented as QwtPlotLayout.
|
||||
The following picture shows a layout of a plot widget, where all internal widgets are visible.
|
||||
|
||||
\begin{center}
|
||||
\input{plotlayout}
|
||||
\end{center}
|
||||
|
||||
\bigskip
|
||||
|
||||
\begin{center}
|
||||
\input{plotlayout}
|
||||
\end{center}
|
||||
|
||||
The composite widget architecture\footnote{Subject of redesign}
|
||||
of QwtPlot has some consequences for the programming interface:
|
||||
|
||||
\begin{itemize}
|
||||
|
||||
\item Attributes\\
|
||||
Most attributes of child widgets or the layout object can't be
|
||||
changed using QwtPlot methods. Instead the application code has to
|
||||
use a getter method for the child and access it directly.
|
||||
Beside making the programming interface less obvious it has the effect,
|
||||
that the plot can't be configured in the designer ( or creator )
|
||||
|
||||
\footnote{A proof of concept has been made how to embed a special
|
||||
editor for QwtPlot into the designer and how to pass the edited
|
||||
properties using QwtPlot::applyProperties() - but it was never implemented.}.
|
||||
|
||||
\item Events\\
|
||||
Overloading event callbacks of QwtPlot has no effect when an event is posted to a child widget. When the application wants to implement a specific event handling it needs to use a technique called event filtering.
|
||||
|
||||
\end{itemize}
|
||||
|
||||
\begin{lstlisting}
|
||||
#include <qwt_plot.h>
|
||||
#include <qwt_plot_canvas.h>
|
||||
#include <qwt_scale_widget.h>
|
||||
|
||||
class MyPlot: public QwtPlot
|
||||
{
|
||||
public:
|
||||
MyPlot(QWidget *parent = NULL);
|
||||
|
||||
virtual bool eventFilter(QObject *obj, QEvent *event)
|
||||
};
|
||||
|
||||
MyPlot::MyPlot(QWidget *parent):
|
||||
QwtPlot(parent)
|
||||
{
|
||||
for ( int axis = 0; axis < QwtPlot::axisCnt; axis++ )
|
||||
axisWidget(axis)->setFont( QFont( ... ) );
|
||||
|
||||
canvas()->setPalette( QPalette( Qt::darkBlue ) );
|
||||
canvas()->installEventFilter(this);
|
||||
}
|
||||
|
||||
bool MyPlot::eventFilter(QObject *object, QEvent *event)
|
||||
{
|
||||
if ( object == canvas() )
|
||||
{
|
||||
...
|
||||
}
|
||||
return QwtPlot::eventFilter(object, event);
|
||||
}
|
||||
\end{lstlisting}
|
||||
|
||||
|
||||
\section{Scale Widget}
|
||||
\section{Legend}
|
||||
|
||||
|
||||
|
||||
\chapter{Scales, Axes and Transformations}
|
||||
|
||||
\section{Scale Divisions}
|
||||
|
||||
\section{Scale Maps}
|
||||
|
||||
\section{Scale Engine}
|
||||
|
||||
\section{Scale Renderer}
|
||||
|
||||
\chapter{Navigation and Selection}
|
||||
|
||||
\section{Picking}
|
||||
\section{Zooming}
|
||||
\section{Panning}
|
||||
|
||||
\chapter{Items on the Plot Canvas}
|
||||
|
||||
Decorations + items representing some sort of data.
|
||||
|
||||
\section{Overview}
|
||||
\section{The Grid}
|
||||
\section{Axes}
|
||||
|
||||
\section{Markers for Coordinates or Points}
|
||||
\section{Curves displaying a series of 2D Points}
|
||||
|
||||
\subsection{Symbols}
|
||||
\subsection{Styles}
|
||||
\subsection{Curve Fitting}
|
||||
|
||||
|
||||
\section{Curves displaying a series of 3D Points}
|
||||
\section{Curves displaying a series of intervals}
|
||||
\section{Histograms displaying ...}
|
||||
|
||||
\section{Spectrograms and other items displaying raster data}
|
||||
|
||||
\section{SVG Item}
|
||||
|
||||
\chapter{Exporting and Printing}
|
||||
|
||||
\chapter{Text Engines}
|
||||
|
||||
All Qwt widgets use QwtText objects to specify text labels.
|
||||
Their format attribute specifies the text engine, that is
|
||||
responsible for interpreting and rendering the string.
|
||||
Today there are 3 different text engines available.
|
||||
\footnote{A text engine for TeX documents would be a great
|
||||
solution to display labels in mathematical notation.
|
||||
There are a couple Qt/KDE applications available,
|
||||
that can display TeX documents. Most of them simply write
|
||||
the TeX document to a file generate an image from it using the
|
||||
TeX tools and load the image then - but maybe there is
|
||||
somewhere an "real" implementation inside, that
|
||||
translates a TeX document to QPainter calls. }
|
||||
|
||||
\begin{itemize}
|
||||
|
||||
\item Plain Text\\
|
||||
QwtPlainTextEngine doesn't take care of any syntax and lays out and renders
|
||||
the string using QPainter and QFontMetrics.
|
||||
|
||||
\item Rich Text\\
|
||||
QwtRichTextEngine is able to display a subset of HTML 4 markup using the renderer,
|
||||
that is built into the Scribe classes of Qt. It is often used because of
|
||||
sub- or superscripts to display very simple mathematical expressions.
|
||||
|
||||
\item Mathematical Markup Language (MathML)\\
|
||||
QwtMathMLTextEngine uses the MathML renderer from the Qt solutions
|
||||
\footnote{
|
||||
Unfortunately we don't know much about the quality of the MathML renderer yet
|
||||
as it is not much in use because of earlier license issues.
|
||||
Today the solution package is LGPL'd like the rest of Qt and in Qwt 6 it can be
|
||||
installed and used easily.
|
||||
}
|
||||
package. In MathML it should be able to define almost any kind of formula
|
||||
|
||||
\end{itemize}
|
||||
|
||||
The text engines for plain and rich texts are always available.
|
||||
The MathML text engine ( like any other homebrew text engine ) has to be
|
||||
registered by the application code:
|
||||
|
||||
\bigskip
|
||||
\begin{lstlisting}
|
||||
#include <qwt_mathml_text_engine.h>
|
||||
|
||||
QwtText::setTextEngine(QwtText::MathMLText, new QwtMathMLTextEngine());
|
||||
\end{lstlisting}
|
||||
\bigskip
|
||||
|
||||
QwtText might also have a couple of additional properties, controlling how to display a text.
|
||||
|
||||
\begin{itemize}
|
||||
\item Font
|
||||
\item Color
|
||||
\item Background color and border pen
|
||||
\end{itemize}
|
||||
|
||||
|
||||
\chapter{Advanced Topics}
|
||||
|
||||
\section{Incremental Painting}
|
||||
|
||||
\section{Building Plot Grids}
|
||||
|
||||
\section{Controlling the Aspect Ratio}
|
||||
|
||||
\section{Levels of Detail}
|
||||
|
||||
\end{document}
|
||||
@@ -9,10 +9,11 @@
|
||||
|
||||
include( $${PWD}/../examples.pri )
|
||||
|
||||
TARGET = sliders
|
||||
TARGET = animation
|
||||
|
||||
HEADERS = \
|
||||
sliders.h
|
||||
plot.h
|
||||
|
||||
SOURCES = \
|
||||
sliders.cpp
|
||||
plot.cpp \
|
||||
main.cpp
|
||||
46
qwt/examples/animation/main.cpp
Normal file
@@ -0,0 +1,46 @@
|
||||
#include <qapplication.h>
|
||||
#include "plot.h"
|
||||
|
||||
#ifndef QWT_NO_OPENGL
|
||||
#define USE_OPENGL 1
|
||||
#endif
|
||||
|
||||
#if USE_OPENGL
|
||||
#include <qgl.h>
|
||||
#include <qwt_plot_glcanvas.h>
|
||||
#else
|
||||
#include <qwt_plot_canvas.h>
|
||||
#endif
|
||||
|
||||
int main ( int argc, char **argv )
|
||||
{
|
||||
#if USE_OPENGL
|
||||
#if QT_VERSION >= 0x040600 && QT_VERSION < 0x050000
|
||||
// on my box QPaintEngine::OpenGL2 has serious problems, f.e:
|
||||
// the lines of a simple drawRect are wrong.
|
||||
|
||||
QGL::setPreferredPaintEngine( QPaintEngine::OpenGL );
|
||||
#endif
|
||||
#endif
|
||||
|
||||
QApplication a( argc, argv );
|
||||
|
||||
Plot plot;
|
||||
|
||||
#if USE_OPENGL
|
||||
QwtPlotGLCanvas *canvas = new QwtPlotGLCanvas();
|
||||
canvas->setFrameStyle( QwtPlotGLCanvas::NoFrame );
|
||||
#else
|
||||
QwtPlotCanvas *canvas = new QwtPlotCanvas();
|
||||
canvas->setFrameStyle( QFrame::NoFrame );
|
||||
canvas->setPaintAttribute( QwtPlotCanvas::BackingStore, false );
|
||||
#endif
|
||||
|
||||
plot.setCanvas( canvas );
|
||||
plot.setCanvasBackground( QColor( 30, 30, 50 ) );
|
||||
|
||||
plot.resize( 400, 400 );
|
||||
plot.show();
|
||||
|
||||
return a.exec();
|
||||
}
|
||||
241
qwt/examples/animation/plot.cpp
Normal file
@@ -0,0 +1,241 @@
|
||||
#include <qapplication.h>
|
||||
#include <qwt_math.h>
|
||||
#include <qwt_symbol.h>
|
||||
#include <qwt_curve_fitter.h>
|
||||
#include <qwt_plot_curve.h>
|
||||
#include <qwt_plot_canvas.h>
|
||||
#include <qwt_plot_layout.h>
|
||||
#include <qevent.h>
|
||||
#include "plot.h"
|
||||
|
||||
class Curve: public QwtPlotCurve
|
||||
{
|
||||
public:
|
||||
void setTransformation( const QTransform &transform )
|
||||
{
|
||||
d_transform = transform;
|
||||
}
|
||||
|
||||
virtual void updateSamples( double phase )
|
||||
{
|
||||
setSamples( d_transform.map( points( phase ) ) );
|
||||
}
|
||||
|
||||
private:
|
||||
virtual QPolygonF points( double phase ) const = 0;
|
||||
|
||||
private:
|
||||
QTransform d_transform;
|
||||
};
|
||||
|
||||
class Curve1: public Curve
|
||||
{
|
||||
public:
|
||||
Curve1()
|
||||
{
|
||||
setPen( QColor( 150, 150, 200 ), 2 );
|
||||
setStyle( QwtPlotCurve::Lines );
|
||||
|
||||
QwtSplineCurveFitter *curveFitter = new QwtSplineCurveFitter();
|
||||
curveFitter->setSplineSize( 150 );
|
||||
setCurveFitter( curveFitter );
|
||||
|
||||
setCurveAttribute( QwtPlotCurve::Fitted, true );
|
||||
|
||||
QwtSymbol *symbol = new QwtSymbol( QwtSymbol::XCross );
|
||||
symbol->setPen( Qt::yellow );
|
||||
symbol->setSize( 7 );
|
||||
|
||||
setSymbol( symbol );
|
||||
|
||||
// somewhere to the left
|
||||
QTransform transform;
|
||||
transform.scale( 1.5, 1.0 );
|
||||
transform.translate( 1.5, 3.0 );
|
||||
|
||||
setTransformation( transform );
|
||||
}
|
||||
|
||||
virtual QPolygonF points( double phase ) const
|
||||
{
|
||||
QPolygonF points;
|
||||
|
||||
const int numSamples = 15;
|
||||
for ( int i = 0; i < numSamples; i++ )
|
||||
{
|
||||
const double v = 6.28 * double( i ) / double( numSamples - 1 );
|
||||
points += QPointF( qSin( v - phase ), v );
|
||||
}
|
||||
|
||||
return points;
|
||||
}
|
||||
};
|
||||
|
||||
class Curve2: public Curve
|
||||
{
|
||||
public:
|
||||
Curve2()
|
||||
{
|
||||
setStyle( QwtPlotCurve::Sticks );
|
||||
setPen( QColor( 200, 150, 50 ) );
|
||||
|
||||
setSymbol( new QwtSymbol( QwtSymbol::Ellipse,
|
||||
QColor( Qt::gray ), QColor( Qt::yellow ), QSize( 5, 5 ) ) );
|
||||
}
|
||||
|
||||
private:
|
||||
virtual QPolygonF points( double phase ) const
|
||||
{
|
||||
QPolygonF points;
|
||||
|
||||
const int numSamples = 50;
|
||||
for ( int i = 0; i < numSamples; i++ )
|
||||
{
|
||||
const double v = 10.0 * i / double( numSamples - 1 );
|
||||
points += QPointF( v, qCos( 3.0 * ( v + phase ) ) );
|
||||
}
|
||||
|
||||
return points;
|
||||
}
|
||||
};
|
||||
|
||||
class Curve3: public Curve
|
||||
{
|
||||
public:
|
||||
Curve3()
|
||||
{
|
||||
setStyle( QwtPlotCurve::Lines );
|
||||
setPen( QColor( 100, 200, 150 ), 2 );
|
||||
|
||||
QwtSplineCurveFitter* curveFitter = new QwtSplineCurveFitter();
|
||||
curveFitter->setFitMode( QwtSplineCurveFitter::ParametricSpline );
|
||||
curveFitter->setSplineSize( 200 );
|
||||
setCurveFitter( curveFitter );
|
||||
|
||||
setCurveAttribute( QwtPlotCurve::Fitted, true );
|
||||
|
||||
// somewhere in the top right corner
|
||||
QTransform transform;
|
||||
transform.translate( 7.0, 7.5 );
|
||||
transform.scale( 2.0, 2.0 );
|
||||
|
||||
setTransformation( transform );
|
||||
}
|
||||
|
||||
private:
|
||||
virtual QPolygonF points( double phase ) const
|
||||
{
|
||||
QPolygonF points;
|
||||
|
||||
const int numSamples = 9;
|
||||
for ( int i = 0; i < numSamples; i++ )
|
||||
{
|
||||
const double v = i * 2.0 * M_PI / ( numSamples - 1 );
|
||||
points += QPointF( qSin( v - phase ), qCos( 3.0 * ( v + phase ) ) );
|
||||
}
|
||||
|
||||
return points;
|
||||
}
|
||||
};
|
||||
|
||||
class Curve4: public Curve
|
||||
{
|
||||
public:
|
||||
Curve4()
|
||||
{
|
||||
setStyle( QwtPlotCurve::Lines );
|
||||
setPen( Qt::red, 2 );
|
||||
|
||||
initSamples();
|
||||
|
||||
// somewhere in the center
|
||||
QTransform transform;
|
||||
transform.translate( 7.0, 3.0 );
|
||||
transform.scale( 1.5, 1.5 );
|
||||
|
||||
setTransformation( transform );
|
||||
}
|
||||
|
||||
private:
|
||||
virtual QPolygonF points( double phase ) const
|
||||
{
|
||||
const double speed = 0.05;
|
||||
|
||||
const double s = speed * qSin( phase );
|
||||
const double c = qSqrt( 1.0 - s * s );
|
||||
|
||||
for ( int i = 0; i < d_points.size(); i++ )
|
||||
{
|
||||
const QPointF p = d_points[i];
|
||||
|
||||
const double u = p.x();
|
||||
const double v = p.y();
|
||||
|
||||
d_points[i].setX( u * c - v * s );
|
||||
d_points[i].setY( v * c + u * s );
|
||||
}
|
||||
|
||||
return d_points;
|
||||
}
|
||||
|
||||
void initSamples()
|
||||
{
|
||||
const int numSamples = 15;
|
||||
|
||||
for ( int i = 0; i < numSamples; i++ )
|
||||
{
|
||||
const double angle = i * ( 2.0 * M_PI / ( numSamples - 1 ) );
|
||||
|
||||
QPointF p( qCos( angle ), qSin( angle ) );
|
||||
if ( i % 2 )
|
||||
p *= 0.4;
|
||||
|
||||
d_points += p;
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
mutable QPolygonF d_points;
|
||||
};
|
||||
|
||||
Plot::Plot( QWidget *parent ):
|
||||
QwtPlot( parent)
|
||||
{
|
||||
setAutoReplot( false );
|
||||
|
||||
setTitle( "Animated Curves" );
|
||||
|
||||
// hide all axes
|
||||
for ( int axis = 0; axis < QwtAxis::PosCount; axis++ )
|
||||
setAxisVisible( axis, false );
|
||||
|
||||
plotLayout()->setCanvasMargin( 10 );
|
||||
|
||||
d_curves[0] = new Curve1();
|
||||
d_curves[1] = new Curve2();
|
||||
d_curves[2] = new Curve3();
|
||||
d_curves[3] = new Curve4();
|
||||
|
||||
updateCurves();
|
||||
|
||||
for ( int i = 0; i < CurveCount; i++ )
|
||||
d_curves[i]->attach( this );
|
||||
|
||||
d_time.start();
|
||||
( void )startTimer( 40 );
|
||||
}
|
||||
|
||||
void Plot::timerEvent( QTimerEvent * )
|
||||
{
|
||||
updateCurves();
|
||||
replot();
|
||||
}
|
||||
|
||||
void Plot::updateCurves()
|
||||
{
|
||||
const double speed = 2 * M_PI / 25000.0; // a cycle every 25 seconds
|
||||
|
||||
const double phase = d_time.elapsed() * speed;
|
||||
for ( int i = 0; i < CurveCount; i++ )
|
||||
d_curves[i]->updateSamples( phase );
|
||||
}
|
||||
21
qwt/examples/animation/plot.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#include <qwt_plot.h>
|
||||
#include <qdatetime.h>
|
||||
|
||||
class Curve;
|
||||
|
||||
class Plot: public QwtPlot
|
||||
{
|
||||
public:
|
||||
Plot( QWidget * = NULL);
|
||||
|
||||
protected:
|
||||
virtual void timerEvent( QTimerEvent * );
|
||||
|
||||
private:
|
||||
void updateCurves();
|
||||
|
||||
enum { CurveCount = 4 };
|
||||
Curve *d_curves[CurveCount];
|
||||
|
||||
QTime d_time;
|
||||
};
|
||||
132
qwt/examples/barchart/barchart.cpp
Normal file
@@ -0,0 +1,132 @@
|
||||
#include "barchart.h"
|
||||
#include <qwt_plot_renderer.h>
|
||||
#include <qwt_plot_canvas.h>
|
||||
#include <qwt_plot_multi_barchart.h>
|
||||
#include <qwt_column_symbol.h>
|
||||
#include <qwt_plot_layout.h>
|
||||
#include <qwt_legend.h>
|
||||
#include <qwt_scale_draw.h>
|
||||
|
||||
BarChart::BarChart( QWidget *parent ):
|
||||
QwtPlot( parent )
|
||||
{
|
||||
setAutoFillBackground( true );
|
||||
|
||||
setPalette( Qt::white );
|
||||
canvas()->setPalette( QColor( "LemonChiffon" ) );
|
||||
|
||||
setTitle( "Bar Chart" );
|
||||
|
||||
setAxisTitle( QwtAxis::yLeft, "Whatever" );
|
||||
setAxisTitle( QwtAxis::xBottom, "Whatever" );
|
||||
|
||||
d_barChartItem = new QwtPlotMultiBarChart( "Bar Chart " );
|
||||
d_barChartItem->setLayoutPolicy( QwtPlotMultiBarChart::AutoAdjustSamples );
|
||||
d_barChartItem->setSpacing( 20 );
|
||||
d_barChartItem->setMargin( 3 );
|
||||
|
||||
d_barChartItem->attach( this );
|
||||
|
||||
insertLegend( new QwtLegend() );
|
||||
|
||||
populate();
|
||||
setOrientation( 0 );
|
||||
|
||||
setAutoReplot( true );
|
||||
}
|
||||
|
||||
void BarChart::populate()
|
||||
{
|
||||
static const char *colors[] = { "DarkOrchid", "SteelBlue", "Gold" };
|
||||
|
||||
const int numSamples = 5;
|
||||
const int numBars = sizeof( colors ) / sizeof( colors[0] );
|
||||
|
||||
QList<QwtText> titles;
|
||||
for ( int i = 0; i < numBars; i++ )
|
||||
{
|
||||
QString title("Bar %1");
|
||||
titles += title.arg( i );
|
||||
}
|
||||
d_barChartItem->setBarTitles( titles );
|
||||
d_barChartItem->setLegendIconSize( QSize( 10, 14 ) );
|
||||
|
||||
for ( int i = 0; i < numBars; i++ )
|
||||
{
|
||||
QwtColumnSymbol *symbol = new QwtColumnSymbol( QwtColumnSymbol::Box );
|
||||
symbol->setLineWidth( 2 );
|
||||
symbol->setFrameStyle( QwtColumnSymbol::Raised );
|
||||
symbol->setPalette( QPalette( colors[i] ) );
|
||||
|
||||
d_barChartItem->setSymbol( i, symbol );
|
||||
}
|
||||
|
||||
QVector< QVector<double> > series;
|
||||
for ( int i = 0; i < numSamples; i++ )
|
||||
{
|
||||
QVector<double> values;
|
||||
for ( int j = 0; j < numBars; j++ )
|
||||
values += ( 2 + qrand() % 8 );
|
||||
|
||||
series += values;
|
||||
}
|
||||
|
||||
d_barChartItem->setSamples( series );
|
||||
}
|
||||
|
||||
void BarChart::setMode( int mode )
|
||||
{
|
||||
if ( mode == 0 )
|
||||
{
|
||||
d_barChartItem->setStyle( QwtPlotMultiBarChart::Grouped );
|
||||
}
|
||||
else
|
||||
{
|
||||
d_barChartItem->setStyle( QwtPlotMultiBarChart::Stacked );
|
||||
}
|
||||
}
|
||||
|
||||
void BarChart::setOrientation( int orientation )
|
||||
{
|
||||
QwtAxis::Position axis1, axis2;
|
||||
|
||||
if ( orientation == 0 )
|
||||
{
|
||||
axis1 = QwtAxis::xBottom;
|
||||
axis2 = QwtAxis::yLeft;
|
||||
|
||||
d_barChartItem->setOrientation( Qt::Vertical );
|
||||
}
|
||||
else
|
||||
{
|
||||
axis1 = QwtAxis::yLeft;
|
||||
axis2 = QwtAxis::xBottom;
|
||||
|
||||
d_barChartItem->setOrientation( Qt::Horizontal );
|
||||
}
|
||||
|
||||
setAxisScale( axis1, 0, d_barChartItem->dataSize() - 1, 1.0 );
|
||||
setAxisAutoScale( axis2 );
|
||||
|
||||
QwtScaleDraw *scaleDraw1 = axisScaleDraw( axis1 );
|
||||
scaleDraw1->enableComponent( QwtScaleDraw::Backbone, false );
|
||||
scaleDraw1->enableComponent( QwtScaleDraw::Ticks, false );
|
||||
|
||||
QwtScaleDraw *scaleDraw2 = axisScaleDraw( axis2 );
|
||||
scaleDraw2->enableComponent( QwtScaleDraw::Backbone, true );
|
||||
scaleDraw2->enableComponent( QwtScaleDraw::Ticks, true );
|
||||
|
||||
plotLayout()->setAlignCanvasToScale( axis1, true );
|
||||
plotLayout()->setAlignCanvasToScale( axis2, false );
|
||||
|
||||
plotLayout()->setCanvasMargin( 0 );
|
||||
updateCanvasMargins();
|
||||
|
||||
replot();
|
||||
}
|
||||
|
||||
void BarChart::exportChart()
|
||||
{
|
||||
QwtPlotRenderer renderer;
|
||||
renderer.exportTo( this, "barchart.pdf" );
|
||||
}
|
||||
25
qwt/examples/barchart/barchart.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef _BAR_CHART_H_
|
||||
|
||||
#include <qwt_plot.h>
|
||||
|
||||
class QwtPlotMultiBarChart;
|
||||
|
||||
class BarChart: public QwtPlot
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
BarChart( QWidget * = NULL );
|
||||
|
||||
public Q_SLOTS:
|
||||
void setMode( int );
|
||||
void setOrientation( int );
|
||||
void exportChart();
|
||||
|
||||
private:
|
||||
void populate();
|
||||
|
||||
QwtPlotMultiBarChart *d_barChartItem;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -9,10 +9,11 @@
|
||||
|
||||
include( $${PWD}/../examples.pri )
|
||||
|
||||
TARGET = curvdemo2
|
||||
|
||||
HEADERS = \
|
||||
curvdemo2.h
|
||||
TARGET = barchart
|
||||
|
||||
SOURCES = \
|
||||
curvdemo2.cpp
|
||||
barchart.cpp \
|
||||
main.cpp
|
||||
|
||||
HEADERS = \
|
||||
barchart.h
|
||||
64
qwt/examples/barchart/main.cpp
Normal file
@@ -0,0 +1,64 @@
|
||||
#include <qapplication.h>
|
||||
#include <qmainwindow.h>
|
||||
#include <qtoolbar.h>
|
||||
#include <qtoolbutton.h>
|
||||
#include <qcombobox.h>
|
||||
#include "barchart.h"
|
||||
|
||||
class MainWindow: public QMainWindow
|
||||
{
|
||||
public:
|
||||
MainWindow( QWidget * = NULL );
|
||||
|
||||
private:
|
||||
BarChart *d_chart;
|
||||
};
|
||||
|
||||
MainWindow::MainWindow( QWidget *parent ):
|
||||
QMainWindow( parent )
|
||||
{
|
||||
d_chart = new BarChart( this );
|
||||
setCentralWidget( d_chart );
|
||||
|
||||
QToolBar *toolBar = new QToolBar( this );
|
||||
|
||||
QComboBox *typeBox = new QComboBox( toolBar );
|
||||
typeBox->addItem( "Grouped" );
|
||||
typeBox->addItem( "Stacked" );
|
||||
typeBox->setSizePolicy( QSizePolicy::Fixed, QSizePolicy::Fixed );
|
||||
|
||||
QComboBox *orientationBox = new QComboBox( toolBar );
|
||||
orientationBox->addItem( "Vertical" );
|
||||
orientationBox->addItem( "Horizontal" );
|
||||
orientationBox->setSizePolicy( QSizePolicy::Fixed, QSizePolicy::Fixed );
|
||||
|
||||
QToolButton *btnExport = new QToolButton( toolBar );
|
||||
btnExport->setText( "Export" );
|
||||
btnExport->setToolButtonStyle( Qt::ToolButtonTextUnderIcon );
|
||||
connect( btnExport, SIGNAL( clicked() ), d_chart, SLOT( exportChart() ) );
|
||||
|
||||
toolBar->addWidget( typeBox );
|
||||
toolBar->addWidget( orientationBox );
|
||||
toolBar->addWidget( btnExport );
|
||||
addToolBar( toolBar );
|
||||
|
||||
d_chart->setMode( typeBox->currentIndex() );
|
||||
connect( typeBox, SIGNAL( currentIndexChanged( int ) ),
|
||||
d_chart, SLOT( setMode( int ) ) );
|
||||
|
||||
d_chart->setOrientation( orientationBox->currentIndex() );
|
||||
connect( orientationBox, SIGNAL( currentIndexChanged( int ) ),
|
||||
d_chart, SLOT( setOrientation( int ) ) );
|
||||
}
|
||||
|
||||
int main( int argc, char **argv )
|
||||
{
|
||||
QApplication a( argc, argv );
|
||||
|
||||
MainWindow mainWindow;
|
||||
|
||||
mainWindow.resize( 600, 400 );
|
||||
mainWindow.show();
|
||||
|
||||
return a.exec();
|
||||
}
|
||||
@@ -14,7 +14,7 @@ TARGET = bode
|
||||
HEADERS = \
|
||||
mainwindow.h \
|
||||
plot.h \
|
||||
complexnumber.h \
|
||||
complexnumber.h \
|
||||
pixmaps.h
|
||||
|
||||
SOURCES = \
|
||||
|
||||
@@ -7,21 +7,21 @@ class ComplexNumber
|
||||
{
|
||||
public:
|
||||
ComplexNumber() ;
|
||||
ComplexNumber(double r, double i = 0.0);
|
||||
ComplexNumber( double r, double i = 0.0 );
|
||||
|
||||
double real() const;
|
||||
double imag() const;
|
||||
|
||||
friend ComplexNumber operator*(
|
||||
const ComplexNumber &, const ComplexNumber &);
|
||||
const ComplexNumber &, const ComplexNumber & );
|
||||
|
||||
friend ComplexNumber operator+(
|
||||
const ComplexNumber &, const ComplexNumber &);
|
||||
const ComplexNumber &, const ComplexNumber & );
|
||||
|
||||
friend ComplexNumber operator-(
|
||||
const ComplexNumber &, const ComplexNumber &);
|
||||
const ComplexNumber &, const ComplexNumber & );
|
||||
friend ComplexNumber operator/(
|
||||
const ComplexNumber &, const ComplexNumber &);
|
||||
const ComplexNumber &, const ComplexNumber & );
|
||||
|
||||
private:
|
||||
double d_real;
|
||||
@@ -29,14 +29,14 @@ private:
|
||||
};
|
||||
|
||||
inline ComplexNumber::ComplexNumber():
|
||||
d_real(0.0),
|
||||
d_imag(-0.0)
|
||||
d_real( 0.0 ),
|
||||
d_imag( -0.0 )
|
||||
{
|
||||
}
|
||||
|
||||
inline ComplexNumber::ComplexNumber(double re, double im):
|
||||
d_real(re),
|
||||
d_imag(im)
|
||||
inline ComplexNumber::ComplexNumber( double re, double im ):
|
||||
d_real( re ),
|
||||
d_imag( im )
|
||||
{
|
||||
}
|
||||
|
||||
@@ -51,33 +51,33 @@ inline double ComplexNumber::imag() const
|
||||
}
|
||||
|
||||
inline ComplexNumber operator+(
|
||||
const ComplexNumber &x1, const ComplexNumber &x2)
|
||||
const ComplexNumber &x1, const ComplexNumber &x2 )
|
||||
{
|
||||
return ComplexNumber(x1.d_real + x2.d_real, x1.d_imag + x2.d_imag);
|
||||
return ComplexNumber( x1.d_real + x2.d_real, x1.d_imag + x2.d_imag );
|
||||
}
|
||||
|
||||
inline ComplexNumber operator-(
|
||||
const ComplexNumber &x1, const ComplexNumber &x2)
|
||||
const ComplexNumber &x1, const ComplexNumber &x2 )
|
||||
{
|
||||
return ComplexNumber(x1.d_real - x2.d_real, x1.d_imag - x2.d_imag);
|
||||
return ComplexNumber( x1.d_real - x2.d_real, x1.d_imag - x2.d_imag );
|
||||
}
|
||||
|
||||
inline ComplexNumber operator*(
|
||||
const ComplexNumber &x1, const ComplexNumber &x2)
|
||||
const ComplexNumber &x1, const ComplexNumber &x2 )
|
||||
{
|
||||
return ComplexNumber(x1.d_real * x2.d_real - x1.d_imag * x2.d_imag,
|
||||
x1.d_real * x2.d_imag + x2.d_real * x1.d_imag);
|
||||
return ComplexNumber( x1.d_real * x2.d_real - x1.d_imag * x2.d_imag,
|
||||
x1.d_real * x2.d_imag + x2.d_real * x1.d_imag );
|
||||
}
|
||||
|
||||
inline ComplexNumber operator/(
|
||||
const ComplexNumber &x1, const ComplexNumber &x2)
|
||||
const ComplexNumber &x1, const ComplexNumber &x2 )
|
||||
{
|
||||
double denom = x2.d_real * x2.d_real + x2.d_imag * x2.d_imag;
|
||||
|
||||
return ComplexNumber(
|
||||
(x1.d_real * x2.d_real + x1.d_imag * x2.d_imag) / denom,
|
||||
(x1.d_imag * x2.d_real - x2.d_imag * x1.d_real) / denom
|
||||
);
|
||||
( x1.d_real * x2.d_real + x1.d_imag * x2.d_imag ) / denom,
|
||||
( x1.d_imag * x2.d_real - x2.d_imag * x1.d_real ) / denom
|
||||
);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#include <qapplication.h>
|
||||
#include "mainwindow.h"
|
||||
|
||||
int main (int argc, char **argv)
|
||||
int main ( int argc, char **argv )
|
||||
{
|
||||
QApplication a(argc, argv);
|
||||
QApplication a( argc, argv );
|
||||
|
||||
MainWindow w;
|
||||
w.resize(540,400);
|
||||
w.resize( 1000, 800 );
|
||||
w.show();
|
||||
|
||||
return a.exec();
|
||||
|
||||
@@ -7,10 +7,7 @@
|
||||
#include <qprinter.h>
|
||||
#include <qpicture.h>
|
||||
#include <qpainter.h>
|
||||
#include <qfiledialog.h>
|
||||
#include <qimagewriter.h>
|
||||
#include <qprintdialog.h>
|
||||
#include <qfileinfo.h>
|
||||
#include <qwt_counter.h>
|
||||
#include <qwt_picker_machine.h>
|
||||
#include <qwt_plot_zoomer.h>
|
||||
@@ -25,19 +22,19 @@
|
||||
class Zoomer: public QwtPlotZoomer
|
||||
{
|
||||
public:
|
||||
Zoomer(int xAxis, int yAxis, QwtPlotCanvas *canvas):
|
||||
QwtPlotZoomer(xAxis, yAxis, canvas)
|
||||
Zoomer( int xAxis, int yAxis, QWidget *canvas ):
|
||||
QwtPlotZoomer( xAxis, yAxis, canvas )
|
||||
{
|
||||
setTrackerMode(QwtPicker::AlwaysOff);
|
||||
setRubberBand(QwtPicker::NoRubberBand);
|
||||
setTrackerMode( QwtPicker::AlwaysOff );
|
||||
setRubberBand( QwtPicker::NoRubberBand );
|
||||
|
||||
// RightButton: zoom out by 1
|
||||
// Ctrl+RightButton: zoom out to full size
|
||||
|
||||
setMousePattern(QwtEventPattern::MouseSelect2,
|
||||
Qt::RightButton, Qt::ControlModifier);
|
||||
setMousePattern(QwtEventPattern::MouseSelect3,
|
||||
Qt::RightButton);
|
||||
setMousePattern( QwtEventPattern::MouseSelect2,
|
||||
Qt::RightButton, Qt::ControlModifier );
|
||||
setMousePattern( QwtEventPattern::MouseSelect3,
|
||||
Qt::RightButton );
|
||||
}
|
||||
};
|
||||
|
||||
@@ -51,128 +48,131 @@ public:
|
||||
//
|
||||
//-----------------------------------------------------------------
|
||||
|
||||
MainWindow::MainWindow(QWidget *parent):
|
||||
QMainWindow(parent)
|
||||
MainWindow::MainWindow( QWidget *parent ):
|
||||
QMainWindow( parent )
|
||||
{
|
||||
d_plot = new Plot(this);
|
||||
d_plot = new Plot( this );
|
||||
|
||||
const int margin = 5;
|
||||
d_plot->setContentsMargins( margin, margin, margin, 0 );
|
||||
|
||||
setContextMenuPolicy(Qt::NoContextMenu);
|
||||
setContextMenuPolicy( Qt::NoContextMenu );
|
||||
|
||||
d_zoomer[0] = new Zoomer( QwtPlot::xBottom, QwtPlot::yLeft,
|
||||
d_plot->canvas());
|
||||
d_zoomer[0]->setRubberBand(QwtPicker::RectRubberBand);
|
||||
d_zoomer[0]->setRubberBandPen(QColor(Qt::green));
|
||||
d_zoomer[0]->setTrackerMode(QwtPicker::ActiveOnly);
|
||||
d_zoomer[0]->setTrackerPen(QColor(Qt::white));
|
||||
d_zoomer[0] = new Zoomer(
|
||||
QwtAxis::xBottom, QwtAxis::yLeft, d_plot->canvas() );
|
||||
d_zoomer[0]->setRubberBand( QwtPicker::RectRubberBand );
|
||||
d_zoomer[0]->setRubberBandPen( QColor( Qt::green ) );
|
||||
d_zoomer[0]->setTrackerMode( QwtPicker::ActiveOnly );
|
||||
d_zoomer[0]->setTrackerPen( QColor( Qt::white ) );
|
||||
|
||||
d_zoomer[1] = new Zoomer(QwtPlot::xTop, QwtPlot::yRight,
|
||||
d_plot->canvas());
|
||||
d_zoomer[1] = new Zoomer( QwtAxis::xTop, QwtAxis::yRight,
|
||||
d_plot->canvas() );
|
||||
|
||||
d_panner = new QwtPlotPanner(d_plot->canvas());
|
||||
d_panner->setMouseButton(Qt::MidButton);
|
||||
d_panner = new QwtPlotPanner( d_plot->canvas() );
|
||||
d_panner->setMouseButton( Qt::MidButton );
|
||||
|
||||
d_picker = new QwtPlotPicker(QwtPlot::xBottom, QwtPlot::yLeft,
|
||||
d_picker = new QwtPlotPicker( QwtAxis::xBottom, QwtAxis::yLeft,
|
||||
QwtPlotPicker::CrossRubberBand, QwtPicker::AlwaysOn,
|
||||
d_plot->canvas());
|
||||
d_picker->setStateMachine(new QwtPickerDragPointMachine());
|
||||
d_picker->setRubberBandPen(QColor(Qt::green));
|
||||
d_picker->setRubberBand(QwtPicker::CrossRubberBand);
|
||||
d_picker->setTrackerPen(QColor(Qt::white));
|
||||
d_plot->canvas() );
|
||||
d_picker->setStateMachine( new QwtPickerDragPointMachine() );
|
||||
d_picker->setRubberBandPen( QColor( Qt::green ) );
|
||||
d_picker->setRubberBand( QwtPicker::CrossRubberBand );
|
||||
d_picker->setTrackerPen( QColor( Qt::white ) );
|
||||
|
||||
setCentralWidget(d_plot);
|
||||
setCentralWidget( d_plot );
|
||||
|
||||
QToolBar *toolBar = new QToolBar(this);
|
||||
QToolBar *toolBar = new QToolBar( this );
|
||||
|
||||
QToolButton *btnZoom = new QToolButton(toolBar);
|
||||
btnZoom->setText("Zoom");
|
||||
btnZoom->setIcon(QIcon(zoom_xpm));
|
||||
btnZoom->setCheckable(true);
|
||||
btnZoom->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
toolBar->addWidget(btnZoom);
|
||||
connect(btnZoom, SIGNAL(toggled(bool)), SLOT(enableZoomMode(bool)));
|
||||
QToolButton *btnZoom = new QToolButton( toolBar );
|
||||
btnZoom->setText( "Zoom" );
|
||||
btnZoom->setIcon( QPixmap( zoom_xpm ) );
|
||||
btnZoom->setCheckable( true );
|
||||
btnZoom->setToolButtonStyle( Qt::ToolButtonTextUnderIcon );
|
||||
toolBar->addWidget( btnZoom );
|
||||
connect( btnZoom, SIGNAL( toggled( bool ) ), SLOT( enableZoomMode( bool ) ) );
|
||||
|
||||
#ifndef QT_NO_PRINTER
|
||||
QToolButton *btnPrint = new QToolButton(toolBar);
|
||||
btnPrint->setText("Print");
|
||||
btnPrint->setIcon(QIcon(print_xpm));
|
||||
btnPrint->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
toolBar->addWidget(btnPrint);
|
||||
connect(btnPrint, SIGNAL(clicked()), SLOT(print()));
|
||||
QToolButton *btnPrint = new QToolButton( toolBar );
|
||||
btnPrint->setText( "Print" );
|
||||
btnPrint->setIcon( QPixmap( print_xpm ) );
|
||||
btnPrint->setToolButtonStyle( Qt::ToolButtonTextUnderIcon );
|
||||
toolBar->addWidget( btnPrint );
|
||||
connect( btnPrint, SIGNAL( clicked() ), SLOT( print() ) );
|
||||
#endif
|
||||
|
||||
QToolButton *btnExport = new QToolButton(toolBar);
|
||||
btnExport->setText("Export");
|
||||
btnExport->setIcon(QIcon(print_xpm));
|
||||
btnExport->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
toolBar->addWidget(btnExport);
|
||||
connect(btnExport, SIGNAL(clicked()), SLOT(exportDocument()));
|
||||
QToolButton *btnExport = new QToolButton( toolBar );
|
||||
btnExport->setText( "Export" );
|
||||
btnExport->setIcon( QPixmap( print_xpm ) );
|
||||
btnExport->setToolButtonStyle( Qt::ToolButtonTextUnderIcon );
|
||||
toolBar->addWidget( btnExport );
|
||||
connect( btnExport, SIGNAL( clicked() ), SLOT( exportDocument() ) );
|
||||
|
||||
toolBar->addSeparator();
|
||||
|
||||
QWidget *hBox = new QWidget(toolBar);
|
||||
QWidget *hBox = new QWidget( toolBar );
|
||||
|
||||
QHBoxLayout *layout = new QHBoxLayout(hBox);
|
||||
layout->setSpacing(0);
|
||||
layout->addWidget(new QWidget(hBox), 10); // spacer
|
||||
layout->addWidget(new QLabel("Damping Factor", hBox), 0);
|
||||
layout->addSpacing(10);
|
||||
QHBoxLayout *layout = new QHBoxLayout( hBox );
|
||||
layout->setSpacing( 0 );
|
||||
layout->addWidget( new QWidget( hBox ), 10 ); // spacer
|
||||
layout->addWidget( new QLabel( "Damping Factor", hBox ), 0 );
|
||||
layout->addSpacing( 10 );
|
||||
|
||||
QwtCounter *cntDamp = new QwtCounter(hBox);
|
||||
cntDamp->setRange(0.0, 5.0, 0.01);
|
||||
cntDamp->setValue(0.0);
|
||||
QwtCounter *cntDamp = new QwtCounter( hBox );
|
||||
cntDamp->setRange( 0.0, 5.0 );
|
||||
cntDamp->setSingleStep( 0.01 );
|
||||
cntDamp->setValue( 0.0 );
|
||||
|
||||
layout->addWidget(cntDamp, 0);
|
||||
layout->addWidget( cntDamp, 0 );
|
||||
|
||||
(void)toolBar->addWidget(hBox);
|
||||
( void )toolBar->addWidget( hBox );
|
||||
|
||||
addToolBar(toolBar);
|
||||
addToolBar( toolBar );
|
||||
#ifndef QT_NO_STATUSBAR
|
||||
(void)statusBar();
|
||||
( void )statusBar();
|
||||
#endif
|
||||
|
||||
enableZoomMode(false);
|
||||
enableZoomMode( false );
|
||||
showInfo();
|
||||
|
||||
connect(cntDamp, SIGNAL(valueChanged(double)),
|
||||
d_plot, SLOT(setDamp(double)));
|
||||
connect( cntDamp, SIGNAL( valueChanged( double ) ),
|
||||
d_plot, SLOT( setDamp( double ) ) );
|
||||
|
||||
connect(d_picker, SIGNAL(moved(const QPoint &)),
|
||||
SLOT(moved(const QPoint &)));
|
||||
connect(d_picker, SIGNAL(selected(const QPolygon &)),
|
||||
SLOT(selected(const QPolygon &)));
|
||||
connect( d_picker, SIGNAL( moved( const QPoint & ) ),
|
||||
SLOT( moved( const QPoint & ) ) );
|
||||
connect( d_picker, SIGNAL( selected( const QPolygon & ) ),
|
||||
SLOT( selected( const QPolygon & ) ) );
|
||||
}
|
||||
|
||||
#ifndef QT_NO_PRINTER
|
||||
|
||||
void MainWindow::print()
|
||||
{
|
||||
QPrinter printer(QPrinter::HighResolution);
|
||||
QPrinter printer( QPrinter::HighResolution );
|
||||
|
||||
QString docName = d_plot->title().text();
|
||||
if ( !docName.isEmpty() )
|
||||
{
|
||||
docName.replace (QRegExp (QString::fromLatin1 ("\n")), tr (" -- "));
|
||||
printer.setDocName (docName);
|
||||
docName.replace ( QRegExp ( QString::fromLatin1 ( "\n" ) ), tr ( " -- " ) );
|
||||
printer.setDocName ( docName );
|
||||
}
|
||||
|
||||
printer.setCreator("Bode example");
|
||||
printer.setOrientation(QPrinter::Landscape);
|
||||
printer.setCreator( "Bode example" );
|
||||
printer.setOrientation( QPrinter::Landscape );
|
||||
|
||||
QPrintDialog dialog(&printer);
|
||||
QPrintDialog dialog( &printer );
|
||||
if ( dialog.exec() )
|
||||
{
|
||||
QwtPlotRenderer renderer;
|
||||
|
||||
if ( printer.colorMode() == QPrinter::GrayScale )
|
||||
{
|
||||
renderer.setDiscardFlag(QwtPlotRenderer::DiscardCanvasBackground);
|
||||
renderer.setLayoutFlag(QwtPlotRenderer::FrameWithScales);
|
||||
renderer.setDiscardFlag( QwtPlotRenderer::DiscardBackground );
|
||||
renderer.setDiscardFlag( QwtPlotRenderer::DiscardCanvasBackground );
|
||||
renderer.setDiscardFlag( QwtPlotRenderer::DiscardCanvasFrame );
|
||||
renderer.setLayoutFlag( QwtPlotRenderer::FrameWithScales );
|
||||
}
|
||||
|
||||
renderer.renderTo(d_plot, printer);
|
||||
renderer.renderTo( d_plot, printer );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -180,71 +180,26 @@ void MainWindow::print()
|
||||
|
||||
void MainWindow::exportDocument()
|
||||
{
|
||||
#ifndef QT_NO_PRINTER
|
||||
QString fileName = "bode.pdf";
|
||||
#else
|
||||
QString fileName = "bode.png";
|
||||
#endif
|
||||
|
||||
#ifndef QT_NO_FILEDIALOG
|
||||
const QList<QByteArray> imageFormats =
|
||||
QImageWriter::supportedImageFormats();
|
||||
|
||||
QStringList filter;
|
||||
filter += "PDF Documents (*.pdf)";
|
||||
#ifndef QWT_NO_SVG
|
||||
filter += "SVG Documents (*.svg)";
|
||||
#endif
|
||||
filter += "Postscript Documents (*.ps)";
|
||||
|
||||
if ( imageFormats.size() > 0 )
|
||||
{
|
||||
QString imageFilter("Images (");
|
||||
for ( int i = 0; i < imageFormats.size(); i++ )
|
||||
{
|
||||
if ( i > 0 )
|
||||
imageFilter += " ";
|
||||
imageFilter += "*.";
|
||||
imageFilter += imageFormats[i];
|
||||
}
|
||||
imageFilter += ")";
|
||||
|
||||
filter += imageFilter;
|
||||
}
|
||||
|
||||
fileName = QFileDialog::getSaveFileName(
|
||||
this, "Export File Name", fileName,
|
||||
filter.join(";;"), NULL, QFileDialog::DontConfirmOverwrite);
|
||||
#endif
|
||||
|
||||
if ( !fileName.isEmpty() )
|
||||
{
|
||||
QwtPlotRenderer renderer;
|
||||
|
||||
// flags to make the document look like the widget
|
||||
renderer.setDiscardFlag(QwtPlotRenderer::DiscardBackground, false);
|
||||
renderer.setLayoutFlag(QwtPlotRenderer::KeepFrames, true);
|
||||
|
||||
renderer.renderDocument(d_plot, fileName, QSizeF(300, 200), 85);
|
||||
}
|
||||
QwtPlotRenderer renderer;
|
||||
renderer.exportTo( d_plot, "bode.pdf" );
|
||||
}
|
||||
|
||||
void MainWindow::enableZoomMode(bool on)
|
||||
void MainWindow::enableZoomMode( bool on )
|
||||
{
|
||||
d_panner->setEnabled(on);
|
||||
d_panner->setEnabled( on );
|
||||
|
||||
d_zoomer[0]->setEnabled(on);
|
||||
d_zoomer[0]->zoom(0);
|
||||
d_zoomer[0]->setEnabled( on );
|
||||
d_zoomer[0]->zoom( 0 );
|
||||
|
||||
d_zoomer[1]->setEnabled(on);
|
||||
d_zoomer[1]->zoom(0);
|
||||
d_zoomer[1]->setEnabled( on );
|
||||
d_zoomer[1]->zoom( 0 );
|
||||
|
||||
d_picker->setEnabled(!on);
|
||||
d_picker->setEnabled( !on );
|
||||
|
||||
showInfo();
|
||||
}
|
||||
|
||||
void MainWindow::showInfo(QString text)
|
||||
void MainWindow::showInfo( QString text )
|
||||
{
|
||||
if ( text == QString::null )
|
||||
{
|
||||
@@ -255,22 +210,22 @@ void MainWindow::showInfo(QString text)
|
||||
}
|
||||
|
||||
#ifndef QT_NO_STATUSBAR
|
||||
statusBar()->showMessage(text);
|
||||
statusBar()->showMessage( text );
|
||||
#endif
|
||||
}
|
||||
|
||||
void MainWindow::moved(const QPoint &pos)
|
||||
void MainWindow::moved( const QPoint &pos )
|
||||
{
|
||||
QString info;
|
||||
info.sprintf("Freq=%g, Ampl=%g, Phase=%g",
|
||||
d_plot->invTransform(QwtPlot::xBottom, pos.x()),
|
||||
d_plot->invTransform(QwtPlot::yLeft, pos.y()),
|
||||
d_plot->invTransform(QwtPlot::yRight, pos.y())
|
||||
info.sprintf( "Freq=%g, Ampl=%g, Phase=%g",
|
||||
d_plot->invTransform( QwtAxis::xBottom, pos.x() ),
|
||||
d_plot->invTransform( QwtAxis::yLeft, pos.y() ),
|
||||
d_plot->invTransform( QwtAxis::yRight, pos.y() )
|
||||
);
|
||||
showInfo(info);
|
||||
showInfo( info );
|
||||
}
|
||||
|
||||
void MainWindow::selected(const QPolygon &)
|
||||
void MainWindow::selected( const QPolygon & )
|
||||
{
|
||||
showInfo();
|
||||
}
|
||||
|
||||
@@ -11,21 +11,21 @@ class MainWindow : public QMainWindow
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
MainWindow(QWidget *parent = 0);
|
||||
MainWindow( QWidget *parent = 0 );
|
||||
|
||||
private Q_SLOTS:
|
||||
void moved(const QPoint &);
|
||||
void selected(const QPolygon &);
|
||||
void moved( const QPoint & );
|
||||
void selected( const QPolygon & );
|
||||
|
||||
#ifndef QT_NO_PRINTER
|
||||
void print();
|
||||
#endif
|
||||
|
||||
void exportDocument();
|
||||
void enableZoomMode(bool);
|
||||
void enableZoomMode( bool );
|
||||
|
||||
private:
|
||||
void showInfo(QString text = QString::null);
|
||||
void showInfo( QString text = QString::null );
|
||||
|
||||
Plot *d_plot;
|
||||
|
||||
|
||||
@@ -1,95 +1,99 @@
|
||||
#ifndef PIXMAPS_H
|
||||
#define PIXMAPS_H
|
||||
|
||||
static const char *print_xpm[]={
|
||||
"32 32 12 1",
|
||||
"a c #ffffff",
|
||||
"h c #ffff00",
|
||||
"c c #ffffff",
|
||||
"f c #dcdcdc",
|
||||
"b c #c0c0c0",
|
||||
"j c #a0a0a4",
|
||||
"e c #808080",
|
||||
"g c #808000",
|
||||
"d c #585858",
|
||||
"i c #00ff00",
|
||||
"# c #000000",
|
||||
". c None",
|
||||
"................................",
|
||||
"................................",
|
||||
"...........###..................",
|
||||
"..........#abb###...............",
|
||||
".........#aabbbbb###............",
|
||||
".........#ddaaabbbbb###.........",
|
||||
"........#ddddddaaabbbbb###......",
|
||||
".......#deffddddddaaabbbbb###...",
|
||||
"......#deaaabbbddddddaaabbbbb###",
|
||||
".....#deaaaaaaabbbddddddaaabbbb#",
|
||||
"....#deaaabbbaaaa#ddedddfggaaad#",
|
||||
"...#deaaaaaaaaaa#ddeeeeafgggfdd#",
|
||||
"..#deaaabbbaaaa#ddeeeeabbbbgfdd#",
|
||||
".#deeefaaaaaaa#ddeeeeabbhhbbadd#",
|
||||
"#aabbbeeefaaa#ddeeeeabbbbbbaddd#",
|
||||
"#bbaaabbbeee#ddeeeeabbiibbadddd#",
|
||||
"#bbbbbaaabbbeeeeeeabbbbbbaddddd#",
|
||||
"#bjbbbbbbaaabbbbeabbbbbbadddddd#",
|
||||
"#bjjjjbbbbbbaaaeabbbbbbaddddddd#",
|
||||
"#bjaaajjjbbbbbbaaabbbbadddddddd#",
|
||||
"#bbbbbaaajjjbbbbbbaaaaddddddddd#",
|
||||
"#bjbbbbbbaaajjjbbbbbbddddddddd#.",
|
||||
"#bjjjjbbbbbbaaajjjbbbdddddddd#..",
|
||||
"#bjaaajjjbbbbbbjaajjbddddddd#...",
|
||||
"#bbbbbaaajjjbbbjbbaabdddddd#....",
|
||||
"###bbbbbbaaajjjjbbbbbddddd#.....",
|
||||
"...###bbbbbbaaajbbbbbdddd#......",
|
||||
"......###bbbbbbjbbbbbddd#.......",
|
||||
".........###bbbbbbbbbdd#........",
|
||||
"............###bbbbbbd#.........",
|
||||
"...............###bbb#..........",
|
||||
"..................###..........."};
|
||||
static const char *print_xpm[] =
|
||||
{
|
||||
"32 32 12 1",
|
||||
"a c #ffffff",
|
||||
"h c #ffff00",
|
||||
"c c #ffffff",
|
||||
"f c #dcdcdc",
|
||||
"b c #c0c0c0",
|
||||
"j c #a0a0a4",
|
||||
"e c #808080",
|
||||
"g c #808000",
|
||||
"d c #585858",
|
||||
"i c #00ff00",
|
||||
"# c #000000",
|
||||
". c None",
|
||||
"................................",
|
||||
"................................",
|
||||
"...........###..................",
|
||||
"..........#abb###...............",
|
||||
".........#aabbbbb###............",
|
||||
".........#ddaaabbbbb###.........",
|
||||
"........#ddddddaaabbbbb###......",
|
||||
".......#deffddddddaaabbbbb###...",
|
||||
"......#deaaabbbddddddaaabbbbb###",
|
||||
".....#deaaaaaaabbbddddddaaabbbb#",
|
||||
"....#deaaabbbaaaa#ddedddfggaaad#",
|
||||
"...#deaaaaaaaaaa#ddeeeeafgggfdd#",
|
||||
"..#deaaabbbaaaa#ddeeeeabbbbgfdd#",
|
||||
".#deeefaaaaaaa#ddeeeeabbhhbbadd#",
|
||||
"#aabbbeeefaaa#ddeeeeabbbbbbaddd#",
|
||||
"#bbaaabbbeee#ddeeeeabbiibbadddd#",
|
||||
"#bbbbbaaabbbeeeeeeabbbbbbaddddd#",
|
||||
"#bjbbbbbbaaabbbbeabbbbbbadddddd#",
|
||||
"#bjjjjbbbbbbaaaeabbbbbbaddddddd#",
|
||||
"#bjaaajjjbbbbbbaaabbbbadddddddd#",
|
||||
"#bbbbbaaajjjbbbbbbaaaaddddddddd#",
|
||||
"#bjbbbbbbaaajjjbbbbbbddddddddd#.",
|
||||
"#bjjjjbbbbbbaaajjjbbbdddddddd#..",
|
||||
"#bjaaajjjbbbbbbjaajjbddddddd#...",
|
||||
"#bbbbbaaajjjbbbjbbaabdddddd#....",
|
||||
"###bbbbbbaaajjjjbbbbbddddd#.....",
|
||||
"...###bbbbbbaaajbbbbbdddd#......",
|
||||
"......###bbbbbbjbbbbbddd#.......",
|
||||
".........###bbbbbbbbbdd#........",
|
||||
"............###bbbbbbd#.........",
|
||||
"...............###bbb#..........",
|
||||
"..................###..........."
|
||||
};
|
||||
|
||||
|
||||
static const char *zoom_xpm[]={
|
||||
"32 32 8 1",
|
||||
"# c #000000",
|
||||
"b c #c0c0c0",
|
||||
"a c #ffffff",
|
||||
"e c #585858",
|
||||
"d c #a0a0a4",
|
||||
"c c #0000ff",
|
||||
"f c #00ffff",
|
||||
". c None",
|
||||
"..######################........",
|
||||
".#a#baaaaaaaaaaaaaaaaaa#........",
|
||||
"#aa#baaaaaaaaaaaaaccaca#........",
|
||||
"####baaaaaaaaaaaaaaaaca####.....",
|
||||
"#bbbbaaaaaaaaaaaacccaaa#da#.....",
|
||||
"#aaaaaaaaaaaaaaaacccaca#da#.....",
|
||||
"#aaaaaaaaaaaaaaaaaccaca#da#.....",
|
||||
"#aaaaaaaaaabe###ebaaaaa#da#.....",
|
||||
"#aaaaaaaaa#########aaaa#da#.....",
|
||||
"#aaaaaaaa###dbbbb###aaa#da#.....",
|
||||
"#aaaaaaa###aaaaffb###aa#da#.....",
|
||||
"#aaaaaab##aaccaaafb##ba#da#.....",
|
||||
"#aaaaaae#daaccaccaad#ea#da#.....",
|
||||
"#aaaaaa##aaaaaaccaab##a#da#.....",
|
||||
"#aaaaaa##aacccaaaaab##a#da#.....",
|
||||
"#aaaaaa##aaccccaccab##a#da#.....",
|
||||
"#aaaaaae#daccccaccad#ea#da#.....",
|
||||
"#aaaaaab##aacccaaaa##da#da#.....",
|
||||
"#aaccacd###aaaaaaa###da#da#.....",
|
||||
"#aaaaacad###daaad#####a#da#.....",
|
||||
"#acccaaaad##########da##da#.....",
|
||||
"#acccacaaadde###edd#eda#da#.....",
|
||||
"#aaccacaaaabdddddbdd#eda#a#.....",
|
||||
"#aaaaaaaaaaaaaaaaaadd#eda##.....",
|
||||
"#aaaaaaaaaaaaaaaaaaadd#eda#.....",
|
||||
"#aaaaaaaccacaaaaaaaaadd#eda#....",
|
||||
"#aaaaaaaaaacaaaaaaaaaad##eda#...",
|
||||
"#aaaaaacccaaaaaaaaaaaaa#d#eda#..",
|
||||
"########################dd#eda#.",
|
||||
"...#dddddddddddddddddddddd##eda#",
|
||||
"...#aaaaaaaaaaaaaaaaaaaaaa#.####",
|
||||
"...########################..##."};
|
||||
static const char *zoom_xpm[] =
|
||||
{
|
||||
"32 32 8 1",
|
||||
"# c #000000",
|
||||
"b c #c0c0c0",
|
||||
"a c #ffffff",
|
||||
"e c #585858",
|
||||
"d c #a0a0a4",
|
||||
"c c #0000ff",
|
||||
"f c #00ffff",
|
||||
". c None",
|
||||
"..######################........",
|
||||
".#a#baaaaaaaaaaaaaaaaaa#........",
|
||||
"#aa#baaaaaaaaaaaaaccaca#........",
|
||||
"####baaaaaaaaaaaaaaaaca####.....",
|
||||
"#bbbbaaaaaaaaaaaacccaaa#da#.....",
|
||||
"#aaaaaaaaaaaaaaaacccaca#da#.....",
|
||||
"#aaaaaaaaaaaaaaaaaccaca#da#.....",
|
||||
"#aaaaaaaaaabe###ebaaaaa#da#.....",
|
||||
"#aaaaaaaaa#########aaaa#da#.....",
|
||||
"#aaaaaaaa###dbbbb###aaa#da#.....",
|
||||
"#aaaaaaa###aaaaffb###aa#da#.....",
|
||||
"#aaaaaab##aaccaaafb##ba#da#.....",
|
||||
"#aaaaaae#daaccaccaad#ea#da#.....",
|
||||
"#aaaaaa##aaaaaaccaab##a#da#.....",
|
||||
"#aaaaaa##aacccaaaaab##a#da#.....",
|
||||
"#aaaaaa##aaccccaccab##a#da#.....",
|
||||
"#aaaaaae#daccccaccad#ea#da#.....",
|
||||
"#aaaaaab##aacccaaaa##da#da#.....",
|
||||
"#aaccacd###aaaaaaa###da#da#.....",
|
||||
"#aaaaacad###daaad#####a#da#.....",
|
||||
"#acccaaaad##########da##da#.....",
|
||||
"#acccacaaadde###edd#eda#da#.....",
|
||||
"#aaccacaaaabdddddbdd#eda#a#.....",
|
||||
"#aaaaaaaaaaaaaaaaaadd#eda##.....",
|
||||
"#aaaaaaaaaaaaaaaaaaadd#eda#.....",
|
||||
"#aaaaaaaccacaaaaaaaaadd#eda#....",
|
||||
"#aaaaaaaaaacaaaaaaaaaad##eda#...",
|
||||
"#aaaaaacccaaaaaaaaaaaaa#d#eda#..",
|
||||
"########################dd#eda#.",
|
||||
"...#dddddddddddddddddddddd##eda#",
|
||||
"...#aaaaaaaaaaaaaaaaaaaaaa#.####",
|
||||
"...########################..##."
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <qwt_plot_curve.h>
|
||||
#include <qwt_legend.h>
|
||||
#include <qwt_text.h>
|
||||
#include <qwt_plot_canvas.h>
|
||||
#include <qmath.h>
|
||||
#include "complexnumber.h"
|
||||
#include "plot.h"
|
||||
@@ -15,130 +16,152 @@
|
||||
#define qAtan2(y, x) ::atan2(y, x)
|
||||
#endif
|
||||
|
||||
static void logSpace(double *array, int size, double xmin, double xmax)
|
||||
static void logSpace( double *array, int size, double xmin, double xmax )
|
||||
{
|
||||
if ((xmin <= 0.0) || (xmax <= 0.0) || (size <= 0))
|
||||
return;
|
||||
if ( ( xmin <= 0.0 ) || ( xmax <= 0.0 ) || ( size <= 0 ) )
|
||||
return;
|
||||
|
||||
const int imax = size -1;
|
||||
const int imax = size - 1;
|
||||
|
||||
array[0] = xmin;
|
||||
array[imax] = xmax;
|
||||
|
||||
const double lxmin = log(xmin);
|
||||
const double lxmax = log(xmax);
|
||||
const double lstep = (lxmax - lxmin) / double(imax);
|
||||
const double lxmin = log( xmin );
|
||||
const double lxmax = log( xmax );
|
||||
const double lstep = ( lxmax - lxmin ) / double( imax );
|
||||
|
||||
for (int i = 1; i < imax; i++)
|
||||
array[i] = qExp(lxmin + double(i) * lstep);
|
||||
for ( int i = 1; i < imax; i++ )
|
||||
array[i] = qExp( lxmin + double( i ) * lstep );
|
||||
}
|
||||
|
||||
Plot::Plot(QWidget *parent):
|
||||
QwtPlot(parent)
|
||||
Plot::Plot( QWidget *parent ):
|
||||
QwtPlot( parent )
|
||||
{
|
||||
setAutoReplot(false);
|
||||
setAutoReplot( false );
|
||||
|
||||
setTitle("Frequency Response of a Second-Order System");
|
||||
setTitle( "Frequency Response of a Second-Order System" );
|
||||
setFooter( "Footer Response of a Second-Order System" );
|
||||
|
||||
setCanvasBackground(QColor(Qt::darkBlue));
|
||||
setCanvasBackground( QColor( "MidnightBlue" ) );
|
||||
|
||||
// legend
|
||||
QwtLegend *legend = new QwtLegend;
|
||||
insertLegend(legend, QwtPlot::BottomLegend);
|
||||
insertLegend( legend, QwtPlot::BottomLegend );
|
||||
|
||||
// grid
|
||||
QwtPlotGrid *grid = new QwtPlotGrid;
|
||||
grid->enableXMin(true);
|
||||
grid->setMajPen(QPen(Qt::white, 0, Qt::DotLine));
|
||||
grid->setMinPen(QPen(Qt::gray, 0 , Qt::DotLine));
|
||||
grid->attach(this);
|
||||
grid->enableXMin( true );
|
||||
grid->setMajorPen( Qt::white, 0, Qt::DotLine );
|
||||
grid->setMinorPen( Qt::gray, 0 , Qt::DotLine );
|
||||
grid->setAxes( QwtAxisId( QwtAxis::xTop, 2 ), QwtAxisId( QwtAxis::yRight, 1 ) );
|
||||
grid->attach( this );
|
||||
|
||||
// axes
|
||||
enableAxis(QwtPlot::yRight);
|
||||
setAxisTitle(QwtPlot::xBottom, "Normalized Frequency");
|
||||
setAxisTitle(QwtPlot::yLeft, "Amplitude [dB]");
|
||||
setAxisTitle(QwtPlot::yRight, "Phase [deg]");
|
||||
for ( int axisPos = 0; axisPos < QwtAxis::PosCount; axisPos++ )
|
||||
{
|
||||
setAxesCount( axisPos, 3 );
|
||||
|
||||
for ( int i = 0; i < axesCount( axisPos ); i++ )
|
||||
{
|
||||
QwtAxisId axisId( axisPos, i );
|
||||
|
||||
setAxisMaxMajor(QwtPlot::xBottom, 6);
|
||||
setAxisMaxMinor(QwtPlot::xBottom, 10);
|
||||
setAxisScaleEngine(QwtPlot::xBottom, new QwtLog10ScaleEngine);
|
||||
QString title( "Normalized Frequency or any other important stuff" );
|
||||
setAxisTitle( axisId, title + QString().setNum( i ) );
|
||||
|
||||
if ( i == 1 )
|
||||
{
|
||||
setAxisScale( axisId, 1000000, 500000 );
|
||||
if ( QwtAxis::isYAxis( axisPos ) )
|
||||
setAxisLabelRotation( axisId, -60 );
|
||||
}
|
||||
|
||||
if ( i == 2 )
|
||||
setAxisScale( axisId, 70.457895, 0.00000555 );
|
||||
}
|
||||
}
|
||||
|
||||
setAxisVisible( QwtAxis::yRight );
|
||||
setAxisVisible( QwtAxis::xTop );
|
||||
setAxisMaxMajor( QwtAxis::xBottom, 6 );
|
||||
setAxisMaxMinor( QwtAxis::xBottom, 9 );
|
||||
setAxisScaleEngine( QwtAxis::xBottom, new QwtLogScaleEngine );
|
||||
|
||||
// curves
|
||||
d_curve1 = new QwtPlotCurve("Amplitude");
|
||||
d_curve1->setRenderHint(QwtPlotItem::RenderAntialiased);
|
||||
d_curve1->setPen(QPen(Qt::yellow));
|
||||
d_curve1->setLegendAttribute(QwtPlotCurve::LegendShowLine);
|
||||
d_curve1->setYAxis(QwtPlot::yLeft);
|
||||
d_curve1->attach(this);
|
||||
d_curve1 = new QwtPlotCurve( "Amplitude" );
|
||||
d_curve1->setRenderHint( QwtPlotItem::RenderAntialiased );
|
||||
d_curve1->setPen( Qt::yellow );
|
||||
d_curve1->setLegendAttribute( QwtPlotCurve::LegendShowLine );
|
||||
d_curve1->setYAxis( QwtAxis::yLeft );
|
||||
d_curve1->attach( this );
|
||||
|
||||
d_curve2 = new QwtPlotCurve("Phase");
|
||||
d_curve2->setRenderHint(QwtPlotItem::RenderAntialiased);
|
||||
d_curve2->setPen(QPen(Qt::cyan));
|
||||
d_curve2->setLegendAttribute(QwtPlotCurve::LegendShowLine);
|
||||
d_curve2->setYAxis(QwtPlot::yRight);
|
||||
d_curve2->attach(this);
|
||||
d_curve2 = new QwtPlotCurve( "Phase" );
|
||||
d_curve2->setRenderHint( QwtPlotItem::RenderAntialiased );
|
||||
d_curve2->setPen( Qt::cyan );
|
||||
d_curve2->setLegendAttribute( QwtPlotCurve::LegendShowLine );
|
||||
d_curve2->setYAxis( QwtAxis::yRight );
|
||||
d_curve2->attach( this );
|
||||
|
||||
// marker
|
||||
d_marker1 = new QwtPlotMarker();
|
||||
d_marker1->setValue(0.0, 0.0);
|
||||
d_marker1->setLineStyle(QwtPlotMarker::VLine);
|
||||
d_marker1->setLabelAlignment(Qt::AlignRight | Qt::AlignBottom);
|
||||
d_marker1->setLinePen(QPen(Qt::green, 0, Qt::DashDotLine));
|
||||
d_marker1->attach(this);
|
||||
d_marker1->setValue( 0.0, 0.0 );
|
||||
d_marker1->setLineStyle( QwtPlotMarker::VLine );
|
||||
d_marker1->setLabelAlignment( Qt::AlignRight | Qt::AlignBottom );
|
||||
d_marker1->setLinePen( Qt::green, 0, Qt::DashDotLine );
|
||||
d_marker1->attach( this );
|
||||
|
||||
d_marker2 = new QwtPlotMarker();
|
||||
d_marker2->setLineStyle(QwtPlotMarker::HLine);
|
||||
d_marker2->setLabelAlignment(Qt::AlignRight | Qt::AlignBottom);
|
||||
d_marker2->setLinePen(QPen(QColor(200,150,0), 0, Qt::DashDotLine));
|
||||
d_marker2->setSymbol( new QwtSymbol(QwtSymbol::Diamond,
|
||||
QColor(Qt::yellow), QColor(Qt::green), QSize(7,7)));
|
||||
d_marker2->attach(this);
|
||||
d_marker2->setLineStyle( QwtPlotMarker::HLine );
|
||||
d_marker2->setLabelAlignment( Qt::AlignRight | Qt::AlignBottom );
|
||||
d_marker2->setLinePen( QColor( 200, 150, 0 ), 0, Qt::DashDotLine );
|
||||
d_marker2->setSymbol( new QwtSymbol( QwtSymbol::Diamond,
|
||||
QColor( Qt::yellow ), QColor( Qt::green ), QSize( 8, 8 ) ) );
|
||||
d_marker2->attach( this );
|
||||
|
||||
setDamp(0.0);
|
||||
setDamp( 0.0 );
|
||||
|
||||
setAutoReplot(true);
|
||||
setAutoReplot( true );
|
||||
}
|
||||
|
||||
void Plot::showData(const double *frequency, const double *amplitude,
|
||||
const double *phase, int count)
|
||||
void Plot::showData( const double *frequency, const double *amplitude,
|
||||
const double *phase, int count )
|
||||
{
|
||||
d_curve1->setSamples(frequency, amplitude, count);
|
||||
d_curve2->setSamples(frequency, phase, count);
|
||||
d_curve1->setSamples( frequency, amplitude, count );
|
||||
d_curve2->setSamples( frequency, phase, count );
|
||||
}
|
||||
|
||||
void Plot::showPeak(double freq, double amplitude)
|
||||
void Plot::showPeak( double freq, double amplitude )
|
||||
{
|
||||
QString label;
|
||||
label.sprintf("Peak: %.3g dB", amplitude);
|
||||
label.sprintf( "Peak: %.3g dB", amplitude );
|
||||
|
||||
QwtText text(label);
|
||||
text.setFont(QFont("Helvetica", 10, QFont::Bold));
|
||||
text.setColor(QColor(200,150,0));
|
||||
QwtText text( label );
|
||||
text.setFont( QFont( "Helvetica", 10, QFont::Bold ) );
|
||||
text.setColor( QColor( 200, 150, 0 ) );
|
||||
|
||||
d_marker2->setValue(freq, amplitude);
|
||||
d_marker2->setLabel(text);
|
||||
d_marker2->setValue( freq, amplitude );
|
||||
d_marker2->setLabel( text );
|
||||
}
|
||||
|
||||
void Plot::show3dB(double freq)
|
||||
void Plot::show3dB( double freq )
|
||||
{
|
||||
QString label;
|
||||
label.sprintf("-3 dB at f = %.3g", freq);
|
||||
label.sprintf( "-3 dB at f = %.3g", freq );
|
||||
|
||||
QwtText text(label);
|
||||
text.setFont(QFont("Helvetica", 10, QFont::Bold));
|
||||
text.setColor(Qt::green);
|
||||
QwtText text( label );
|
||||
text.setFont( QFont( "Helvetica", 10, QFont::Bold ) );
|
||||
text.setColor( Qt::green );
|
||||
|
||||
d_marker1->setValue(freq, 0.0);
|
||||
d_marker1->setLabel(text);
|
||||
d_marker1->setValue( freq, 0.0 );
|
||||
d_marker1->setLabel( text );
|
||||
}
|
||||
|
||||
//
|
||||
// re-calculate frequency response
|
||||
//
|
||||
void Plot::setDamp(double damping)
|
||||
void Plot::setDamp( double damping )
|
||||
{
|
||||
const bool doReplot = autoReplot();
|
||||
setAutoReplot(false);
|
||||
setAutoReplot( false );
|
||||
|
||||
const int ArraySize = 200;
|
||||
|
||||
@@ -147,24 +170,24 @@ void Plot::setDamp(double damping)
|
||||
double phase[ArraySize];
|
||||
|
||||
// build frequency vector with logarithmic division
|
||||
logSpace(frequency, ArraySize, 0.01, 100);
|
||||
logSpace( frequency, ArraySize, 0.01, 100 );
|
||||
|
||||
int i3 = 1;
|
||||
double fmax = 1;
|
||||
double amax = -1000.0;
|
||||
|
||||
for (int i = 0; i < ArraySize; i++)
|
||||
for ( int i = 0; i < ArraySize; i++ )
|
||||
{
|
||||
double f = frequency[i];
|
||||
const ComplexNumber g =
|
||||
ComplexNumber(1.0) / ComplexNumber(1.0 - f * f, 2.0 * damping * f);
|
||||
ComplexNumber( 1.0 ) / ComplexNumber( 1.0 - f * f, 2.0 * damping * f );
|
||||
|
||||
amplitude[i] = 20.0 * log10(qSqrt( g.real() * g.real() + g.imag() * g.imag()));
|
||||
phase[i] = qAtan2(g.imag(), g.real()) * (180.0 / M_PI);
|
||||
amplitude[i] = 20.0 * log10( qSqrt( g.real() * g.real() + g.imag() * g.imag() ) );
|
||||
phase[i] = qAtan2( g.imag(), g.real() ) * ( 180.0 / M_PI );
|
||||
|
||||
if ((i3 <= 1) && (amplitude[i] < -3.0))
|
||||
i3 = i;
|
||||
if (amplitude[i] > amax)
|
||||
if ( ( i3 <= 1 ) && ( amplitude[i] < -3.0 ) )
|
||||
i3 = i;
|
||||
if ( amplitude[i] > amax )
|
||||
{
|
||||
amax = amplitude[i];
|
||||
fmax = frequency[i];
|
||||
@@ -172,15 +195,14 @@ void Plot::setDamp(double damping)
|
||||
|
||||
}
|
||||
|
||||
double f3 = frequency[i3] -
|
||||
(frequency[i3] - frequency[i3 - 1])
|
||||
/ (amplitude[i3] - amplitude[i3 -1]) * (amplitude[i3] + 3);
|
||||
double f3 = frequency[i3] - ( frequency[i3] - frequency[i3 - 1] )
|
||||
/ ( amplitude[i3] - amplitude[i3 -1] ) * ( amplitude[i3] + 3 );
|
||||
|
||||
showPeak(fmax, amax);
|
||||
show3dB(f3);
|
||||
showData(frequency, amplitude, phase, ArraySize);
|
||||
showPeak( fmax, amax );
|
||||
show3dB( f3 );
|
||||
showData( frequency, amplitude, phase, ArraySize );
|
||||
|
||||
setAutoReplot(doReplot);
|
||||
setAutoReplot( doReplot );
|
||||
|
||||
replot();
|
||||
}
|
||||
|
||||
@@ -11,16 +11,16 @@ class Plot: public QwtPlot
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Plot(QWidget *parent);
|
||||
Plot( QWidget *parent );
|
||||
|
||||
public Q_SLOTS:
|
||||
void setDamp(double damping);
|
||||
void setDamp( double damping );
|
||||
|
||||
private:
|
||||
void showData(const double *frequency, const double *amplitude,
|
||||
const double *phase, int count);
|
||||
void showPeak(double freq, double amplitude);
|
||||
void show3dB(double freq);
|
||||
void showData( const double *frequency, const double *amplitude,
|
||||
const double *phase, int count );
|
||||
void showPeak( double freq, double amplitude );
|
||||
void show3dB( double freq );
|
||||
|
||||
QwtPlotCurve *d_curve1;
|
||||
QwtPlotCurve *d_curve2;
|
||||
|
||||
34
qwt/examples/controls/controls.pro
Normal file
@@ -0,0 +1,34 @@
|
||||
################################################################
|
||||
# Qwt Widget Library
|
||||
# Copyright (C) 1997 Josef Wilgen
|
||||
# Copyright (C) 2002 Uwe Rathmann
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the Qwt License, Version 1.0
|
||||
################################################################
|
||||
|
||||
include( $${PWD}/../examples.pri )
|
||||
|
||||
TARGET = controls
|
||||
|
||||
HEADERS = \
|
||||
sliderbox.h \
|
||||
slidertab.h \
|
||||
wheelbox.h \
|
||||
wheeltab.h \
|
||||
knobbox.h \
|
||||
knobtab.h \
|
||||
dialbox.h \
|
||||
dialtab.h
|
||||
|
||||
SOURCES = \
|
||||
sliderbox.cpp \
|
||||
slidertab.cpp \
|
||||
wheelbox.cpp \
|
||||
wheeltab.cpp \
|
||||
knobbox.cpp \
|
||||
knobtab.cpp \
|
||||
dialbox.cpp \
|
||||
dialtab.cpp \
|
||||
main.cpp
|
||||
|
||||
163
qwt/examples/controls/dialbox.cpp
Normal file
@@ -0,0 +1,163 @@
|
||||
#include <qlabel.h>
|
||||
#include <qlayout.h>
|
||||
#include <qwt_dial.h>
|
||||
#include <qwt_dial_needle.h>
|
||||
#include <qwt_scale_engine.h>
|
||||
#include <qwt_transform.h>
|
||||
#include <qwt_round_scale_draw.h>
|
||||
#include "dialbox.h"
|
||||
|
||||
DialBox::DialBox( QWidget *parent, int type ):
|
||||
QWidget( parent )
|
||||
{
|
||||
d_dial = createDial( type );
|
||||
|
||||
d_label = new QLabel( this );
|
||||
d_label->setAlignment( Qt::AlignCenter );
|
||||
|
||||
QVBoxLayout *layout = new QVBoxLayout( this );;
|
||||
layout->setSpacing( 0 );
|
||||
layout->addWidget( d_dial, 10 );
|
||||
layout->addWidget( d_label );
|
||||
|
||||
connect( d_dial, SIGNAL( valueChanged( double ) ),
|
||||
this, SLOT( setNum( double ) ) );
|
||||
|
||||
setNum( d_dial->value() );
|
||||
}
|
||||
|
||||
QwtDial *DialBox::createDial( int type ) const
|
||||
{
|
||||
QwtDial *dial = new QwtDial();
|
||||
dial->setTracking( true );
|
||||
dial->setFocusPolicy( Qt::StrongFocus );
|
||||
dial->setObjectName( QString( "Dial %1" ).arg( type + 1 ) );
|
||||
|
||||
QColor needleColor( Qt::red );
|
||||
|
||||
switch( type )
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
dial->setOrigin( 135.0 );
|
||||
dial->setScaleArc( 0.0, 270.0 );
|
||||
dial->setScaleMaxMinor( 4 );
|
||||
dial->setScaleMaxMajor( 10 );
|
||||
dial->setScale( -100.0, 100.0 );
|
||||
|
||||
needleColor = QColor( "Goldenrod" );
|
||||
|
||||
break;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
dial->setOrigin( 135.0 );
|
||||
dial->setScaleArc( 0.0, 270.0 );
|
||||
dial->setScaleMaxMinor( 10 );
|
||||
dial->setScaleMaxMajor( 10 );
|
||||
dial->setScale( 10.0, 0.0 );
|
||||
|
||||
QwtRoundScaleDraw *scaleDraw = new QwtRoundScaleDraw();
|
||||
scaleDraw->setSpacing( 8 );
|
||||
scaleDraw->enableComponent(
|
||||
QwtAbstractScaleDraw::Backbone, false );
|
||||
scaleDraw->setTickLength( QwtScaleDiv::MinorTick, 2 );
|
||||
scaleDraw->setTickLength( QwtScaleDiv::MediumTick, 4 );
|
||||
scaleDraw->setTickLength( QwtScaleDiv::MajorTick, 8 );
|
||||
dial->setScaleDraw( scaleDraw );
|
||||
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
dial->setOrigin( 150.0 );
|
||||
dial->setScaleArc( 0.0, 240.0 );
|
||||
|
||||
QwtLinearScaleEngine *scaleEngine = new QwtLinearScaleEngine( 2 );
|
||||
scaleEngine->setTransformation( new QwtPowerTransform( 2 ) );
|
||||
dial->setScaleEngine( scaleEngine );
|
||||
|
||||
QList< double > ticks[ QwtScaleDiv::NTickTypes ];
|
||||
ticks[ QwtScaleDiv::MajorTick ] << 0 << 4
|
||||
<< 16 << 32 << 64 << 96 << 128;
|
||||
ticks[ QwtScaleDiv::MediumTick ] << 24 << 48 << 80 << 112;
|
||||
ticks[ QwtScaleDiv::MinorTick ]
|
||||
<< 0.5 << 1 << 2
|
||||
<< 7 << 10 << 13
|
||||
<< 20 << 28
|
||||
<< 40 << 56
|
||||
<< 72 << 88
|
||||
<< 104 << 120;
|
||||
|
||||
dial->setScale( QwtScaleDiv( 0, 128, ticks ) );
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
dial->setOrigin( 135.0 );
|
||||
dial->setScaleArc( 0.0, 270.0 );
|
||||
dial->setScaleMaxMinor( 9 );
|
||||
dial->setScaleEngine( new QwtLogScaleEngine );
|
||||
dial->setScale( 1.0e-2, 1.0e2 );
|
||||
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
dial->setOrigin( 225.0 );
|
||||
dial->setScaleArc( 0.0, 360.0 );
|
||||
dial->setScaleMaxMinor( 5 );
|
||||
dial->setScaleStepSize( 20 );
|
||||
dial->setScale( 100.0, -100.0 );
|
||||
dial->setWrapping( true );
|
||||
dial->setTotalSteps( 40 );
|
||||
dial->setMode( QwtDial::RotateScale );
|
||||
dial->setValue( 70.0 );
|
||||
|
||||
needleColor = QColor( "DarkSlateBlue" );
|
||||
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
dial->setOrigin( 45.0 );
|
||||
dial->setScaleArc( 0.0, 225.0 );
|
||||
dial->setScaleMaxMinor( 5 );
|
||||
dial->setScaleMaxMajor( 10 );
|
||||
dial->setScale( 0.0, 10.0 );
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
QwtDialSimpleNeedle *needle = new QwtDialSimpleNeedle(
|
||||
QwtDialSimpleNeedle::Arrow, true, needleColor,
|
||||
QColor( Qt::gray ).light( 130 ) );
|
||||
dial->setNeedle( needle );
|
||||
|
||||
//const QColor base( QColor( "DimGray" ) );
|
||||
const QColor base( QColor( Qt::darkGray ).dark( 150 ) );
|
||||
|
||||
QPalette palette;
|
||||
palette.setColor( QPalette::Base, base );
|
||||
palette.setColor( QPalette::Window, base.dark( 150 ) );
|
||||
palette.setColor( QPalette::Mid, base.dark( 110 ) );
|
||||
palette.setColor( QPalette::Light, base.light( 170 ) );
|
||||
palette.setColor( QPalette::Dark, base.dark( 170 ) );
|
||||
palette.setColor( QPalette::Text, base.dark( 200 ).light( 800 ) );
|
||||
palette.setColor( QPalette::WindowText, base.dark( 200 ) );
|
||||
|
||||
dial->setPalette( palette );
|
||||
dial->setLineWidth( 4 );
|
||||
dial->setFrameShadow( QwtDial::Sunken );
|
||||
|
||||
return dial;
|
||||
}
|
||||
|
||||
void DialBox::setNum( double v )
|
||||
{
|
||||
QString text;
|
||||
text.setNum( v, 'f', 2 );
|
||||
|
||||
d_label->setText( text );
|
||||
}
|
||||
25
qwt/examples/controls/dialbox.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef _DIAL_BOX_H_
|
||||
#define _DIAL_BOX_H_
|
||||
|
||||
#include <qwidget.h>
|
||||
|
||||
class QLabel;
|
||||
class QwtDial;
|
||||
|
||||
class DialBox: public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
DialBox( QWidget *parent, int type );
|
||||
|
||||
private Q_SLOTS:
|
||||
void setNum( double v );
|
||||
|
||||
private:
|
||||
QwtDial *createDial( int type ) const;
|
||||
|
||||
QwtDial *d_dial;
|
||||
QLabel *d_label;
|
||||
};
|
||||
|
||||
#endif
|
||||
17
qwt/examples/controls/dialtab.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "dialtab.h"
|
||||
#include "dialbox.h"
|
||||
#include <qlayout.h>
|
||||
|
||||
DialTab::DialTab( QWidget *parent ):
|
||||
QWidget( parent )
|
||||
{
|
||||
QGridLayout *layout = new QGridLayout( this );
|
||||
|
||||
const int numRows = 3;
|
||||
for ( int i = 0; i < 2 * numRows; i++ )
|
||||
{
|
||||
DialBox *dialBox = new DialBox( this, i );
|
||||
layout->addWidget( dialBox, i / numRows, i % numRows );
|
||||
}
|
||||
}
|
||||
|
||||
12
qwt/examples/controls/dialtab.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef _DIAL_TAB_H
|
||||
#define _DIAL_TAB_H 1
|
||||
|
||||
#include <qwidget.h>
|
||||
|
||||
class DialTab: public QWidget
|
||||
{
|
||||
public:
|
||||
DialTab( QWidget *parent = NULL );
|
||||
};
|
||||
|
||||
#endif
|
||||
119
qwt/examples/controls/knobbox.cpp
Normal file
@@ -0,0 +1,119 @@
|
||||
#include <qlabel.h>
|
||||
#include <qlayout.h>
|
||||
#include <qwt_knob.h>
|
||||
#include <qwt_scale_engine.h>
|
||||
#include <qwt_transform.h>
|
||||
#include "knobbox.h"
|
||||
|
||||
KnobBox::KnobBox( QWidget *parent, int knobType ):
|
||||
QWidget( parent )
|
||||
{
|
||||
d_knob = createKnob( knobType );
|
||||
d_knob->setKnobWidth( 100 );
|
||||
|
||||
d_label = new QLabel( this );
|
||||
d_label->setAlignment( Qt::AlignCenter );
|
||||
|
||||
QVBoxLayout *layout = new QVBoxLayout( this );;
|
||||
layout->setSpacing( 0 );
|
||||
layout->addWidget( d_knob, 10 );
|
||||
layout->addWidget( d_label );
|
||||
layout->addStretch( 10 );
|
||||
|
||||
connect( d_knob, SIGNAL( valueChanged( double ) ),
|
||||
this, SLOT( setNum( double ) ) );
|
||||
|
||||
setNum( d_knob->value() );
|
||||
}
|
||||
|
||||
QwtKnob *KnobBox::createKnob( int knobType ) const
|
||||
{
|
||||
QwtKnob *knob = new QwtKnob();
|
||||
knob->setTracking( true );
|
||||
|
||||
switch( knobType )
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
knob->setKnobStyle( QwtKnob::Sunken );
|
||||
knob->setMarkerStyle( QwtKnob::Nub );
|
||||
knob->setWrapping( true );
|
||||
knob->setNumTurns( 4 );
|
||||
knob->setScaleStepSize( 10.0 );
|
||||
knob->setScale( 0, 400 );
|
||||
knob->setTotalSteps( 400 );
|
||||
break;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
knob->setKnobStyle( QwtKnob::Sunken );
|
||||
knob->setMarkerStyle( QwtKnob::Dot );
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
knob->setKnobStyle( QwtKnob::Sunken );
|
||||
knob->setMarkerStyle( QwtKnob::Tick );
|
||||
|
||||
QwtLinearScaleEngine *scaleEngine = new QwtLinearScaleEngine( 2 );
|
||||
scaleEngine->setTransformation( new QwtPowerTransform( 2 ) );
|
||||
knob->setScaleEngine( scaleEngine );
|
||||
|
||||
QList< double > ticks[ QwtScaleDiv::NTickTypes ];
|
||||
ticks[ QwtScaleDiv::MajorTick ] << 0 << 4
|
||||
<< 16 << 32 << 64 << 96 << 128;
|
||||
ticks[ QwtScaleDiv::MediumTick ] << 24 << 48 << 80 << 112;
|
||||
ticks[ QwtScaleDiv::MinorTick ]
|
||||
<< 0.5 << 1 << 2
|
||||
<< 7 << 10 << 13
|
||||
<< 20 << 28
|
||||
<< 40 << 56
|
||||
<< 72 << 88
|
||||
<< 104 << 120;
|
||||
|
||||
knob->setScale( QwtScaleDiv( 0, 128, ticks ) );
|
||||
|
||||
knob->setTotalSteps( 100 );
|
||||
knob->setStepAlignment( false );
|
||||
knob->setSingleSteps( 1 );
|
||||
knob->setPageSteps( 5 );
|
||||
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
knob->setKnobStyle( QwtKnob::Flat );
|
||||
knob->setMarkerStyle( QwtKnob::Notch );
|
||||
knob->setScaleEngine( new QwtLogScaleEngine() );
|
||||
knob->setScaleStepSize( 1.0 );
|
||||
knob->setScale( 0.1, 1000.0 );
|
||||
knob->setScaleMaxMinor( 10 );
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
knob->setKnobStyle( QwtKnob::Raised );
|
||||
knob->setMarkerStyle( QwtKnob::Dot );
|
||||
knob->setWrapping( true );
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
knob->setKnobStyle( QwtKnob::Styled );
|
||||
knob->setMarkerStyle( QwtKnob::Triangle );
|
||||
knob->setTotalAngle( 180.0 );
|
||||
knob->setScale( 100, -100 );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return knob;
|
||||
}
|
||||
|
||||
void KnobBox::setNum( double v )
|
||||
{
|
||||
QString text;
|
||||
text.setNum( v, 'f', 2 );
|
||||
|
||||
d_label->setText( text );
|
||||
}
|
||||
25
qwt/examples/controls/knobbox.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef _KNOB_BOX_H_
|
||||
#define _KNOB_BOX_H_
|
||||
|
||||
#include <qwidget.h>
|
||||
|
||||
class QLabel;
|
||||
class QwtKnob;
|
||||
|
||||
class KnobBox: public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
KnobBox( QWidget *parent, int knobType );
|
||||
|
||||
private Q_SLOTS:
|
||||
void setNum( double v );
|
||||
|
||||
private:
|
||||
QwtKnob *createKnob( int knobType ) const;
|
||||
|
||||
QwtKnob *d_knob;
|
||||
QLabel *d_label;
|
||||
};
|
||||
|
||||
#endif
|
||||
17
qwt/examples/controls/knobtab.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "knobtab.h"
|
||||
#include "knobbox.h"
|
||||
#include <qlayout.h>
|
||||
|
||||
KnobTab::KnobTab( QWidget *parent ):
|
||||
QWidget( parent )
|
||||
{
|
||||
QGridLayout *layout = new QGridLayout( this );
|
||||
|
||||
const int numRows = 3;
|
||||
for ( int i = 0; i < 2 * numRows; i++ )
|
||||
{
|
||||
KnobBox *knobBox = new KnobBox( this, i );
|
||||
layout->addWidget( knobBox, i / numRows, i % numRows );
|
||||
}
|
||||
}
|
||||
|
||||
12
qwt/examples/controls/knobtab.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef _KNOB_TAB_H
|
||||
#define _KNOB_TAB_H 1
|
||||
|
||||
#include <qwidget.h>
|
||||
|
||||
class KnobTab: public QWidget
|
||||
{
|
||||
public:
|
||||
KnobTab( QWidget *parent = NULL );
|
||||
};
|
||||
|
||||
#endif
|
||||
41
qwt/examples/controls/main.cpp
Normal file
@@ -0,0 +1,41 @@
|
||||
#include <qapplication.h>
|
||||
#include <qtabwidget.h>
|
||||
#include "slidertab.h"
|
||||
#include "wheeltab.h"
|
||||
#include "knobtab.h"
|
||||
#include "dialtab.h"
|
||||
|
||||
|
||||
int main ( int argc, char **argv )
|
||||
{
|
||||
QApplication a( argc, argv );
|
||||
|
||||
QTabWidget tabWidget;
|
||||
|
||||
SliderTab *sliderTab = new SliderTab();
|
||||
sliderTab->setAutoFillBackground( true );
|
||||
sliderTab->setPalette( QColor( "DimGray" ) );
|
||||
|
||||
WheelTab *wheelTab = new WheelTab();
|
||||
wheelTab->setAutoFillBackground( true );
|
||||
wheelTab->setPalette( QColor( "Silver" ) );
|
||||
|
||||
KnobTab *knobTab = new KnobTab();
|
||||
knobTab->setAutoFillBackground( true );
|
||||
knobTab->setPalette( Qt::darkGray );
|
||||
|
||||
DialTab *dialTab = new DialTab();
|
||||
dialTab->setAutoFillBackground( true );
|
||||
dialTab->setPalette( Qt::darkGray );
|
||||
|
||||
tabWidget.addTab( new SliderTab, "Slider" );
|
||||
tabWidget.addTab( new WheelTab, "Wheel/Thermo" );
|
||||
tabWidget.addTab( knobTab, "Knob" );
|
||||
tabWidget.addTab( dialTab, "Dial" );
|
||||
|
||||
tabWidget.resize( 800, 600 );
|
||||
tabWidget.show();
|
||||
|
||||
return a.exec();
|
||||
}
|
||||
|
||||
172
qwt/examples/controls/sliderbox.cpp
Normal file
@@ -0,0 +1,172 @@
|
||||
#include <qlabel.h>
|
||||
#include <qlayout.h>
|
||||
#include <qwt_slider.h>
|
||||
#include <qwt_scale_engine.h>
|
||||
#include <qwt_transform.h>
|
||||
#include "sliderbox.h"
|
||||
|
||||
SliderBox::SliderBox( int sliderType, QWidget *parent ):
|
||||
QWidget( parent )
|
||||
{
|
||||
d_slider = createSlider( sliderType );
|
||||
|
||||
QFlags<Qt::AlignmentFlag> alignment;
|
||||
|
||||
if ( d_slider->orientation() == Qt::Horizontal )
|
||||
{
|
||||
if ( d_slider->scalePosition() == QwtSlider::TrailingScale )
|
||||
alignment = Qt::AlignBottom;
|
||||
else
|
||||
alignment = Qt::AlignTop;
|
||||
|
||||
alignment |= Qt::AlignHCenter;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( d_slider->scalePosition() == QwtSlider::TrailingScale )
|
||||
alignment = Qt::AlignRight;
|
||||
else
|
||||
alignment = Qt::AlignLeft;
|
||||
|
||||
alignment |= Qt::AlignVCenter;
|
||||
}
|
||||
|
||||
d_label = new QLabel( this );
|
||||
d_label->setAlignment( alignment );
|
||||
d_label->setFixedWidth( d_label->fontMetrics().width( "10000.9" ) );
|
||||
|
||||
connect( d_slider, SIGNAL( valueChanged( double ) ), SLOT( setNum( double ) ) );
|
||||
|
||||
QBoxLayout *layout;
|
||||
if ( d_slider->orientation() == Qt::Horizontal )
|
||||
layout = new QHBoxLayout( this );
|
||||
else
|
||||
layout = new QVBoxLayout( this );
|
||||
|
||||
layout->addWidget( d_slider );
|
||||
layout->addWidget( d_label );
|
||||
|
||||
setNum( d_slider->value() );
|
||||
}
|
||||
|
||||
QwtSlider *SliderBox::createSlider( int sliderType ) const
|
||||
{
|
||||
QwtSlider *slider = new QwtSlider();
|
||||
|
||||
switch( sliderType )
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
slider->setOrientation( Qt::Horizontal );
|
||||
slider->setScalePosition( QwtSlider::TrailingScale );
|
||||
slider->setTrough( true );
|
||||
slider->setGroove( false );
|
||||
slider->setSpacing( 0 );
|
||||
slider->setHandleSize( QSize( 30, 16 ) );
|
||||
slider->setScale( 10.0, -10.0 );
|
||||
slider->setTotalSteps( 8 );
|
||||
slider->setSingleSteps( 1 );
|
||||
slider->setPageSteps( 1 );
|
||||
slider->setWrapping( true );
|
||||
break;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
slider->setOrientation( Qt::Horizontal );
|
||||
slider->setScalePosition( QwtSlider::NoScale );
|
||||
slider->setTrough( true );
|
||||
slider->setGroove( true );
|
||||
slider->setScale( 0.0, 1.0 );
|
||||
slider->setTotalSteps( 100 );
|
||||
slider->setSingleSteps( 1 );
|
||||
slider->setPageSteps( 5 );
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
slider->setOrientation( Qt::Horizontal );
|
||||
slider->setScalePosition( QwtSlider::LeadingScale );
|
||||
slider->setTrough( false );
|
||||
slider->setGroove( true );
|
||||
slider->setHandleSize( QSize( 12, 25 ) );
|
||||
slider->setScale( 1000.0, 3000.0 );
|
||||
slider->setTotalSteps( 200.0 );
|
||||
slider->setSingleSteps( 2 );
|
||||
slider->setPageSteps( 10 );
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
slider->setOrientation( Qt::Horizontal );
|
||||
slider->setScalePosition( QwtSlider::TrailingScale );
|
||||
slider->setTrough( true );
|
||||
slider->setGroove( true );
|
||||
|
||||
QwtLinearScaleEngine *scaleEngine = new QwtLinearScaleEngine( 2 );
|
||||
scaleEngine->setTransformation( new QwtPowerTransform( 2 ) );
|
||||
slider->setScaleEngine( scaleEngine );
|
||||
slider->setScale( 0.0, 128.0 );
|
||||
slider->setTotalSteps( 100 );
|
||||
slider->setStepAlignment( false );
|
||||
slider->setSingleSteps( 1 );
|
||||
slider->setPageSteps( 5 );
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
slider->setOrientation( Qt::Vertical );
|
||||
slider->setScalePosition( QwtSlider::TrailingScale );
|
||||
slider->setTrough( false );
|
||||
slider->setGroove( true );
|
||||
slider->setScale( 100.0, 0.0 );
|
||||
slider->setInvertedControls( true );
|
||||
slider->setTotalSteps( 100 );
|
||||
slider->setPageSteps( 5 );
|
||||
slider->setScaleMaxMinor( 5 );
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
slider->setOrientation( Qt::Vertical );
|
||||
slider->setScalePosition( QwtSlider::NoScale );
|
||||
slider->setTrough( true );
|
||||
slider->setGroove( false );
|
||||
slider->setScale( 0.0, 100.0 );
|
||||
slider->setTotalSteps( 100 );
|
||||
slider->setPageSteps( 10 );
|
||||
break;
|
||||
}
|
||||
case 6:
|
||||
{
|
||||
slider->setOrientation( Qt::Vertical );
|
||||
slider->setScalePosition( QwtSlider::LeadingScale );
|
||||
slider->setTrough( true );
|
||||
slider->setGroove( true );
|
||||
slider->setScaleEngine( new QwtLogScaleEngine );
|
||||
slider->setStepAlignment( false );
|
||||
slider->setHandleSize( QSize( 20, 32 ) );
|
||||
slider->setBorderWidth( 1 );
|
||||
slider->setScale( 1.0, 1.0e4 );
|
||||
slider->setTotalSteps( 100 );
|
||||
slider->setPageSteps( 10 );
|
||||
slider->setScaleMaxMinor( 9 );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if ( slider )
|
||||
{
|
||||
QString name( "Slider %1" );
|
||||
slider->setObjectName( name.arg( sliderType ) );
|
||||
}
|
||||
|
||||
return slider;
|
||||
}
|
||||
|
||||
void SliderBox::setNum( double v )
|
||||
{
|
||||
QString text;
|
||||
text.setNum( v, 'f', 2 );
|
||||
|
||||
d_label->setText( text );
|
||||
}
|
||||
25
qwt/examples/controls/sliderbox.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef _SLIDER_BOX_H_
|
||||
#define _SLIDER_BOX_H_ 1
|
||||
|
||||
#include <qwidget.h>
|
||||
|
||||
class QLabel;
|
||||
class QwtSlider;
|
||||
|
||||
class SliderBox: public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
SliderBox( int sliderType, QWidget *parent = NULL );
|
||||
|
||||
private Q_SLOTS:
|
||||
void setNum( double v );
|
||||
|
||||
private:
|
||||
QwtSlider *createSlider( int sliderType ) const;
|
||||
|
||||
QwtSlider *d_slider;
|
||||
QLabel *d_label;
|
||||
};
|
||||
|
||||
#endif
|
||||