mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Compare commits
1168 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a6e55e1918 | ||
|
|
3f586b0b8e | ||
|
|
8ccfb93e89 | ||
|
|
54e2af4fb2 | ||
|
|
3e95b51af6 | ||
|
|
fb58ecacfc | ||
|
|
8053303ce5 | ||
|
|
664537c178 | ||
|
|
5f908fcd88 | ||
|
|
ef58f34c14 | ||
|
|
34eb14a97e | ||
|
|
30858f9a4d | ||
|
|
108513ef97 | ||
|
|
81e6f217b4 | ||
|
|
c592b7a7fd | ||
|
|
e3fab9508f | ||
|
|
c13af5ace0 | ||
|
|
0c4f87bd76 | ||
|
|
ac23010559 | ||
|
|
b335a4af4f | ||
|
|
2513961cd6 | ||
|
|
d04bccc384 | ||
|
|
47ea5a3da9 | ||
|
|
e1b98ce5b5 | ||
|
|
70947ac5b9 | ||
|
|
b58898b6c8 | ||
|
|
6da28a1845 | ||
|
|
4ade6f3227 | ||
|
|
507841208d | ||
|
|
762a9e3718 | ||
|
|
b1a7f2e26c | ||
|
|
e3db2bc898 | ||
|
|
85fa9245a4 | ||
|
|
4df313cbeb | ||
|
|
f62feaef94 | ||
|
|
ad340cf95a | ||
|
|
692bf0ed72 | ||
|
|
3aceb436be | ||
|
|
330299e9df | ||
|
|
eefa4de8f8 | ||
|
|
1d28f29c07 | ||
|
|
5abf93dd8d | ||
|
|
07a6dd887e | ||
|
|
4a63aca8cd | ||
|
|
3c278bbbfb | ||
|
|
d333b6a188 | ||
|
|
f235022c44 | ||
|
|
750f60f571 | ||
|
|
1558d0c00a | ||
|
|
aa66eabe7c | ||
|
|
20cd0366eb | ||
|
|
ec63d7a1cb | ||
|
|
fdd617f9a5 | ||
|
|
3e9c17030c | ||
|
|
8c07daaf8e | ||
|
|
3cf178d056 | ||
|
|
842fa28390 | ||
|
|
5041fa9ccc | ||
|
|
2ce0205d94 | ||
|
|
b64086fbcd | ||
|
|
4c075ed551 | ||
|
|
51087551c9 | ||
|
|
bb82a616de | ||
|
|
da1fda6b03 | ||
|
|
7d9926ccfc | ||
|
|
dd4c016b46 | ||
|
|
c954f204ac | ||
|
|
743557b604 | ||
|
|
4fc7c1abd9 | ||
|
|
48fa67fc3d | ||
|
|
7fe26b5d1c | ||
|
|
f726397038 | ||
|
|
c78685e95f | ||
|
|
ef5b17be6e | ||
|
|
47d5862ab0 | ||
|
|
30b733febe | ||
|
|
61d7eb966c | ||
|
|
838003a25c | ||
|
|
753de5445b | ||
|
|
37fed57470 | ||
|
|
bc2e91a271 | ||
|
|
46b262243f | ||
|
|
9281230ed7 | ||
|
|
8111508090 | ||
|
|
0deb58a3ff | ||
|
|
4c356cd67a | ||
|
|
c6af279b36 | ||
|
|
e0353d0657 | ||
|
|
6fcb0fec08 | ||
|
|
3c26b1dfdb | ||
|
|
d783ec66f5 | ||
|
|
02b51ee4fa | ||
|
|
cf4d0dd2eb | ||
|
|
e8c2c29617 | ||
|
|
ee7004a7d1 | ||
|
|
2c046975f3 | ||
|
|
5f7f00f7ae | ||
|
|
577a7564dc | ||
|
|
f54cd3ef7f | ||
|
|
d7fdf188bf | ||
|
|
147137b24b | ||
|
|
4f455a5328 | ||
|
|
a0b5feba08 | ||
|
|
8c729b4732 | ||
|
|
0a616088ea | ||
|
|
58b7097748 | ||
|
|
966a08f50f | ||
|
|
2000b6cd2b | ||
|
|
d3093f495b | ||
|
|
55dfec41c3 | ||
|
|
34baceb8da | ||
|
|
ade79b467a | ||
|
|
948915a47e | ||
|
|
ba693420f3 | ||
|
|
63b43421a7 | ||
|
|
0a8376c189 | ||
|
|
bf9123f9b5 | ||
|
|
20f9475a6e | ||
|
|
1badeceed4 | ||
|
|
344d898461 | ||
|
|
5730559ed0 | ||
|
|
74342cb00d | ||
|
|
c5fd14794f | ||
|
|
401a5010be | ||
|
|
c8adffb696 | ||
|
|
0cc3099908 | ||
|
|
2e543dd1f7 | ||
|
|
af3772b95a | ||
|
|
546db38683 | ||
|
|
404ae4fffc | ||
|
|
f6d777e2f7 | ||
|
|
cb37c1c2fe | ||
|
|
13db08ad56 | ||
|
|
7fc9d06eef | ||
|
|
842b39d68b | ||
|
|
8fb1cd0fa7 | ||
|
|
2fc7f594cc | ||
|
|
c46caaf6e4 | ||
|
|
c88d1ef6bb | ||
|
|
d2fb0d8ad1 | ||
|
|
0207390ced | ||
|
|
ce5cc25186 | ||
|
|
74b112a4bb | ||
|
|
c2acbc88ed | ||
|
|
6ec9a04fda | ||
|
|
35ad994471 | ||
|
|
83d802adf7 | ||
|
|
aacbe57d51 | ||
|
|
62b71c0ba5 | ||
|
|
eb49977c75 | ||
|
|
6da9c58458 | ||
|
|
234f468f15 | ||
|
|
ed938c82cd | ||
|
|
6aa30d5f57 | ||
|
|
d15443cf93 | ||
|
|
3fe0adc66e | ||
|
|
d0c129478e | ||
|
|
4de9c1d922 | ||
|
|
d89d1088a3 | ||
|
|
6556fbaf38 | ||
|
|
c83388c1d5 | ||
|
|
10c4c3d528 | ||
|
|
1871b7ad12 | ||
|
|
6cd6efaca9 | ||
|
|
b70775bc84 | ||
|
|
cffec76018 | ||
|
|
ebe22f1131 | ||
|
|
f3888be8a6 | ||
|
|
53aaa03967 | ||
|
|
b22741732b | ||
|
|
77e6248ac9 | ||
|
|
ccd76f902d | ||
|
|
945b690430 | ||
|
|
0f86685ebe | ||
|
|
862f311f5a | ||
|
|
abc6b35d4c | ||
|
|
ada563719b | ||
|
|
ed455609d5 | ||
|
|
2f004c271f | ||
|
|
bafe7a39db | ||
|
|
0b1e012a32 | ||
|
|
e0a03e7353 | ||
|
|
68215d099c | ||
|
|
3b472591b6 | ||
|
|
d3cb7ef08c | ||
|
|
049848737b | ||
|
|
d3348e25be | ||
|
|
764cdfea53 | ||
|
|
b149e3e6ca | ||
|
|
7313cdfa9e | ||
|
|
fd92c1ce92 | ||
|
|
0ac96eecfc | ||
|
|
d02b88488a | ||
|
|
87956d8d42 | ||
|
|
ab1027eb5d | ||
|
|
aa858ba32d | ||
|
|
a303a38d0d | ||
|
|
51bae7cdf1 | ||
|
|
05dad2c8d8 | ||
|
|
b457b98b22 | ||
|
|
8fec6dabef | ||
|
|
f7e12e5e87 | ||
|
|
689799ea24 | ||
|
|
380de0b4c3 | ||
|
|
3633123d17 | ||
|
|
66d45cc835 | ||
|
|
56710ef25c | ||
|
|
77479dc949 | ||
|
|
529c6a721a | ||
|
|
fd3d2dfb90 | ||
|
|
d1aba1118b | ||
|
|
c4fe1fe3da | ||
|
|
c167015b22 | ||
|
|
48e597663e | ||
|
|
bd26e4bb9c | ||
|
|
f7a445c0a7 | ||
|
|
bb32c30004 | ||
|
|
79fa9c8ec5 | ||
|
|
a73d50d7d0 | ||
|
|
af7d1df5ab | ||
|
|
c87fe8df2f | ||
|
|
f613f7fcdc | ||
|
|
20911f215b | ||
|
|
b557aa0e98 | ||
|
|
6b89349240 | ||
|
|
6b54e45e3a | ||
|
|
fec3c70739 | ||
|
|
a028724773 | ||
|
|
49b2e4ad0a | ||
|
|
81efc5181b | ||
|
|
6f60156e00 | ||
|
|
7882c5734a | ||
|
|
0bfbc37bc9 | ||
|
|
e3b98001f3 | ||
|
|
d1c969b723 | ||
|
|
acf9c17969 | ||
|
|
862dbede24 | ||
|
|
be3421f8c9 | ||
|
|
4ad4e75132 | ||
|
|
d2c4bf4ec7 | ||
|
|
a97ee8ddba | ||
|
|
ca0dcc9b7b | ||
|
|
62333506f1 | ||
|
|
98de247a4d | ||
|
|
a0efad18ab | ||
|
|
b514c39883 | ||
|
|
859bf7f645 | ||
|
|
1b10fe3b7f | ||
|
|
41c7cde8ca | ||
|
|
69adb10bcc | ||
|
|
239a7daf7f | ||
|
|
f73f71c0aa | ||
|
|
23764c0e11 | ||
|
|
beec556a55 | ||
|
|
3a0da97878 | ||
|
|
2afac1e56d | ||
|
|
72271cfc69 | ||
|
|
24c930d727 | ||
|
|
87845ef0ee | ||
|
|
8c51725c71 | ||
|
|
dbf4315deb | ||
|
|
099dc614bd | ||
|
|
96450ce19f | ||
|
|
1d606c574b | ||
|
|
8ba982f6cc | ||
|
|
329ceb4594 | ||
|
|
50de125787 | ||
|
|
2839a4009c | ||
|
|
6bfb2b95d2 | ||
|
|
0dba97ef6a | ||
|
|
c5c3dfb07b | ||
|
|
1c91a6300a | ||
|
|
b1eb59f3ea | ||
|
|
cb29a4d383 | ||
|
|
077c4f578a | ||
|
|
752f31513c | ||
|
|
756fc845a5 | ||
|
|
9d89719c21 | ||
|
|
785c5884e8 | ||
|
|
87425d70ce | ||
|
|
9c267d673d | ||
|
|
69f775aa0f | ||
|
|
2619d96998 | ||
|
|
74ee2fd82c | ||
|
|
ec0b92ec1d | ||
|
|
a65675b53e | ||
|
|
c39ef0a999 | ||
|
|
ff84a71d97 | ||
|
|
434c3dfbfb | ||
|
|
096f8f58e1 | ||
|
|
364012848c | ||
|
|
106b17cf2f | ||
|
|
d3da5a98a5 | ||
|
|
9b0e659300 | ||
|
|
30f8989e3d | ||
|
|
e878082b79 | ||
|
|
419585f97e | ||
|
|
44e945489a | ||
|
|
b45c6b453e | ||
|
|
5d47ecd8f6 | ||
|
|
639ccb25e2 | ||
|
|
746c5a81e3 | ||
|
|
4e44b4bcd4 | ||
|
|
04125dcc55 | ||
|
|
d6f08696bc | ||
|
|
9193e1c39b | ||
|
|
941aaf7087 | ||
|
|
f5d2fc3916 | ||
|
|
9f3c173b9f | ||
|
|
9a915c2ad0 | ||
|
|
694cbfb1b7 | ||
|
|
f69e3a3fa7 | ||
|
|
8a5ba90d01 | ||
|
|
32605e1377 | ||
|
|
0ab1b322d6 | ||
|
|
a7920ea5fc | ||
|
|
937a6d740b | ||
|
|
a0b95ee944 | ||
|
|
ad0df66ab1 | ||
|
|
c1e93fc442 | ||
|
|
2e2a652343 | ||
|
|
074e2c8b2d | ||
|
|
9034d8d791 | ||
|
|
0b5091b606 | ||
|
|
b339dc2812 | ||
|
|
ce11610d1d | ||
|
|
10cc3cdbb7 | ||
|
|
184560cc5d | ||
|
|
0e10b4adfa | ||
|
|
caac531de1 | ||
|
|
bc0cb6b1b3 | ||
|
|
4f929ef3c9 | ||
|
|
3b71cb7dfe | ||
|
|
fbe1c05c7d | ||
|
|
6437bf212a | ||
|
|
aa9266ab64 | ||
|
|
8507040aa2 | ||
|
|
e263264752 | ||
|
|
7038e6f796 | ||
|
|
e0201a8027 | ||
|
|
cbdbdd0ec6 | ||
|
|
9dda3e5997 | ||
|
|
94e29ef749 | ||
|
|
add11e7c7a | ||
|
|
930bb70f99 | ||
|
|
78ecc53b89 | ||
|
|
6eec588eb9 | ||
|
|
1e0ca043e7 | ||
|
|
191eabd0a2 | ||
|
|
18f536d801 | ||
|
|
7f698bd826 | ||
|
|
0907830d67 | ||
|
|
35fb45c280 | ||
|
|
ea5ba0ecc8 | ||
|
|
f77255c762 | ||
|
|
546433cac2 | ||
|
|
30b8205f82 | ||
|
|
3b9ba6a261 | ||
|
|
36dbe65457 | ||
|
|
65ba816859 | ||
|
|
bfd487effe | ||
|
|
d9f38f8a5d | ||
|
|
2fe53ba6e8 | ||
|
|
b5ae1237e3 | ||
|
|
e0c8dd9585 | ||
|
|
86f7f98031 | ||
|
|
c829a9eb2d | ||
|
|
1cf48f62e9 | ||
|
|
6a47fcddc9 | ||
|
|
77321f6b70 | ||
|
|
45137987ab | ||
|
|
2d6bef71ae | ||
|
|
bcc5846662 | ||
|
|
2a69e540d6 | ||
|
|
c958d54d01 | ||
|
|
a917399950 | ||
|
|
f671a63366 | ||
|
|
c7ffae7918 | ||
|
|
f21cdb4040 | ||
|
|
89f9f47174 | ||
|
|
24d4885093 | ||
|
|
b7c8ae88e2 | ||
|
|
176dcd376b | ||
|
|
813014ec33 | ||
|
|
4c54335301 | ||
|
|
3eca82baad | ||
|
|
93055c6a96 | ||
|
|
7fb4033ece | ||
|
|
0b3238aac0 | ||
|
|
859f6dd06d | ||
|
|
432e80cecb | ||
|
|
46e96f0a67 | ||
|
|
0ee8f4187b | ||
|
|
402d2fbf4a | ||
|
|
271fd096e2 | ||
|
|
c5be1a98ba | ||
|
|
0a46b83dca | ||
|
|
c7f138a0e3 | ||
|
|
215ddbd878 | ||
|
|
4d7ece07ab | ||
|
|
139241e773 | ||
|
|
07df62e362 | ||
|
|
a68386c028 | ||
|
|
8e82dee8f0 | ||
|
|
529027a350 | ||
|
|
726b300999 | ||
|
|
989cd93a14 | ||
|
|
6b1d51bab8 | ||
|
|
046d7c6b59 | ||
|
|
cd7f7eccec | ||
|
|
45fb97f410 | ||
|
|
d5d8181332 | ||
|
|
0310cd2610 | ||
|
|
713d467fe4 | ||
|
|
cc8d0da0ac | ||
|
|
c0ced6dc56 | ||
|
|
288c89daa7 | ||
|
|
dce83f480c | ||
|
|
5d92393ee7 | ||
|
|
8ee38fab9e | ||
|
|
babf3d2cf2 | ||
|
|
82c8fb2d01 | ||
|
|
68b4705630 | ||
|
|
d062175da7 | ||
|
|
561209bc94 | ||
|
|
87808df6c3 | ||
|
|
87c957a062 | ||
|
|
610a44c7cd | ||
|
|
1bc2536c06 | ||
|
|
1528e1ebe2 | ||
|
|
f8611c1b6e | ||
|
|
71d7f8bbe6 | ||
|
|
ec464282f3 | ||
|
|
81da7c6713 | ||
|
|
a4654dc6c2 | ||
|
|
504a061e71 | ||
|
|
51c4b16836 | ||
|
|
4a8e07b227 | ||
|
|
db4e8e3f5e | ||
|
|
6274f65455 | ||
|
|
00eb139f73 | ||
|
|
62d370c99a | ||
|
|
cb0c0f8778 | ||
|
|
f4550ab3b4 | ||
|
|
d8cbcf3b54 | ||
|
|
63ad341b33 | ||
|
|
bd62f8768e | ||
|
|
d9fde9a3e4 | ||
|
|
f4c5087dc0 | ||
|
|
0959330adf | ||
|
|
4763eb92ec | ||
|
|
9e4af439ef | ||
|
|
dfadcb5523 | ||
|
|
995066916b | ||
|
|
debca09d5c | ||
|
|
9dad8a5d01 | ||
|
|
347de4bcd3 | ||
|
|
7960697b9e | ||
|
|
0e6b385be2 | ||
|
|
4b4732a0a8 | ||
|
|
331918d143 | ||
|
|
0c00d83b27 | ||
|
|
8626ca5d1b | ||
|
|
e05754da29 | ||
|
|
b4f733a5e5 | ||
|
|
9352905335 | ||
|
|
88686b3cbf | ||
|
|
d1c91a7fc2 | ||
|
|
f24f04084c | ||
|
|
e3093bd06c | ||
|
|
cdb2e7b523 | ||
|
|
666f20856e | ||
|
|
f5725531c2 | ||
|
|
5dd57cf003 | ||
|
|
566747eb2b | ||
|
|
8e956df8d8 | ||
|
|
ef15013715 | ||
|
|
20896de561 | ||
|
|
8cdcb59da2 | ||
|
|
35f206bc7e | ||
|
|
99abc165d6 | ||
|
|
790cdc5229 | ||
|
|
b5f212418c | ||
|
|
b28ca0361d | ||
|
|
2482a0bd4c | ||
|
|
319188e010 | ||
|
|
bc0fecea6c | ||
|
|
a4c829fbcd | ||
|
|
73dd1e8299 | ||
|
|
430ec27f36 | ||
|
|
0cb98b2ee1 | ||
|
|
41cef49453 | ||
|
|
c4bf492616 | ||
|
|
bc176da88d | ||
|
|
e55d336dc1 | ||
|
|
6c806d151d | ||
|
|
5e3e3aa4bd | ||
|
|
3b3ce2cb7c | ||
|
|
928b56f2bf | ||
|
|
8144e9b21b | ||
|
|
8a484ef901 | ||
|
|
574609abf5 | ||
|
|
76d16ab600 | ||
|
|
60a5a83320 | ||
|
|
e9fcd385d5 | ||
|
|
4ed33109f4 | ||
|
|
a83ee76f39 | ||
|
|
3783a6a543 | ||
|
|
070cc2e4ac | ||
|
|
012d969d92 | ||
|
|
e22c618152 | ||
|
|
93929399b6 | ||
|
|
ea9a230844 | ||
|
|
d4ee161c07 | ||
|
|
90417ae509 | ||
|
|
2b396960d9 | ||
|
|
ddc2afa427 | ||
|
|
5832e365e9 | ||
|
|
dff825810c | ||
|
|
12ddd3256e | ||
|
|
7aaf0c0e58 | ||
|
|
ceb2868b02 | ||
|
|
02afb6c003 | ||
|
|
6916736708 | ||
|
|
4c51448c45 | ||
|
|
770161ac57 | ||
|
|
fa8917875b | ||
|
|
295e285067 | ||
|
|
574f5b94b0 | ||
|
|
70d024fe79 | ||
|
|
de8ccc543d | ||
|
|
274108d509 | ||
|
|
d556206998 | ||
|
|
84a2a25fa8 | ||
|
|
6f82ac1df1 | ||
|
|
7616d11e9d | ||
|
|
9486deb3de | ||
|
|
e09bfa18b9 | ||
|
|
fc4625fc0f | ||
|
|
943aa469c6 | ||
|
|
ba1242d5bb | ||
|
|
9bc6f7fa94 | ||
|
|
3b4237f21f | ||
|
|
ac5ec020a6 | ||
|
|
0bae33e3f5 | ||
|
|
e5b7aacea6 | ||
|
|
5ca7ff177b | ||
|
|
d5b7414b36 | ||
|
|
34259a4749 | ||
|
|
4d61166864 | ||
|
|
d46d6709f3 | ||
|
|
da4e31dfcb | ||
|
|
21b7aa059a | ||
|
|
43a531fd2d | ||
|
|
c0d51ef445 | ||
|
|
f0b475bd77 | ||
|
|
984d9bc5de | ||
|
|
288737af0d | ||
|
|
b0df6d3101 | ||
|
|
11a90d2f69 | ||
|
|
69ff437368 | ||
|
|
87db0e2020 | ||
|
|
044c5310f5 | ||
|
|
86766a9090 | ||
|
|
1805ef300e | ||
|
|
e4033dd93c | ||
|
|
53d89ce4f7 | ||
|
|
7834d6fb84 | ||
|
|
d9ec9bf274 | ||
|
|
66eaf52002 | ||
|
|
2e3e65df5a | ||
|
|
b8daec441f | ||
|
|
06dc1570fc | ||
|
|
0ce001ea6e | ||
|
|
fa719cf8ff | ||
|
|
0507336622 | ||
|
|
3d1e30b24e | ||
|
|
b3a74a8315 | ||
|
|
216374d27c | ||
|
|
ce523b71e2 | ||
|
|
bb84bb2098 | ||
|
|
23c43e72b5 | ||
|
|
b53c083d0a | ||
|
|
45edc34269 | ||
|
|
f8240558a0 | ||
|
|
dd70637408 | ||
|
|
45d1b489c4 | ||
|
|
72918a31db | ||
|
|
9d772b4091 | ||
|
|
dd257c48d9 | ||
|
|
78992ee762 | ||
|
|
7a04788d54 | ||
|
|
fa1abbd38d | ||
|
|
effc86e72c | ||
|
|
d4d364cfde | ||
|
|
1fc893157d | ||
|
|
494a5f1df2 | ||
|
|
900b7e22aa | ||
|
|
4751934d68 | ||
|
|
510aa74266 | ||
|
|
e938673872 | ||
|
|
2a53f09a37 | ||
|
|
6bece6fa84 | ||
|
|
1372d1c8ba | ||
|
|
70e54bc9b2 | ||
|
|
e6eeef5cf5 | ||
|
|
96acd6ff95 | ||
|
|
9cdc023f31 | ||
|
|
a2eb92803a | ||
|
|
655e608268 | ||
|
|
c401e93125 | ||
|
|
4d57e7fbfb | ||
|
|
0c62bf2b3b | ||
|
|
1f78196fa6 | ||
|
|
49cca54adc | ||
|
|
c0df06c2ee | ||
|
|
d087a8be66 | ||
|
|
55beaa9be9 | ||
|
|
c5eb5af47d | ||
|
|
90e283902e | ||
|
|
7420eeb60d | ||
|
|
698db4e5c0 | ||
|
|
6b95c6bf6f | ||
|
|
2b754cffb4 | ||
|
|
03425bcb5b | ||
|
|
3a08e60856 | ||
|
|
e03e36fb2c | ||
|
|
8f5e759528 | ||
|
|
bddf10588f | ||
|
|
a33ae2bb13 | ||
|
|
bd93e62341 | ||
|
|
119e12b1cf | ||
|
|
f242e1bccc | ||
|
|
709280e3c1 | ||
|
|
3b14946421 | ||
|
|
280e4605e8 | ||
|
|
fe4552200b | ||
|
|
d3b237d06c | ||
|
|
26fd1a497c | ||
|
|
bbd3085b8d | ||
|
|
1251d7d9b0 | ||
|
|
2229a1938d | ||
|
|
ffcdccb469 | ||
|
|
5df6d7f403 | ||
|
|
4cd69a2450 | ||
|
|
102629b86f | ||
|
|
7ddae811a5 | ||
|
|
cecacfc769 | ||
|
|
8c9b30acd6 | ||
|
|
6aa6d055ec | ||
|
|
495d9a5f51 | ||
|
|
70ef559874 | ||
|
|
80c54b3edb | ||
|
|
68116f4664 | ||
|
|
b9ce532db7 | ||
|
|
a28e7289b9 | ||
|
|
ac49ecce7d | ||
|
|
7ed71a6312 | ||
|
|
350e7e5233 | ||
|
|
68e78a0de9 | ||
|
|
6313319f80 | ||
|
|
a718cfa16d | ||
|
|
d7e1d326a2 | ||
|
|
2cdfce18ec | ||
|
|
251dfdf37a | ||
|
|
0c381eae28 | ||
|
|
f8ca26f6e3 | ||
|
|
b866323e90 | ||
|
|
53663e20e1 | ||
|
|
430bcae946 | ||
|
|
41b0434c20 | ||
|
|
01d97246ce | ||
|
|
06dbb468ce | ||
|
|
132f3ad1b4 | ||
|
|
d44bb87d0b | ||
|
|
4d83a1b53e | ||
|
|
edf65c83e1 | ||
|
|
f2c3bd5d26 | ||
|
|
c0e248bcd0 | ||
|
|
c167468f29 | ||
|
|
09207eec92 | ||
|
|
169c440de1 | ||
|
|
f9c705f30a | ||
|
|
b9a34ce2fd | ||
|
|
28ea80d458 | ||
|
|
14431db1b2 | ||
|
|
83b72c4aac | ||
|
|
31ce923580 | ||
|
|
dae4329699 | ||
|
|
ff19b3d4d7 | ||
|
|
8f921854a3 | ||
|
|
bc56820864 | ||
|
|
6c2c5635a6 | ||
|
|
2ee11c3f1b | ||
|
|
fb75bf0a73 | ||
|
|
beaa2ccdc8 | ||
|
|
8ac8ff5384 | ||
|
|
59ba3d24af | ||
|
|
1f9e5e130a | ||
|
|
82b6c8e815 | ||
|
|
6d05038f71 | ||
|
|
4b117bb4d5 | ||
|
|
7ace0e38ed | ||
|
|
c86f9ccc3a | ||
|
|
6652401d07 | ||
|
|
485ccbfb61 | ||
|
|
6c84b55586 | ||
|
|
0ed9ac393c | ||
|
|
3e0d8aa3c3 | ||
|
|
e590c76251 | ||
|
|
a323cbbc48 | ||
|
|
168bafa9c8 | ||
|
|
c8bdfb3ac6 | ||
|
|
0a1b688003 | ||
|
|
0587c56bba | ||
|
|
64f3001c86 | ||
|
|
edb5217b31 | ||
|
|
cfb5acc8d5 | ||
|
|
ca2e737df3 | ||
|
|
2241343fba | ||
|
|
501134ab25 | ||
|
|
c4850f815f | ||
|
|
6a926bbe50 | ||
|
|
34b4d11e53 | ||
|
|
ddf88bbed7 | ||
|
|
53447b41c9 | ||
|
|
47637c4779 | ||
|
|
205c683d6f | ||
|
|
1278fe1124 | ||
|
|
090da90e22 | ||
|
|
ec5f537da4 | ||
|
|
80b5029cd1 | ||
|
|
534ab19616 | ||
|
|
36071e9cf5 | ||
|
|
b8b0bbed44 | ||
|
|
78a02af400 | ||
|
|
e10ae8ce2e | ||
|
|
a5465c201f | ||
|
|
bb7ef2a13f | ||
|
|
3f9db7b9ec | ||
|
|
ec13e0dde3 | ||
|
|
509d1f39f0 | ||
|
|
83f4a7c6ba | ||
|
|
d7b5ceece1 | ||
|
|
0fb98fbdac | ||
|
|
0485df25dc | ||
|
|
cfda59e978 | ||
|
|
4abf1c4f2e | ||
|
|
37cc326a46 | ||
|
|
a6137ed0d0 | ||
|
|
a07e973482 | ||
|
|
a2d466240b | ||
|
|
b85b341941 | ||
|
|
451d5c8f58 | ||
|
|
09dd92215f | ||
|
|
a8c2283cbe | ||
|
|
39fba2702d | ||
|
|
35ba2bbe95 | ||
|
|
81992bc777 | ||
|
|
3bac452141 | ||
|
|
51843bf03e | ||
|
|
af989b1cd8 | ||
|
|
c2e17daab9 | ||
|
|
439cf4cbd6 | ||
|
|
89452f0b3c | ||
|
|
587ada643f | ||
|
|
77a2ceea7d | ||
|
|
496b8f302a | ||
|
|
22e619d6b9 | ||
|
|
c9a7c836c5 | ||
|
|
a8a2df7c55 | ||
|
|
9b06a81c49 | ||
|
|
7f07660959 | ||
|
|
bc8bb63cae | ||
|
|
e8d4b6c9d5 | ||
|
|
ec52032532 | ||
|
|
8c6b4120f5 | ||
|
|
ca80b3d69f | ||
|
|
2e8c7d5236 | ||
|
|
f41b3ba26f | ||
|
|
2aff40fd52 | ||
|
|
c97a239c29 | ||
|
|
e4f4c1e154 | ||
|
|
b29753e37e | ||
|
|
71abaf92cb | ||
|
|
bb093ba0cd | ||
|
|
247a14f7aa | ||
|
|
2ec018a4e9 | ||
|
|
2570108caf | ||
|
|
5d2d4a48a5 | ||
|
|
21c3c09341 | ||
|
|
b9ed45c8a3 | ||
|
|
573a36b93f | ||
|
|
e61cbfe30a | ||
|
|
3e1740cee0 | ||
|
|
bf2e02273e | ||
|
|
e36a4ddd0a | ||
|
|
1ccffda93b | ||
|
|
a8c62b8257 | ||
|
|
5666782e91 | ||
|
|
d000f611d8 | ||
|
|
35896d5771 | ||
|
|
8ffe50715d | ||
|
|
1c04ea0efb | ||
|
|
4bae1b902d | ||
|
|
304ea00d7b | ||
|
|
f2c796bdb0 | ||
|
|
cccc4fc0c4 | ||
|
|
b7c2740778 | ||
|
|
e6f77ec369 | ||
|
|
bb24e121eb | ||
|
|
dd377eeb73 | ||
|
|
19d494afcd | ||
|
|
6d782f4abb | ||
|
|
dcbcb5391f | ||
|
|
7e9fd8df98 | ||
|
|
516435554a | ||
|
|
e96a704215 | ||
|
|
e3b5fbb5ac | ||
|
|
d1742d5685 | ||
|
|
4a3b7e708a | ||
|
|
521ed615d9 | ||
|
|
fea245d485 | ||
|
|
fe64923ffe | ||
|
|
37658efd0d | ||
|
|
20a739fa96 | ||
|
|
24528b0fdb | ||
|
|
803414f716 | ||
|
|
9085c6fcda | ||
|
|
ae9ef3cf21 | ||
|
|
8ad876fb31 | ||
|
|
b445ce8934 | ||
|
|
042faeae32 | ||
|
|
de88b32e5b | ||
|
|
74c3fc8dd9 | ||
|
|
faf35c4985 | ||
|
|
6b16f5b46d | ||
|
|
9b570525d3 | ||
|
|
0897ed43fe | ||
|
|
261abfa10b | ||
|
|
b5a33429df | ||
|
|
09006dc75f | ||
|
|
9ee911e484 | ||
|
|
27472bdd8b | ||
|
|
70f0541e06 | ||
|
|
86a4701d2b | ||
|
|
0611fe2798 | ||
|
|
22566a1bc6 | ||
|
|
addcdeb2a0 | ||
|
|
e56701d336 | ||
|
|
61ebbbc23c | ||
|
|
0b3d287c75 | ||
|
|
362509cb38 | ||
|
|
7948e2b1d3 | ||
|
|
abdb76b68e | ||
|
|
75e6f28221 | ||
|
|
5772d919e3 | ||
|
|
1e9cb8a75a | ||
|
|
bb2c822b2f | ||
|
|
65777a0fb5 | ||
|
|
df26c5b7ed | ||
|
|
7ea42752a4 | ||
|
|
edfdf83c99 | ||
|
|
0c550497d1 | ||
|
|
30dbcae2a5 | ||
|
|
a7121cce50 | ||
|
|
83b58ec246 | ||
|
|
77c9cad501 | ||
|
|
987dbd3fa6 | ||
|
|
b41a0656ec | ||
|
|
fca9c7c479 | ||
|
|
f360973eeb | ||
|
|
70493a06f7 | ||
|
|
e40ba32281 | ||
|
|
4ee65320f3 | ||
|
|
da297c8591 | ||
|
|
6041818d8f | ||
|
|
d14d5de442 | ||
|
|
cc9124cdfb | ||
|
|
b1ef5d4b2b | ||
|
|
0015f4a694 | ||
|
|
50f061697c | ||
|
|
37efa97ce7 | ||
|
|
9fa7e21905 | ||
|
|
bc9ebca815 | ||
|
|
f3138960b1 | ||
|
|
f316ab5900 | ||
|
|
66a3c269ca | ||
|
|
d5f3531d66 | ||
|
|
df3dd717d0 | ||
|
|
1320d12535 | ||
|
|
2f0845daa9 | ||
|
|
b481073993 | ||
|
|
7ea2474a6c | ||
|
|
96028b1499 | ||
|
|
efac27b9b8 | ||
|
|
3905371da6 | ||
|
|
c49ee74d81 | ||
|
|
4f8df55099 | ||
|
|
711db09855 | ||
|
|
0aae330bef | ||
|
|
f20df15ccf | ||
|
|
7e7346da6e | ||
|
|
2c8c624e56 | ||
|
|
f78ac2c82b | ||
|
|
9bb58fedea | ||
|
|
bc1f10aa80 | ||
|
|
9267befbbc | ||
|
|
418e45552d | ||
|
|
a95a8b7fb6 | ||
|
|
a8a9ddc3d6 | ||
|
|
44bf0a5ce4 | ||
|
|
9525278be7 | ||
|
|
f4cbf21075 | ||
|
|
a19eb57a0f | ||
|
|
e4c15e21bf | ||
|
|
d1af0e921c | ||
|
|
ba1b306834 | ||
|
|
e99f8c9e7a | ||
|
|
88641cba2a | ||
|
|
8f4d5ef9dd | ||
|
|
8cd9b3ba6e | ||
|
|
f3c4d94822 | ||
|
|
61d4ddfcda | ||
|
|
9eb651449f | ||
|
|
908d79925c | ||
|
|
64ad7967ed | ||
|
|
bc11e03f00 | ||
|
|
92074987c6 | ||
|
|
74d5d0f6ef | ||
|
|
983d78727c | ||
|
|
07d3fd1ed4 | ||
|
|
6867bf813a | ||
|
|
b9002ab4da | ||
|
|
5b1bd22b30 | ||
|
|
f1036fe017 | ||
|
|
bddcb0a5ae | ||
|
|
47152d7cac | ||
|
|
081f44f8be | ||
|
|
cc72bb6e06 | ||
|
|
3f2441eb8a | ||
|
|
7bbef5785d | ||
|
|
345ebeebcd | ||
|
|
3fc7ff525c | ||
|
|
851265844f | ||
|
|
55876293bc | ||
|
|
234886419d | ||
|
|
73149973e3 | ||
|
|
41541dde2c | ||
|
|
5c6f556ad3 | ||
|
|
87f26ce691 | ||
|
|
017f78fb13 | ||
|
|
94aa5c0247 | ||
|
|
4774389ee0 | ||
|
|
f8e0b499f3 | ||
|
|
ebc55bb440 | ||
|
|
5b32ce9e61 | ||
|
|
f1999946fa | ||
|
|
31af660c73 | ||
|
|
2f2d72ed01 | ||
|
|
a4dc920b62 | ||
|
|
c22d8d70a0 | ||
|
|
99064fe2ab | ||
|
|
abe5fc3b4e | ||
|
|
970e3cd207 | ||
|
|
aaccc33e7b | ||
|
|
c0746b3fa4 | ||
|
|
eab9e39290 | ||
|
|
d582e1c25b | ||
|
|
9e842e5d09 | ||
|
|
23202c319c | ||
|
|
d703fb687f | ||
|
|
6479f8e7b8 | ||
|
|
a899fa720b | ||
|
|
f7a090c3ca | ||
|
|
487c293860 | ||
|
|
62d7d9a784 | ||
|
|
dd5e81da6e | ||
|
|
0daa6b436f | ||
|
|
57ded906de | ||
|
|
a9cdec6363 | ||
|
|
4c04a73022 | ||
|
|
ad1fddadf2 | ||
|
|
7d5eab748a | ||
|
|
6db1fe7666 | ||
|
|
b5a15e49f1 | ||
|
|
c5eba536fd | ||
|
|
4264384675 | ||
|
|
fffa84efd6 | ||
|
|
27c3cc0000 | ||
|
|
670cad1092 | ||
|
|
85a2600e58 | ||
|
|
6535a93b66 | ||
|
|
2a29b4b240 | ||
|
|
43baed69db | ||
|
|
a16b505aa6 | ||
|
|
39d442b53d | ||
|
|
f51fd44b55 | ||
|
|
975f0db7ec | ||
|
|
d26b189d3d | ||
|
|
3f38f4b16c | ||
|
|
5265db6cf7 | ||
|
|
fd2c210f49 | ||
|
|
336887b394 | ||
|
|
aa06d7ffcb | ||
|
|
e8dcfee552 | ||
|
|
fed5a30e8f | ||
|
|
6abeb934e1 | ||
|
|
f8dcdec735 | ||
|
|
ebf76ef505 | ||
|
|
f297e28b64 | ||
|
|
8e4b5a8dca | ||
|
|
ed2e72e995 | ||
|
|
dc32a4298b | ||
|
|
51d8b2a2bc | ||
|
|
dca44566e8 | ||
|
|
0e84cef85e | ||
|
|
12a0f8d831 | ||
|
|
91353b5578 | ||
|
|
32c135a7e5 | ||
|
|
3d051419a5 | ||
|
|
5e63ac316c | ||
|
|
fbec9c9aa5 | ||
|
|
7ebc395f8b | ||
|
|
3492540d53 | ||
|
|
eb903a12b0 | ||
|
|
6398feba0d | ||
|
|
674e9e31a5 | ||
|
|
3a2a99c87a | ||
|
|
4ee05530ae | ||
|
|
f10df82887 | ||
|
|
5e6ba5f157 | ||
|
|
96fc140918 | ||
|
|
95a36d54dc | ||
|
|
d7e5a84be1 | ||
|
|
d743f15bb3 | ||
|
|
523e6692ad | ||
|
|
f7c183c9a9 | ||
|
|
fb8f86f7f1 | ||
|
|
e618539ddb | ||
|
|
2435d23334 | ||
|
|
cec62679be | ||
|
|
f806d82b41 | ||
|
|
41af7abadb | ||
|
|
b39e000fa8 | ||
|
|
2e89016098 | ||
|
|
236b37fa12 | ||
|
|
68a685a87e | ||
|
|
15c58e2362 | ||
|
|
0b196b6caf | ||
|
|
fe2071c4b2 | ||
|
|
740b0942b7 | ||
|
|
c68c1a281e | ||
|
|
7a24f2fb36 | ||
|
|
72315a2a0f | ||
|
|
e887845897 | ||
|
|
cb52625afa | ||
|
|
6e0eab2608 | ||
|
|
f912eea8d4 | ||
|
|
a0fbcfe06c | ||
|
|
35d6fe5935 | ||
|
|
43361942e3 | ||
|
|
c8ab83a3ad | ||
|
|
143cf088ba | ||
|
|
2df9528082 | ||
|
|
aa487495b5 | ||
|
|
da6dacca04 | ||
|
|
fc73d53d73 | ||
|
|
32a4d9c3fe | ||
|
|
ff9ccd6f86 | ||
|
|
13971c00ee | ||
|
|
60d2c403b3 | ||
|
|
3fa6025c1d | ||
|
|
9c874af52e | ||
|
|
ce190dd323 | ||
|
|
8f13ef06cb | ||
|
|
dc360c57b5 | ||
|
|
a75c0c5c41 | ||
|
|
97a2c8d2c9 | ||
|
|
ff7eb4d11c | ||
|
|
7d9b3d8c36 | ||
|
|
ce335f321f | ||
|
|
d09b117bef | ||
|
|
8da9903877 | ||
|
|
b2a77450de | ||
|
|
345a1b4420 | ||
|
|
fae2b0dab0 | ||
|
|
3c89c6f2ac | ||
|
|
5fb7414b45 | ||
|
|
7140cf9ca6 | ||
|
|
99681d27e4 | ||
|
|
265de06fe8 | ||
|
|
c50caadf78 | ||
|
|
e2e18e3736 | ||
|
|
de443e9f7b | ||
|
|
87d3322ee9 | ||
|
|
5de220c485 | ||
|
|
8cc34d5f6a | ||
|
|
eba9148924 | ||
|
|
2caaa2fae6 | ||
|
|
6c21b1fb5f | ||
|
|
b8e33bdf98 | ||
|
|
f86e26314d | ||
|
|
79d3c75857 | ||
|
|
8c50496bd2 | ||
|
|
0ceb38eb66 | ||
|
|
4327080b3c | ||
|
|
33a851a9b4 | ||
|
|
5a3b5c9cd7 | ||
|
|
c4c829c205 | ||
|
|
ccb8b06427 | ||
|
|
a0a7513847 | ||
|
|
83eba80445 | ||
|
|
76ba2aa3eb | ||
|
|
01723497f3 | ||
|
|
579e0badb2 | ||
|
|
d24df771a3 | ||
|
|
b121dad562 | ||
|
|
e4741f3604 | ||
|
|
519517a8fd | ||
|
|
701a34b033 | ||
|
|
86b610dc84 | ||
|
|
3fa071841c | ||
|
|
d37d802e6b | ||
|
|
10f249831d | ||
|
|
cf8947cbc2 | ||
|
|
1218636cab | ||
|
|
130067ffb2 | ||
|
|
80fd3c75ea | ||
|
|
0d464af32b | ||
|
|
7ffa806b1b | ||
|
|
348a8d9975 | ||
|
|
c054079d7b | ||
|
|
6c09dd31d2 | ||
|
|
603824aabb | ||
|
|
86e658692f | ||
|
|
90f43e686b | ||
|
|
9fc7554dfd | ||
|
|
e583919d72 | ||
|
|
9ea527986a | ||
|
|
3e7bb303b8 | ||
|
|
88022b7ed2 | ||
|
|
3a50edbfac | ||
|
|
02e1ea447c | ||
|
|
39c8469481 | ||
|
|
9e01b54d0f | ||
|
|
132aa754b2 | ||
|
|
ba31d05e0d | ||
|
|
a13ff777de | ||
|
|
f0fa3f8929 | ||
|
|
171cd0aeab | ||
|
|
b8d9334626 | ||
|
|
85b9280cd7 | ||
|
|
f564135eb3 | ||
|
|
d9cd48e5ab | ||
|
|
abdcef1c46 | ||
|
|
528cb870a7 | ||
|
|
6468063c30 | ||
|
|
5fd3f7978d | ||
|
|
6382f61c8c | ||
|
|
70dc2bcf8d | ||
|
|
c0543bb9b0 | ||
|
|
f5a22b61c7 | ||
|
|
a375424c07 | ||
|
|
02af727b52 | ||
|
|
ccc43c8167 | ||
|
|
cb734a0581 | ||
|
|
5b838c3ca9 |
67
.clang-format
Normal file
67
.clang-format
Normal file
@@ -0,0 +1,67 @@
|
||||
---
|
||||
BasedOnStyle: LLVM
|
||||
AlignAfterOpenBracket: AlwaysBreak
|
||||
AlignConsecutiveMacros: 'true'
|
||||
AlignConsecutiveAssignments: 'true'
|
||||
AlignConsecutiveDeclarations: 'true'
|
||||
AlignEscapedNewlines: Right
|
||||
AlignOperands: 'true'
|
||||
AlignTrailingComments: 'true'
|
||||
AllowAllArgumentsOnNextLine: 'false'
|
||||
AllowAllConstructorInitializersOnNextLine: 'true'
|
||||
AllowAllParametersOfDeclarationOnNextLine: 'true'
|
||||
AllowShortBlocksOnASingleLine: 'true'
|
||||
AllowShortCaseLabelsOnASingleLine: 'true'
|
||||
AllowShortFunctionsOnASingleLine: All
|
||||
AllowShortIfStatementsOnASingleLine: Always
|
||||
AllowShortLambdasOnASingleLine: All
|
||||
AllowShortLoopsOnASingleLine: 'true'
|
||||
AlwaysBreakAfterReturnType: None
|
||||
AlwaysBreakBeforeMultilineStrings: 'true'
|
||||
AlwaysBreakTemplateDeclarations: 'Yes'
|
||||
BinPackArguments: 'false'
|
||||
BinPackParameters: 'false'
|
||||
BreakAfterJavaFieldAnnotations: 'true'
|
||||
BreakBeforeBinaryOperators: NonAssignment
|
||||
BreakBeforeBraces: Allman
|
||||
BreakBeforeTernaryOperators: 'false'
|
||||
BreakConstructorInitializers: AfterColon
|
||||
BreakInheritanceList: AfterColon
|
||||
BreakStringLiterals: 'true'
|
||||
ColumnLimit: '80'
|
||||
CompactNamespaces: 'false'
|
||||
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
|
||||
Cpp11BracedListStyle: 'true'
|
||||
FixNamespaceComments: 'true'
|
||||
IncludeBlocks: Regroup
|
||||
IndentCaseLabels: 'false'
|
||||
IndentPPDirectives: AfterHash
|
||||
IndentWidth: '4'
|
||||
JavaScriptWrapImports: 'true'
|
||||
Language: Cpp
|
||||
MaxEmptyLinesToKeep: '1'
|
||||
NamespaceIndentation: All
|
||||
PointerAlignment: Left
|
||||
ReflowComments: 'true'
|
||||
SortIncludes: 'true'
|
||||
SortUsingDeclarations: 'true'
|
||||
SpaceAfterCStyleCast: 'true'
|
||||
SpaceAfterLogicalNot: 'true'
|
||||
SpaceAfterTemplateKeyword: 'true'
|
||||
SpaceBeforeAssignmentOperators: 'true'
|
||||
SpaceBeforeCpp11BracedList: 'true'
|
||||
SpaceBeforeCtorInitializerColon: 'true'
|
||||
SpaceBeforeInheritanceColon: 'true'
|
||||
SpaceBeforeParens: ControlStatements
|
||||
SpaceBeforeRangeBasedForLoopColon: 'true'
|
||||
SpaceInEmptyParentheses: 'false'
|
||||
SpacesInAngles: 'false'
|
||||
SpacesInCStyleCastParentheses: 'false'
|
||||
SpacesInContainerLiterals: 'false'
|
||||
SpacesInParentheses: 'false'
|
||||
SpacesInSquareBrackets: 'false'
|
||||
Standard: Cpp11
|
||||
TabWidth: '4'
|
||||
UseTab: Always
|
||||
|
||||
...
|
||||
6
.gitignore
vendored
6
.gitignore
vendored
@@ -1 +1,7 @@
|
||||
*.snap
|
||||
.flatpak-builder
|
||||
# Qt build output
|
||||
*.user
|
||||
# doxygen Doxyfile output
|
||||
doc/
|
||||
QElectroTech.tag
|
||||
|
||||
133
CMakeLists.txt
Normal file
133
CMakeLists.txt
Normal file
@@ -0,0 +1,133 @@
|
||||
# Copyright 2006 The QElectroTech Team
|
||||
# This file is part of QElectroTech.
|
||||
#
|
||||
# QElectroTech is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# QElectroTech is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
include(cmake/hoto_update_cmake_message.cmake)
|
||||
|
||||
cmake_minimum_required(VERSION 3.14...3.19 FATAL_ERROR)
|
||||
|
||||
project(qelectrotech
|
||||
VERSION 0.8.0
|
||||
DESCRIPTION "QET is a CAD/CAE editor focusing on schematics drawing features."
|
||||
HOMEPAGE_URL "https://qelectrotech.org/"
|
||||
LANGUAGES CXX)
|
||||
|
||||
include(cmake/copyright_message.cmake)
|
||||
|
||||
set(QET_DIR ${PROJECT_SOURCE_DIR})
|
||||
|
||||
# Add sub directories
|
||||
option(PACKAGE_TESTS "Build the tests" ON)
|
||||
if(PACKAGE_TESTS)
|
||||
message("Add sub directorie tests")
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
||||
include(cmake/paths_compilation_installation.cmake)
|
||||
include(cmake/start_options.cmake)
|
||||
include(cmake/developer_options.cmake)
|
||||
include(cmake/git_update_submodules.cmake)
|
||||
include(cmake/git_last_commit_sha.cmake)
|
||||
include(cmake/fetch_kdeaddons.cmake)
|
||||
include(cmake/fetch_singleapplication.cmake)
|
||||
include(cmake/fetch_pugixml.cmake)
|
||||
include(cmake/qet_compilation_vars.cmake)
|
||||
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
|
||||
SET(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
find_package(
|
||||
QT
|
||||
NAMES
|
||||
Qt6
|
||||
Qt5
|
||||
COMPONENTS
|
||||
${QET_COMPONENTS}
|
||||
REQUIRED
|
||||
)
|
||||
|
||||
find_package(
|
||||
Qt${QT_VERSION_MAJOR}
|
||||
COMPONENTS
|
||||
${QET_COMPONENTS}
|
||||
REQUIRED)
|
||||
|
||||
set(CMAKE_AUTOUIC_SEARCH_PATHS ${QET_DIR}/sources/ui)
|
||||
qt5_create_translation(QM_FILES ${CMAKE_SOURCE_DIR} ${TS_FILES})
|
||||
set_source_files_properties(${TS_FILES} PROPERTIES OUTPUT_LOCATION "${QET_DIR}/lang")
|
||||
qt5_add_translation(QM_FILES ${TS_FILES})
|
||||
|
||||
# als laatse
|
||||
include(cmake/define_definitions.cmake)
|
||||
|
||||
add_executable(
|
||||
${PROJECT_NAME}
|
||||
${QET_RES_FILES}
|
||||
${QET_SRC_FILES}
|
||||
${QM_FILES}
|
||||
${QET_DIR}/qelectrotech.qrc
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
${PROJECT_NAME}
|
||||
PUBLIC
|
||||
PRIVATE
|
||||
pugixml::pugixml
|
||||
SingleApplication::SingleApplication
|
||||
${KF5_PRIVATE_LIBRARIES}
|
||||
${QET_PRIVATE_LIBRARIES}
|
||||
)
|
||||
|
||||
target_include_directories(
|
||||
${PROJECT_NAME}
|
||||
PRIVATE
|
||||
${QET_DIR}/sources/titleblock
|
||||
${QET_DIR}/sources/ui
|
||||
${QET_DIR}/sources/qetgraphicsitem
|
||||
${QET_DIR}/sources/qetgraphicsitem/ViewItem
|
||||
${QET_DIR}/sources/qetgraphicsitem/ViewItem/ui
|
||||
${QET_DIR}/sources/richtext
|
||||
${QET_DIR}/sources/factory
|
||||
${QET_DIR}/sources/properties
|
||||
${QET_DIR}/sources/dvevent
|
||||
${QET_DIR}/sources/editor
|
||||
${QET_DIR}/sources/editor/esevent
|
||||
${QET_DIR}/sources/editor/graphicspart
|
||||
${QET_DIR}/sources/editor/ui
|
||||
${QET_DIR}/sources/editor/UndoCommand
|
||||
${QET_DIR}/sources/undocommand
|
||||
${QET_DIR}/sources/diagramevent
|
||||
${QET_DIR}/sources/ElementsCollection
|
||||
${QET_DIR}/sources/ElementsCollection/ui
|
||||
${QET_DIR}/sources/autoNum
|
||||
${QET_DIR}/sources/autoNum/ui
|
||||
${QET_DIR}/sources/ui/configpage
|
||||
${QET_DIR}/sources/SearchAndReplace
|
||||
${QET_DIR}/sources/SearchAndReplace/ui
|
||||
${QET_DIR}/sources/NameList
|
||||
${QET_DIR}/sources/NameList/ui
|
||||
${QET_DIR}/sources/utils
|
||||
${QET_DIR}/sources/pugixml
|
||||
${QET_DIR}/sources/dataBase
|
||||
${QET_DIR}/sources/dataBase/ui
|
||||
${QET_DIR}/sources/factory/ui
|
||||
${QET_DIR}/sources/print
|
||||
)
|
||||
121
CONTRIBUTING.md
Normal file
121
CONTRIBUTING.md
Normal file
@@ -0,0 +1,121 @@
|
||||
# How to contribute
|
||||
|
||||
I'm really glad you're reading this,
|
||||
because we need volunteer developers to help
|
||||
this project come to fruition.
|
||||
|
||||
|
||||
Here are some important resources:
|
||||
|
||||
* [Qet code style](https://qelectrotech.org/wiki_new/doc/qt_creator#on_ajoute_le_style_de_code_qet)
|
||||
* [git Documentation](https://git-scm.com/doc)
|
||||
|
||||
## Testing
|
||||
|
||||
## Submitting changes
|
||||
|
||||
Always write a clear log message for your commits.
|
||||
One-line messages are fine for small changes,
|
||||
but bigger changes should look like this:
|
||||
|
||||
$ git commit -m "A brief summary of the commit
|
||||
>
|
||||
> A paragraph describing what changed and its impact."
|
||||
|
||||
* It is always appropriate to keep the commits small.
|
||||
* For major changes it is recommended to use branches.
|
||||
|
||||
### Interactive Staging
|
||||
https://git-scm.com/book/en/v2/Git-Tools-Interactive-Staging
|
||||
|
||||
issue: you have modified a class but you want to write it in 2 commits
|
||||
|
||||
´git add -p´ or ´git add -i´
|
||||
|
||||
|
||||
/qet> git add -i
|
||||
|
||||
|
||||
staged unstaged path
|
||||
1: unchanged +1/-1 sources/diagram.cpp
|
||||
|
||||
*** Commands ***
|
||||
1: status 2: update 3: revert 4: add untracked
|
||||
5: patch 6: diff 7: quit 8: help
|
||||
|
||||
|
||||
What now> 5
|
||||
|
||||
|
||||
staged unstaged path
|
||||
1: unchanged +1/-1 sources/diagram.cpp
|
||||
Patch update>> 1
|
||||
staged unstaged path
|
||||
* 1: unchanged +1/-1 sources/diagram.cpp
|
||||
Patch update>>
|
||||
diff --git a/sources/diagram.cpp b/sources/diagram.cpp
|
||||
index bffca653f..9bd2280f7 100644
|
||||
--- a/sources/diagram.cpp
|
||||
+++ b/sources/diagram.cpp
|
||||
@@ -103,9 +103,9 @@ Diagram::Diagram(QETProject *project) :
|
||||
connect(&border_and_titleblock,
|
||||
&BorderTitleBlock::titleBlockFolioChanged,
|
||||
this, &Diagram::updateLabels);
|
||||
- connect(this, &Diagram::diagramActivated,
|
||||
+ foo(do_a);
|
||||
- adjust(diagramActivated);
|
||||
+ bar(do_c);
|
||||
adjustSceneRect();
|
||||
}
|
||||
|
||||
|
||||
(1/1) Stage this hunk [y,n,q,a,d,s,e,?]? s
|
||||
|
||||
|
||||
Split into 2 hunks.
|
||||
@@ -103,5 +103,5 @@
|
||||
connect(&border_and_titleblock,
|
||||
&BorderTitleBlock::titleBlockFolioChanged,
|
||||
this, &Diagram::updateLabels);
|
||||
- connect(this, &Diagram::diagramActivated,
|
||||
+ foo(do_a);
|
||||
|
||||
|
||||
(1/2) Stage this hunk [y,n,q,a,d,j,J,g,/,e,?]? y
|
||||
|
||||
|
||||
@@ -107,5 +107,5 @@
|
||||
this, &Diagram::loadElmtFolioSeq);
|
||||
- adjust(diagramActivated);
|
||||
+ bar(do_c);
|
||||
adjustSceneRect();
|
||||
}
|
||||
|
||||
|
||||
(2/2) Stage this hunk [y,n,q,a,d,K,g,/,e,?]? n
|
||||
|
||||
|
||||
*** Commands ***
|
||||
1: status 2: update 3: revert 4: add untracked
|
||||
5: patch 6: diff 7: quit 8: help
|
||||
What now>What now>7
|
||||
Bye.
|
||||
|
||||
git commit -m "Mod Signal Slot to funsion"
|
||||
|
||||
## Coding conventions
|
||||
|
||||
Start reading our code and you'll get the hang of it.
|
||||
We optimize for readability:
|
||||
|
||||
* We use tabs to indent, and interpret tabs as taking up to 8 spaces.
|
||||
see https://qelectrotech.org/wiki_new/doc/qt_creator#on_ajoute_le_style_de_code_qet
|
||||
* We try to keep to at most 80 characters per line.
|
||||
* Try to make your code understandable.
|
||||
You may put comments in, but comments invariably tend to stale out when
|
||||
the code they were describing changes.
|
||||
Often splitting a function into two
|
||||
makes the intention of the code much clearer.
|
||||
|
||||
Thanks,
|
||||
QElectroTech
|
||||
134
ChangeLog
134
ChangeLog
@@ -1,3 +1,137 @@
|
||||
====== ChangeLog from 0.7 to 0.8 ======
|
||||
|
||||
|
||||
* Moving the main QET repository SVN trunk to GIT.
|
||||
* Add a mirror of the main QET repository, which is synced to hosted at tuxfamily.org to Github.
|
||||
* Doxyfile update add QCH file for doxygen-generated docs using qhelpgenerator and then import them into Qt Creator.
|
||||
* Improve portability of Doxyfile (Simon).
|
||||
* Fix deprecated warnings (Simon).
|
||||
* Wrap code for better readability (Simon, Damian).
|
||||
|
||||
|
||||
|
||||
|
||||
* Elements collection :
|
||||
Improve collection 7378 elements in 1092 categories
|
||||
Thanks Sebastien, Dinozzo, Simon, Rafał, Arnaud, Bisku, Fernando, Riesermauf, Alexis, david, Plc-user, Christophe, Michele, Galexis, Jevgenijs, Gabor,
|
||||
Benoit Michel, Franck, Ludovic, Cyrille, ossau2mation, Mitzot, Edgar, Nuri, Friskolon, Baboune41, Wiktor, shateks, Dik, Shateks, Marcin
|
||||
|
||||
|
||||
* Diagram editor :
|
||||
|
||||
* The export of the nomenclature to csv file has been completely rewritten :
|
||||
It is now possible to choose which information to export as well as the order in which it should be displayed.
|
||||
An option allows filtering by type of element: all, terminal block, button / switch.
|
||||
Another option allows to display or not the column headers in the csv file.
|
||||
With these options, it is possible to create a nomenclature, an order list, but also for printing labels: list of terminals and list of buttons / switches.
|
||||
It is possible to save / load a configuration easily.
|
||||
Finally, the work being done by an SQLite database, a text field allows the user to create his own SQL query.
|
||||
|
||||
* Add Conductors numbering to csv file.
|
||||
|
||||
* Add new summary table.
|
||||
|
||||
* add BOM creation dialog :
|
||||
nomenclature is now integrated into the project (accompanied by several parameters in order to be customizable).
|
||||
Tables can have a name.
|
||||
Tables an be added to any folio.
|
||||
Font margin and alignment (right center left) separately adjustable for headers and table cells.
|
||||
Position size and number of lines is adjustable.
|
||||
Possibility of linking several tables together, especially when the entire nomenclature cannot be contained in a folio.
|
||||
Automatic adjustment of the size of the table in relation to the folio.
|
||||
Option to apply the geometry of an array to all the array linked to it, so that everything is homogeneous.
|
||||
Save / load table configuration and content to make creation faster.
|
||||
Option to automatically adjust the table to the folio.
|
||||
Option to automatically add new tables in new folios if the nomenclature cannot be contained in 1 to N folios / tables.
|
||||
|
||||
* Table content:
|
||||
Fully customizable, you display what you want or want (info to display in the desired order, filter on type of element, filter on content of the info "contains, not contains, not empty etc ..." ).
|
||||
The content being generated from a sqlite database, you can write your own request.
|
||||
|
||||
|
||||
* Loading of element collections is now faster (thanks to the pugixml parser)
|
||||
* The loading of collections of elements no longer freezes QElectroTech.
|
||||
* The appearance and disappearance of the search / replace menu is animated.
|
||||
* Fix wrong position of slave xref after open a saved project
|
||||
|
||||
* Add font color of the conductors (Simon).
|
||||
* Add section and color properties for wires.
|
||||
|
||||
* config dialog :
|
||||
* Add QScrollArea to configdialog and resize to max_screen (Simon).
|
||||
* Add gui resize depending on screen size (Simon).
|
||||
* Add Screen info user (Simon).
|
||||
* Mod ScrollArea on demand (Simon).
|
||||
|
||||
|
||||
* Element editor:
|
||||
* Polygon editing widget, when you click on a point in the list, the corresponding point changes color in order to better visualize what you are doing.
|
||||
On this same list, a right click opens a contextual menu allowing to delete the selected point or inserted a point after the selected one.
|
||||
When holding the ctrl + directional arrow key, the selected parts move by 0.1 instead of 1 point.
|
||||
* with Ctrl key you can moving by keyboard primitives selected by 0.1 point instead by 1 points, added the same feature for moving the selected aera.
|
||||
* Added 140 web standard colors In Element editor (Arnaud).
|
||||
|
||||
* Add multiedit feature (martin).
|
||||
* Add terminals uuid for next features (martin).
|
||||
|
||||
|
||||
* Windows :
|
||||
* Fix bad fonts rendering if Qt version >= 5.13.1.
|
||||
See : https://bugreports.qt.io/browse/QTBUG-83161
|
||||
* Fix backup file on windows
|
||||
For unknown reason KautoSaveFile don't write the file on Windows if file
|
||||
is open in another part of the code.
|
||||
No error is returned and use the method :
|
||||
qint64 QIODevice::write(const QByteArray &byteArray) return the good
|
||||
number of bytes written but the real file stay empty.
|
||||
Probably the problem don't come from KautoSaveFile but QFileDevice or
|
||||
QIODevice on windows.
|
||||
|
||||
The fix consist to open the file just before write on it and close it
|
||||
just after.
|
||||
|
||||
* writeToFile on a other Thread to improve this for windows performance (Simon).
|
||||
|
||||
|
||||
* macOS :
|
||||
* Add Fusion style and fix tilesets tab bar size
|
||||
* Enable mouse wheel on tilesets tab bar with command keyboard, thanks Giovanni.
|
||||
(removed by Qt upstream) https://codereview.qt-project.org/gitweb?p=qt/qtbase.git;a=commitdiff;h=ea47d152b35158ba07a55d009f57df0e4c2a048f;hp=08cc9b9991ae9ab51bed5b857b6257401401ff6f
|
||||
|
||||
|
||||
* Add Snap packages :
|
||||
* thanks Max for help.
|
||||
https://snapcraft.io/qelectrotech
|
||||
See: https://qelectrotech.org/forum/viewtopic.php?id=1426
|
||||
* Use kde-neon extension
|
||||
The kde-neon extension reduces our boilerplate in snapcraft.yaml
|
||||
and reduces the snap size considerably, as we do not need to ship
|
||||
any library that is already included in the kde-frameworks-5-core18
|
||||
snap itself.
|
||||
|
||||
This limits qelectrotech builds to the architectures supported
|
||||
by kde-frameworks-5-core18, i.e. only amd64.
|
||||
|
||||
https://git.tuxfamily.org/qet/qet.git/log/?qt=grep&q=snap
|
||||
|
||||
|
||||
|
||||
* Add Flatpak packages :
|
||||
* thanks Mathieu for help.
|
||||
See: https://github.com/qelectrotech/qelectrotech-source-mirror/pull/18
|
||||
* remove the file name extension added
|
||||
automatically to the saved files even if the user sets an unknown file
|
||||
extension for the program.
|
||||
|
||||
https://git.tuxfamily.org/qet/qet.git/log/?qt=grep&q=flatpak
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
====== ChangeLog from 0.6 to 0.7 ======
|
||||
|
||||
|
||||
|
||||
@@ -175,3 +175,15 @@ Dette værk er licenseret under Creative Commons Attribution 3.0 License.
|
||||
For at se en kopi af denne licens, besøg
|
||||
http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative
|
||||
Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
|
||||
|
||||
[ja]
|
||||
QElectroTech と一緒に提供される要素コレクションは現状のまま提供され、
|
||||
あなたの目的や作業に適合することを保証するものではありません。
|
||||
回路図での要素の利用、変更、統合は、回路図の最終的なライセンスに関わらず
|
||||
無条件で許可されます。
|
||||
回路図とは別に QElectroTech コレクションの全部または一部を
|
||||
変更の有無に関わらず再配布する場合は CC-BY ライセンスを尊重しなければなりません:
|
||||
この作品は Creative Commons Attribution 3.0 の下でライセンスされます。
|
||||
ライセンスのコピーを見るには http://creativecommons.org/licenses/by/3.0/ にアクセスするか、
|
||||
「Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.」に
|
||||
手紙を送ってください。
|
||||
|
||||
11
INSTALL
11
INSTALL
@@ -140,3 +140,14 @@ $ qmake (qmake-qt5 for Debian baserede systemer)
|
||||
$ make
|
||||
# umask 0022
|
||||
# make install
|
||||
|
||||
[ja]
|
||||
必要条件 :
|
||||
libQt5 (パッケージ libqt5* を参照)
|
||||
cupsys-bsd 印刷用
|
||||
|
||||
コンパイルの方法 :
|
||||
$ qmake (Debian ベースのシステムでは qmake-qt5)
|
||||
$ make
|
||||
# umask 0022
|
||||
# make install
|
||||
|
||||
4
README
4
README
@@ -50,3 +50,7 @@ QET gebruikt XML voor de elementen en schema's en omvat een schematische editor,
|
||||
[da]
|
||||
QElectroTech er et Qt5 program til at redigere elektriske diagrammer.
|
||||
Det bruger XML filer for symboler og diagrammer og inkluderer diagram, symbol og titelblok redigering.
|
||||
|
||||
[ja]
|
||||
QElectroTech は電気回路図を作成する Qt5 アプリケーションです。
|
||||
QET は要素と回路図に XML 形式を利用し、回路図エディタ、要素エディタ、表題欄エディタを含みます。
|
||||
|
||||
178
README.md
Normal file
178
README.md
Normal file
@@ -0,0 +1,178 @@
|
||||

|
||||
|
||||
|
||||
# QElectroTech
|
||||
|
||||
### What it is
|
||||
|
||||
QElectroTech, or QET in short, is a libre and open source desktop application to create diagrams and schematics.
|
||||
The software is primarily intended to create electrical documentation but it can also be used to draw any kinds of diagrams, such as those made in pneumatics, hydraulics, process industries, electronics...
|
||||
Generally speaking, QET is a **CAD/CAE editor focusing on schematics drawing features**.
|
||||
|
||||
This means that there are no embedded simulating or calculating functionalities and it is not planned to implement them.
|
||||
|
||||
The main goal of the developers is to provide a libre, easy to use and effective software for **schematics drawing purposes**.
|
||||
|
||||
### Version
|
||||
|
||||
The current stable version is 0.70 and was released on 2019.07.13.
|
||||
Once it has been officialy released, the stable version is always frozen and is no longer developed.
|
||||
|
||||
New functionalities, bug and issue fixings are further made in the development version (currently 0.8), which can also be [downloaded](https://qelectrotech.org/download.html).
|
||||
|
||||
Users who want to test and take benefits from the last software implementations should use the development version. But... use it at your own risk, since things are sometimes broken or only partialy implemented until they are done!
|
||||
|
||||
### License
|
||||
|
||||
The software is licensed under [GNU/GPL](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html).
|
||||
You are free to use, copy, modify and redistribute it under the terms of the license.
|
||||
|
||||
|
||||
Like many other open source softwares, QElectroTech is provided as it is, without any warranty.
|
||||
|
||||
### Development / technical choices
|
||||
|
||||
The development follows the classical way of free and open source software: the source code, written by a community of users, is freely accessible.
|
||||
|
||||
Here are the technical choices made for the software development:
|
||||
|
||||
* Integrated development environment: [Qt Framework](https://www.qt.io/ide/)
|
||||
* Libraries: Qt 5.x
|
||||
* [KF5 Framework](https://github.com/KDE)
|
||||
[Cmake](https://cmake.org/install/)
|
||||
[kcoreaddons](https://github.com/KDE/kcoreaddons)
|
||||
[kwidgetsaddons](https://github.com/KDE/kwidgetsaddons).
|
||||
* Coding language: [C++](https://en.wikipedia.org/wiki/C%2B%2B)
|
||||
* GUI translations: [Qt Linguist](http://doc.qt.io/qt-5/qtlinguist-index.html)
|
||||
* Version control: [GIT](https://git.tuxfamily.org/qet/qet.git/)
|
||||
* File format for projects, elements and titleblocks: [XML](http://www.w3schools.com/xml/xml_whatis.asp)
|
||||
* Main development platform: [GNU/Linux](http://getgnulinux.org/en/linux/)
|
||||
* Targeted platforms: Windows, GNU/Linux, Mac OS X, BSDs
|
||||
* [Forum](https://qelectrotech.org/forum/index.php)
|
||||
* [Wiki](https://qelectrotech.org/wiki_new/)
|
||||
* [Mantis_bugtracker](https://qelectrotech.org/bugtracker/my_view_page.php)
|
||||
|
||||
If you wish to be informed of the latest developments, browse the [archive](https://listengine.tuxfamily.org/lists.tuxfamily.org/qet/) of the project mailing list where all commits (changes) are registered. This archive is publicly available, you don't need any account to access it.
|
||||
|
||||
|
||||
# Features
|
||||
|
||||
QElectroTech is a free and open source software.
|
||||
No need to worry about restrictive licensing, privacy violation or dependency on a company.
|
||||
Zero cost and no licensing fees!
|
||||
But you are welcome to make a donation to support the development
|
||||
|
||||
QElectroTech runs on the 3 most widespread operating systems for desktop computers in the world.
|
||||
Files that were created on an OS can be edited on another OS without any conversion or restriction.
|
||||
MS Windows users can even run the "ready-to-use" version of QElectroTech from an external medium with no need to install it on an access restricted computer.
|
||||
|
||||
|
||||
Take advantage of the modern GUI
|
||||
|
||||
Toolbars and panels can be enabled/disabled, moved and displayed the way you want to work.
|
||||
Panels can be stacked on each other (as tabs) or docked on the sides (as docks) or completely separated from the main window (as windows).
|
||||
The GUI can fit to small or big screens, and even to multi-display configurations.
|
||||

|
||||
|
||||
|
||||
The GUI of QElectroTech is translated in 19 languages.
|
||||
You only need to restart the application for the new selected language to take effect.
|
||||

|
||||
|
||||
Create technical documentation in professional quality
|
||||
|
||||
Size, look and informations of the folios (sheets) are fully configurable.
|
||||
You can set vertical and horizontal headers (printed rulers) individually on and off, set number of columns and rows, and set width/height of each column/row.
|
||||
|
||||
Titlebocks can be created and edited with the embedded titleblock editor to perfectly suit your needs.
|
||||
Custom variables can be defined to display the informations you wish in the titleblock.
|
||||

|
||||
|
||||
With only 2 mouse clicks you can add a full automatic generated table of content.
|
||||
Changes in the documentation are updated on the fly.
|
||||

|
||||
|
||||
Choose from more than 7.000 symbols...
|
||||
The embedded QET collection contains a rich library of electric, logic, pneumatic, hydraulic and fluid symbols.
|
||||
The library grows at every new release thanks to an active user community.
|
||||

|
||||
|
||||
...or create your own collection
|
||||
|
||||
The embedded element editor is a nice tool to create your own elements (symbols or anything else).
|
||||
Your own elements are stored in the user collection.
|
||||

|
||||
|
||||
Quickly find what you need
|
||||
|
||||
All collections can quickly be searched with the integrated search engine.
|
||||
Furthermore, the search request can be restricted to the folder of your choice.
|
||||

|
||||
|
||||
Easily draw complex schematics
|
||||
|
||||
To add an element on the drawing area, it only needs a drag & drop from the collection panel.
|
||||

|
||||
|
||||
Elements are automatically connected if they are aligned, or connected from point to point by pulling a conductor with the mouse.
|
||||

|
||||
|
||||
The path of every conductor can be modified by moving its handles with the mouse.
|
||||

|
||||
And of course, you can accurately zoom with the mouse wheel over the drawing area to catch the smallest details.
|
||||
|
||||
Link elements together to create cross references
|
||||
|
||||
Several types of element can be linked together to display a cross reference text.
|
||||
All types of cross references are automatically updated on the fly, you don't need to think about them if you make changes.
|
||||

|
||||
To speed up your work, linkable elements are easily searched and shown.
|
||||

|
||||
|
||||
|
||||
Export informations to a parts list
|
||||
Informations of all elements in the project can be exported to a .csv file that can be read and edited by any spreadsheet application.
|
||||

|
||||
|
||||
This way, you can make your own parts list or bill of material using the full power of a spreadsheet program.
|
||||

|
||||
Print to pdf and/or export your work to images
|
||||
|
||||
Your whole documentation or only selected parts of it can be printed to a real printer or to a pdf file.
|
||||
Alternatively, you can export to vector (svg) or pixel (png, jpg, bmp) format images.
|
||||
|
||||
### And much more:
|
||||
|
||||
* open and edit several projects at the same time
|
||||
* import images (.bmp, .jpg, .png, .svg) in your diagrams
|
||||
* add basic shapes (lines, rectangles, ellipses, polygons) to your drawings
|
||||
* edit the thickness, the line style and the color of conductors
|
||||
* define some autonum patterns for conductors, symbols and folios
|
||||
* take advantage of the open xml standard of elements and projects to create custom tools
|
||||
* search and replace Widget (Ctrl + F) in entire project
|
||||
* conductors num can be exported to csv file.
|
||||
* ***
|
||||
|
||||
### Story
|
||||
|
||||
The QElectroTech project was founded in 2007 by two french students, Xavier and Benoit.
|
||||
Xavier developed the base application itself and made all technical choices about the development.
|
||||
The first version of QET (0.1) was released on 09.03.2008.
|
||||
However, both Xavier and Benoit do not participate anymore in the project since 2013.
|
||||
|
||||
Following this period, new developers and contributors took over the project and kept it alive.
|
||||
The development and the many translations are actively maintained.
|
||||
New functionalities and evolutions are planned to make QET ever better.
|
||||
|
||||
Nowadays, QET is not only used by many individuals, teachers and students but also by professional electricians and companies all over the world.
|
||||
|
||||
|
||||
### Donate Money
|
||||
|
||||
If you love QElectroTech, you can help developers to buy new hardware to test
|
||||
and implement new features. Thanks in advance for your generous donations.
|
||||
|
||||
For more information, look at [Paypal](https://www.paypal.com/donate/?token=rqf80cP0Ck1F2jn4Y46G7tIPv9bq7x0crXkwt3GZ6OZYG6ihJYi8lZxmmQ8itsFwMUdd1G&country.x=GB&locale.x=GB)
|
||||
or at [leetchi.com](https://www.leetchi.com/c/qelectroteck)
|
||||
|
||||
|
||||
@@ -1,6 +1,54 @@
|
||||
Changelog
|
||||
=========
|
||||
|
||||
__3.0.18__
|
||||
----------
|
||||
|
||||
* Fallback to standard QApplication class on iOS and Android systems where
|
||||
the library is not supported.
|
||||
|
||||
* Added Build CI tests to verify the library builds successfully on Linux, Windows and MacOS across multiple Qt versions.
|
||||
|
||||
_Anton Filimonov_
|
||||
|
||||
__3.0.17__
|
||||
----------
|
||||
|
||||
* Fixed compilation warning/error caused by `geteuid()` on unix based systems.
|
||||
|
||||
_Iakov Kirilenko_
|
||||
|
||||
* Added CMake support
|
||||
|
||||
_Hennadii Chernyshchyk_
|
||||
|
||||
__3.0.16__
|
||||
----------
|
||||
|
||||
* Use geteuid and getpwuid to get username on Unix, fallback to environment variable.
|
||||
|
||||
_Jonas Kvinge_
|
||||
|
||||
__3.0.15__
|
||||
----------
|
||||
|
||||
* Bug Fix: sendMessage() might return false even though data was actually written.
|
||||
|
||||
_Jonas Kvinge_
|
||||
|
||||
__3.0.14__
|
||||
----------
|
||||
|
||||
* Fixed uninitialised variables in the `SingleApplicationPrivate` constructor.
|
||||
|
||||
__3.0.13a__
|
||||
----------
|
||||
|
||||
* Process socket events asynchronously
|
||||
* Fix undefined variable error on Windows
|
||||
|
||||
_Francis Giraldeau_
|
||||
|
||||
__3.0.12a__
|
||||
----------
|
||||
|
||||
@@ -113,7 +161,7 @@ __3.0.1a__
|
||||
__v3.0a__
|
||||
---------
|
||||
|
||||
* Depricated secondary instances count.
|
||||
* Deprecated secondary instances count.
|
||||
* Added a sendMessage() method to send a message to the primary instance.
|
||||
* Added a receivedMessage() signal, emitted when a message is received from a
|
||||
secondary instance.
|
||||
|
||||
43
SingleApplication/CMakeLists.txt
Normal file
43
SingleApplication/CMakeLists.txt
Normal file
@@ -0,0 +1,43 @@
|
||||
cmake_minimum_required(VERSION 3.1.0)
|
||||
|
||||
project(SingleApplication)
|
||||
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
# SingleApplication base class
|
||||
set(QAPPLICATION_CLASS QCoreApplication CACHE STRING "Inheritance class for SingleApplication")
|
||||
set_property(CACHE QAPPLICATION_CLASS PROPERTY STRINGS QApplication QGuiApplication QCoreApplication)
|
||||
|
||||
# Libary target
|
||||
add_library(${PROJECT_NAME} STATIC
|
||||
singleapplication.cpp
|
||||
singleapplication_p.cpp
|
||||
)
|
||||
|
||||
# Find dependencies
|
||||
find_package(Qt5Network)
|
||||
if(QAPPLICATION_CLASS STREQUAL QApplication)
|
||||
find_package(Qt5 COMPONENTS Widgets REQUIRED)
|
||||
elseif(QAPPLICATION_CLASS STREQUAL QGuiApplication)
|
||||
find_package(Qt5 COMPONENTS Gui REQUIRED)
|
||||
else()
|
||||
find_package(Qt5 COMPONENTS Core REQUIRED)
|
||||
endif()
|
||||
add_compile_definitions(QAPPLICATION_CLASS=${QAPPLICATION_CLASS})
|
||||
|
||||
# Link dependencies
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Network)
|
||||
if(QAPPLICATION_CLASS STREQUAL QApplication)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Widgets)
|
||||
elseif(QAPPLICATION_CLASS STREQUAL QGuiApplication)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Gui)
|
||||
else()
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Core)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE advapi32)
|
||||
endif()
|
||||
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
@@ -50,15 +50,27 @@ how:
|
||||
git submodule add git@github.com:itay-grudev/SingleApplication.git singleapplication
|
||||
```
|
||||
|
||||
Then include the `singleapplication.pri` file in your `.pro` project file. Also
|
||||
don't forget to specify which `QCoreApplication` class your app is using if it
|
||||
is not `QCoreApplication`.
|
||||
**Qmake:**
|
||||
|
||||
Then include the `singleapplication.pri` file in your `.pro` project file.
|
||||
|
||||
```qmake
|
||||
include(singleapplication/singleapplication.pri)
|
||||
DEFINES += QAPPLICATION_CLASS=QApplication
|
||||
```
|
||||
|
||||
**CMake:**
|
||||
|
||||
Then include the subdirectory in your `CMakeLists.txt` project file.
|
||||
|
||||
```cmake
|
||||
set(QAPPLICATION_CLASS QApplication CACHE STRING "Inheritance class for SingleApplication")
|
||||
add_subdirectory(src/third-party/singleapplication)
|
||||
```
|
||||
|
||||
Also don't forget to specify which `QCoreApplication` class your app is using if it
|
||||
is not `QCoreApplication` as in examples above.
|
||||
|
||||
The `Instance Started` signal
|
||||
------------------------
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ Here is an example:
|
||||
```cpp
|
||||
if( app.isSecondary() ) {
|
||||
// This API requires LIBS += User32.lib to be added to the project
|
||||
AllowSetForegroundWindow( DWORD( app.getPrimaryPid() ) );
|
||||
AllowSetForegroundWindow( DWORD( app.primaryPid() ) );
|
||||
}
|
||||
|
||||
if( app.isPrimary() ) {
|
||||
|
||||
0
SingleApplication/examples/basic/basic.pro
Executable file → Normal file
0
SingleApplication/examples/basic/basic.pro
Executable file → Normal file
0
SingleApplication/examples/basic/main.cpp
Executable file → Normal file
0
SingleApplication/examples/basic/main.cpp
Executable file → Normal file
0
SingleApplication/examples/sending_arguments/main.cpp
Executable file → Normal file
0
SingleApplication/examples/sending_arguments/main.cpp
Executable file → Normal file
0
SingleApplication/examples/sending_arguments/sending_arguments.pro
Executable file → Normal file
0
SingleApplication/examples/sending_arguments/sending_arguments.pro
Executable file → Normal file
@@ -25,150 +25,171 @@
|
||||
#include <QtCore/QDateTime>
|
||||
#include <QtCore/QByteArray>
|
||||
#include <QtCore/QSharedMemory>
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 10, 0) // ### Qt 6: remove
|
||||
#else
|
||||
#if TODO_LIST
|
||||
#pragma message("@TODO remove code for QT 5.10 or later")
|
||||
#endif
|
||||
#include <QRandomGenerator>
|
||||
#endif
|
||||
#include "singleapplication.h"
|
||||
#include "singleapplication_p.h"
|
||||
|
||||
/**
|
||||
* @brief Constructor. Checks and fires up LocalServer or closes the program
|
||||
* if another instance already exists
|
||||
* @param argc
|
||||
* @param argv
|
||||
* @param {bool} allowSecondaryInstances
|
||||
*/
|
||||
@brief Constructor. Checks and fires up LocalServer or closes the program
|
||||
if another instance already exists
|
||||
@param argc
|
||||
@param argv
|
||||
@param {bool} allowSecondaryInstances
|
||||
*/
|
||||
SingleApplication::SingleApplication( int &argc, char *argv[], bool allowSecondary, Options options, int timeout )
|
||||
: app_t( argc, argv ), d_ptr( new SingleApplicationPrivate( this ) )
|
||||
: app_t( argc, argv ), d_ptr( new SingleApplicationPrivate( this ) )
|
||||
{
|
||||
Q_D(SingleApplication);
|
||||
Q_D(SingleApplication);
|
||||
|
||||
// Store the current mode of the program
|
||||
d->options = options;
|
||||
#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)
|
||||
// On Android and iOS since the library is not supported fallback to
|
||||
// standard QApplication behaviour by simply returning at this point.
|
||||
qWarning() << "SingleApplication is not supported on Android and iOS systems.";
|
||||
return;
|
||||
#endif
|
||||
|
||||
// Generating an application ID used for identifying the shared memory
|
||||
// block and QLocalServer
|
||||
d->genBlockServerName();
|
||||
// Store the current mode of the program
|
||||
d->options = options;
|
||||
|
||||
// Generating an application ID used for identifying the shared memory
|
||||
// block and QLocalServer
|
||||
d->genBlockServerName();
|
||||
|
||||
#ifdef Q_OS_UNIX
|
||||
// By explicitly attaching it and then deleting it we make sure that the
|
||||
// memory is deleted even after the process has crashed on Unix.
|
||||
d->memory = new QSharedMemory( d->blockServerName );
|
||||
d->memory->attach();
|
||||
delete d->memory;
|
||||
// By explicitly attaching it and then deleting it we make sure that the
|
||||
// memory is deleted even after the process has crashed on Unix.
|
||||
d->memory = new QSharedMemory( d->blockServerName );
|
||||
d->memory->attach();
|
||||
delete d->memory;
|
||||
#endif
|
||||
// Guarantee thread safe behaviour with a shared memory block.
|
||||
d->memory = new QSharedMemory( d->blockServerName );
|
||||
// Guarantee thread safe behaviour with a shared memory block.
|
||||
d->memory = new QSharedMemory( d->blockServerName );
|
||||
|
||||
// Create a shared memory block
|
||||
if( d->memory->create( sizeof( InstancesInfo ) ) ) {
|
||||
// Initialize the shared memory block
|
||||
d->memory->lock();
|
||||
d->initializeMemoryBlock();
|
||||
d->memory->unlock();
|
||||
} else {
|
||||
// Attempt to attach to the memory segment
|
||||
if( ! d->memory->attach() ) {
|
||||
qCritical() << "SingleApplication: Unable to attach to shared memory block.";
|
||||
qCritical() << d->memory->errorString();
|
||||
delete d;
|
||||
::exit( EXIT_FAILURE );
|
||||
}
|
||||
}
|
||||
// Create a shared memory block
|
||||
if( d->memory->create( sizeof( InstancesInfo ) ) ) {
|
||||
// Initialize the shared memory block
|
||||
d->memory->lock();
|
||||
d->initializeMemoryBlock();
|
||||
d->memory->unlock();
|
||||
} else {
|
||||
// Attempt to attach to the memory segment
|
||||
if( ! d->memory->attach() ) {
|
||||
qCritical() << "SingleApplication: Unable to attach to shared memory block.";
|
||||
qCritical() << d->memory->errorString();
|
||||
delete d;
|
||||
::exit( EXIT_FAILURE );
|
||||
}
|
||||
}
|
||||
|
||||
InstancesInfo* inst = static_cast<InstancesInfo*>( d->memory->data() );
|
||||
QTime time;
|
||||
time.start();
|
||||
InstancesInfo* inst = static_cast<InstancesInfo*>( d->memory->data() );
|
||||
QElapsedTimer time;
|
||||
time.start();
|
||||
|
||||
// Make sure the shared memory block is initialised and in consistent state
|
||||
while( true ) {
|
||||
d->memory->lock();
|
||||
// Make sure the shared memory block is initialised and in consistent state
|
||||
while( true ) {
|
||||
d->memory->lock();
|
||||
|
||||
if( d->blockChecksum() == inst->checksum ) break;
|
||||
if( d->blockChecksum() == inst->checksum ) break;
|
||||
|
||||
if( time.elapsed() > 5000 ) {
|
||||
qWarning() << "SingleApplication: Shared memory block has been in an inconsistent state from more than 5s. Assuming primary instance failure.";
|
||||
d->initializeMemoryBlock();
|
||||
}
|
||||
if( time.elapsed() > 5000 ) {
|
||||
qWarning() << "SingleApplication: Shared memory block has been in an inconsistent state from more than 5s. Assuming primary instance failure.";
|
||||
d->initializeMemoryBlock();
|
||||
}
|
||||
|
||||
d->memory->unlock();
|
||||
d->memory->unlock();
|
||||
|
||||
// Random sleep here limits the probability of a collision between two racing apps
|
||||
qsrand( QDateTime::currentMSecsSinceEpoch() % std::numeric_limits<uint>::max() );
|
||||
QThread::sleep( 8 + static_cast <unsigned long>( static_cast <float>( qrand() ) / RAND_MAX * 10 ) );
|
||||
}
|
||||
// Random sleep here limits the probability of a collision between two racing apps
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 10, 0) // ### Qt 6: remove
|
||||
qsrand( QDateTime::currentMSecsSinceEpoch() % std::numeric_limits<uint>::max() );
|
||||
QThread::sleep( 8 + static_cast <unsigned long>( static_cast <float>( qrand() ) / RAND_MAX * 10 ) );
|
||||
#else
|
||||
#if TODO_LIST
|
||||
#pragma message("@TODO remove code for QT 5.10 or later")
|
||||
#endif
|
||||
quint32 value = QRandomGenerator::global()->generate();
|
||||
QThread::sleep(8 + static_cast<unsigned long>(value / RAND_MAX * 10));
|
||||
#endif
|
||||
}
|
||||
|
||||
if( inst->primary == false) {
|
||||
d->startPrimary();
|
||||
d->memory->unlock();
|
||||
return;
|
||||
}
|
||||
if( inst->primary == false) {
|
||||
d->startPrimary();
|
||||
d->memory->unlock();
|
||||
return;
|
||||
}
|
||||
|
||||
// Check if another instance can be started
|
||||
if( allowSecondary ) {
|
||||
inst->secondary += 1;
|
||||
inst->checksum = d->blockChecksum();
|
||||
d->instanceNumber = inst->secondary;
|
||||
d->startSecondary();
|
||||
if( d->options & Mode::SecondaryNotification ) {
|
||||
d->connectToPrimary( timeout, SingleApplicationPrivate::SecondaryInstance );
|
||||
}
|
||||
d->memory->unlock();
|
||||
return;
|
||||
}
|
||||
// Check if another instance can be started
|
||||
if( allowSecondary ) {
|
||||
inst->secondary += 1;
|
||||
inst->checksum = d->blockChecksum();
|
||||
d->instanceNumber = inst->secondary;
|
||||
d->startSecondary();
|
||||
if( d->options & Mode::SecondaryNotification ) {
|
||||
d->connectToPrimary( timeout, SingleApplicationPrivate::SecondaryInstance );
|
||||
}
|
||||
d->memory->unlock();
|
||||
return;
|
||||
}
|
||||
|
||||
d->memory->unlock();
|
||||
d->memory->unlock();
|
||||
|
||||
d->connectToPrimary( timeout, SingleApplicationPrivate::NewInstance );
|
||||
d->connectToPrimary( timeout, SingleApplicationPrivate::NewInstance );
|
||||
|
||||
delete d;
|
||||
delete d;
|
||||
|
||||
::exit( EXIT_SUCCESS );
|
||||
::exit( EXIT_SUCCESS );
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Destructor
|
||||
*/
|
||||
@brief Destructor
|
||||
*/
|
||||
SingleApplication::~SingleApplication()
|
||||
{
|
||||
Q_D(SingleApplication);
|
||||
delete d;
|
||||
Q_D(SingleApplication);
|
||||
delete d;
|
||||
}
|
||||
|
||||
bool SingleApplication::isPrimary()
|
||||
{
|
||||
Q_D(SingleApplication);
|
||||
return d->server != nullptr;
|
||||
Q_D(SingleApplication);
|
||||
return d->server != nullptr;
|
||||
}
|
||||
|
||||
bool SingleApplication::isSecondary()
|
||||
{
|
||||
Q_D(SingleApplication);
|
||||
return d->server == nullptr;
|
||||
Q_D(SingleApplication);
|
||||
return d->server == nullptr;
|
||||
}
|
||||
|
||||
quint32 SingleApplication::instanceId()
|
||||
{
|
||||
Q_D(SingleApplication);
|
||||
return d->instanceNumber;
|
||||
Q_D(SingleApplication);
|
||||
return d->instanceNumber;
|
||||
}
|
||||
|
||||
qint64 SingleApplication::primaryPid()
|
||||
{
|
||||
Q_D(SingleApplication);
|
||||
return d->primaryPid();
|
||||
Q_D(SingleApplication);
|
||||
return d->primaryPid();
|
||||
}
|
||||
|
||||
bool SingleApplication::sendMessage( QByteArray message, int timeout )
|
||||
{
|
||||
Q_D(SingleApplication);
|
||||
Q_D(SingleApplication);
|
||||
|
||||
// Nobody to connect to
|
||||
if( isPrimary() ) return false;
|
||||
// Nobody to connect to
|
||||
if( isPrimary() ) return false;
|
||||
|
||||
// Make sure the socket is connected
|
||||
d->connectToPrimary( timeout, SingleApplicationPrivate::Reconnect );
|
||||
// Make sure the socket is connected
|
||||
d->connectToPrimary( timeout, SingleApplicationPrivate::Reconnect );
|
||||
|
||||
d->socket->write( message );
|
||||
bool dataWritten = d->socket->flush();
|
||||
d->socket->waitForBytesWritten( timeout );
|
||||
return dataWritten;
|
||||
d->socket->write( message );
|
||||
bool dataWritten = d->socket->waitForBytesWritten( timeout );
|
||||
d->socket->flush();
|
||||
return dataWritten;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
#include <QtCore/QtGlobal>
|
||||
#include <QtNetwork/QLocalSocket>
|
||||
#include <QElapsedTimer>
|
||||
|
||||
#ifndef QAPPLICATION_CLASS
|
||||
#define QAPPLICATION_CLASS QCoreApplication
|
||||
@@ -35,99 +36,99 @@
|
||||
class SingleApplicationPrivate;
|
||||
|
||||
/**
|
||||
* @brief The SingleApplication class handles multipe instances of the same
|
||||
* Application
|
||||
* @see QCoreApplication
|
||||
*/
|
||||
@brief The SingleApplication class handles multiple instances of the same
|
||||
Application
|
||||
@see QCoreApplication
|
||||
*/
|
||||
class SingleApplication : public QAPPLICATION_CLASS
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
typedef QAPPLICATION_CLASS app_t;
|
||||
|
||||
public:
|
||||
/**
|
||||
* @brief Mode of operation of SingleApplication.
|
||||
* Whether the block should be user-wide or system-wide and whether the
|
||||
* primary instance should be notified when a secondary instance had been
|
||||
* started.
|
||||
* @note Operating system can restrict the shared memory blocks to the same
|
||||
* user, in which case the User/System modes will have no effect and the
|
||||
* block will be user wide.
|
||||
* @enum
|
||||
*/
|
||||
enum Mode {
|
||||
User = 1 << 0,
|
||||
System = 1 << 1,
|
||||
SecondaryNotification = 1 << 2,
|
||||
ExcludeAppVersion = 1 << 3,
|
||||
ExcludeAppPath = 1 << 4
|
||||
};
|
||||
Q_DECLARE_FLAGS(Options, Mode)
|
||||
|
||||
/**
|
||||
* @brief Intitializes a SingleApplication instance with argc command line
|
||||
* arguments in argv
|
||||
* @arg {int &} argc - Number of arguments in argv
|
||||
* @arg {const char *[]} argv - Supplied command line arguments
|
||||
* @arg {bool} allowSecondary - Whether to start the instance as secondary
|
||||
* if there is already a primary instance.
|
||||
* @arg {Mode} mode - Whether for the SingleApplication block to be applied
|
||||
* User wide or System wide.
|
||||
* @arg {int} timeout - Timeout to wait in miliseconds.
|
||||
* @note argc and argv may be changed as Qt removes arguments that it
|
||||
* recognizes
|
||||
* @note Mode::SecondaryNotification only works if set on both the primary
|
||||
* instance and the secondary instance.
|
||||
* @note The timeout is just a hint for the maximum time of blocking
|
||||
* operations. It does not guarantee that the SingleApplication
|
||||
* initialisation will be completed in given time, though is a good hint.
|
||||
* Usually 4*timeout would be the worst case (fail) scenario.
|
||||
* @see See the corresponding QAPPLICATION_CLASS constructor for reference
|
||||
*/
|
||||
explicit SingleApplication( int &argc, char *argv[], bool allowSecondary = false, Options options = Mode::User, int timeout = 1000 );
|
||||
~SingleApplication();
|
||||
|
||||
/**
|
||||
* @brief Returns if the instance is the primary instance
|
||||
* @returns {bool}
|
||||
*/
|
||||
bool isPrimary();
|
||||
|
||||
/**
|
||||
* @brief Returns if the instance is a secondary instance
|
||||
* @returns {bool}
|
||||
*/
|
||||
bool isSecondary();
|
||||
|
||||
/**
|
||||
* @brief Returns a unique identifier for the current instance
|
||||
* @returns {qint32}
|
||||
*/
|
||||
quint32 instanceId();
|
||||
|
||||
/**
|
||||
* @brief Returns the process ID (PID) of the primary instance
|
||||
* @returns {qint64}
|
||||
*/
|
||||
qint64 primaryPid();
|
||||
|
||||
/**
|
||||
* @brief Sends a message to the primary instance. Returns true on success.
|
||||
* @param {int} timeout - Timeout for connecting
|
||||
* @returns {bool}
|
||||
* @note sendMessage() will return false if invoked from the primary
|
||||
* instance.
|
||||
*/
|
||||
bool sendMessage( QByteArray message, int timeout = 100 );
|
||||
|
||||
Q_SIGNALS:
|
||||
void instanceStarted();
|
||||
void receivedMessage( quint32 instanceId, QByteArray message );
|
||||
|
||||
private:
|
||||
SingleApplicationPrivate *d_ptr;
|
||||
Q_DECLARE_PRIVATE(SingleApplication)
|
||||
Q_OBJECT
|
||||
|
||||
typedef QAPPLICATION_CLASS app_t;
|
||||
|
||||
public:
|
||||
/**
|
||||
@brief Mode of operation of SingleApplication.
|
||||
Whether the block should be user-wide or system-wide and whether the
|
||||
primary instance should be notified when a secondary instance had been
|
||||
started.
|
||||
@note Operating system can restrict the shared memory blocks to the same
|
||||
user, in which case the User/System modes will have no effect and the
|
||||
block will be user wide.
|
||||
@enum
|
||||
*/
|
||||
enum Mode {
|
||||
User = 1 << 0,
|
||||
System = 1 << 1,
|
||||
SecondaryNotification = 1 << 2,
|
||||
ExcludeAppVersion = 1 << 3,
|
||||
ExcludeAppPath = 1 << 4
|
||||
};
|
||||
Q_DECLARE_FLAGS(Options, Mode)
|
||||
|
||||
/**
|
||||
@brief Intitializes a SingleApplication instance with argc command line
|
||||
arguments in argv
|
||||
@arg {int &} argc - Number of arguments in argv
|
||||
@arg {const char *[]} argv - Supplied command line arguments
|
||||
@arg {bool} allowSecondary - Whether to start the instance as secondary
|
||||
if there is already a primary instance.
|
||||
@arg {Mode} mode - Whether for the SingleApplication block to be applied
|
||||
User wide or System wide.
|
||||
@arg {int} timeout - Timeout to wait in milliseconds.
|
||||
@note argc and argv may be changed as Qt removes arguments that it
|
||||
recognizes
|
||||
@note Mode::SecondaryNotification only works if set on both the primary
|
||||
instance and the secondary instance.
|
||||
@note The timeout is just a hint for the maximum time of blocking
|
||||
operations. It does not guarantee that the SingleApplication
|
||||
initialisation will be completed in given time, though is a good hint.
|
||||
Usually 4*timeout would be the worst case (fail) scenario.
|
||||
@see See the corresponding QAPPLICATION_CLASS constructor for reference
|
||||
*/
|
||||
explicit SingleApplication( int &argc, char *argv[], bool allowSecondary = false, Options options = Mode::User, int timeout = 1000 );
|
||||
~SingleApplication();
|
||||
|
||||
/**
|
||||
@brief Returns if the instance is the primary instance
|
||||
@returns {bool}
|
||||
*/
|
||||
bool isPrimary();
|
||||
|
||||
/**
|
||||
@brief Returns if the instance is a secondary instance
|
||||
@returns {bool}
|
||||
*/
|
||||
bool isSecondary();
|
||||
|
||||
/**
|
||||
@brief Returns a unique identifier for the current instance
|
||||
@returns {qint32}
|
||||
*/
|
||||
quint32 instanceId();
|
||||
|
||||
/**
|
||||
@brief Returns the process ID (PID) of the primary instance
|
||||
@returns {qint64}
|
||||
*/
|
||||
qint64 primaryPid();
|
||||
|
||||
/**
|
||||
@brief Sends a message to the primary instance. Returns true on success.
|
||||
@param {int} timeout - Timeout for connecting
|
||||
@returns {bool}
|
||||
@note sendMessage() will return false if invoked from the primary
|
||||
instance.
|
||||
*/
|
||||
bool sendMessage( QByteArray message, int timeout = 100 );
|
||||
|
||||
Q_SIGNALS:
|
||||
void instanceStarted();
|
||||
void receivedMessage( quint32 instanceId, QByteArray message );
|
||||
|
||||
private:
|
||||
SingleApplicationPrivate *d_ptr;
|
||||
Q_DECLARE_PRIVATE(SingleApplication)
|
||||
};
|
||||
|
||||
Q_DECLARE_OPERATORS_FOR_FLAGS(SingleApplication::Options)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
QT += core network
|
||||
CONFIG += c++11
|
||||
CONFIG += c++17
|
||||
|
||||
HEADERS += $$PWD/singleapplication.h \
|
||||
$$PWD/singleapplication_p.h
|
||||
|
||||
@@ -33,11 +33,8 @@
|
||||
#include <cstddef>
|
||||
|
||||
#include <QtCore/QDir>
|
||||
#include <QtCore/QProcess>
|
||||
#include <QtCore/QByteArray>
|
||||
#include <QtCore/QSemaphore>
|
||||
#include <QtCore/QDataStream>
|
||||
#include <QtCore/QStandardPaths>
|
||||
#include <QtCore/QCryptographicHash>
|
||||
#include <QtNetwork/QLocalServer>
|
||||
#include <QtNetwork/QLocalSocket>
|
||||
@@ -45,134 +42,140 @@
|
||||
#include "singleapplication.h"
|
||||
#include "singleapplication_p.h"
|
||||
|
||||
#ifdef Q_OS_UNIX
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <pwd.h>
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include <windows.h>
|
||||
#include <lmcons.h>
|
||||
#include <windows.h>
|
||||
#include <lmcons.h>
|
||||
#endif
|
||||
|
||||
SingleApplicationPrivate::SingleApplicationPrivate( SingleApplication *q_ptr )
|
||||
: q_ptr( q_ptr )
|
||||
: q_ptr( q_ptr )
|
||||
{
|
||||
server = nullptr;
|
||||
socket = nullptr;
|
||||
server = nullptr;
|
||||
socket = nullptr;
|
||||
memory = nullptr;
|
||||
instanceNumber = -1;
|
||||
}
|
||||
|
||||
SingleApplicationPrivate::~SingleApplicationPrivate()
|
||||
{
|
||||
if( socket != nullptr ) {
|
||||
socket->close();
|
||||
delete socket;
|
||||
}
|
||||
if( socket != nullptr ) {
|
||||
socket->close();
|
||||
delete socket;
|
||||
}
|
||||
|
||||
memory->lock();
|
||||
InstancesInfo* inst = static_cast<InstancesInfo*>(memory->data());
|
||||
if( server != nullptr ) {
|
||||
server->close();
|
||||
delete server;
|
||||
inst->primary = false;
|
||||
inst->primaryPid = -1;
|
||||
inst->checksum = blockChecksum();
|
||||
}
|
||||
memory->unlock();
|
||||
memory->lock();
|
||||
InstancesInfo* inst = static_cast<InstancesInfo*>(memory->data());
|
||||
if( server != nullptr ) {
|
||||
server->close();
|
||||
delete server;
|
||||
inst->primary = false;
|
||||
inst->primaryPid = -1;
|
||||
inst->checksum = blockChecksum();
|
||||
}
|
||||
memory->unlock();
|
||||
|
||||
delete memory;
|
||||
delete memory;
|
||||
}
|
||||
|
||||
void SingleApplicationPrivate::genBlockServerName()
|
||||
{
|
||||
QCryptographicHash appData( QCryptographicHash::Sha256 );
|
||||
appData.addData( "SingleApplication", 17 );
|
||||
appData.addData( SingleApplication::app_t::applicationName().toUtf8() );
|
||||
appData.addData( SingleApplication::app_t::organizationName().toUtf8() );
|
||||
appData.addData( SingleApplication::app_t::organizationDomain().toUtf8() );
|
||||
QCryptographicHash appData( QCryptographicHash::Sha256 );
|
||||
appData.addData( "SingleApplication", 17 );
|
||||
appData.addData( SingleApplication::app_t::applicationName().toUtf8() );
|
||||
appData.addData( SingleApplication::app_t::organizationName().toUtf8() );
|
||||
appData.addData( SingleApplication::app_t::organizationDomain().toUtf8() );
|
||||
|
||||
if( ! (options & SingleApplication::Mode::ExcludeAppVersion) ) {
|
||||
appData.addData( SingleApplication::app_t::applicationVersion().toUtf8() );
|
||||
}
|
||||
if( ! (options & SingleApplication::Mode::ExcludeAppVersion) ) {
|
||||
appData.addData( SingleApplication::app_t::applicationVersion().toUtf8() );
|
||||
}
|
||||
|
||||
if( ! (options & SingleApplication::Mode::ExcludeAppPath) ) {
|
||||
if( ! (options & SingleApplication::Mode::ExcludeAppPath) ) {
|
||||
#ifdef Q_OS_WIN
|
||||
appData.addData( SingleApplication::app_t::applicationFilePath().toLower().toUtf8() );
|
||||
appData.addData( SingleApplication::app_t::applicationFilePath().toLower().toUtf8() );
|
||||
#else
|
||||
appData.addData( SingleApplication::app_t::applicationFilePath().toUtf8() );
|
||||
appData.addData( SingleApplication::app_t::applicationFilePath().toUtf8() );
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
// User level block requires a user specific data in the hash
|
||||
if( options & SingleApplication::Mode::User ) {
|
||||
// User level block requires a user specific data in the hash
|
||||
if( options & SingleApplication::Mode::User ) {
|
||||
#ifdef Q_OS_WIN
|
||||
wchar_t username [ UNLEN + 1 ];
|
||||
// Specifies size of the buffer on input
|
||||
DWORD usernameLength = UNLEN + 1;
|
||||
if( GetUserNameW( username, &usernameLength ) ) {
|
||||
appData.addData( QString::fromWCharArray(username).toUtf8() );
|
||||
} else {
|
||||
appData.addData( QStandardPaths::standardLocations( QStandardPaths::HomeLocation ).join("").toUtf8() );
|
||||
}
|
||||
wchar_t username [ UNLEN + 1 ];
|
||||
// Specifies size of the buffer on input
|
||||
DWORD usernameLength = UNLEN + 1;
|
||||
if( GetUserNameW( username, &usernameLength ) ) {
|
||||
appData.addData( QString::fromWCharArray(username).toUtf8() );
|
||||
} else {
|
||||
appData.addData( qgetenv("USERNAME") );
|
||||
}
|
||||
#endif
|
||||
#ifdef Q_OS_UNIX
|
||||
QProcess process;
|
||||
process.start( "whoami" );
|
||||
if( process.waitForFinished( 100 ) &&
|
||||
process.exitCode() == QProcess::NormalExit) {
|
||||
appData.addData( process.readLine() );
|
||||
} else {
|
||||
appData.addData(
|
||||
QDir(
|
||||
QStandardPaths::standardLocations( QStandardPaths::HomeLocation ).first()
|
||||
).absolutePath().toUtf8()
|
||||
);
|
||||
}
|
||||
QByteArray username;
|
||||
uid_t uid = geteuid();
|
||||
struct passwd *pw = getpwuid(uid);
|
||||
if( pw ) {
|
||||
username = pw->pw_name;
|
||||
}
|
||||
if( username.isEmpty() ) {
|
||||
username = qgetenv("USER");
|
||||
}
|
||||
appData.addData(username);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
// Replace the backslash in RFC 2045 Base64 [a-zA-Z0-9+/=] to comply with
|
||||
// server naming requirements.
|
||||
blockServerName = appData.result().toBase64().replace("/", "_");
|
||||
// Replace the backslash in RFC 2045 Base64 [a-zA-Z0-9+/=] to comply with
|
||||
// server naming requirements.
|
||||
blockServerName = appData.result().toBase64().replace("/", "_");
|
||||
}
|
||||
|
||||
void SingleApplicationPrivate::initializeMemoryBlock()
|
||||
{
|
||||
InstancesInfo* inst = static_cast<InstancesInfo*>( memory->data() );
|
||||
inst->primary = false;
|
||||
inst->secondary = 0;
|
||||
inst->primaryPid = -1;
|
||||
inst->checksum = blockChecksum();
|
||||
InstancesInfo* inst = static_cast<InstancesInfo*>( memory->data() );
|
||||
inst->primary = false;
|
||||
inst->secondary = 0;
|
||||
inst->primaryPid = -1;
|
||||
inst->checksum = blockChecksum();
|
||||
}
|
||||
|
||||
void SingleApplicationPrivate::startPrimary()
|
||||
{
|
||||
Q_Q(SingleApplication);
|
||||
Q_Q(SingleApplication);
|
||||
|
||||
// Successful creation means that no main process exists
|
||||
// So we start a QLocalServer to listen for connections
|
||||
QLocalServer::removeServer( blockServerName );
|
||||
server = new QLocalServer();
|
||||
// Successful creation means that no main process exists
|
||||
// So we start a QLocalServer to listen for connections
|
||||
QLocalServer::removeServer( blockServerName );
|
||||
server = new QLocalServer();
|
||||
|
||||
// Restrict access to the socket according to the
|
||||
// SingleApplication::Mode::User flag on User level or no restrictions
|
||||
if( options & SingleApplication::Mode::User ) {
|
||||
server->setSocketOptions( QLocalServer::UserAccessOption );
|
||||
} else {
|
||||
server->setSocketOptions( QLocalServer::WorldAccessOption );
|
||||
}
|
||||
// Restrict access to the socket according to the
|
||||
// SingleApplication::Mode::User flag on User level or no restrictions
|
||||
if( options & SingleApplication::Mode::User ) {
|
||||
server->setSocketOptions( QLocalServer::UserAccessOption );
|
||||
} else {
|
||||
server->setSocketOptions( QLocalServer::WorldAccessOption );
|
||||
}
|
||||
|
||||
server->listen( blockServerName );
|
||||
QObject::connect(
|
||||
server,
|
||||
&QLocalServer::newConnection,
|
||||
this,
|
||||
&SingleApplicationPrivate::slotConnectionEstablished
|
||||
);
|
||||
server->listen( blockServerName );
|
||||
QObject::connect(
|
||||
server,
|
||||
&QLocalServer::newConnection,
|
||||
this,
|
||||
&SingleApplicationPrivate::slotConnectionEstablished
|
||||
);
|
||||
|
||||
// Reset the number of connections
|
||||
InstancesInfo* inst = static_cast <InstancesInfo*>( memory->data() );
|
||||
// Reset the number of connections
|
||||
InstancesInfo* inst = static_cast <InstancesInfo*>( memory->data() );
|
||||
|
||||
inst->primary = true;
|
||||
inst->primaryPid = q->applicationPid();
|
||||
inst->checksum = blockChecksum();
|
||||
inst->primary = true;
|
||||
inst->primaryPid = q->applicationPid();
|
||||
inst->checksum = blockChecksum();
|
||||
|
||||
instanceNumber = 0;
|
||||
instanceNumber = 0;
|
||||
}
|
||||
|
||||
void SingleApplicationPrivate::startSecondary()
|
||||
@@ -181,223 +184,261 @@ void SingleApplicationPrivate::startSecondary()
|
||||
|
||||
void SingleApplicationPrivate::connectToPrimary( int msecs, ConnectionType connectionType )
|
||||
{
|
||||
// Connect to the Local Server of the Primary Instance if not already
|
||||
// connected.
|
||||
if( socket == nullptr ) {
|
||||
socket = new QLocalSocket();
|
||||
}
|
||||
// Connect to the Local Server of the Primary Instance if not already
|
||||
// connected.
|
||||
if( socket == nullptr ) {
|
||||
socket = new QLocalSocket();
|
||||
}
|
||||
|
||||
// If already connected - we are done;
|
||||
if( socket->state() == QLocalSocket::ConnectedState )
|
||||
return;
|
||||
// If already connected - we are done;
|
||||
if( socket->state() == QLocalSocket::ConnectedState )
|
||||
return;
|
||||
|
||||
// If not connect
|
||||
if( socket->state() == QLocalSocket::UnconnectedState ||
|
||||
socket->state() == QLocalSocket::ClosingState ) {
|
||||
socket->connectToServer( blockServerName );
|
||||
}
|
||||
// If not connect
|
||||
if( socket->state() == QLocalSocket::UnconnectedState ||
|
||||
socket->state() == QLocalSocket::ClosingState ) {
|
||||
socket->connectToServer( blockServerName );
|
||||
}
|
||||
|
||||
// Wait for being connected
|
||||
if( socket->state() == QLocalSocket::ConnectingState ) {
|
||||
socket->waitForConnected( msecs );
|
||||
}
|
||||
// Wait for being connected
|
||||
if( socket->state() == QLocalSocket::ConnectingState ) {
|
||||
socket->waitForConnected( msecs );
|
||||
}
|
||||
|
||||
// Initialisation message according to the SingleApplication protocol
|
||||
if( socket->state() == QLocalSocket::ConnectedState ) {
|
||||
// Notify the parent that a new instance had been started;
|
||||
QByteArray initMsg;
|
||||
QDataStream writeStream(&initMsg, QIODevice::WriteOnly);
|
||||
// Initialisation message according to the SingleApplication protocol
|
||||
if( socket->state() == QLocalSocket::ConnectedState ) {
|
||||
// Notify the parent that a new instance had been started;
|
||||
QByteArray initMsg;
|
||||
QDataStream writeStream(&initMsg, QIODevice::WriteOnly);
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
|
||||
writeStream.setVersion(QDataStream::Qt_5_6);
|
||||
writeStream.setVersion(QDataStream::Qt_5_6);
|
||||
#endif
|
||||
|
||||
writeStream << blockServerName.toLatin1();
|
||||
writeStream << static_cast<quint8>(connectionType);
|
||||
writeStream << instanceNumber;
|
||||
quint16 checksum = qChecksum(initMsg.constData(), static_cast<quint32>(initMsg.length()));
|
||||
writeStream << checksum;
|
||||
writeStream << blockServerName.toLatin1();
|
||||
writeStream << static_cast<quint8>(connectionType);
|
||||
writeStream << instanceNumber;
|
||||
|
||||
// The header indicates the message length that follows
|
||||
QByteArray header;
|
||||
QDataStream headerStream(&header, QIODevice::WriteOnly);
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) // ### Qt 6: remove
|
||||
quint16 checksum =
|
||||
qChecksum(
|
||||
initMsg.constData(),
|
||||
static_cast<quint32>(initMsg.length()));
|
||||
#else
|
||||
#if TODO_LIST
|
||||
#pragma message("@TODO remove code for QT 6 or later")
|
||||
#endif
|
||||
quint16 checksum =
|
||||
qChecksum(
|
||||
QByteArrayView(
|
||||
initMsg.constData(),
|
||||
static_cast<quint32>(initMsg.length())));
|
||||
#endif
|
||||
writeStream << checksum;
|
||||
|
||||
// The header indicates the message length that follows
|
||||
QByteArray header;
|
||||
QDataStream headerStream(&header, QIODevice::WriteOnly);
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
|
||||
headerStream.setVersion(QDataStream::Qt_5_6);
|
||||
headerStream.setVersion(QDataStream::Qt_5_6);
|
||||
#endif
|
||||
headerStream << static_cast <quint64>( initMsg.length() );
|
||||
headerStream << static_cast <quint64>( initMsg.length() );
|
||||
|
||||
socket->write( header );
|
||||
socket->write( initMsg );
|
||||
socket->flush();
|
||||
socket->waitForBytesWritten( msecs );
|
||||
}
|
||||
socket->write( header );
|
||||
socket->write( initMsg );
|
||||
socket->flush();
|
||||
socket->waitForBytesWritten( msecs );
|
||||
}
|
||||
}
|
||||
|
||||
quint16 SingleApplicationPrivate::blockChecksum()
|
||||
{
|
||||
return qChecksum(
|
||||
static_cast <const char *>( memory->data() ),
|
||||
offsetof( InstancesInfo, checksum )
|
||||
);
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) // ### Qt 6: remove
|
||||
return qChecksum(
|
||||
static_cast <const char *>( memory->data() ),
|
||||
offsetof( InstancesInfo, checksum )
|
||||
);
|
||||
#else
|
||||
#if TODO_LIST
|
||||
#pragma message("@TODO remove code for QT 6 or later")
|
||||
#endif
|
||||
return qChecksum(
|
||||
QByteArrayView(
|
||||
static_cast <const char *>( memory->data() ),
|
||||
offsetof( InstancesInfo, checksum )));
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
qint64 SingleApplicationPrivate::primaryPid()
|
||||
{
|
||||
qint64 pid;
|
||||
qint64 pid;
|
||||
|
||||
memory->lock();
|
||||
InstancesInfo* inst = static_cast<InstancesInfo*>( memory->data() );
|
||||
pid = inst->primaryPid;
|
||||
memory->unlock();
|
||||
memory->lock();
|
||||
InstancesInfo* inst = static_cast<InstancesInfo*>( memory->data() );
|
||||
pid = inst->primaryPid;
|
||||
memory->unlock();
|
||||
|
||||
return pid;
|
||||
return pid;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Executed when a connection has been made to the LocalServer
|
||||
*/
|
||||
@brief Executed when a connection has been made to the LocalServer
|
||||
*/
|
||||
void SingleApplicationPrivate::slotConnectionEstablished()
|
||||
{
|
||||
QLocalSocket *nextConnSocket = server->nextPendingConnection();
|
||||
connectionMap.insert(nextConnSocket, ConnectionInfo());
|
||||
QLocalSocket *nextConnSocket = server->nextPendingConnection();
|
||||
connectionMap.insert(nextConnSocket, ConnectionInfo());
|
||||
|
||||
QObject::connect(nextConnSocket, &QLocalSocket::aboutToClose,
|
||||
[nextConnSocket, this]() {
|
||||
auto &info = connectionMap[nextConnSocket];
|
||||
Q_EMIT this->slotClientConnectionClosed( nextConnSocket, info.instanceId );
|
||||
}
|
||||
);
|
||||
QObject::connect(nextConnSocket, &QLocalSocket::aboutToClose,
|
||||
[nextConnSocket, this]() {
|
||||
auto &info = connectionMap[nextConnSocket];
|
||||
Q_EMIT this->slotClientConnectionClosed( nextConnSocket, info.instanceId );
|
||||
}
|
||||
);
|
||||
|
||||
QObject::connect(nextConnSocket, &QLocalSocket::disconnected,
|
||||
[nextConnSocket, this](){
|
||||
connectionMap.remove(nextConnSocket);
|
||||
nextConnSocket->deleteLater();
|
||||
}
|
||||
);
|
||||
QObject::connect(nextConnSocket, &QLocalSocket::disconnected,
|
||||
[nextConnSocket, this](){
|
||||
connectionMap.remove(nextConnSocket);
|
||||
nextConnSocket->deleteLater();
|
||||
}
|
||||
);
|
||||
|
||||
QObject::connect(nextConnSocket, &QLocalSocket::readyRead,
|
||||
[nextConnSocket, this]() {
|
||||
auto &info = connectionMap[nextConnSocket];
|
||||
switch(info.stage) {
|
||||
case StageHeader:
|
||||
readInitMessageHeader(nextConnSocket);
|
||||
break;
|
||||
case StageBody:
|
||||
readInitMessageBody(nextConnSocket);
|
||||
break;
|
||||
case StageConnected:
|
||||
Q_EMIT this->slotDataAvailable( nextConnSocket, info.instanceId );
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
}
|
||||
);
|
||||
QObject::connect(nextConnSocket, &QLocalSocket::readyRead,
|
||||
[nextConnSocket, this]() {
|
||||
auto &info = connectionMap[nextConnSocket];
|
||||
switch(info.stage) {
|
||||
case StageHeader:
|
||||
readInitMessageHeader(nextConnSocket);
|
||||
break;
|
||||
case StageBody:
|
||||
readInitMessageBody(nextConnSocket);
|
||||
break;
|
||||
case StageConnected:
|
||||
Q_EMIT this->slotDataAvailable( nextConnSocket, info.instanceId );
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
void SingleApplicationPrivate::readInitMessageHeader( QLocalSocket *sock )
|
||||
{
|
||||
if (!connectionMap.contains( sock )) {
|
||||
return;
|
||||
}
|
||||
if (!connectionMap.contains( sock )) {
|
||||
return;
|
||||
}
|
||||
|
||||
if( sock->bytesAvailable() < ( qint64 )sizeof( quint64 ) ) {
|
||||
return;
|
||||
}
|
||||
if( sock->bytesAvailable() < ( qint64 )sizeof( quint64 ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
QDataStream headerStream( sock );
|
||||
QDataStream headerStream( sock );
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
|
||||
headerStream.setVersion( QDataStream::Qt_5_6 );
|
||||
headerStream.setVersion( QDataStream::Qt_5_6 );
|
||||
#endif
|
||||
|
||||
// Read the header to know the message length
|
||||
quint64 msgLen = 0;
|
||||
headerStream >> msgLen;
|
||||
ConnectionInfo &info = connectionMap[sock];
|
||||
info.stage = StageBody;
|
||||
info.msgLen = msgLen;
|
||||
// Read the header to know the message length
|
||||
quint64 msgLen = 0;
|
||||
headerStream >> msgLen;
|
||||
ConnectionInfo &info = connectionMap[sock];
|
||||
info.stage = StageBody;
|
||||
info.msgLen = msgLen;
|
||||
|
||||
if ( sock->bytesAvailable() >= (qint64) msgLen ) {
|
||||
readInitMessageBody( sock );
|
||||
}
|
||||
if ( sock->bytesAvailable() >= (qint64) msgLen ) {
|
||||
readInitMessageBody( sock );
|
||||
}
|
||||
}
|
||||
|
||||
void SingleApplicationPrivate::readInitMessageBody( QLocalSocket *sock )
|
||||
{
|
||||
Q_Q(SingleApplication);
|
||||
Q_Q(SingleApplication);
|
||||
|
||||
if (!connectionMap.contains( sock )) {
|
||||
return;
|
||||
}
|
||||
if (!connectionMap.contains( sock )) {
|
||||
return;
|
||||
}
|
||||
|
||||
ConnectionInfo &info = connectionMap[sock];
|
||||
if( sock->bytesAvailable() < ( qint64 )info.msgLen ) {
|
||||
return;
|
||||
}
|
||||
ConnectionInfo &info = connectionMap[sock];
|
||||
if( sock->bytesAvailable() < ( qint64 )info.msgLen ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Read the message body
|
||||
QByteArray msgBytes = sock->read(info.msgLen);
|
||||
QDataStream readStream(msgBytes);
|
||||
// Read the message body
|
||||
QByteArray msgBytes = sock->read(info.msgLen);
|
||||
QDataStream readStream(msgBytes);
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
|
||||
readStream.setVersion( QDataStream::Qt_5_6 );
|
||||
readStream.setVersion( QDataStream::Qt_5_6 );
|
||||
#endif
|
||||
|
||||
// server name
|
||||
QByteArray latin1Name;
|
||||
readStream >> latin1Name;
|
||||
// server name
|
||||
QByteArray latin1Name;
|
||||
readStream >> latin1Name;
|
||||
|
||||
// connection type
|
||||
ConnectionType connectionType = InvalidConnection;
|
||||
quint8 connTypeVal = InvalidConnection;
|
||||
readStream >> connTypeVal;
|
||||
connectionType = static_cast <ConnectionType>( connTypeVal );
|
||||
// connection type
|
||||
ConnectionType connectionType = InvalidConnection;
|
||||
quint8 connTypeVal = InvalidConnection;
|
||||
readStream >> connTypeVal;
|
||||
connectionType = static_cast <ConnectionType>( connTypeVal );
|
||||
|
||||
// instance id
|
||||
quint32 instanceId = 0;
|
||||
readStream >> instanceId;
|
||||
// instance id
|
||||
quint32 instanceId = 0;
|
||||
readStream >> instanceId;
|
||||
|
||||
// checksum
|
||||
quint16 msgChecksum = 0;
|
||||
readStream >> msgChecksum;
|
||||
// checksum
|
||||
quint16 msgChecksum = 0;
|
||||
readStream >> msgChecksum;
|
||||
|
||||
const quint16 actualChecksum = qChecksum( msgBytes.constData(), static_cast<quint32>( msgBytes.length() - sizeof( quint16 ) ) );
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) // ### Qt 6: remove
|
||||
const quint16 actualChecksum =
|
||||
qChecksum(
|
||||
msgBytes.constData(),
|
||||
static_cast<quint32>( msgBytes.length() - sizeof( quint16 ) ) );
|
||||
#else
|
||||
#if TODO_LIST
|
||||
#pragma message("@TODO remove code for QT 6 or later")
|
||||
#endif
|
||||
const quint16 actualChecksum =
|
||||
qChecksum(
|
||||
QByteArrayView(
|
||||
msgBytes.constData(),
|
||||
static_cast<quint32>(msgBytes.length() - sizeof(quint16))));
|
||||
#endif
|
||||
bool isValid = readStream.status() == QDataStream::Ok &&
|
||||
QLatin1String(latin1Name) == blockServerName &&
|
||||
msgChecksum == actualChecksum;
|
||||
|
||||
bool isValid = readStream.status() == QDataStream::Ok &&
|
||||
QLatin1String(latin1Name) == blockServerName &&
|
||||
msgChecksum == actualChecksum;
|
||||
if( !isValid ) {
|
||||
sock->close();
|
||||
return;
|
||||
}
|
||||
|
||||
if( !isValid ) {
|
||||
sock->close();
|
||||
return;
|
||||
}
|
||||
info.instanceId = instanceId;
|
||||
info.stage = StageConnected;
|
||||
|
||||
info.instanceId = instanceId;
|
||||
info.stage = StageConnected;
|
||||
if( connectionType == NewInstance ||
|
||||
( connectionType == SecondaryInstance &&
|
||||
options & SingleApplication::Mode::SecondaryNotification ) )
|
||||
{
|
||||
Q_EMIT q->instanceStarted();
|
||||
}
|
||||
|
||||
if( connectionType == NewInstance ||
|
||||
( connectionType == SecondaryInstance &&
|
||||
options & SingleApplication::Mode::SecondaryNotification ) )
|
||||
{
|
||||
Q_EMIT q->instanceStarted();
|
||||
}
|
||||
|
||||
if (sock->bytesAvailable() > 0) {
|
||||
//This line crash
|
||||
//Q_EMIT this->slotDataAvailable( sock, instanceId );
|
||||
}
|
||||
if (sock->bytesAvailable() > 0) {
|
||||
Q_EMIT this->slotDataAvailable( sock, instanceId );
|
||||
}
|
||||
}
|
||||
|
||||
void SingleApplicationPrivate::slotDataAvailable( QLocalSocket *dataSocket, quint32 instanceId )
|
||||
{
|
||||
Q_Q(SingleApplication);
|
||||
Q_EMIT q->receivedMessage( instanceId, dataSocket->readAll() );
|
||||
Q_Q(SingleApplication);
|
||||
Q_EMIT q->receivedMessage( instanceId, dataSocket->readAll() );
|
||||
}
|
||||
|
||||
void SingleApplicationPrivate::slotClientConnectionClosed( QLocalSocket *closedSocket, quint32 instanceId )
|
||||
{
|
||||
if( closedSocket->bytesAvailable() > 0 )
|
||||
Q_EMIT slotDataAvailable( closedSocket, instanceId );
|
||||
if( closedSocket->bytesAvailable() > 0 )
|
||||
Q_EMIT slotDataAvailable( closedSocket, instanceId );
|
||||
}
|
||||
|
||||
@@ -38,62 +38,62 @@
|
||||
#include "singleapplication.h"
|
||||
|
||||
struct InstancesInfo {
|
||||
bool primary;
|
||||
quint32 secondary;
|
||||
qint64 primaryPid;
|
||||
quint16 checksum;
|
||||
bool primary;
|
||||
quint32 secondary;
|
||||
qint64 primaryPid;
|
||||
quint16 checksum;
|
||||
};
|
||||
|
||||
struct ConnectionInfo {
|
||||
explicit ConnectionInfo() :
|
||||
msgLen(0), instanceId(0), stage(0) {}
|
||||
qint64 msgLen;
|
||||
quint32 instanceId;
|
||||
quint8 stage;
|
||||
explicit ConnectionInfo() :
|
||||
msgLen(0), instanceId(0), stage(0) {}
|
||||
qint64 msgLen;
|
||||
quint32 instanceId;
|
||||
quint8 stage;
|
||||
};
|
||||
|
||||
class SingleApplicationPrivate : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
enum ConnectionType : quint8 {
|
||||
InvalidConnection = 0,
|
||||
NewInstance = 1,
|
||||
SecondaryInstance = 2,
|
||||
Reconnect = 3
|
||||
};
|
||||
enum ConnectionStage : quint8 {
|
||||
StageHeader = 0,
|
||||
StageBody = 1,
|
||||
StageConnected = 2,
|
||||
};
|
||||
Q_DECLARE_PUBLIC(SingleApplication)
|
||||
|
||||
SingleApplicationPrivate( SingleApplication *q_ptr );
|
||||
~SingleApplicationPrivate();
|
||||
|
||||
void genBlockServerName();
|
||||
void initializeMemoryBlock();
|
||||
void startPrimary();
|
||||
void startSecondary();
|
||||
void connectToPrimary(int msecs, ConnectionType connectionType );
|
||||
quint16 blockChecksum();
|
||||
qint64 primaryPid();
|
||||
void readInitMessageHeader(QLocalSocket *socket);
|
||||
void readInitMessageBody(QLocalSocket *socket);
|
||||
|
||||
SingleApplication *q_ptr;
|
||||
QSharedMemory *memory;
|
||||
QLocalSocket *socket;
|
||||
QLocalServer *server;
|
||||
quint32 instanceNumber;
|
||||
QString blockServerName;
|
||||
SingleApplication::Options options;
|
||||
QMap<QLocalSocket*, ConnectionInfo> connectionMap;
|
||||
|
||||
public Q_SLOTS:
|
||||
void slotConnectionEstablished();
|
||||
void slotDataAvailable( QLocalSocket*, quint32 );
|
||||
void slotClientConnectionClosed( QLocalSocket*, quint32 );
|
||||
Q_OBJECT
|
||||
public:
|
||||
enum ConnectionType : quint8 {
|
||||
InvalidConnection = 0,
|
||||
NewInstance = 1,
|
||||
SecondaryInstance = 2,
|
||||
Reconnect = 3
|
||||
};
|
||||
enum ConnectionStage : quint8 {
|
||||
StageHeader = 0,
|
||||
StageBody = 1,
|
||||
StageConnected = 2,
|
||||
};
|
||||
Q_DECLARE_PUBLIC(SingleApplication)
|
||||
|
||||
SingleApplicationPrivate( SingleApplication *q_ptr );
|
||||
~SingleApplicationPrivate();
|
||||
|
||||
void genBlockServerName();
|
||||
void initializeMemoryBlock();
|
||||
void startPrimary();
|
||||
void startSecondary();
|
||||
void connectToPrimary(int msecs, ConnectionType connectionType );
|
||||
quint16 blockChecksum();
|
||||
qint64 primaryPid();
|
||||
void readInitMessageHeader(QLocalSocket *socket);
|
||||
void readInitMessageBody(QLocalSocket *socket);
|
||||
|
||||
SingleApplication *q_ptr;
|
||||
QSharedMemory *memory;
|
||||
QLocalSocket *socket;
|
||||
QLocalServer *server;
|
||||
quint32 instanceNumber;
|
||||
QString blockServerName;
|
||||
SingleApplication::Options options;
|
||||
QMap<QLocalSocket*, ConnectionInfo> connectionMap;
|
||||
|
||||
public Q_SLOTS:
|
||||
void slotConnectionEstablished();
|
||||
void slotDataAvailable( QLocalSocket*, quint32 );
|
||||
void slotClientConnectionClosed( QLocalSocket*, quint32 );
|
||||
};
|
||||
|
||||
#endif // SINGLEAPPLICATION_P_H
|
||||
|
||||
37
build-aux/flatpak/org.qelectrotech.QElectroTech.json
Normal file
37
build-aux/flatpak/org.qelectrotech.QElectroTech.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"id": "org.qelectrotech.QElectroTech",
|
||||
"runtime": "org.kde.Platform",
|
||||
"runtime-version": "5.14",
|
||||
"sdk": "org.kde.Sdk",
|
||||
"command": "qelectrotech",
|
||||
"rename-desktop-file": "qelectrotech.desktop",
|
||||
"rename-appdata-file": "qelectrotech.appdata.xml",
|
||||
"rename-icon": "qelectrotech",
|
||||
"copy-icon": true,
|
||||
"finish-args": [
|
||||
"--socket=wayland",
|
||||
"--socket=x11",
|
||||
"--device=dri",
|
||||
"--share=ipc",
|
||||
"--filesystem=host"
|
||||
],
|
||||
"modules": [
|
||||
{
|
||||
"name": "qelectrotech",
|
||||
"buildsystem": "qmake",
|
||||
"post-install": [
|
||||
"mv /app/share/mime/packages/qelectrotech.xml /app/share/mime/packages/org.qelectrotech.QElectroTech.xml"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "dir",
|
||||
"path": "../.."
|
||||
},
|
||||
{
|
||||
"type": "patch",
|
||||
"path": "patches/0001-build-Fix-the-installation-paths.patch"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
From 2a390b5188fe070295090b1bd37273d12963b371 Mon Sep 17 00:00:00 2001
|
||||
From: Laurent Trinques <scorpio@qelectrotech.org>
|
||||
Date: Sat, 26 Sep 2020 22:52:52 +0200
|
||||
Subject: [PATCH] build: Fix the installation paths
|
||||
|
||||
---
|
||||
qelectrotech.pro | 14 +++++++-------
|
||||
1 file changed, 7 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/qelectrotech.pro b/qelectrotech.pro
|
||||
index 2901a30d5..1019a9870 100644
|
||||
--- a/qelectrotech.pro
|
||||
+++ b/qelectrotech.pro
|
||||
@@ -5,20 +5,20 @@
|
||||
# Chemins utilises pour la compilation et l'installation de QET
|
||||
unix {
|
||||
# Chemins UNIX
|
||||
- COMPIL_PREFIX = '/usr/local/'
|
||||
- INSTALL_PREFIX = '/usr/local/'
|
||||
+ COMPIL_PREFIX = '/app/'
|
||||
+ INSTALL_PREFIX = '/app/'
|
||||
QET_BINARY_PATH = 'bin/'
|
||||
QET_COMMON_COLLECTION_PATH = 'share/qelectrotech/elements/'
|
||||
QET_COMMON_TBT_PATH = 'share/qelectrotech/titleblocks/'
|
||||
QET_LANG_PATH = 'share/qelectrotech/lang/'
|
||||
QET_EXAMPLES_PATH = 'share/qelectrotech/examples/'
|
||||
- QET_LICENSE_PATH = 'doc/qelectrotech/'
|
||||
- QET_MIME_XML_PATH = '../share/mime/application/'
|
||||
- QET_MIME_DESKTOP_PATH = '../share/mimelnk/application/'
|
||||
- QET_MIME_PACKAGE_PATH = '../share/mime/packages/'
|
||||
+ QET_LICENSE_PATH = 'share/doc/qelectrotech/'
|
||||
+ QET_MIME_XML_PATH = 'share/mime/application/'
|
||||
+ QET_MIME_DESKTOP_PATH = 'share/mimelnk/application/'
|
||||
+ QET_MIME_PACKAGE_PATH = 'share/mime/packages/'
|
||||
QET_DESKTOP_PATH = 'share/applications/'
|
||||
QET_ICONS_PATH = 'share/icons/hicolor/'
|
||||
- QET_MAN_PATH = 'man/'
|
||||
+ QET_MAN_PATH = 'share/man/'
|
||||
QET_APPDATA_PATH = 'share/appdata'
|
||||
}
|
||||
win32 {
|
||||
--
|
||||
2.28.0
|
||||
|
||||
@@ -36,3 +36,6 @@ Elementen collectie voor QElectroTech.
|
||||
|
||||
[da]
|
||||
Symbol samling for QElectroTech.
|
||||
|
||||
[ja]
|
||||
QElectroTech の要素コレクション。
|
||||
34
build-aux/snap/local/launchers/qelectrotech-launch
Executable file
34
build-aux/snap/local/launchers/qelectrotech-launch
Executable file
@@ -0,0 +1,34 @@
|
||||
#!/bin/sh
|
||||
|
||||
# a KDE session forces the KDE Plasma platformtheme which is incompatible with QET
|
||||
# unset the ENV vars in that case to prevent loading of the theme
|
||||
if [ ! -z "$KDE_FULL_SESSION" ]; then
|
||||
unset KDE_FULL_SESSION
|
||||
fi
|
||||
|
||||
if echo "$XDG_CURRENT_DESKTOP" | grep -q KDE; then
|
||||
unset XDG_CURRENT_DESKTOP
|
||||
fi
|
||||
|
||||
# migrate .qet directory from SNAP_USER_DATA to SNAP_USER_COMMON
|
||||
from="$SNAP_USER_DATA/.qet"
|
||||
to="$SNAP_USER_COMMON/.qet"
|
||||
if [ ! -d "$to" ] && [ -d "$from" ]; then
|
||||
echo "Migrating user data from $from to $to"
|
||||
mkdir "$to"
|
||||
cp -av "$from/." "$to"
|
||||
fi
|
||||
|
||||
# link DXFtoQET so that QET finds it
|
||||
mkdir -p "$HOME/.qet"
|
||||
ln -snf "$SNAP/bin/DXFtoQET" "$HOME/.qet/DXFtoQET"
|
||||
|
||||
# start desktop portal. Open & save dialogs might fail if it is not running
|
||||
dbus-send --print-reply \
|
||||
--dest=org.freedesktop.DBus \
|
||||
/org/freedesktop/DBus \
|
||||
org.freedesktop.DBus.StartServiceByName \
|
||||
string:org.freedesktop.portal.Desktop \
|
||||
uint32:0
|
||||
|
||||
exec "${@}"
|
||||
124
build-aux/snap/snapcraft.yaml
Normal file
124
build-aux/snap/snapcraft.yaml
Normal file
@@ -0,0 +1,124 @@
|
||||
name: qelectrotech
|
||||
title: QElectroTech
|
||||
base: core18
|
||||
adopt-info: qelectrotech
|
||||
license: GPL-2.0
|
||||
summary: Electrical diagram editor
|
||||
description: |
|
||||
QElectroTech, or QET in short, is a libre and open source desktop application
|
||||
to create diagrams and schematics.
|
||||
|
||||
grade: stable
|
||||
confinement: strict
|
||||
|
||||
architectures:
|
||||
- build-on: amd64
|
||||
run-on: amd64
|
||||
|
||||
layout:
|
||||
/usr/local/share/qelectrotech:
|
||||
symlink: $SNAP/usr/local/share/qelectrotech
|
||||
/usr/share/libdrm/amdgpu.ids:
|
||||
symlink: $SNAP/kf5/usr/share/libdrm/amdgpu.ids
|
||||
|
||||
apps:
|
||||
qelectrotech:
|
||||
command: usr/local/bin/qelectrotech
|
||||
command-chain:
|
||||
- bin/qelectrotech-launch
|
||||
desktop: usr/local/share/applications/qelectrotech.desktop
|
||||
extensions: [kde-neon]
|
||||
plugs: &plugs [opengl, unity7, home, removable-media, gsettings, network, cups-control]
|
||||
environment: &env
|
||||
__EGL_VENDOR_LIBRARY_DIRS: $SNAP/kf5/usr/share/glvnd/egl_vendor.d:$SNAP/usr/share/glvnd/egl_vendor.d
|
||||
TCL_LIBRARY: $SNAP/usr/share/tcltk/tcl8.6
|
||||
QT_QPA_PLATFORMTHEME: gtk3
|
||||
QT_AUTO_SCREEN_SCALE_FACTOR: 1
|
||||
HOME: $SNAP_USER_COMMON
|
||||
PYTHONPATH: $SNAP:$SNAP/lib/python3.6/site-packages:$SNAP/usr/lib/python3.6:$SNAP/usr/lib/python3.6/lib-dynload
|
||||
|
||||
qet-tb-generator:
|
||||
command: bin/qelectrotech-launch $SNAP/bin/qet_tb_generator
|
||||
extensions: [kde-neon]
|
||||
plugs: *plugs
|
||||
environment: *env
|
||||
|
||||
dxf-to-qet:
|
||||
command: bin/DXFtoQET
|
||||
extensions: [kde-neon]
|
||||
plugs: *plugs
|
||||
environment: *env
|
||||
|
||||
parts:
|
||||
launchers:
|
||||
plugin: dump
|
||||
source: build-aux/snap/local/launchers
|
||||
organize:
|
||||
'*': bin/
|
||||
|
||||
qet-tb-generator:
|
||||
plugin: python
|
||||
python-version: python3
|
||||
source: https://github.com/qelectrotech/qet_tb_generator.git
|
||||
stage-packages:
|
||||
- python3-lxml
|
||||
- python3-tk
|
||||
- libtk8.6
|
||||
|
||||
kde-sdk-setup:
|
||||
plugin: nil
|
||||
build-snaps:
|
||||
- kde-frameworks-5-core18-sdk
|
||||
build-packages:
|
||||
- g++
|
||||
- mesa-common-dev
|
||||
- libglvnd-dev
|
||||
- rsync
|
||||
override-build: |
|
||||
rsync -a --ignore-existing /snap/kde-frameworks-5-core18-sdk/current/ /
|
||||
|
||||
dxf-to-qet:
|
||||
after: [kde-sdk-setup]
|
||||
plugin: nil
|
||||
source: https://github.com/qelectrotech/DXFtoQET-2020.git
|
||||
override-build: |
|
||||
qmake "$SNAPCRAFT_PART_SRC/DXFtoQET.pro"
|
||||
make -j$(nproc)
|
||||
mkdir -p "$SNAPCRAFT_PART_INSTALL/bin"
|
||||
cp DXFtoQET "$SNAPCRAFT_PART_INSTALL/bin/"
|
||||
|
||||
qelectrotech:
|
||||
after: [kde-sdk-setup]
|
||||
plugin: nil
|
||||
source: .
|
||||
stage-packages: [ git, sqlite3 ]
|
||||
build-packages:
|
||||
- git
|
||||
- libsqlite3-dev
|
||||
override-pull: |
|
||||
snapcraftctl pull
|
||||
snap_version=$(git describe --dirty)
|
||||
modified_displayed_version=$snap_version".snap"
|
||||
sed -i -E "s|const QString displayedVersion =.*|const QString displayedVersion =\"$modified_displayed_version\";|" sources/qet.h
|
||||
snapcraftctl set-version "$snap_version"
|
||||
override-build: |
|
||||
qmake "$SNAPCRAFT_PART_SRC/qelectrotech.pro"
|
||||
make -j$(nproc)
|
||||
make install INSTALL_ROOT="$SNAPCRAFT_PART_INSTALL"
|
||||
override-stage: |
|
||||
snapcraftctl stage
|
||||
# patch desktop file with correct icon path
|
||||
SED_CMD="sed -i -E s|^Icon=(.*)|Icon=\${SNAP}/usr/local/share/icons/hicolor/128x128/apps/\1.png|g"
|
||||
$SED_CMD usr/local/share/applications/qelectrotech.desktop
|
||||
|
||||
cleanup:
|
||||
after: [qelectrotech, dxf-to-qet, qet-tb-generator]
|
||||
plugin: nil
|
||||
build-snaps: [core18, kde-frameworks-5-core18]
|
||||
override-prime: |
|
||||
# Remove all files from snap that are already included in the base snap or in
|
||||
# any connected content snaps
|
||||
set -eux
|
||||
for snap in "core18" "kde-frameworks-5-core18"; do # List all content-snaps and base snaps you're using here
|
||||
cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$SNAPCRAFT_PRIME/{}" \;
|
||||
done
|
||||
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 151 KiB After Width: | Height: | Size: 151 KiB |
|
Before Width: | Height: | Size: 151 KiB After Width: | Height: | Size: 151 KiB |
34
cmake/copyright_message.cmake
Normal file
34
cmake/copyright_message.cmake
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 2006 The QElectroTech Team
|
||||
# This file is part of QElectroTech.
|
||||
#
|
||||
# QElectroTech is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# QElectroTech is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
message(
|
||||
"_____________________________________________________________________"
|
||||
"\nCopyright 2006 The QElectroTech Team"
|
||||
"\nThis file is part of QElectroTech."
|
||||
|
||||
"\n\nQElectroTech is free software: you can redistribute it and/or modify"
|
||||
"\nit under the terms of the GNU General Public License as published by"
|
||||
"\nthe Free Software Foundation, either version 2 of the License, or"
|
||||
"\n(at your option) any later version."
|
||||
|
||||
"\nQElectroTech is distributed in the hope that it will be useful,"
|
||||
"\nbut WITHOUT ANY WARRANTY; without even the implied warranty of"
|
||||
"\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the"
|
||||
"\nGNU General Public License for more details."
|
||||
|
||||
"\n\nYou should have received a copy of the GNU General Public License"
|
||||
"\nalong with QElectroTech. If not, see <http://www.gnu.org/licenses/>.\n"
|
||||
"_____________________________________________________________________")
|
||||
71
cmake/define_definitions.cmake
Normal file
71
cmake/define_definitions.cmake
Normal file
@@ -0,0 +1,71 @@
|
||||
# Copyright 2006 The QElectroTech Team
|
||||
# This file is part of QElectroTech.
|
||||
#
|
||||
# QElectroTech is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# QElectroTech is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Paths used for compilation and installation of QET
|
||||
|
||||
message(" - define_definitions")
|
||||
|
||||
message("Paths used for compilation and installation of QET")
|
||||
message("--------------------------------------------------")
|
||||
message("COMPIL_PREFIX " ${COMPIL_PREFIX})
|
||||
message("INSTALL_PREFIX " ${INSTALL_PREFIX})
|
||||
message("QET_BINARY_PATH " ${QET_BINARY_PATH})
|
||||
|
||||
if(${QET_COMMON_COLLECTION_PATH} STRGREATER "")
|
||||
message("QET_COMMON_COLLECTION_PATH " ${INSTALL_PREFIX}${QET_COMMON_COLLECTION_PATH})
|
||||
add_definitions(-DQET_COMMON_COLLECTION_PATH=${INSTALL_PREFIX}${QET_COMMON_COLLECTION_PATH})
|
||||
endif()
|
||||
if(${QET_COMMON_TBT_PATH} STRGREATER "")
|
||||
message("QET_COMMON_TBT_PATH " ${INSTALL_PREFIX}${QET_COMMON_TBT_PATH})
|
||||
add_definitions(-DQET_COMMON_TBT_PATH=${INSTALL_PREFIX}${QET_COMMON_TBT_PATH})
|
||||
endif()
|
||||
if(${QET_LANG_PATH_RELATIVE_TO_BINARY_PATH})
|
||||
add_definitions(-DQET_LANG_PATH_RELATIVE_TO_BINARY_PATH)
|
||||
endif()
|
||||
if(${QET_LANG_PATH} STRGREATER "")
|
||||
message("QET_LANG_PATH " ${INSTALL_PREFIX}${QET_LANG_PATH})
|
||||
add_definitions(-DQET_LANG_PATH=${INSTALL_PREFIX}${QET_LANG_PATH})
|
||||
endif()
|
||||
if(${QET_EXAMPLES_PATH} STRGREATER "")
|
||||
message("QET_EXAMPLES_PATH " ${INSTALL_PREFIX}${QET_EXAMPLES_PATH})
|
||||
add_definitions(-DQET_EXAMPLES_PATH=${INSTALL_PREFIX}${QET_EXAMPLES_PATH})
|
||||
endif()
|
||||
|
||||
message("QET_LICENSE_PATH " ${QET_LICENSE_PATH})
|
||||
message("QET_MIME_XML_PATH " ${QET_MIME_XML_PATH})
|
||||
message("QET_MIME_DESKTOP_PATH " ${QET_MIME_DESKTOP_PATH})
|
||||
message("QET_MIME_PACKAGE_PATH " ${QET_MIME_PACKAGE_PATH})
|
||||
message("QET_DESKTOP_PATH " ${QET_DESKTOP_PATH})
|
||||
message("QET_ICONS_PATH " ${QET_ICONS_PATH})
|
||||
message("QET_MAN_PATH " ${QET_MAN_PATH})
|
||||
message("QET_APPDATA_PATH " ${QET_APPDATA_PATH})
|
||||
message("ICON " ${ICON})
|
||||
message("--------------------------------------------------")
|
||||
message("PROJECT_NAME :" ${PROJECT_NAME})
|
||||
message("PROJECT_VERSION :" ${PROJECT_VERSION})
|
||||
message("PROJECT_DESCRIPTION :" ${PROJECT_DESCRIPTION})
|
||||
message("PROJECT_HOMEPAGE_URL :" ${PROJECT_HOMEPAGE_URL})
|
||||
message("PROJECT_SOURCE_DIR :" ${PROJECT_SOURCE_DIR})
|
||||
message("QET_DIR :" ${QET_DIR})
|
||||
message("GIT_COMMIT_SHA :" ${GIT_COMMIT_SHA})
|
||||
|
||||
if(BUILD_WITH_KF5)
|
||||
message("KF5_GIT_TAG :" ${KF5_GIT_TAG})
|
||||
else()
|
||||
add_definitions(-DBUILD_WITHOUT_KF5)
|
||||
endif()
|
||||
message("QET_COMPONENTS :" ${QET_COMPONENTS})
|
||||
message("QT_VERSION_MAJOR :" ${QT_VERSION_MAJOR})
|
||||
35
cmake/developer_options.cmake
Normal file
35
cmake/developer_options.cmake
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 2006 The QElectroTech Team
|
||||
# This file is part of QElectroTech.
|
||||
#
|
||||
# QElectroTech is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# QElectroTech is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
message(" - developer_options")
|
||||
|
||||
# warn on *any* usage of deprecated APIs
|
||||
add_definitions(-DQT_DEPRECATED_WARNINGS)
|
||||
|
||||
# You can make your code fail to compile if it uses deprecated APIs.
|
||||
# In order to do so, uncomment the following line.
|
||||
# disables all the APIs deprecated before Qt 6.0.0
|
||||
#add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
|
||||
|
||||
# to enable function names and line numbers even for release builds
|
||||
add_definitions(-DQT_MESSAGELOGCONTEXT)
|
||||
|
||||
# You can make your code warn on compile time for the TODO's
|
||||
# In order to do so, uncomment the following line.
|
||||
#add_definitions(-DTODO_LIST)
|
||||
|
||||
# Build with KF5
|
||||
option(BUILD_WITH_KF5 "Build with KF5" ON)
|
||||
67
cmake/fetch_kdeaddons.cmake
Normal file
67
cmake/fetch_kdeaddons.cmake
Normal file
@@ -0,0 +1,67 @@
|
||||
# Copyright 2006 The QElectroTech Team
|
||||
# This file is part of QElectroTech.
|
||||
#
|
||||
# QElectroTech is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# QElectroTech is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
message(" - fetch_kdeaddons")
|
||||
|
||||
if(DEFINED BUILD_WITH_KF5)
|
||||
Include(FetchContent)
|
||||
|
||||
set(BUILD_KF5_YES "YES")
|
||||
|
||||
if(DEFINED BUILD_KF5_YES)
|
||||
|
||||
if(NOT DEFINED KF5_GIT_TAG)
|
||||
#https://qelectrotech.org/forum/viewtopic.php?pid=13924#p13924
|
||||
set(KF5_GIT_TAG v5.77.0)
|
||||
endif()
|
||||
|
||||
# Fix stop the run autotests of kcoreaddons
|
||||
# see
|
||||
# https://invent.kde.org/frameworks/kcoreaddons/-/blob/master/CMakeLists.txt#L98
|
||||
# issue:
|
||||
# CMake Error at /usr/share/ECM/modules/ECMAddTests.cmake:89 (add_executable):
|
||||
# Cannot find source file:
|
||||
# see
|
||||
# https://qelectrotech.org/forum/viewtopic.php?pid=13929#p13929
|
||||
set(KDE_SKIP_TEST_SETTINGS "TRUE")
|
||||
set(BUILD_TESTING "0")
|
||||
FetchContent_Declare(
|
||||
ecm
|
||||
GIT_REPOSITORY https://invent.kde.org/frameworks/extra-cmake-modules.git
|
||||
GIT_TAG ${KF5_GIT_TAG})
|
||||
FetchContent_MakeAvailable(ecm)
|
||||
|
||||
FetchContent_Declare(
|
||||
kcoreaddons
|
||||
GIT_REPOSITORY https://invent.kde.org/frameworks/kcoreaddons.git
|
||||
GIT_TAG ${KF5_GIT_TAG})
|
||||
FetchContent_MakeAvailable(kcoreaddons)
|
||||
|
||||
FetchContent_Declare(
|
||||
kwidgetsaddons
|
||||
GIT_REPOSITORY https://invent.kde.org/frameworks/kwidgetsaddons.git
|
||||
GIT_TAG ${KF5_GIT_TAG})
|
||||
FetchContent_MakeAvailable(kwidgetsaddons)
|
||||
else()
|
||||
find_package(KF5CoreAddons REQUIRED)
|
||||
find_package(KF5WidgetsAddons REQUIRED)
|
||||
endif()
|
||||
|
||||
set(KF5_PRIVATE_LIBRARIES
|
||||
KF5::WidgetsAddons
|
||||
KF5::CoreAddons
|
||||
)
|
||||
endif()
|
||||
26
cmake/fetch_pugixml.cmake
Normal file
26
cmake/fetch_pugixml.cmake
Normal file
@@ -0,0 +1,26 @@
|
||||
# Copyright 2006 The QElectroTech Team
|
||||
# This file is part of QElectroTech.
|
||||
#
|
||||
# QElectroTech is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# QElectroTech is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
message(" - fetch_pugixml")
|
||||
|
||||
Include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
pugixml
|
||||
GIT_REPOSITORY https://github.com/zeux/pugixml.git
|
||||
GIT_TAG v1.11.1)
|
||||
|
||||
FetchContent_MakeAvailable(pugixml)
|
||||
31
cmake/fetch_singleapplication.cmake
Normal file
31
cmake/fetch_singleapplication.cmake
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright 2006 The QElectroTech Team
|
||||
# This file is part of QElectroTech.
|
||||
#
|
||||
# QElectroTech is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# QElectroTech is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
message(" - fetch_singleapplication")
|
||||
|
||||
# https://github.com/itay-grudev/SingleApplication/issues/18
|
||||
#qmake
|
||||
#DEFINES += QAPPLICATION_CLASS=QGuiApplication
|
||||
set(QAPPLICATION_CLASS QApplication)
|
||||
|
||||
Include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
SingleApplication
|
||||
GIT_REPOSITORY https://github.com/itay-grudev/SingleApplication.git
|
||||
GIT_TAG v3.1.5)
|
||||
|
||||
FetchContent_MakeAvailable(SingleApplication)
|
||||
41
cmake/git_last_commit_sha.cmake
Normal file
41
cmake/git_last_commit_sha.cmake
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 2006 The QElectroTech Team
|
||||
# This file is part of QElectroTech.
|
||||
#
|
||||
# QElectroTech is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# QElectroTech is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
message(" - git_last_commit_sha")
|
||||
|
||||
find_package(Git QUIET)
|
||||
|
||||
if(GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git")
|
||||
#get GIT COMMIT SHA
|
||||
execute_process(
|
||||
COMMAND ${GIT_EXECUTABLE} -C ${QET_DIR} rev-parse --verify HEAD
|
||||
OUTPUT_VARIABLE GIT_COMMIT_SHA
|
||||
RESULT_VARIABLE GIT_COMMIT_RESULT)
|
||||
|
||||
# This strips terminating newline in the variable
|
||||
string(REGEX REPLACE "\n$" "" GIT_COMMIT_SHA "${GIT_COMMIT_SHA}")
|
||||
|
||||
# This adds to definitions => .cpp
|
||||
add_definitions(-DGIT_COMMIT_SHA="${GIT_COMMIT_SHA}")
|
||||
|
||||
if(NOT GIT_COMMIT_RESULT EQUAL "0")
|
||||
message(
|
||||
FATAL_ERROR
|
||||
"git rev-parse --verify HEAD failed with "
|
||||
${GIT_COMMIT_RESULT}
|
||||
", please check")
|
||||
endif()
|
||||
endif()
|
||||
35
cmake/git_update_submodules.cmake
Normal file
35
cmake/git_update_submodules.cmake
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 2006 The QElectroTech Team
|
||||
# This file is part of QElectroTech.
|
||||
#
|
||||
# QElectroTech is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# QElectroTech is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
message(" - git_update_submodules")
|
||||
|
||||
find_package(Git QUIET)
|
||||
|
||||
if(GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git")
|
||||
# updates all git submodules
|
||||
execute_process(
|
||||
COMMAND ${GIT_EXECUTABLE} submodule update --init --recursive
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
RESULT_VARIABLE GIT_SUBMOD_RESULT)
|
||||
|
||||
if(NOT GIT_SUBMOD_RESULT EQUAL "0")
|
||||
message(
|
||||
FATAL_ERROR
|
||||
"git submodule update --init failed with "
|
||||
${GIT_SUBMOD_RESULT}
|
||||
", please checkout submodules")
|
||||
endif()
|
||||
endif()
|
||||
25
cmake/hoto_update_cmake_message.cmake
Normal file
25
cmake/hoto_update_cmake_message.cmake
Normal file
@@ -0,0 +1,25 @@
|
||||
# Copyright 2006 The QElectroTech Team
|
||||
# This file is part of QElectroTech.
|
||||
#
|
||||
# QElectroTech is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# QElectroTech is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
if(${CMAKE_VERSION} VERSION_LESS 3.14)
|
||||
message(
|
||||
"_____________________________________________________________________")
|
||||
message("to update Cmake on linux:")
|
||||
message("https://github.com/Kitware/CMake/")
|
||||
message("linux => cmake-3.19.1-Linux-x86_64.sh")
|
||||
message(" sudo ./cmake.sh --prefix=/usr/local/ --exclude-subdir")
|
||||
message("windows good luck :)")
|
||||
endif()
|
||||
69
cmake/paths_compilation_installation.cmake
Normal file
69
cmake/paths_compilation_installation.cmake
Normal file
@@ -0,0 +1,69 @@
|
||||
# Copyright 2006 The QElectroTech Team
|
||||
# This file is part of QElectroTech.
|
||||
#
|
||||
# QElectroTech is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# QElectroTech is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Paths used for compilation and installation of QET
|
||||
|
||||
message(" - paths_compilation_installation")
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
# for Linux, BSD, Solaris, Minix
|
||||
set(COMPIL_PREFIX "/usr/local/")
|
||||
set(INSTALL_PREFIX "/usr/local/")
|
||||
set(QET_BINARY_PATH "bin/")
|
||||
set(QET_COMMON_COLLECTION_PATH "share/qelectrotech/elements/")
|
||||
set(QET_COMMON_TBT_PATH "share/qelectrotech/titleblocks/")
|
||||
set(QET_LANG_PATH "share/qelectrotech/lang/")
|
||||
set(QET_EXAMPLES_PATH "share/qelectrotech/examples/")
|
||||
set(QET_LICENSE_PATH "doc/qelectrotech/")
|
||||
set(QET_MIME_XML_PATH "../share/mime/application/")
|
||||
set(QET_MIME_DESKTOP_PATH "../share/mimelnk/application/")
|
||||
set(QET_MIME_PACKAGE_PATH "../share/mime/packages/")
|
||||
set(QET_DESKTOP_PATH "share/applications/")
|
||||
set(QET_ICONS_PATH "share/icons/hicolor/")
|
||||
set(QET_MAN_PATH "man/")
|
||||
set(QET_APPDATA_PATH "share/appdata")
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
# for MacOS X or iOS, watchOS, tvOS (since 3.10.3)
|
||||
set(COMPIL_PREFIX "./")
|
||||
set(INSTALL_PREFIX "/usr/local/")
|
||||
set(QET_BINARY_PATH "bin/")
|
||||
set(QET_COMMON_COLLECTION_PATH "../Resources/elements/")
|
||||
set(QET_COMMON_TBT_PATH "../Resources/titleblocks/")
|
||||
set(QET_LANG_PATH "../Resources/lang/")
|
||||
set(QET_EXAMPLES_PATH "share/qelectrotech/examples/")
|
||||
set(QET_LICENSE_PATH "doc/qelectrotech/")
|
||||
set(QET_MIME_XML_PATH "../share/mime/application/")
|
||||
set(QET_MIME_DESKTOP_PATH "../share/mimelnk/application/")
|
||||
set(QET_DESKTOP_PATH "share/applications/")
|
||||
set(QET_ICONS_PATH "share/icons/hicolor/")
|
||||
set(QET_MAN_PATH "man/")
|
||||
set(ICON "ico/mac_icon/qelectrotech.icns")
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
# for Windows operating system in general
|
||||
set(COMPIL_PREFIX "./")
|
||||
set(INSTALL_PREFIX "./")
|
||||
set(QET_BINARY_PATH "./")
|
||||
set(QET_COMMON_COLLECTION_PATH "elements/")
|
||||
set(QET_COMMON_TBT_PATH "titleblocks/")
|
||||
set(QET_LANG_PATH "l10n/")
|
||||
set(QET_LICENSE_PATH "./")
|
||||
# Liste des ressources Windows
|
||||
#RC_FILE = qelectrotech.rc
|
||||
endif()
|
||||
639
cmake/qet_compilation_vars.cmake
Normal file
639
cmake/qet_compilation_vars.cmake
Normal file
@@ -0,0 +1,639 @@
|
||||
# Copyright 2006 The QElectroTech Team
|
||||
# This file is part of QElectroTech.
|
||||
#
|
||||
# QElectroTech is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# QElectroTech is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
message(" - qet_compilation_vars")
|
||||
|
||||
set(QET_COMPONENTS
|
||||
LinguistTools
|
||||
PrintSupport
|
||||
Xml
|
||||
Svg
|
||||
Sql
|
||||
Network
|
||||
Widgets
|
||||
Concurrent)
|
||||
|
||||
set(QET_PRIVATE_LIBRARIES
|
||||
Qt::PrintSupport
|
||||
Qt::Gui
|
||||
Qt::Xml
|
||||
Qt::Svg
|
||||
Qt::Sql
|
||||
Qt::Network
|
||||
Qt::Widgets
|
||||
Qt::Concurrent
|
||||
)
|
||||
|
||||
set(QET_RES_FILES
|
||||
${QET_DIR}/sources/autoNum/ui/autonumberingdockwidget.ui
|
||||
${QET_DIR}/sources/autoNum/ui/autonumberingmanagementw.ui
|
||||
${QET_DIR}/sources/autoNum/ui/folioautonumbering.ui
|
||||
${QET_DIR}/sources/autoNum/ui/formulaautonumberingw.ui
|
||||
${QET_DIR}/sources/autoNum/ui/numparteditorw.ui
|
||||
${QET_DIR}/sources/autoNum/ui/selectautonumw.ui
|
||||
${QET_DIR}/sources/dataBase/ui/elementquerywidget.ui
|
||||
${QET_DIR}/sources/dataBase/ui/summaryquerywidget.ui
|
||||
${QET_DIR}/sources/editor/ui/dynamictextfieldeditor.ui
|
||||
${QET_DIR}/sources/editor/ui/elementpropertieseditorwidget.ui
|
||||
${QET_DIR}/sources/editor/ui/ellipseeditor.ui
|
||||
${QET_DIR}/sources/editor/ui/lineeditor.ui
|
||||
${QET_DIR}/sources/editor/ui/polygoneditor.ui
|
||||
${QET_DIR}/sources/editor/ui/rectangleeditor.ui
|
||||
${QET_DIR}/sources/ElementsCollection/ui/renamedialog.ui
|
||||
${QET_DIR}/sources/factory/ui/addtabledialog.ui
|
||||
${QET_DIR}/sources/NameList/ui/namelistdialog.ui
|
||||
${QET_DIR}/sources/NameList/ui/namelistwidget.ui
|
||||
${QET_DIR}/sources/print/projectprintwindow.ui
|
||||
${QET_DIR}/sources/PropertiesEditor/propertieseditordockwidget.ui
|
||||
${QET_DIR}/sources/richtext/addlinkdialog.ui
|
||||
${QET_DIR}/sources/SearchAndReplace/ui/replaceadvanceddialog.ui
|
||||
${QET_DIR}/sources/SearchAndReplace/ui/replaceconductordialog.ui
|
||||
${QET_DIR}/sources/SearchAndReplace/ui/replaceelementdialog.ui
|
||||
${QET_DIR}/sources/SearchAndReplace/ui/replacefoliowidget.ui
|
||||
${QET_DIR}/sources/SearchAndReplace/ui/searchandreplacewidget.ui
|
||||
${QET_DIR}/sources/ui/aboutqetdialog.ui
|
||||
${QET_DIR}/sources/ui/alignmenttextdialog.ui
|
||||
${QET_DIR}/sources/ui/bomexportdialog.ui
|
||||
${QET_DIR}/sources/ui/borderpropertieswidget.ui
|
||||
${QET_DIR}/sources/ui/compositetexteditdialog.ui
|
||||
${QET_DIR}/sources/ui/conductorpropertiesdialog.ui
|
||||
${QET_DIR}/sources/ui/conductorpropertieswidget.ui
|
||||
${QET_DIR}/sources/ui/configsaveloaderwidget.ui
|
||||
${QET_DIR}/sources/ui/diagramcontextwidget.ui
|
||||
${QET_DIR}/sources/ui/diagramselection.ui
|
||||
${QET_DIR}/sources/ui/dialogwaiting.ui
|
||||
${QET_DIR}/sources/ui/dynamicelementtextitemeditor.ui
|
||||
${QET_DIR}/sources/ui/elementinfopartwidget.ui
|
||||
${QET_DIR}/sources/ui/elementinfowidget.ui
|
||||
${QET_DIR}/sources/ui/formulaassistantdialog.ui
|
||||
${QET_DIR}/sources/ui/imagepropertieswidget.ui
|
||||
${QET_DIR}/sources/ui/importelementdialog.ui
|
||||
${QET_DIR}/sources/ui/importelementtextpatterndialog.ui
|
||||
${QET_DIR}/sources/ui/linksingleelementwidget.ui
|
||||
${QET_DIR}/sources/ui/marginseditdialog.ui
|
||||
${QET_DIR}/sources/ui/masterpropertieswidget.ui
|
||||
${QET_DIR}/sources/ui/multipastedialog.ui
|
||||
${QET_DIR}/sources/ui/potentialselectordialog.ui
|
||||
${QET_DIR}/sources/ui/reportpropertiewidget.ui
|
||||
${QET_DIR}/sources/ui/shapegraphicsitempropertieswidget.ui
|
||||
${QET_DIR}/sources/ui/titleblockpropertieswidget.ui
|
||||
${QET_DIR}/sources/ui/xrefpropertieswidget.ui
|
||||
${QET_DIR}/sources/ui/configpage/generalconfigurationpage.ui
|
||||
)
|
||||
set(QET_SRC_FILES
|
||||
${QET_DIR}/sources/borderproperties.cpp
|
||||
${QET_DIR}/sources/borderproperties.h
|
||||
${QET_DIR}/sources/bordertitleblock.cpp
|
||||
${QET_DIR}/sources/bordertitleblock.h
|
||||
${QET_DIR}/sources/conductorautonumerotation.cpp
|
||||
${QET_DIR}/sources/conductorautonumerotation.h
|
||||
${QET_DIR}/sources/conductornumexport.cpp
|
||||
${QET_DIR}/sources/conductornumexport.h
|
||||
${QET_DIR}/sources/conductorprofile.cpp
|
||||
${QET_DIR}/sources/conductorprofile.h
|
||||
${QET_DIR}/sources/conductorproperties.cpp
|
||||
${QET_DIR}/sources/conductorproperties.h
|
||||
${QET_DIR}/sources/conductorsegment.cpp
|
||||
${QET_DIR}/sources/conductorsegment.h
|
||||
${QET_DIR}/sources/conductorsegmentprofile.h
|
||||
${QET_DIR}/sources/configdialog.cpp
|
||||
${QET_DIR}/sources/configdialog.h
|
||||
${QET_DIR}/sources/configpage.h
|
||||
${QET_DIR}/sources/configpages.cpp
|
||||
${QET_DIR}/sources/configpages.h
|
||||
${QET_DIR}/sources/createdxf.cpp
|
||||
${QET_DIR}/sources/createdxf.h
|
||||
${QET_DIR}/sources/diagramcommands.cpp
|
||||
${QET_DIR}/sources/diagramcommands.h
|
||||
${QET_DIR}/sources/diagramcontent.cpp
|
||||
${QET_DIR}/sources/diagramcontent.h
|
||||
${QET_DIR}/sources/diagramcontext.cpp
|
||||
${QET_DIR}/sources/diagramcontext.h
|
||||
${QET_DIR}/sources/diagram.cpp
|
||||
${QET_DIR}/sources/diagram.h
|
||||
${QET_DIR}/sources/diagramposition.cpp
|
||||
${QET_DIR}/sources/diagramposition.h
|
||||
${QET_DIR}/sources/diagramview.cpp
|
||||
${QET_DIR}/sources/diagramview.h
|
||||
${QET_DIR}/sources/elementdialog.cpp
|
||||
${QET_DIR}/sources/elementdialog.h
|
||||
${QET_DIR}/sources/elementprovider.cpp
|
||||
${QET_DIR}/sources/elementprovider.h
|
||||
${QET_DIR}/sources/elementscategoryeditor.cpp
|
||||
${QET_DIR}/sources/elementscategoryeditor.h
|
||||
${QET_DIR}/sources/elementscollectioncache.cpp
|
||||
${QET_DIR}/sources/elementscollectioncache.h
|
||||
${QET_DIR}/sources/elementsmover.cpp
|
||||
${QET_DIR}/sources/elementsmover.h
|
||||
${QET_DIR}/sources/elementspanel.cpp
|
||||
${QET_DIR}/sources/elementspanel.h
|
||||
${QET_DIR}/sources/elementspanelwidget.cpp
|
||||
${QET_DIR}/sources/elementspanelwidget.h
|
||||
${QET_DIR}/sources/elementtextpattern.cpp
|
||||
${QET_DIR}/sources/elementtextpattern.h
|
||||
${QET_DIR}/sources/elementtextsmover.cpp
|
||||
${QET_DIR}/sources/elementtextsmover.h
|
||||
${QET_DIR}/sources/exportdialog.cpp
|
||||
${QET_DIR}/sources/exportdialog.h
|
||||
${QET_DIR}/sources/exportproperties.cpp
|
||||
${QET_DIR}/sources/exportproperties.h
|
||||
${QET_DIR}/sources/exportpropertieswidget.cpp
|
||||
${QET_DIR}/sources/exportpropertieswidget.h
|
||||
${QET_DIR}/sources/genericpanel.cpp
|
||||
${QET_DIR}/sources/genericpanel.h
|
||||
${QET_DIR}/sources/machine_info.cpp
|
||||
${QET_DIR}/sources/machine_info.h
|
||||
${QET_DIR}/sources/main.cpp
|
||||
${QET_DIR}/sources/newelementwizard.cpp
|
||||
${QET_DIR}/sources/newelementwizard.h
|
||||
${QET_DIR}/sources/projectconfigpages.cpp
|
||||
${QET_DIR}/sources/projectconfigpages.h
|
||||
${QET_DIR}/sources/projectview.cpp
|
||||
${QET_DIR}/sources/projectview.h
|
||||
${QET_DIR}/sources/qetapp.cpp
|
||||
${QET_DIR}/sources/qetapp.h
|
||||
${QET_DIR}/sources/qetarguments.cpp
|
||||
${QET_DIR}/sources/qetarguments.h
|
||||
${QET_DIR}/sources/qet.cpp
|
||||
${QET_DIR}/sources/qetdiagrameditor.cpp
|
||||
${QET_DIR}/sources/qetdiagrameditor.h
|
||||
${QET_DIR}/sources/qet.h
|
||||
${QET_DIR}/sources/qeticons.cpp
|
||||
${QET_DIR}/sources/qeticons.h
|
||||
${QET_DIR}/sources/qetinformation.cpp
|
||||
${QET_DIR}/sources/qetinformation.h
|
||||
${QET_DIR}/sources/qetmainwindow.cpp
|
||||
${QET_DIR}/sources/qetmainwindow.h
|
||||
${QET_DIR}/sources/qetmessagebox.cpp
|
||||
${QET_DIR}/sources/qetmessagebox.h
|
||||
${QET_DIR}/sources/qetproject.cpp
|
||||
${QET_DIR}/sources/qetproject.h
|
||||
${QET_DIR}/sources/qetregexpvalidator.cpp
|
||||
${QET_DIR}/sources/qetregexpvalidator.h
|
||||
${QET_DIR}/sources/qetresult.cpp
|
||||
${QET_DIR}/sources/qetresult.h
|
||||
${QET_DIR}/sources/qetxml.cpp
|
||||
${QET_DIR}/sources/qetxml.h
|
||||
${QET_DIR}/sources/qfilenameedit.cpp
|
||||
${QET_DIR}/sources/qfilenameedit.h
|
||||
${QET_DIR}/sources/qgimanager.cpp
|
||||
${QET_DIR}/sources/qgimanager.h
|
||||
${QET_DIR}/sources/qtextorientationspinboxwidget.cpp
|
||||
${QET_DIR}/sources/qtextorientationspinboxwidget.h
|
||||
${QET_DIR}/sources/qtextorientationwidget.cpp
|
||||
${QET_DIR}/sources/qtextorientationwidget.h
|
||||
${QET_DIR}/sources/recentfiles.cpp
|
||||
${QET_DIR}/sources/recentfiles.h
|
||||
${QET_DIR}/sources/titleblockcell.cpp
|
||||
${QET_DIR}/sources/titleblockcell.h
|
||||
${QET_DIR}/sources/titleblockproperties.cpp
|
||||
${QET_DIR}/sources/titleblockproperties.h
|
||||
${QET_DIR}/sources/titleblocktemplate.cpp
|
||||
${QET_DIR}/sources/titleblocktemplate.h
|
||||
${QET_DIR}/sources/titleblocktemplaterenderer.cpp
|
||||
${QET_DIR}/sources/titleblocktemplaterenderer.h
|
||||
|
||||
${QET_DIR}/sources/autoNum/assignvariables.cpp
|
||||
${QET_DIR}/sources/autoNum/assignvariables.h
|
||||
${QET_DIR}/sources/autoNum/numerotationcontextcommands.cpp
|
||||
${QET_DIR}/sources/autoNum/numerotationcontextcommands.h
|
||||
${QET_DIR}/sources/autoNum/numerotationcontext.cpp
|
||||
${QET_DIR}/sources/autoNum/numerotationcontext.h
|
||||
${QET_DIR}/sources/autoNum/ui/autonumberingdockwidget.cpp
|
||||
${QET_DIR}/sources/autoNum/ui/autonumberingdockwidget.h
|
||||
${QET_DIR}/sources/autoNum/ui/autonumberingmanagementw.cpp
|
||||
${QET_DIR}/sources/autoNum/ui/autonumberingmanagementw.h
|
||||
${QET_DIR}/sources/autoNum/ui/folioautonumbering.cpp
|
||||
${QET_DIR}/sources/autoNum/ui/folioautonumbering.h
|
||||
${QET_DIR}/sources/autoNum/ui/formulaautonumberingw.cpp
|
||||
${QET_DIR}/sources/autoNum/ui/formulaautonumberingw.h
|
||||
${QET_DIR}/sources/autoNum/ui/numparteditorw.cpp
|
||||
${QET_DIR}/sources/autoNum/ui/numparteditorw.h
|
||||
${QET_DIR}/sources/autoNum/ui/selectautonumw.cpp
|
||||
${QET_DIR}/sources/autoNum/ui/selectautonumw.h
|
||||
|
||||
${QET_DIR}/sources/dataBase/projectdatabase.cpp
|
||||
${QET_DIR}/sources/dataBase/projectdatabase.h
|
||||
|
||||
${QET_DIR}/sources/dataBase/ui/elementquerywidget.cpp
|
||||
${QET_DIR}/sources/dataBase/ui/elementquerywidget.h
|
||||
${QET_DIR}/sources/dataBase/ui/summaryquerywidget.cpp
|
||||
${QET_DIR}/sources/dataBase/ui/summaryquerywidget.h
|
||||
|
||||
${QET_DIR}/sources/diagramevent/diagrameventaddelement.cpp
|
||||
${QET_DIR}/sources/diagramevent/diagrameventaddelement.h
|
||||
${QET_DIR}/sources/diagramevent/diagrameventaddimage.cpp
|
||||
${QET_DIR}/sources/diagramevent/diagrameventaddimage.h
|
||||
${QET_DIR}/sources/diagramevent/diagrameventaddshape.cpp
|
||||
${QET_DIR}/sources/diagramevent/diagrameventaddshape.h
|
||||
${QET_DIR}/sources/diagramevent/diagrameventaddtext.cpp
|
||||
${QET_DIR}/sources/diagramevent/diagrameventaddtext.h
|
||||
${QET_DIR}/sources/diagramevent/diagrameventinterface.cpp
|
||||
${QET_DIR}/sources/diagramevent/diagrameventinterface.h
|
||||
|
||||
${QET_DIR}/sources/dvevent/dveventinterface.cpp
|
||||
${QET_DIR}/sources/dvevent/dveventinterface.h
|
||||
|
||||
${QET_DIR}/sources/editor/arceditor.cpp
|
||||
${QET_DIR}/sources/editor/arceditor.h
|
||||
${QET_DIR}/sources/editor/editorcommands.cpp
|
||||
${QET_DIR}/sources/editor/editorcommands.h
|
||||
${QET_DIR}/sources/editor/elementcontent.h
|
||||
${QET_DIR}/sources/editor/elementitemeditor.cpp
|
||||
${QET_DIR}/sources/editor/elementitemeditor.h
|
||||
${QET_DIR}/sources/editor/elementprimitivedecorator.cpp
|
||||
${QET_DIR}/sources/editor/elementprimitivedecorator.h
|
||||
${QET_DIR}/sources/editor/elementscene.cpp
|
||||
${QET_DIR}/sources/editor/elementscene.h
|
||||
${QET_DIR}/sources/editor/elementview.cpp
|
||||
${QET_DIR}/sources/editor/elementview.h
|
||||
${QET_DIR}/sources/editor/qetelementeditor.cpp
|
||||
${QET_DIR}/sources/editor/qetelementeditor.h
|
||||
${QET_DIR}/sources/editor/styleeditor.cpp
|
||||
${QET_DIR}/sources/editor/styleeditor.h
|
||||
${QET_DIR}/sources/editor/terminaleditor.cpp
|
||||
${QET_DIR}/sources/editor/terminaleditor.h
|
||||
|
||||
${QET_DIR}/sources/editor/esevent/eseventaddarc.cpp
|
||||
${QET_DIR}/sources/editor/esevent/eseventaddarc.h
|
||||
${QET_DIR}/sources/editor/esevent/eseventadddynamictextfield.cpp
|
||||
${QET_DIR}/sources/editor/esevent/eseventadddynamictextfield.h
|
||||
${QET_DIR}/sources/editor/esevent/eseventaddellipse.cpp
|
||||
${QET_DIR}/sources/editor/esevent/eseventaddellipse.h
|
||||
${QET_DIR}/sources/editor/esevent/eseventaddline.cpp
|
||||
${QET_DIR}/sources/editor/esevent/eseventaddline.h
|
||||
${QET_DIR}/sources/editor/esevent/eseventaddpolygon.cpp
|
||||
${QET_DIR}/sources/editor/esevent/eseventaddpolygon.h
|
||||
${QET_DIR}/sources/editor/esevent/eseventaddrect.cpp
|
||||
${QET_DIR}/sources/editor/esevent/eseventaddrect.h
|
||||
${QET_DIR}/sources/editor/esevent/eseventaddterminal.cpp
|
||||
${QET_DIR}/sources/editor/esevent/eseventaddterminal.h
|
||||
${QET_DIR}/sources/editor/esevent/eseventaddtext.cpp
|
||||
${QET_DIR}/sources/editor/esevent/eseventaddtext.h
|
||||
${QET_DIR}/sources/editor/esevent/eseventinterface.cpp
|
||||
${QET_DIR}/sources/editor/esevent/eseventinterface.h
|
||||
|
||||
${QET_DIR}/sources/editor/graphicspart/abstractpartellipse.cpp
|
||||
${QET_DIR}/sources/editor/graphicspart/abstractpartellipse.h
|
||||
${QET_DIR}/sources/editor/graphicspart/customelementgraphicpart.cpp
|
||||
${QET_DIR}/sources/editor/graphicspart/customelementgraphicpart.h
|
||||
${QET_DIR}/sources/editor/graphicspart/customelementpart.cpp
|
||||
${QET_DIR}/sources/editor/graphicspart/customelementpart.h
|
||||
${QET_DIR}/sources/editor/graphicspart/partarc.cpp
|
||||
${QET_DIR}/sources/editor/graphicspart/partarc.h
|
||||
${QET_DIR}/sources/editor/graphicspart/partdynamictextfield.cpp
|
||||
${QET_DIR}/sources/editor/graphicspart/partdynamictextfield.h
|
||||
${QET_DIR}/sources/editor/graphicspart/partellipse.cpp
|
||||
${QET_DIR}/sources/editor/graphicspart/partellipse.h
|
||||
${QET_DIR}/sources/editor/graphicspart/partline.cpp
|
||||
${QET_DIR}/sources/editor/graphicspart/partline.h
|
||||
${QET_DIR}/sources/editor/graphicspart/partpolygon.cpp
|
||||
${QET_DIR}/sources/editor/graphicspart/partpolygon.h
|
||||
${QET_DIR}/sources/editor/graphicspart/partrectangle.cpp
|
||||
${QET_DIR}/sources/editor/graphicspart/partrectangle.h
|
||||
${QET_DIR}/sources/editor/graphicspart/partterminal.cpp
|
||||
${QET_DIR}/sources/editor/graphicspart/partterminal.h
|
||||
${QET_DIR}/sources/editor/graphicspart/parttext.cpp
|
||||
${QET_DIR}/sources/editor/graphicspart/parttext.h
|
||||
${QET_DIR}/sources/editor/ui/dynamictextfieldeditor.cpp
|
||||
${QET_DIR}/sources/editor/ui/dynamictextfieldeditor.h
|
||||
${QET_DIR}/sources/editor/ui/elementpropertieseditorwidget.cpp
|
||||
${QET_DIR}/sources/editor/ui/elementpropertieseditorwidget.h
|
||||
${QET_DIR}/sources/editor/ui/ellipseeditor.cpp
|
||||
${QET_DIR}/sources/editor/ui/ellipseeditor.h
|
||||
${QET_DIR}/sources/editor/ui/lineeditor.cpp
|
||||
${QET_DIR}/sources/editor/ui/lineeditor.h
|
||||
${QET_DIR}/sources/editor/ui/polygoneditor.cpp
|
||||
${QET_DIR}/sources/editor/ui/polygoneditor.h
|
||||
${QET_DIR}/sources/editor/ui/rectangleeditor.cpp
|
||||
${QET_DIR}/sources/editor/ui/rectangleeditor.h
|
||||
${QET_DIR}/sources/editor/ui/texteditor.cpp
|
||||
${QET_DIR}/sources/editor/ui/texteditor.h
|
||||
|
||||
${QET_DIR}/sources/editor/UndoCommand/pastepartscommand.cpp
|
||||
${QET_DIR}/sources/editor/UndoCommand/pastepartscommand.h
|
||||
|
||||
${QET_DIR}/sources/ElementsCollection/elementcollectionhandler.cpp
|
||||
${QET_DIR}/sources/ElementsCollection/elementcollectionhandler.h
|
||||
${QET_DIR}/sources/ElementsCollection/elementcollectionitem.cpp
|
||||
${QET_DIR}/sources/ElementsCollection/elementcollectionitem.h
|
||||
${QET_DIR}/sources/ElementsCollection/elementscollectionmodel.cpp
|
||||
${QET_DIR}/sources/ElementsCollection/elementscollectionmodel.h
|
||||
${QET_DIR}/sources/ElementsCollection/elementscollectionwidget.cpp
|
||||
${QET_DIR}/sources/ElementsCollection/elementscollectionwidget.h
|
||||
${QET_DIR}/sources/ElementsCollection/elementslocation.cpp
|
||||
${QET_DIR}/sources/ElementsCollection/elementslocation.h
|
||||
${QET_DIR}/sources/ElementsCollection/elementstreeview.cpp
|
||||
${QET_DIR}/sources/ElementsCollection/elementstreeview.h
|
||||
${QET_DIR}/sources/ElementsCollection/fileelementcollectionitem.cpp
|
||||
${QET_DIR}/sources/ElementsCollection/fileelementcollectionitem.h
|
||||
${QET_DIR}/sources/ElementsCollection/xmlelementcollection.cpp
|
||||
${QET_DIR}/sources/ElementsCollection/xmlelementcollection.h
|
||||
${QET_DIR}/sources/ElementsCollection/xmlprojectelementcollectionitem.cpp
|
||||
${QET_DIR}/sources/ElementsCollection/xmlprojectelementcollectionitem.h
|
||||
|
||||
${QET_DIR}/sources/ElementsCollection/ui/renamedialog.cpp
|
||||
${QET_DIR}/sources/ElementsCollection/ui/renamedialog.h
|
||||
|
||||
${QET_DIR}/sources/factory/elementfactory.cpp
|
||||
${QET_DIR}/sources/factory/elementfactory.h
|
||||
${QET_DIR}/sources/factory/elementpicturefactory.cpp
|
||||
${QET_DIR}/sources/factory/elementpicturefactory.h
|
||||
${QET_DIR}/sources/factory/propertieseditorfactory.cpp
|
||||
${QET_DIR}/sources/factory/propertieseditorfactory.h
|
||||
${QET_DIR}/sources/factory/qetgraphicstablefactory.cpp
|
||||
${QET_DIR}/sources/factory/qetgraphicstablefactory.h
|
||||
|
||||
${QET_DIR}/sources/factory/ui/addtabledialog.cpp
|
||||
${QET_DIR}/sources/factory/ui/addtabledialog.h
|
||||
|
||||
${QET_DIR}/sources/NameList/nameslist.cpp
|
||||
${QET_DIR}/sources/NameList/nameslist.h
|
||||
|
||||
${QET_DIR}/sources/NameList/ui/namelistdialog.cpp
|
||||
${QET_DIR}/sources/NameList/ui/namelistdialog.h
|
||||
${QET_DIR}/sources/NameList/ui/namelistwidget.cpp
|
||||
${QET_DIR}/sources/NameList/ui/namelistwidget.h
|
||||
|
||||
${QET_DIR}/sources/print/projectprintwindow.cpp
|
||||
${QET_DIR}/sources/print/projectprintwindow.h
|
||||
|
||||
${QET_DIR}/sources/properties/propertiesinterface.cpp
|
||||
${QET_DIR}/sources/properties/propertiesinterface.h
|
||||
${QET_DIR}/sources/properties/reportproperties.cpp
|
||||
${QET_DIR}/sources/properties/reportproperties.h
|
||||
${QET_DIR}/sources/properties/terminaldata.cpp
|
||||
${QET_DIR}/sources/properties/terminaldata.h
|
||||
${QET_DIR}/sources/properties/xrefproperties.cpp
|
||||
${QET_DIR}/sources/properties/xrefproperties.h
|
||||
|
||||
${QET_DIR}/sources/PropertiesEditor/propertieseditordialog.h
|
||||
${QET_DIR}/sources/PropertiesEditor/propertieseditordockwidget.cpp
|
||||
${QET_DIR}/sources/PropertiesEditor/propertieseditordockwidget.h
|
||||
${QET_DIR}/sources/PropertiesEditor/propertieseditorwidget.cpp
|
||||
${QET_DIR}/sources/PropertiesEditor/propertieseditorwidget.h
|
||||
|
||||
${QET_DIR}/sources/pugixml/pugiconfig.hpp
|
||||
${QET_DIR}/sources/pugixml/pugixml.cpp
|
||||
${QET_DIR}/sources/pugixml/pugixml.hpp
|
||||
|
||||
${QET_DIR}/sources/qetgraphicsitem/conductor.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/conductor.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/conductortextitem.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/conductortextitem.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/crossrefitem.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/crossrefitem.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/diagramimageitem.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/diagramimageitem.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/diagramtextitem.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/diagramtextitem.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/dynamicelementtextitem.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/dynamicelementtextitem.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/element.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/element.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/elementtextitemgroup.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/elementtextitemgroup.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/independenttextitem.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/independenttextitem.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/masterelement.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/masterelement.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/qetgraphicsitem.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/qetgraphicsitem.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/qetshapeitem.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/qetshapeitem.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/qgraphicsitemutility.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/qgraphicsitemutility.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/reportelement.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/reportelement.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/simpleelement.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/simpleelement.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/slaveelement.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/slaveelement.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/terminal.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/terminalelement.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/terminalelement.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/terminal.h
|
||||
|
||||
|
||||
${QET_DIR}/sources/qetgraphicsitem/ViewItem/projectdbmodel.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/ViewItem/projectdbmodel.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/ViewItem/qetgraphicsheaderitem.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/ViewItem/qetgraphicsheaderitem.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.h
|
||||
|
||||
${QET_DIR}/sources/qetgraphicsitem/ViewItem/ui/graphicstablepropertieseditor.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/ViewItem/ui/graphicstablepropertieseditor.h
|
||||
${QET_DIR}/sources/qetgraphicsitem/ViewItem/ui/projectdbmodelpropertieswidget.cpp
|
||||
${QET_DIR}/sources/qetgraphicsitem/ViewItem/ui/projectdbmodelpropertieswidget.h
|
||||
|
||||
${QET_DIR}/sources/QetGraphicsItemModeler/qetgraphicshandleritem.cpp
|
||||
${QET_DIR}/sources/QetGraphicsItemModeler/qetgraphicshandleritem.h
|
||||
${QET_DIR}/sources/QetGraphicsItemModeler/qetgraphicshandlerutility.cpp
|
||||
${QET_DIR}/sources/QetGraphicsItemModeler/qetgraphicshandlerutility.h
|
||||
|
||||
${QET_DIR}/sources/QPropertyUndoCommand/qpropertyundocommand.cpp
|
||||
${QET_DIR}/sources/QPropertyUndoCommand/qpropertyundocommand.h
|
||||
|
||||
${QET_DIR}/sources/QWidgetAnimation/qwidgetanimation.cpp
|
||||
${QET_DIR}/sources/QWidgetAnimation/qwidgetanimation.h
|
||||
|
||||
${QET_DIR}/sources/richtext/richtexteditor.cpp
|
||||
${QET_DIR}/sources/richtext/richtexteditor_p.h
|
||||
${QET_DIR}/sources/richtext/ui_addlinkdialog.h
|
||||
|
||||
${QET_DIR}/sources/SearchAndReplace/searchandreplaceworker.cpp
|
||||
${QET_DIR}/sources/SearchAndReplace/searchandreplaceworker.h
|
||||
|
||||
${QET_DIR}/sources/SearchAndReplace/ui/replaceadvanceddialog.cpp
|
||||
${QET_DIR}/sources/SearchAndReplace/ui/replaceadvanceddialog.h
|
||||
${QET_DIR}/sources/SearchAndReplace/ui/replaceconductordialog.cpp
|
||||
${QET_DIR}/sources/SearchAndReplace/ui/replaceconductordialog.h
|
||||
${QET_DIR}/sources/SearchAndReplace/ui/replaceelementdialog.cpp
|
||||
${QET_DIR}/sources/SearchAndReplace/ui/replaceelementdialog.h
|
||||
${QET_DIR}/sources/SearchAndReplace/ui/replacefoliowidget.cpp
|
||||
${QET_DIR}/sources/SearchAndReplace/ui/replacefoliowidget.h
|
||||
${QET_DIR}/sources/SearchAndReplace/ui/searchandreplacewidget.cpp
|
||||
${QET_DIR}/sources/SearchAndReplace/ui/searchandreplacewidget.h
|
||||
|
||||
${QET_DIR}/sources/titleblock/dimension.cpp
|
||||
${QET_DIR}/sources/titleblock/dimension.h
|
||||
${QET_DIR}/sources/titleblock/dimensionwidget.cpp
|
||||
${QET_DIR}/sources/titleblock/dimensionwidget.h
|
||||
${QET_DIR}/sources/titleblock/gridlayoutanimation.cpp
|
||||
${QET_DIR}/sources/titleblock/gridlayoutanimation.h
|
||||
${QET_DIR}/sources/titleblock/helpercell.cpp
|
||||
${QET_DIR}/sources/titleblock/helpercell.h
|
||||
${QET_DIR}/sources/titleblock/integrationmovetemplateshandler.cpp
|
||||
${QET_DIR}/sources/titleblock/integrationmovetemplateshandler.h
|
||||
${QET_DIR}/sources/titleblock/movetemplateshandler.h
|
||||
${QET_DIR}/sources/titleblock/qettemplateeditor.cpp
|
||||
${QET_DIR}/sources/titleblock/qettemplateeditor.h
|
||||
${QET_DIR}/sources/titleblock/splittedhelpercell.cpp
|
||||
${QET_DIR}/sources/titleblock/splittedhelpercell.h
|
||||
${QET_DIR}/sources/titleblock/templatecellsset.cpp
|
||||
${QET_DIR}/sources/titleblock/templatecellsset.h
|
||||
${QET_DIR}/sources/titleblock/templatecellwidget.cpp
|
||||
${QET_DIR}/sources/titleblock/templatecellwidget.h
|
||||
${QET_DIR}/sources/titleblock/templatecommands.cpp
|
||||
${QET_DIR}/sources/titleblock/templatecommands.h
|
||||
${QET_DIR}/sources/titleblock/templatedeleter.cpp
|
||||
${QET_DIR}/sources/titleblock/templatedeleter.h
|
||||
${QET_DIR}/sources/titleblock/templatelocationchooser.cpp
|
||||
${QET_DIR}/sources/titleblock/templatelocationchooser.h
|
||||
${QET_DIR}/sources/titleblock/templatelocation.cpp
|
||||
${QET_DIR}/sources/titleblock/templatelocation.h
|
||||
${QET_DIR}/sources/titleblock/templatelocationsaver.cpp
|
||||
${QET_DIR}/sources/titleblock/templatelocationsaver.h
|
||||
${QET_DIR}/sources/titleblock/templatelogomanager.cpp
|
||||
${QET_DIR}/sources/titleblock/templatelogomanager.h
|
||||
${QET_DIR}/sources/titleblock/templatescollection.cpp
|
||||
${QET_DIR}/sources/titleblock/templatescollection.h
|
||||
${QET_DIR}/sources/titleblock/templateview.cpp
|
||||
${QET_DIR}/sources/titleblock/templateview.h
|
||||
${QET_DIR}/sources/titleblock/templatevisualcell.cpp
|
||||
${QET_DIR}/sources/titleblock/templatevisualcell.h
|
||||
|
||||
${QET_DIR}/sources/ui/aboutqetdialog.cpp
|
||||
${QET_DIR}/sources/ui/aboutqetdialog.h
|
||||
${QET_DIR}/sources/ui/abstractelementpropertieseditorwidget.cpp
|
||||
${QET_DIR}/sources/ui/abstractelementpropertieseditorwidget.h
|
||||
${QET_DIR}/sources/ui/alignmenttextdialog.cpp
|
||||
${QET_DIR}/sources/ui/alignmenttextdialog.h
|
||||
${QET_DIR}/sources/ui/bomexportdialog.cpp
|
||||
${QET_DIR}/sources/ui/bomexportdialog.h
|
||||
${QET_DIR}/sources/ui/borderpropertieswidget.cpp
|
||||
${QET_DIR}/sources/ui/borderpropertieswidget.h
|
||||
${QET_DIR}/sources/ui/compositetexteditdialog.cpp
|
||||
${QET_DIR}/sources/ui/compositetexteditdialog.h
|
||||
${QET_DIR}/sources/ui/conductorpropertiesdialog.cpp
|
||||
${QET_DIR}/sources/ui/conductorpropertiesdialog.h
|
||||
${QET_DIR}/sources/ui/conductorpropertieswidget.cpp
|
||||
${QET_DIR}/sources/ui/conductorpropertieswidget.h
|
||||
${QET_DIR}/sources/ui/configsaveloaderwidget.cpp
|
||||
${QET_DIR}/sources/ui/configsaveloaderwidget.h
|
||||
${QET_DIR}/sources/ui/diagramcontextwidget.cpp
|
||||
${QET_DIR}/sources/ui/diagramcontextwidget.h
|
||||
${QET_DIR}/sources/ui/diagrampropertiesdialog.cpp
|
||||
${QET_DIR}/sources/ui/diagrampropertiesdialog.h
|
||||
${QET_DIR}/sources/ui/diagrampropertieseditordockwidget.cpp
|
||||
${QET_DIR}/sources/ui/diagrampropertieseditordockwidget.h
|
||||
${QET_DIR}/sources/ui/diagramselection.cpp
|
||||
${QET_DIR}/sources/ui/diagramselection.h
|
||||
${QET_DIR}/sources/ui/dialogwaiting.cpp
|
||||
${QET_DIR}/sources/ui/dialogwaiting.h
|
||||
${QET_DIR}/sources/ui/dynamicelementtextitemeditor.cpp
|
||||
${QET_DIR}/sources/ui/dynamicelementtextitemeditor.h
|
||||
${QET_DIR}/sources/ui/dynamicelementtextmodel.cpp
|
||||
${QET_DIR}/sources/ui/dynamicelementtextmodel.h
|
||||
${QET_DIR}/sources/ui/elementinfopartwidget.cpp
|
||||
${QET_DIR}/sources/ui/elementinfopartwidget.h
|
||||
${QET_DIR}/sources/ui/elementinfowidget.cpp
|
||||
${QET_DIR}/sources/ui/elementinfowidget.h
|
||||
${QET_DIR}/sources/ui/elementpropertieswidget.cpp
|
||||
${QET_DIR}/sources/ui/elementpropertieswidget.h
|
||||
${QET_DIR}/sources/ui/formulaassistantdialog.cpp
|
||||
${QET_DIR}/sources/ui/formulaassistantdialog.h
|
||||
${QET_DIR}/sources/ui/imagepropertieswidget.cpp
|
||||
${QET_DIR}/sources/ui/imagepropertieswidget.h
|
||||
${QET_DIR}/sources/ui/importelementdialog.cpp
|
||||
${QET_DIR}/sources/ui/importelementdialog.h
|
||||
${QET_DIR}/sources/ui/importelementtextpatterndialog.cpp
|
||||
${QET_DIR}/sources/ui/importelementtextpatterndialog.h
|
||||
${QET_DIR}/sources/ui/inditextpropertieswidget.cpp
|
||||
${QET_DIR}/sources/ui/inditextpropertieswidget.h
|
||||
${QET_DIR}/sources/ui/linksingleelementwidget.cpp
|
||||
${QET_DIR}/sources/ui/linksingleelementwidget.h
|
||||
${QET_DIR}/sources/ui/marginseditdialog.cpp
|
||||
${QET_DIR}/sources/ui/marginseditdialog.h
|
||||
${QET_DIR}/sources/ui/masterpropertieswidget.cpp
|
||||
${QET_DIR}/sources/ui/masterpropertieswidget.h
|
||||
${QET_DIR}/sources/ui/multipastedialog.cpp
|
||||
${QET_DIR}/sources/ui/multipastedialog.h
|
||||
${QET_DIR}/sources/ui/potentialselectordialog.cpp
|
||||
${QET_DIR}/sources/ui/potentialselectordialog.h
|
||||
${QET_DIR}/sources/ui/projectpropertiesdialog.cpp
|
||||
${QET_DIR}/sources/ui/projectpropertiesdialog.h
|
||||
${QET_DIR}/sources/ui/reportpropertiewidget.cpp
|
||||
${QET_DIR}/sources/ui/reportpropertiewidget.h
|
||||
${QET_DIR}/sources/ui/shapegraphicsitempropertieswidget.cpp
|
||||
${QET_DIR}/sources/ui/shapegraphicsitempropertieswidget.h
|
||||
${QET_DIR}/sources/ui/titleblockpropertieswidget.cpp
|
||||
${QET_DIR}/sources/ui/titleblockpropertieswidget.h
|
||||
${QET_DIR}/sources/ui/xrefpropertieswidget.cpp
|
||||
${QET_DIR}/sources/ui/xrefpropertieswidget.h
|
||||
${QET_DIR}/sources/ui/configpage/generalconfigurationpage.cpp
|
||||
|
||||
${QET_DIR}/sources/ui/configpage/generalconfigurationpage.h
|
||||
|
||||
${QET_DIR}/sources/undocommand/addelementtextcommand.cpp
|
||||
${QET_DIR}/sources/undocommand/addelementtextcommand.h
|
||||
${QET_DIR}/sources/undocommand/addgraphicsobjectcommand.cpp
|
||||
${QET_DIR}/sources/undocommand/addgraphicsobjectcommand.h
|
||||
${QET_DIR}/sources/undocommand/changeelementinformationcommand.cpp
|
||||
${QET_DIR}/sources/undocommand/changeelementinformationcommand.h
|
||||
${QET_DIR}/sources/undocommand/changetitleblockcommand.cpp
|
||||
${QET_DIR}/sources/undocommand/changetitleblockcommand.h
|
||||
${QET_DIR}/sources/undocommand/deleteqgraphicsitemcommand.cpp
|
||||
${QET_DIR}/sources/undocommand/deleteqgraphicsitemcommand.h
|
||||
${QET_DIR}/sources/undocommand/itemmodelcommand.cpp
|
||||
${QET_DIR}/sources/undocommand/itemmodelcommand.h
|
||||
${QET_DIR}/sources/undocommand/linkelementcommand.cpp
|
||||
${QET_DIR}/sources/undocommand/linkelementcommand.h
|
||||
${QET_DIR}/sources/undocommand/rotateselectioncommand.cpp
|
||||
${QET_DIR}/sources/undocommand/rotateselectioncommand.h
|
||||
${QET_DIR}/sources/undocommand/rotatetextscommand.cpp
|
||||
${QET_DIR}/sources/undocommand/rotatetextscommand.h
|
||||
|
||||
${QET_DIR}/sources/utils/conductorcreator.cpp
|
||||
${QET_DIR}/sources/utils/conductorcreator.h
|
||||
${QET_DIR}/sources/utils/macosxopenevent.cpp
|
||||
${QET_DIR}/sources/utils/macosxopenevent.h
|
||||
${QET_DIR}/sources/utils/qetutils.cpp
|
||||
${QET_DIR}/sources/utils/qetutils.h
|
||||
)
|
||||
|
||||
set(TS_FILES
|
||||
${QET_DIR}/lang/qet_ca.ts
|
||||
${QET_DIR}/lang/qet_de.ts
|
||||
${QET_DIR}/lang/qet_es.ts
|
||||
${QET_DIR}/lang/qet_fr.ts
|
||||
${QET_DIR}/lang/qet_it.ts
|
||||
${QET_DIR}/lang/qet_mn.ts
|
||||
${QET_DIR}/lang/qet_pt_br.ts
|
||||
${QET_DIR}/lang/qet_ru.ts
|
||||
${QET_DIR}/lang/qet_sr.ts
|
||||
${QET_DIR}/lang/qet_zh.ts
|
||||
${QET_DIR}/lang/qet_be.ts
|
||||
${QET_DIR}/lang/qet_da.ts
|
||||
${QET_DIR}/lang/qet_en.ts
|
||||
${QET_DIR}/lang/qet_fi.ts
|
||||
${QET_DIR}/lang/qet_hu.ts
|
||||
${QET_DIR}/lang/qet_nl.ts
|
||||
${QET_DIR}/lang/qet_pl.ts
|
||||
${QET_DIR}/lang/qet_ro.ts
|
||||
${QET_DIR}/lang/qet_sk.ts
|
||||
${QET_DIR}/lang/qet_ar.ts
|
||||
${QET_DIR}/lang/qet_cs.ts
|
||||
${QET_DIR}/lang/qet_el.ts
|
||||
${QET_DIR}/lang/qet_hr.ts
|
||||
${QET_DIR}/lang/qet_ja.ts
|
||||
${QET_DIR}/lang/qet_nb.ts
|
||||
${QET_DIR}/lang/qet_no.ts
|
||||
${QET_DIR}/lang/qet_pt.ts
|
||||
${QET_DIR}/lang/qet_sl.ts
|
||||
${QET_DIR}/lang/qet_tr.ts
|
||||
)
|
||||
29
cmake/start_options.cmake
Normal file
29
cmake/start_options.cmake
Normal file
@@ -0,0 +1,29 @@
|
||||
# Copyright 2006 The QElectroTech Team
|
||||
# This file is part of QElectroTech.
|
||||
#
|
||||
# QElectroTech is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# QElectroTech is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
message(" - start_options")
|
||||
|
||||
# Comment the line below to deactivate the --common-elements-dir option
|
||||
add_definitions(-DQET_ALLOW_OVERRIDE_CED_OPTION)
|
||||
|
||||
# Comment the line below to disable the --common-tbt-dir option
|
||||
add_definitions(-DQET_ALLOW_OVERRIDE_CTBTD_OPTION)
|
||||
|
||||
# Comment the line below to deactivate the --config-dir option
|
||||
add_definitions(-DQET_ALLOW_OVERRIDE_CD_OPTION)
|
||||
|
||||
#comment the line below to disable the project database export
|
||||
#add_definitions(-DQET_EXPORT_PROJECT_DB) #error Todo
|
||||
0
dev_doc/ID_of_QUndoCommand.txt
Executable file → Normal file
0
dev_doc/ID_of_QUndoCommand.txt
Executable file → Normal file
@@ -1,16 +1,16 @@
|
||||
Type = UserType + ???
|
||||
###DIAGRAM EDITOR###
|
||||
Element + 1000
|
||||
Conductor + 1001
|
||||
Terminal + 1002
|
||||
ElementTextItem + 1003
|
||||
DiagramTextItem + 1004
|
||||
Element + 1000
|
||||
Conductor + 1001
|
||||
Terminal + 1002
|
||||
ElementTextItem + 1003
|
||||
DiagramTextItem + 1004
|
||||
IndependentTextItem + 1005
|
||||
ConductorTextItem + 1006
|
||||
DiagramImageItem + 1007
|
||||
QetShapItem + 1008
|
||||
crossRefItem + 1009
|
||||
DynamiqueElementTextItem + 1010
|
||||
ConductorTextItem + 1006
|
||||
DiagramImageItem + 1007
|
||||
QetShapItem + 1008
|
||||
crossRefItem + 1009
|
||||
DynamiqueElementTextItem + 1010
|
||||
ElementPrimitiveDecorator + 2200
|
||||
|
||||
###ELEMENT EDITOR###
|
||||
@@ -25,4 +25,8 @@ part rectangle + 1109
|
||||
part dynamic text field + 1110
|
||||
|
||||
###QetGraphicsHandlerItem###
|
||||
QetGraphicsHandlerItem = 1200
|
||||
QetGraphicsHandlerItem + 1200
|
||||
|
||||
###VIEW ITEMS###
|
||||
QetGraphicsTableItem + 1300
|
||||
QetGraphicsHeaderItem + 1301
|
||||
|
||||
@@ -1,24 +1,28 @@
|
||||
<definition width="70" version="0.3" hotspot_x="49" hotspot_y="15" height="30" type="element" ic="true" orientation="dyyy"
|
||||
link_type="previous_report">
|
||||
<uuid uuid="{F549BEFB-F0CF-44ED-A948-F6F796BFB421}"/><names>
|
||||
<name lang="ru">Предыдущая страница</name>
|
||||
<definition height="20" version="0.80" width="30" hotspot_x="8" link_type="previous_report" hotspot_y="10" type="element">
|
||||
<uuid uuid="{994d5b97-25b5-49aa-93ae-c1857ab866ea}"/>
|
||||
<names>
|
||||
<name lang="ar">الصفحة السابقة</name>
|
||||
<name lang="ru">Предыдущая страница</name>
|
||||
<name lang="es">folio anterior</name>
|
||||
<name lang="it">Foglio precedente</name>
|
||||
<name lang="de">Vorherige Folie</name>
|
||||
<name lang="el">Προηγούμενη σελίδα</name>
|
||||
<name lang="en">Coming arrow</name>
|
||||
<name lang="it">Foglio precedente</name>
|
||||
<name lang="cs">Předchozí list</name>
|
||||
<name lang="fr">Folio précédent</name>
|
||||
<name lang="pl">Wejście adresowe</name>
|
||||
<name lang="es">folio anterior</name>
|
||||
<name lang="cs">Předchozí list</name>
|
||||
<name lang="hu">Beérkező hivatkozás</name>
|
||||
<name lang="nl">Referentie Vorig</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
<description>
|
||||
<polygon x4="-1" antialias="true" style="line-style:normal;line-weight:normal;filling:black;color:black" closed="false" y1="-4" x1="-1" y2="4" x2="-1" y3="0" x3="9" y4="-4"/>
|
||||
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="9" y2="0" x2="12"/>
|
||||
<input x="-44" y="0" size="9" rotate="true" text="/"/>
|
||||
<terminal x="13" y="0" nameHidden="0" number="" name="" orientation="e"/>
|
||||
<polygon x2="-1" y2="4" y4="-4" x1="-1" x3="9" y3="0" closed="false" style="line-style:normal;line-weight:normal;filling:black;color:black" y1="-4" x4="-1" antialias="true"/>
|
||||
<line length2="1.5" x2="12" end2="none" y2="0" length1="1.5" x1="9" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" end1="none" antialias="false"/>
|
||||
<dynamic_text x="-44" rotation="0" uuid="{8ec41ce2-36d6-4fe3-b299-c8a48cb2182c}" Halignment="AlignLeft" font="Sans Serif,9,-1,5,50,0,0,0,0,0" text_from="ElementInfo" y="-11.5" Valignment="AlignTop" z="3" frame="false" text_width="-1">
|
||||
<text></text>
|
||||
<info_name>label</info_name>
|
||||
</dynamic_text>
|
||||
<terminal x="13" uuid="{d7fd0bec-9f05-4651-a50b-29d7ffabeb41}" name="" y="0" orientation="e"/>
|
||||
</description>
|
||||
</definition>
|
||||
|
||||
@@ -1,24 +1,28 @@
|
||||
<definition width="40" version="0.3" hotspot_x="18" hotspot_y="15" height="30" type="element" ic="true" orientation="dyyy"
|
||||
link_type="next_report">
|
||||
<uuid uuid="{717352A1-F3C7-49C7-9A06-51620AB5CA00}"/><names>
|
||||
<name lang="ru">Следующая страница</name>
|
||||
<name lang="ar">الصفحة التالية</name>
|
||||
<definition hotspot_x="21" hotspot_y="10" version="0.80" type="element" height="20" link_type="next_report" width="30">
|
||||
<uuid uuid="{2e596a05-ef45-4895-b826-942d28c2d038}"/>
|
||||
<names>
|
||||
<name lang="de">Nächste Folie</name>
|
||||
<name lang="ar">الصفحة التالية</name>
|
||||
<name lang="fr">Folio suivant</name>
|
||||
<name lang="hu">Elmenő hivatkozás</name>
|
||||
<name lang="it">Foglio successivo</name>
|
||||
<name lang="el">Επόμενη σελίδα</name>
|
||||
<name lang="en">Going arrow</name>
|
||||
<name lang="it">Foglio successivo</name>
|
||||
<name lang="fr">Folio suivant</name>
|
||||
<name lang="pl">Wyjście adresowe</name>
|
||||
<name lang="es">Folio siguiente</name>
|
||||
<name lang="cs">Další list</name>
|
||||
<name lang="nl">Referentie volgend</name>
|
||||
<name lang="pl">Wyjście adresowe</name>
|
||||
<name lang="ru">Следующая страница</name>
|
||||
<name lang="cs">Další list</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
<description>
|
||||
<polygon x4="-9" antialias="true" style="line-style:normal;line-weight:normal;filling:black;color:black" closed="false" y1="-4" x1="-9" y2="4" x2="-9" y3="0" x3="2" y4="-4"/>
|
||||
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="-9" y2="0" x2="-12"/>
|
||||
<input x="6" y="0" size="9" rotate="true" text="/"/>
|
||||
<terminal x="-13" y="0" nameHidden="0" number="" name="" orientation="w"/>
|
||||
<polygon y3="0" y2="4" x4="-9" x3="2" x1="-9" x2="-9" y4="-4" style="line-style:normal;line-weight:normal;filling:black;color:black" y1="-4" closed="false" antialias="true"/>
|
||||
<line y2="0" x1="-9" x2="-12" length1="1.5" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" end1="none" length2="1.5" antialias="false"/>
|
||||
<dynamic_text Valignment="AlignTop" Halignment="AlignLeft" rotation="0" font="Sans Serif,9,-1,5,50,0,0,0,0,0" uuid="{93888a84-3ffd-438d-acef-5396acba0750}" text_width="-1" x="6" frame="false" z="3" y="-11.5" text_from="ElementInfo">
|
||||
<text></text>
|
||||
<info_name>label</info_name>
|
||||
</dynamic_text>
|
||||
<terminal uuid="{975add6f-4ba5-44af-a4c0-e1f1c2024601}" name="" x="-13" orientation="w" y="0"/>
|
||||
</description>
|
||||
</definition>
|
||||
|
||||
@@ -2,15 +2,18 @@
|
||||
<names>
|
||||
<name lang="ru">Точки разрыва</name>
|
||||
<name lang="ar">إحالات</name>
|
||||
<name lang="cs">Výstupy</name>
|
||||
<name lang="cs">Odkazování listů</name>
|
||||
<name lang="de">Folienverweise</name>
|
||||
<name lang="el">Αναφορές σελίδας</name>
|
||||
<name lang="en">Folio referencing</name>
|
||||
<name lang="fr">Reports de folio</name>
|
||||
<name lang="it">Riferimenti</name>
|
||||
<name lang="pl">Odsyłacze</name>
|
||||
<name lang="pt_br">Referências</name>
|
||||
<name lang="es">Referencias</name>
|
||||
<name lang="nl">Referenties</name>
|
||||
<name lang="da">Ark henvisninger</name>
|
||||
<name lang="ja">フォリオ参照</name>
|
||||
<name lang="hu">Tervlap hivatkozások</name>
|
||||
</names>
|
||||
</qet-directory>
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
<definition type="element" height="80" hotspot_y="40" version="0.70" width="50" hotspot_x="23" link_type="simple">
|
||||
<uuid uuid="{65b9e889-c2eb-4d85-aa9e-c1dff55678f5}"/>
|
||||
<names>
|
||||
<name lang="en">Three-pole source + PEN</name>
|
||||
<name lang="el">Τριφασικό + PEN</name>
|
||||
<name lang="es">Fuente tripolar + PEN</name>
|
||||
<name lang="nl">driefasen + aardenul</name>
|
||||
<name lang="pl">Linia trójfazowa (PEN)</name>
|
||||
<name lang="it">Sorgente tripolare + PEN</name>
|
||||
<name lang="de">Drehstrom + PEN</name>
|
||||
<name lang="ru">Трёхполюсный + PEN</name>
|
||||
<name lang="fr">Source tripolaire + PEN</name>
|
||||
<name lang="ar">مصدر ثلاثي القطبيّة + PEN</name>
|
||||
<name lang="cs">Přípojnice 3f+PEN pravá</name>
|
||||
<name lang="hu">3F + PEN</name>
|
||||
</names>
|
||||
<elementInformations/>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
<description>
|
||||
<dynamic_text z="1" Valignment="AlignTop" x="-7" text_from="ElementInfo" font="Sans Serif,9,-1,5,50,0,0,0,0,0" rotation="0" uuid="{7c68cf51-b979-4e89-97b2-a93b5ad61f95}" y="-60.45" Halignment="AlignLeft" frame="false" text_width="-1">
|
||||
<text></text>
|
||||
<info_name>label</info_name>
|
||||
</dynamic_text>
|
||||
<text x="7" font="Sans Serif,5,-1,5,50,0,0,0,0,0" rotation="0" y="33" text="PEN" color="#000000"/>
|
||||
<text x="7" font="Sans Serif,5,-1,5,50,0,0,0,0,0" rotation="0" y="13" text="L3" color="#000000"/>
|
||||
<text x="7" font="Sans Serif,5,-1,5,50,0,0,0,0,0" rotation="0" y="-7" text="L2" color="#000000"/>
|
||||
<text x="7" font="Sans Serif,5,-1,5,50,0,0,0,0,0" rotation="0" y="-27" text="L1" color="#000000"/>
|
||||
<line style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" x1="-15" y2="-30" end1="none" y1="-30" length1="1.5" length2="1.5" antialias="false" x2="-5"/>
|
||||
<line style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" x1="-15" y2="-10" end1="none" y1="-10" length1="1.5" length2="1.5" antialias="false" x2="-5"/>
|
||||
<line style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" x1="-15" y2="10" end1="none" y1="10" length1="1.5" length2="1.5" antialias="false" x2="-5"/>
|
||||
<line style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" x1="-14" y2="30" end1="none" y1="30" length1="1.5" length2="1.5" antialias="false" x2="-5"/>
|
||||
<terminal orientation="w" x="-15" y="-30"/>
|
||||
<terminal orientation="w" x="-15" y="-10"/>
|
||||
<terminal orientation="w" x="-15" y="30"/>
|
||||
<terminal orientation="w" x="-15" y="10"/>
|
||||
</description>
|
||||
</definition>
|
||||
@@ -0,0 +1,41 @@
|
||||
<definition type="element" height="100" hotspot_y="40" version="0.70" width="40" hotspot_x="20" link_type="simple">
|
||||
<uuid uuid="{b4b70d3d-8784-4323-b17b-d8ff3677cdc1}"/>
|
||||
<names>
|
||||
<name lang="en">Three-pole source + N + PE</name>
|
||||
<name lang="el">Τριφασικό + PEN</name>
|
||||
<name lang="es">Fuente tripolar + PEN</name>
|
||||
<name lang="nl">driefasen + aardenul</name>
|
||||
<name lang="pl">Linia trójfazowa (PEN)</name>
|
||||
<name lang="it">Sorgente tripolare + PEN</name>
|
||||
<name lang="de">Drehstrom + PEN</name>
|
||||
<name lang="ru">Трёхполюсный + PEN</name>
|
||||
<name lang="fr">Source tripolaire + PEN</name>
|
||||
<name lang="ar">مصدر ثلاثي القطبيّة + PEN</name>
|
||||
<name lang="cs">Přípojnice 3f+N+PE pravá</name>
|
||||
<name lang="hu">3F + N + PE</name>
|
||||
</names>
|
||||
<elementInformations/>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
<description>
|
||||
<dynamic_text z="1" Valignment="AlignTop" x="-7" text_from="ElementInfo" font="Sans Serif,9,-1,5,50,0,0,0,0,0" rotation="0" uuid="{1955f25e-b33b-4106-8b36-46862006122c}" y="-60.45" Halignment="AlignLeft" frame="false" text_width="-1">
|
||||
<text></text>
|
||||
<info_name>label</info_name>
|
||||
</dynamic_text>
|
||||
<text x="7" font="Sans Serif,5,-1,5,50,0,0,0,0,0" rotation="0" y="53" text="PE" color="#000000"/>
|
||||
<text x="7" font="Sans Serif,5,-1,5,50,0,0,0,0,0" rotation="0" y="33" text="N" color="#000000"/>
|
||||
<line style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" x1="-15" y2="50" end1="none" y1="50" length1="1.5" length2="1.5" antialias="false" x2="-5"/>
|
||||
<text x="7" font="Sans Serif,5,-1,5,50,0,0,0,0,0" rotation="0" y="13" text="L3" color="#000000"/>
|
||||
<text x="7" font="Sans Serif,5,-1,5,50,0,0,0,0,0" rotation="0" y="-7" text="L2" color="#000000"/>
|
||||
<text x="7" font="Sans Serif,5,-1,5,50,0,0,0,0,0" rotation="0" y="-27" text="L1" color="#000000"/>
|
||||
<line style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" x1="-15" y2="-30" end1="none" y1="-30" length1="1.5" length2="1.5" antialias="false" x2="-5"/>
|
||||
<line style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" x1="-15" y2="-10" end1="none" y1="-10" length1="1.5" length2="1.5" antialias="false" x2="-5"/>
|
||||
<line style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" x1="-15" y2="10" end1="none" y1="10" length1="1.5" length2="1.5" antialias="false" x2="-5"/>
|
||||
<line style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" x1="-15" y2="30" end1="none" y1="30" length1="1.5" length2="1.5" antialias="false" x2="-5"/>
|
||||
<terminal orientation="w" x="-15" y="50"/>
|
||||
<terminal orientation="w" x="-15" y="-30"/>
|
||||
<terminal orientation="w" x="-15" y="-10"/>
|
||||
<terminal orientation="w" x="-15" y="30"/>
|
||||
<terminal orientation="w" x="-15" y="10"/>
|
||||
</description>
|
||||
</definition>
|
||||
@@ -1,26 +1,43 @@
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="16" orientation="dyyy" height="50" hotspot_y="29" type="element">
|
||||
<uuid uuid="{75d4e5ef-6080-4118-9eab-afb53220b9ef}"/>
|
||||
<definition height="50" width="30" link_type="terminal" hotspot_x="16" version="0.80" type="element" hotspot_y="29">
|
||||
<uuid uuid="{a98ac40d-9055-4b9b-88ab-cffe6b08ed37}"/>
|
||||
<names>
|
||||
<name lang="ro">Masă</name>
|
||||
<name lang="pt">Massa</name>
|
||||
<name lang="es">Masa</name>
|
||||
<name lang="cs">Kostra</name>
|
||||
<name lang="it">Massa</name>
|
||||
<name lang="nl">Massa</name>
|
||||
<name lang="el">Γείωση</name>
|
||||
<name lang="ru">Шасси</name>
|
||||
<name lang="de">Masse</name>
|
||||
<name lang="cs">Kostra</name>
|
||||
<name lang="pl">Masa</name>
|
||||
<name lang="ro">Masă</name>
|
||||
<name lang="it">Massa</name>
|
||||
<name lang="en">Ground</name>
|
||||
<name lang="pl">Masa</name>
|
||||
<name lang="es">Masa</name>
|
||||
<name lang="ar">هيكل معدني</name>
|
||||
<name lang="fr">Masse</name>
|
||||
<name lang="ru">Шасси</name>
|
||||
<name lang="hu">Test</name>
|
||||
</names>
|
||||
<informations>titus
|
||||
<elementInformations>
|
||||
<elementInformation name="comment" show="1"></elementInformation>
|
||||
<elementInformation name="machine_manufacturer_reference" show="1"></elementInformation>
|
||||
<elementInformation name="manufacturer_reference" show="1"></elementInformation>
|
||||
<elementInformation name="description" show="1"></elementInformation>
|
||||
<elementInformation name="manufacturer" show="1"></elementInformation>
|
||||
<elementInformation name="designation" show="1"></elementInformation>
|
||||
<elementInformation name="quantity" show="1"></elementInformation>
|
||||
<elementInformation name="unity" show="1"></elementInformation>
|
||||
<elementInformation name="supplier" show="1"></elementInformation>
|
||||
<elementInformation name="plant" show="1"></elementInformation>
|
||||
<elementInformation name="label" show="1"></elementInformation>
|
||||
</elementInformations>
|
||||
<informations>titus
|
||||
titus0818@yahoo.com</informations>
|
||||
<description>
|
||||
<line antialias="false" length1="1.5" x2="0" end2="none" x1="0" end1="none" y2="13" length2="1.5" style="line-style:normal;line-weight:hight;filling:none;color:black" y1="-16"/>
|
||||
<line antialias="false" length1="1.5" x2="12.62" end2="none" x1="-13.6493" end1="none" y2="14" length2="1.5" style="line-style:normal;line-weight:hight;filling:none;color:black" y1="14"/>
|
||||
<input x="8" y="2" tagg="label" size="9" rotate="true" text="_"/>
|
||||
<line y1="-16" x1="0" style="line-style:normal;line-weight:hight;filling:none;color:black" end2="none" y2="13" length2="1.5" length1="1.5" x2="0" end1="none" antialias="false"/>
|
||||
<line y1="14" x1="-13.6493" style="line-style:normal;line-weight:hight;filling:none;color:black" end2="none" y2="14" length2="1.5" length1="1.5" x2="12.62" end1="none" antialias="false"/>
|
||||
<dynamic_text uuid="{7f02ce13-533d-4501-980d-6cb67bd1110d}" Halignment="AlignLeft" frame="false" x="8" Valignment="AlignTop" text_from="ElementInfo" y="-9" font="Sans Serif,9,-1,5,50,0,0,0,0,0" z="3" rotation="0" text_width="-1">
|
||||
<text></text>
|
||||
<info_name>label</info_name>
|
||||
</dynamic_text>
|
||||
<terminal x="0" y="-20" orientation="n"/>
|
||||
</description>
|
||||
</definition>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<definition width="20" link_type="simple" version="0.5" hotspot_x="9" orientation="dyyy" height="30" hotspot_y="20" type="element">
|
||||
<definition width="20" link_type="simple" version="0.5" hotspot_x="9" height="30" hotspot_y="20" type="element">
|
||||
<uuid uuid="{5983fe6f-de69-4368-a387-a6ce3b9c2951}"/>
|
||||
<names>
|
||||
<name lang="pt">Massa</name>
|
||||
@@ -13,6 +13,7 @@
|
||||
<name lang="en">Chassis</name>
|
||||
<name lang="fr">Masse</name>
|
||||
<name lang="ru">Шасси</name>
|
||||
<name lang="hu">Vázszerkezet</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -5,11 +5,14 @@
|
||||
<name lang="fr">Sources réseau</name>
|
||||
<name lang="it">Alimentazione da rete</name>
|
||||
<name lang="pl">Sieć elektroenergetyczna</name>
|
||||
<name lang="pt_br">Alimentação</name>
|
||||
<name lang="de">Netzquellen</name>
|
||||
<name lang="el">Παροχές δικτύου</name>
|
||||
<name lang="nl">Netvoedingen</name>
|
||||
<name lang="cs">Síťové zdroje</name>
|
||||
<name lang="es">Fuentes de red</name>
|
||||
<name lang="cs">Napájení</name>
|
||||
<name lang="es">Fuentes de red</name>
|
||||
<name lang="da">Netværkskilder</name>
|
||||
<name lang="ja">電源網</name>
|
||||
<name lang="hu">Hálózati források</name>
|
||||
</names>
|
||||
</qet-directory>
|
||||
|
||||
@@ -1,17 +1,18 @@
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" orientation="dyyy" height="60" hotspot_y="30" type="element">
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" height="60" hotspot_y="30" type="element">
|
||||
<uuid uuid="{35f2834a-308b-4e79-bc2a-1c00486b24e7}"/>
|
||||
<names>
|
||||
<name lang="es">Fuente unipolo + PE +N</name>
|
||||
<name lang="nl">1 fase + aarde + nul</name>
|
||||
<name lang="el">Μονοφασικό +N +PE</name>
|
||||
<name lang="de">Wechselstrom + PE +N</name>
|
||||
<name lang="cs">1 fáze + PE +N</name>
|
||||
<name lang="cs">Přípojnice 1f+N+PE</name>
|
||||
<name lang="pl">Linia jednofazowa (trójprzewodowa)</name>
|
||||
<name lang="it">Sorgente unipolare + PE +N</name>
|
||||
<name lang="ar">مصدر وحيد القطبية + أرضي PE + محايد N</name>
|
||||
<name lang="en">Single-pole source + PE +N</name>
|
||||
<name lang="fr">Source unipolaire + PE +N</name>
|
||||
<name lang="ru">Однополюсный + PE +N</name>
|
||||
<name lang="hu">F + N + PE</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -1,17 +1,18 @@
|
||||
<definition width="40" link_type="simple" version="0.5" hotspot_x="22" orientation="dyyy" height="40" hotspot_y="20" type="element">
|
||||
<definition width="40" link_type="simple" version="0.5" hotspot_x="22" height="40" hotspot_y="20" type="element">
|
||||
<uuid uuid="{fd042050-e73b-4f95-b4c1-834aa403b07a}"/>
|
||||
<names>
|
||||
<name lang="es">Fuente unipolo + PEN</name>
|
||||
<name lang="nl">1 fase + aardenul</name>
|
||||
<name lang="el">Μονοφασικό +PEN</name>
|
||||
<name lang="de">Wechselstrom + PEN</name>
|
||||
<name lang="cs">1 fáze + PEN</name>
|
||||
<name lang="cs">Přípojnice 1f+PEN</name>
|
||||
<name lang="pl">Linia jednofazowa (TN-C)</name>
|
||||
<name lang="it">Sorgente unipolare + PEN</name>
|
||||
<name lang="ar">مصدر وحيد القطبية +PEN</name>
|
||||
<name lang="en">Single-pole source +PEN</name>
|
||||
<name lang="fr">Source unipolaire + PEN</name>
|
||||
<name lang="ru">Однополюсный + PEN</name>
|
||||
<name lang="hu">F + PEN</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" orientation="dyyy" height="40" hotspot_y="20" type="element">
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" height="40" hotspot_y="20" type="element">
|
||||
<uuid uuid="{457a0c01-871c-40fd-83d7-14033333fb95}"/>
|
||||
<names>
|
||||
<name lang="pt">Fonte unipolar + neutro</name>
|
||||
@@ -6,13 +6,14 @@
|
||||
<name lang="nl">Wisselspanning L + nul N</name>
|
||||
<name lang="el">Μονοφασικό + Ουδέτερος</name>
|
||||
<name lang="de">Wechselstrom L + N</name>
|
||||
<name lang="cs">Jednopólový zdroj + nulový</name>
|
||||
<name lang="cs">Přípojnice 1f+N</name>
|
||||
<name lang="pl">Linia jednofazowa (dwuprzewodowa)</name>
|
||||
<name lang="it">Sorgente unipolare + neutro</name>
|
||||
<name lang="ar">مصدر وحيد القطبية + محايد N</name>
|
||||
<name lang="en">Single-pole source + neutral</name>
|
||||
<name lang="fr">Source unipolaire + neutre</name>
|
||||
<name lang="ru">Однополюсный + нейтраль</name>
|
||||
<name lang="hu">F + N</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" orientation="dyyy" height="60" hotspot_y="30" type="element">
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" height="60" hotspot_y="30" type="element">
|
||||
<uuid uuid="{03b9e482-cb45-4bee-8030-96b93624fc60}"/>
|
||||
<names>
|
||||
<name lang="pt">Fonte tripolar</name>
|
||||
@@ -6,13 +6,14 @@
|
||||
<name lang="nl">3fasen</name>
|
||||
<name lang="el">Τριφασικό</name>
|
||||
<name lang="de">Drehstrom</name>
|
||||
<name lang="cs">Třípólový zdroj</name>
|
||||
<name lang="cs">Přípojnice 3f</name>
|
||||
<name lang="pl">Linia trójfazowa (trójprzewodowa)</name>
|
||||
<name lang="it">Sorgente tripolare</name>
|
||||
<name lang="ar">مصدر ثلاثي القطبيّة</name>
|
||||
<name lang="en">Three-pole source</name>
|
||||
<name lang="fr">Source tripolaire</name>
|
||||
<name lang="ru">Трёхполюсный</name>
|
||||
<name lang="hu">3F</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -1,17 +1,18 @@
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" orientation="dyyy" height="100" hotspot_y="50" type="element">
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" height="100" hotspot_y="50" type="element">
|
||||
<uuid uuid="{0e017749-6c0f-44c0-8726-6804be8bbee7}"/>
|
||||
<names>
|
||||
<name lang="es">Fuente tripolar + PE +N</name>
|
||||
<name lang="nl">driefase + aarde + nul</name>
|
||||
<name lang="el">Τριφασικό +N +PE</name>
|
||||
<name lang="de">Drehstrom + PE +N</name>
|
||||
<name lang="cs">3 fáze + PE +N</name>
|
||||
<name lang="cs">Přípojnice 3f+N+PE</name>
|
||||
<name lang="pl">Linia trójfazowa (pięcioprzewodowa)</name>
|
||||
<name lang="it">Sorgente tripolare +PE + N</name>
|
||||
<name lang="ar">مصدر ثلاثي القطبية + PE + N</name>
|
||||
<name lang="en">Three-pole source + PE +N</name>
|
||||
<name lang="fr">Source tripolaire + PE +N</name>
|
||||
<name lang="ru">Трёхполюсный + PE +N</name>
|
||||
<name lang="hu">3F + N + PE</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -1,17 +1,18 @@
|
||||
<definition width="40" link_type="simple" version="0.5" hotspot_x="23" orientation="dyyy" height="80" hotspot_y="41" type="element">
|
||||
<definition width="40" link_type="simple" version="0.5" hotspot_x="23" height="80" hotspot_y="41" type="element">
|
||||
<uuid uuid="{c0913e95-3b3c-4dc2-a74d-bc73ded78c32}"/>
|
||||
<names>
|
||||
<name lang="es">Fuente tripolar + PEN</name>
|
||||
<name lang="nl">driefasen + aardenul</name>
|
||||
<name lang="el">Τριφασικό + PEN</name>
|
||||
<name lang="de">Drehstrom + PEN</name>
|
||||
<name lang="cs">3 fáze + PEN</name>
|
||||
<name lang="cs">Přípojnice 3f+PEN</name>
|
||||
<name lang="pl">Linia trójfazowa (PEN)</name>
|
||||
<name lang="it">Sorgente tripolare + PEN</name>
|
||||
<name lang="ar">مصدر ثلاثي القطبيّة + PEN</name>
|
||||
<name lang="en">Three-pole source + PEN</name>
|
||||
<name lang="fr">Source tripolaire + PEN</name>
|
||||
<name lang="ru">Трёхполюсный + PEN</name>
|
||||
<name lang="hu">3F + PEN</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" orientation="dyyy" height="80" hotspot_y="40" type="element">
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" height="80" hotspot_y="40" type="element">
|
||||
<uuid uuid="{8bfb1790-0735-47d5-88a2-8b4d91aba2f1}"/>
|
||||
<names>
|
||||
<name lang="pt">Fonte tripolar + neutro</name>
|
||||
@@ -6,13 +6,14 @@
|
||||
<name lang="nl">Driefasen + nul</name>
|
||||
<name lang="el">Τριφασικό + Ουδέτερος</name>
|
||||
<name lang="de">Dreiphasig + Neutral</name>
|
||||
<name lang="cs">Třípólový zdroj + nulový</name>
|
||||
<name lang="cs">Přípojnice 3f+N</name>
|
||||
<name lang="pl">Linia trójfazowa (czteroprzewodowa)</name>
|
||||
<name lang="it">Sorgente tripolare + neutro</name>
|
||||
<name lang="ar">مصدر ثلاثي القطبيّة + محايد</name>
|
||||
<name lang="en">Three-pole source + neutral</name>
|
||||
<name lang="fr">Source tripolaire + neutre</name>
|
||||
<name lang="ru">Трёхполюсный + нейтраль</name>
|
||||
<name lang="hu">3F + N</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" orientation="dyyy" height="20" hotspot_y="10" type="element">
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" height="20" hotspot_y="10" type="element">
|
||||
<uuid uuid="{b5ad2e41-804d-4745-99be-e8951cffdf98}"/>
|
||||
<names>
|
||||
<name lang="pt">Fonte de neutro</name>
|
||||
@@ -6,13 +6,14 @@
|
||||
<name lang="nl">Nul voeding</name>
|
||||
<name lang="el">Ουδέτερος</name>
|
||||
<name lang="de">Neutralleiter</name>
|
||||
<name lang="cs">Nulový zdroj</name>
|
||||
<name lang="cs">Přípojnice N</name>
|
||||
<name lang="pl">Przewód neutralny</name>
|
||||
<name lang="it">Sorgente neutro</name>
|
||||
<name lang="ar">مصدر محايد</name>
|
||||
<name lang="en">Neutral source</name>
|
||||
<name lang="fr">Source neutre</name>
|
||||
<name lang="ru">Нейтраль</name>
|
||||
<name lang="hu">N</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" orientation="dyyy" height="20" hotspot_y="10" type="element">
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" height="20" hotspot_y="10" type="element">
|
||||
<uuid uuid="{7693c5e0-762b-4309-8d97-cb74619f9efd}"/>
|
||||
<names>
|
||||
<name lang="pt">Fonte de fase</name>
|
||||
@@ -6,13 +6,14 @@
|
||||
<name lang="nl">Fase</name>
|
||||
<name lang="el">Φάση</name>
|
||||
<name lang="de">Phase</name>
|
||||
<name lang="cs">Fázový zdroj</name>
|
||||
<name lang="cs">Přípojnice L</name>
|
||||
<name lang="pl">Przewód liniowy</name>
|
||||
<name lang="it">Sorgente fase</name>
|
||||
<name lang="ar">مصدر وجه</name>
|
||||
<name lang="en">Phase source</name>
|
||||
<name lang="fr">Source phase</name>
|
||||
<name lang="ru">Фаза</name>
|
||||
<name lang="hu">F</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<definition width="70" link_type="simple" version="0.5" hotspot_x="34" orientation="dyyy" height="100" hotspot_y="40" type="element">
|
||||
<definition width="70" link_type="simple" version="0.5" hotspot_x="34" height="100" hotspot_y="40" type="element">
|
||||
<uuid uuid="{4b9794cf-e7c0-4f59-aa0a-bb1fce4dfe48}"/>
|
||||
<names>
|
||||
<name lang="es">Punto de distribución TN-C > TN-S</name>
|
||||
@@ -11,6 +11,7 @@
|
||||
<name lang="en">Distribution point TN-C >TN-S</name>
|
||||
<name lang="fr">Point de distribution TN-C >TN-S</name>
|
||||
<name lang="ru">Распределительный пункт TN-C >TN-S</name>
|
||||
<name lang="hu">3F + PEN szétválasztva TN-C-ről TN-S-re</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -1,27 +1,44 @@
|
||||
<definition width="20" link_type="simple" version="0.5" hotspot_x="10" orientation="dyyy" height="30" hotspot_y="19" type="element">
|
||||
<uuid uuid="{93eafb79-a84a-45e3-b43b-327d0944591b}"/>
|
||||
<definition height="30" width="20" link_type="terminal" hotspot_x="10" version="0.80" type="element" hotspot_y="19">
|
||||
<uuid uuid="{e4e753a8-9fde-4e8e-9256-0cf99d67e3de}"/>
|
||||
<names>
|
||||
<name lang="pt">Terra</name>
|
||||
<name lang="el">Γείωση</name>
|
||||
<name lang="es">Tierra</name>
|
||||
<name lang="nl">Aarde</name>
|
||||
<name lang="de">Erde</name>
|
||||
<name lang="cs">Země</name>
|
||||
<name lang="pl">Uziemienie</name>
|
||||
<name lang="cs">Uzemnění</name>
|
||||
<name lang="it">Terra</name>
|
||||
<name lang="ar">تأريض</name>
|
||||
<name lang="en">Ground</name>
|
||||
<name lang="fr">Terre</name>
|
||||
<name lang="el">Γείωση</name>
|
||||
<name lang="nl">Aarde</name>
|
||||
<name lang="ru">Земля</name>
|
||||
<name lang="de">Erde</name>
|
||||
<name lang="en">Ground</name>
|
||||
<name lang="pl">Uziemienie</name>
|
||||
<name lang="es">Tierra</name>
|
||||
<name lang="ar">تأريض</name>
|
||||
<name lang="fr">Terre</name>
|
||||
<name lang="hu">Földelő</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
<elementInformations>
|
||||
<elementInformation name="comment" show="1"></elementInformation>
|
||||
<elementInformation name="machine_manufacturer_reference" show="1"></elementInformation>
|
||||
<elementInformation name="manufacturer_reference" show="1"></elementInformation>
|
||||
<elementInformation name="description" show="1"></elementInformation>
|
||||
<elementInformation name="manufacturer" show="1"></elementInformation>
|
||||
<elementInformation name="designation" show="1"></elementInformation>
|
||||
<elementInformation name="quantity" show="1"></elementInformation>
|
||||
<elementInformation name="unity" show="1"></elementInformation>
|
||||
<elementInformation name="supplier" show="1"></elementInformation>
|
||||
<elementInformation name="plant" show="1"></elementInformation>
|
||||
<elementInformation name="label" show="1"></elementInformation>
|
||||
</elementInformations>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
<description>
|
||||
<input x="2" y="-11.5" tagg="label" size="9" rotate="true" text="_"/>
|
||||
<line antialias="false" length1="1.5" x2="3" end2="none" x1="-3" end1="none" y2="4" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="4"/>
|
||||
<line antialias="false" length1="1.5" x2="5" end2="none" x1="-5" end1="none" y2="2" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="2"/>
|
||||
<line antialias="false" length1="1.5" x2="7" end2="none" x1="-7" end1="none" y2="0" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0"/>
|
||||
<line antialias="false" length1="1.5" x2="0" end2="none" x1="0" end1="none" y2="0" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10"/>
|
||||
<dynamic_text uuid="{0af57a27-1887-4576-8b51-200ca996e582}" Halignment="AlignLeft" frame="false" x="2" Valignment="AlignTop" text_from="ElementInfo" y="-22.5" font="Sans Serif,9,-1,5,50,0,0,0,0,0" z="1" rotation="0" text_width="-1">
|
||||
<text></text>
|
||||
<info_name>label</info_name>
|
||||
</dynamic_text>
|
||||
<line y1="4" x1="-3" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" y2="4" length2="1.5" length1="1.5" x2="3" end1="none" antialias="false"/>
|
||||
<line y1="2" x1="-5" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" y2="2" length2="1.5" length1="1.5" x2="5" end1="none" antialias="false"/>
|
||||
<line y1="0" x1="-7" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" y2="0" length2="1.5" length1="1.5" x2="7" end1="none" antialias="false"/>
|
||||
<line y1="-10" x1="0" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" y2="0" length2="1.5" length1="1.5" x2="0" end1="none" antialias="false"/>
|
||||
<terminal x="0" y="-11" orientation="n"/>
|
||||
</description>
|
||||
</definition>
|
||||
|
||||
17
elements/10_electric/10_allpole/114_connections/bod.elmt
Normal file
17
elements/10_electric/10_allpole/114_connections/bod.elmt
Normal file
@@ -0,0 +1,17 @@
|
||||
<definition width="20" height="20" hotspot_y="9" type="element" link_type="simple" hotspot_x="9" version="0.60">
|
||||
<uuid uuid="{079913f8-18b5-4524-84bd-aadf75dfefbf}"/>
|
||||
<names>
|
||||
<name lang="cs">Bod</name>
|
||||
<name lang="de">Verbindung</name>
|
||||
<name lang="hu">Keresztezés pont alakzatban</name>
|
||||
</names>
|
||||
<informations></informations>
|
||||
<description>
|
||||
<circle diameter="4" style="line-style:normal;line-weight:normal;filling:black;color:black" antialias="false" y="-2" x="-2"/>
|
||||
<input rotate="true" text=" " tagg="label" size="9" y="-3" x="-11"/>
|
||||
<terminal orientation="e" y="0" x="2"/>
|
||||
<terminal orientation="w" y="0" x="-2"/>
|
||||
<terminal orientation="s" y="2" x="0"/>
|
||||
<terminal orientation="n" y="-2" x="0"/>
|
||||
</description>
|
||||
</definition>
|
||||
@@ -1,7 +1,8 @@
|
||||
<definition hotspot_x="11" hotspot_y="4" version="0.70" type="element" height="20" orientation="dyyy" link_type="terminal" width="30">
|
||||
<definition hotspot_x="11" hotspot_y="4" version="0.70" type="element" height="20" link_type="terminal" width="30">
|
||||
<uuid uuid="{141e7e1e-4f7f-456d-9f04-52c32109b969}"/>
|
||||
<names>
|
||||
<name lang="en">Combine</name>
|
||||
<name lang="de">Klemmstelle (2)</name>
|
||||
<name lang="fr">Jonction</name>
|
||||
<name lang="es">Unión</name>
|
||||
<name lang="it">Collegamento</name>
|
||||
@@ -9,6 +10,7 @@
|
||||
<name lang="ar">وصلة</name>
|
||||
<name lang="ru">Соединение</name>
|
||||
<name lang="cs">Spoj</name>
|
||||
<name lang="hu">Egyesítő három vezetékhez</name>
|
||||
</names>
|
||||
<elementInformations/>
|
||||
<informations></informations>
|
||||
|
||||
@@ -1,22 +1,25 @@
|
||||
<definition hotspot_y="7" width="20" orientation="dyyy" type="element" height="20" version="0.70" hotspot_x="11" link_type="terminal">
|
||||
<uuid uuid="{2d505b61-db0f-4784-9b9c-189366058272}"/>
|
||||
<definition link_type="terminal" width="20" height="20" hotspot_y="7" type="element" version="0.80" hotspot_x="11">
|
||||
<uuid uuid="{95725a69-d9bf-4186-938c-1f1b9256530b}"/>
|
||||
<names>
|
||||
<name lang="es">Esquina</name>
|
||||
<name lang="en">Corner</name>
|
||||
<name lang="cs">Roh</name>
|
||||
<name lang="it">Angolo</name>
|
||||
<name lang="fr">Coin</name>
|
||||
<name lang="ru">Угол</name>
|
||||
<name lang="pl">Narożnik</name>
|
||||
<name lang="ar">ركن</name>
|
||||
<name lang="it">Angolo</name>
|
||||
<name lang="es">Esquina</name>
|
||||
<name lang="ru">Угол</name>
|
||||
<name lang="en">Corner</name>
|
||||
<name lang="de">Ecke</name>
|
||||
<name lang="cs">Roh</name>
|
||||
<name lang="hu">Sarok</name>
|
||||
</names>
|
||||
<elementInformations/>
|
||||
<informations></informations>
|
||||
<description>
|
||||
<dynamic_text rotation="0" x="-0.5" y="-5.45" uuid="{9b8dd22d-096a-4989-b6f7-1de9e0339f53}" font_size="1" z="1" frame="false" text_from="UserText" text_width="-1">
|
||||
<dynamic_text rotation="0" font="Sans Serif,9,-1,5,0,0,0,0,0,0,normal" text_width="-1" x="-0.5" z="1" Halignment="AlignLeft" Valignment="AlignTop" text_from="UserText" frame="false" y="-5.45" uuid="{9b8dd22d-096a-4989-b6f7-1de9e0339f53}">
|
||||
<text>_</text>
|
||||
</dynamic_text>
|
||||
<terminal x="0" y="4" orientation="s"/>
|
||||
<terminal x="-4" y="0" orientation="w"/>
|
||||
<polygon style="line-style:normal;line-weight:normal;filling:none;color:black" x1="-4" y2="0" y1="0" antialias="false" x2="0" x3="0" y3="4" closed="false"/>
|
||||
<terminal name="" orientation="w" x="-4" y="0" uuid="{e1ea331a-7456-47f0-b991-0a2299d3023c}"/>
|
||||
<terminal name="" orientation="s" x="0" y="4" uuid="{eacfd29f-4682-41c2-9783-cedb80773f13}"/>
|
||||
</description>
|
||||
</definition>
|
||||
|
||||
@@ -1,25 +1,29 @@
|
||||
<definition height="20" link_type="terminal" hotspot_x="9" width="20" orientation="dyyy" hotspot_y="9" version="0.70" type="element">
|
||||
<uuid uuid="{8c0d3e9c-dc37-41d7-bfd5-fe4dbf8dc4fb}"/>
|
||||
<definition hotspot_y="9" link_type="terminal" height="20" hotspot_x="9" version="0.80" type="element" width="20">
|
||||
<uuid uuid="{30794dcd-a269-4b6b-8231-c88d89a91e27}"/>
|
||||
<names>
|
||||
<name lang="ru">Пересечение</name>
|
||||
<name lang="cs">Kříž</name>
|
||||
<name lang="pl">Połączenie 2</name>
|
||||
<name lang="it">Croce</name>
|
||||
<name lang="es">Cruzar</name>
|
||||
<name lang="en">Cross</name>
|
||||
<name lang="ar">صليب</name>
|
||||
<name lang="hu">Kereszt alakú</name>
|
||||
<name lang="it">Croce</name>
|
||||
<name lang="pl">Połączenie 2</name>
|
||||
<name lang="ru">Пересечение</name>
|
||||
<name lang="fr">Croix</name>
|
||||
<name lang="de">Kreuz</name>
|
||||
<name lang="en">Cross</name>
|
||||
<name lang="es">Cruzar</name>
|
||||
</names>
|
||||
<elementInformations/>
|
||||
<informations></informations>
|
||||
<description>
|
||||
<circle y="-1" style="line-style:normal;line-weight:normal;filling:black;color:black" x="-1" antialias="true" diameter="2"/>
|
||||
<dynamic_text uuid="{fc5c039b-1fca-40d9-a6ff-a9e1775de38b}" text_width="-1" frame="false" y="-9.45" font_size="1" x="-0.5" z="2" rotation="0" text_from="UserText">
|
||||
<circle y="-1" x="-1" antialias="true" diameter="2" style="line-style:normal;line-weight:normal;filling:black;color:black"/>
|
||||
<dynamic_text y="-9.45" text_width="-1" x="-0.5" text_from="UserText" Valignment="AlignTop" rotation="0" Halignment="AlignLeft" z="2" frame="false" font="Sans Serif,9,-1,5,0,0,0,0,0,0,normal" uuid="{fc5c039b-1fca-40d9-a6ff-a9e1775de38b}">
|
||||
<text>_</text>
|
||||
</dynamic_text>
|
||||
<terminal y="0" orientation="e" x="4"/>
|
||||
<terminal y="4" orientation="s" x="0"/>
|
||||
<terminal y="-4" orientation="n" x="0"/>
|
||||
<terminal y="0" orientation="w" x="-4"/>
|
||||
<line y1="0" y2="0" x1="-4" antialias="false" end1="none" length1="1.5" length2="1.5" x2="4" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
|
||||
<line y1="-4" y2="4" x1="0" antialias="false" end1="none" length1="1.5" length2="1.5" x2="0" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
|
||||
<terminal y="-4" name="" x="0" orientation="n" uuid="{667d83d2-8840-40ec-bf41-8dc659926fe2}"/>
|
||||
<terminal y="4" name="" x="0" orientation="s" uuid="{c9b40e74-5d24-4cd5-9dc7-3be318007661}"/>
|
||||
<terminal y="0" name="" x="-4" orientation="w" uuid="{935e3f1e-3dc0-4b41-8252-6e7ee9f1a3e1}"/>
|
||||
<terminal y="0" name="" x="4" orientation="e" uuid="{340c983a-1f7e-4939-b844-c50c8e28302d}"/>
|
||||
</description>
|
||||
</definition>
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
<definition width="10" hotspot_y="14" hotspot_x="5" height="30" link_type="terminal" orientation="dyyy" version="0.70" type="element">
|
||||
<definition width="10" hotspot_y="14" hotspot_x="5" height="30" link_type="terminal" version="0.70" type="element">
|
||||
<uuid uuid="{b5abb4c2-455d-45ff-95f2-328521f4e2e1}"/>
|
||||
<names>
|
||||
<name lang="en">Jump</name>
|
||||
<name lang="de">Sprung</name>
|
||||
<name lang="fr">Saut</name>
|
||||
<name lang="ar">قفز</name>
|
||||
<name lang="cs">Skok</name>
|
||||
@@ -9,6 +10,7 @@
|
||||
<name lang="pl">Brak połączenia</name>
|
||||
<name lang="ru">Перемычка</name>
|
||||
<name lang="es">Puente</name>
|
||||
<name lang="hu">Átugrás összekötés nélkül</name>
|
||||
</names>
|
||||
<elementInformations/>
|
||||
<informations></informations>
|
||||
|
||||
22
elements/10_electric/10_allpole/114_connections/lphd.elmt
Normal file
22
elements/10_electric/10_allpole/114_connections/lphd.elmt
Normal file
@@ -0,0 +1,22 @@
|
||||
<definition hotspot_x="14" height="30" link_type="simple" width="30" version="0.80" type="element" hotspot_y="12">
|
||||
<uuid uuid="{0b6817fe-dd44-42a8-8e7c-3c110d13b8a2}"/>
|
||||
<names>
|
||||
<name lang="hu">Egyesítő négy vezetékhez</name>
|
||||
<name lang="de">Klemmstelle (3)</name>
|
||||
<name lang="cs">Všestranný spoj</name>
|
||||
</names>
|
||||
<elementInformations/>
|
||||
<informations></informations>
|
||||
<description>
|
||||
<dynamic_text Valignment="AlignTop" x="-13" text_from="ElementInfo" text_width="-1" z="2" uuid="{14c0b70c-c028-49ef-bf72-3c3c9cd64669}" y="-12" rotation="0" frame="false" Halignment="AlignLeft" font="Sans Serif,9,-1,5,50,0,0,0,0,0">
|
||||
<text></text>
|
||||
<info_name>label</info_name>
|
||||
</dynamic_text>
|
||||
<polygon x1="-10" y5="0" x3="0" x5="10" y2="0" y3="5" closed="false" style="line-style:normal;line-weight:normal;filling:none;color:black" x4="5" x2="-5" antialias="false" y4="0" y1="0"/>
|
||||
<line x1="0" end1="none" y2="10" style="line-style:normal;line-weight:normal;filling:none;color:black" x2="0" length1="1.5" antialias="false" end2="none" y1="-5" length2="1.5"/>
|
||||
<terminal x="10" orientation="e" uuid="{06bf5c9f-6986-45bf-b11f-02e876abc4b8}" y="0" name=""/>
|
||||
<terminal x="0" orientation="n" uuid="{33c03677-8555-4b42-ae2c-4b4308978086}" y="-5" name=""/>
|
||||
<terminal x="-10" orientation="w" uuid="{95bef6e9-343e-45d7-9705-4aa81f62bed0}" y="0" name=""/>
|
||||
<terminal x="0" orientation="s" uuid="{e9329e22-255b-4763-9dc6-65da277e1ac7}" y="10" name=""/>
|
||||
</description>
|
||||
</definition>
|
||||
@@ -6,10 +6,13 @@
|
||||
<name lang="fr">Connections</name>
|
||||
<name lang="it">Collegamenti</name>
|
||||
<name lang="pl">Połączenia</name>
|
||||
<name lang="pt_br">Conexões</name>
|
||||
<name lang="cs">Spojení</name>
|
||||
<name lang="el">Ενώσεις</name>
|
||||
<name lang="nl">Verbindingen</name>
|
||||
<name lang="es">Conexiones</name>
|
||||
<name lang="es">Conexiones</name>
|
||||
<name lang="da">Forbindelser</name>
|
||||
<name lang="ja">接続</name>
|
||||
<name lang="hu">Csatlakozások</name>
|
||||
</names>
|
||||
</qet-directory>
|
||||
|
||||
@@ -1,25 +1,26 @@
|
||||
<definition type="element" height="20" width="30" orientation="dyyy" version="0.70" hotspot_y="4" link_type="terminal" hotspot_x="17">
|
||||
<uuid uuid="{709e6400-adc2-4faf-ba46-aa513d1dcaf1}"/>
|
||||
<definition width="30" version="0.80" hotspot_x="17" hotspot_y="4" link_type="terminal" type="element" height="20">
|
||||
<uuid uuid="{5a3d6c01-db95-45ec-be2c-dd861938525b}"/>
|
||||
<names>
|
||||
<name lang="fr">Epissure</name>
|
||||
<name lang="pl">Połączenie 3</name>
|
||||
<name lang="cs">Spojka</name>
|
||||
<name lang="en">Splice</name>
|
||||
<name lang="it">Spaziatura</name>
|
||||
<name lang="ru">Сращивание</name>
|
||||
<name lang="es">Empalme</name>
|
||||
<name lang="pl">Połączenie 3</name>
|
||||
<name lang="it">Spaziatura</name>
|
||||
<name lang="en">Splice</name>
|
||||
<name lang="de">Spleiß</name>
|
||||
<name lang="hu">Egyesítő három vezetékhez</name>
|
||||
<name lang="ru">Сращивание</name>
|
||||
</names>
|
||||
<elementInformations/>
|
||||
<informations></informations>
|
||||
<description>
|
||||
<dynamic_text text_width="-1" x="1.5" rotation="0" frame="false" uuid="{b653b162-d4c8-4660-a5ca-e6ca05a56de9}" font_size="1" z="1" text_from="ElementInfo" y="-1.45">
|
||||
<dynamic_text Valignment="AlignTop" y="-1.45" text_width="-1" frame="false" x="1.5" Halignment="AlignLeft" uuid="{b653b162-d4c8-4660-a5ca-e6ca05a56de9}" text_from="ElementInfo" font="Sans Serif,9,-1,5,0,0,0,0,0,0,normal" rotation="0" z="1">
|
||||
<text></text>
|
||||
<info_name>label</info_name>
|
||||
</dynamic_text>
|
||||
<line x2="-6" antialias="false" x1="0" end2="none" y2="0" end1="none" length2="1.5" length1="1.5" y1="6" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
|
||||
<line x2="-5" antialias="false" x1="1" end2="none" y2="0" end1="none" length2="1.5" length1="1.5" y1="0" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
|
||||
<terminal x="0" orientation="s" y="10"/>
|
||||
<terminal x="-10" orientation="w" y="0"/>
|
||||
<terminal x="4" orientation="e" y="0"/>
|
||||
<polygon y1="0" y2="0" style="line-style:normal;line-weight:normal;filling:none;color:black" x4="0" y4="5" x3="-5" antialias="false" x2="-10" y5="10" x5="0" closed="false" x1="4" y3="0"/>
|
||||
<terminal y="10" x="0" uuid="{1d3bb613-e8e2-4bcd-8515-ff9a0459b3c3}" name="" orientation="s"/>
|
||||
<terminal y="0" x="-10" uuid="{367dd739-791b-4d8f-9e49-4a70fd990b19}" name="" orientation="w"/>
|
||||
<terminal y="0" x="4" uuid="{f75b8c8d-508b-4346-a6df-8cda82201d98}" name="" orientation="e"/>
|
||||
</description>
|
||||
</definition>
|
||||
|
||||
@@ -1,25 +1,27 @@
|
||||
<definition hotspot_y="4" height="20" hotspot_x="17" type="element" width="30" link_type="terminal" orientation="dyyy" version="0.70">
|
||||
<uuid uuid="{9e88368e-1b20-4a56-8941-5d17a4cce2d4}"/>
|
||||
<definition height="20" version="0.80" hotspot_x="17" link_type="terminal" width="30" type="element" hotspot_y="4">
|
||||
<uuid uuid="{3dd412d9-6882-42ae-9f5f-eb04f2224214}"/>
|
||||
<names>
|
||||
<name lang="cs">Levé spojení</name>
|
||||
<name lang="ru">Справа налево</name>
|
||||
<name lang="fr">Liaison gauche</name>
|
||||
<name lang="en">Thru left</name>
|
||||
<name lang="ar">ربط يسار</name>
|
||||
<name lang="it">Collegamento sinistro</name>
|
||||
<name lang="pl">Połączenie 4</name>
|
||||
<name lang="hu">Balra továbbmenő leágazás</name>
|
||||
<name lang="es">A la izquierda</name>
|
||||
<name lang="ar">ربط يسار</name>
|
||||
<name lang="pl">Połączenie 4</name>
|
||||
<name lang="it">Collegamento sinistro</name>
|
||||
<name lang="ru">Справа налево</name>
|
||||
<name lang="de">Abzweig links</name>
|
||||
<name lang="en">Thru left</name>
|
||||
<name lang="fr">Liaison gauche</name>
|
||||
<name lang="cs">Levé spojení</name>
|
||||
</names>
|
||||
<elementInformations/>
|
||||
<informations></informations>
|
||||
<description>
|
||||
<dynamic_text font_size="1" rotation="0" uuid="{5ff9bef8-b6a8-4cf8-ba82-4dabe7b1820f}" text_width="-1" frame="false" text_from="UserText" z="1" x="1.5" y="-1.45">
|
||||
<dynamic_text text_width="-1" text_from="UserText" Valignment="AlignTop" x="1.5" frame="false" rotation="0" uuid="{5ff9bef8-b6a8-4cf8-ba82-4dabe7b1820f}" z="1" y="-1.45" Halignment="AlignLeft" font="Sans Serif,9,-1,5,0,0,0,0,0,0,normal">
|
||||
<text>_</text>
|
||||
</dynamic_text>
|
||||
<line x1="0" length1="1.5" end2="none" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="6" y2="0" end1="none" antialias="false" x2="-6"/>
|
||||
<line x1="0" length1="1.5" end2="none" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" y2="5" end1="none" antialias="false" x2="0"/>
|
||||
<terminal x="4" orientation="e" y="0"/>
|
||||
<terminal x="-10" orientation="w" y="0"/>
|
||||
<terminal x="0" orientation="s" y="10"/>
|
||||
<polygon y1="0" x4="0" x2="-5" x3="0" antialias="false" y2="0" y3="5" style="line-style:normal;line-weight:normal;filling:none;color:black" y4="10" x1="-10" closed="false"/>
|
||||
<polygon y1="10" x2="0" x3="4" antialias="false" y2="0" y3="0" style="line-style:normal;line-weight:normal;filling:none;color:black" x1="0" closed="false"/>
|
||||
<terminal x="0" uuid="{46980c8f-3fb1-4993-b1ec-6f3b60832fab}" orientation="s" name="" y="10"/>
|
||||
<terminal x="-10" uuid="{401a02b0-a3d8-4f09-bd65-c4a6ad782686}" orientation="w" name="" y="0"/>
|
||||
<terminal x="4" uuid="{223e7aaa-f9ff-47e6-b901-89471848b8de}" orientation="e" name="" y="0"/>
|
||||
</description>
|
||||
</definition>
|
||||
|
||||
@@ -1,26 +1,27 @@
|
||||
<definition link_type="terminal" width="30" hotspot_x="14" orientation="dyyy" height="20" version="0.70" hotspot_y="4" type="element">
|
||||
<uuid uuid="{6e40fff3-691c-4622-b9aa-4ff930a5b981}"/>
|
||||
<definition width="30" type="element" hotspot_x="14" version="0.80" hotspot_y="4" height="20" link_type="terminal">
|
||||
<uuid uuid="{8e68cb1a-e9d8-42e4-aa67-aca8b6e6b32d}"/>
|
||||
<names>
|
||||
<name lang="en">Thru right</name>
|
||||
<name lang="ru">Слева направо</name>
|
||||
<name lang="cs">Pravé spojení</name>
|
||||
<name lang="fr">Liaison droite</name>
|
||||
<name lang="it">Collegamento destro</name>
|
||||
<name lang="fr">Liaison droite</name>
|
||||
<name lang="ru">Слева направо</name>
|
||||
<name lang="hu">Jobbra továbbmenő leágazás</name>
|
||||
<name lang="cs">Pravé spojení</name>
|
||||
<name lang="de">Abzweig rechts</name>
|
||||
<name lang="en">Thru right</name>
|
||||
<name lang="es">A la derecha</name>
|
||||
<name lang="ar">ربط يمين</name>
|
||||
<name lang="pl">Połączenie 5</name>
|
||||
<name lang="ar">ربط يمين</name>
|
||||
</names>
|
||||
<elementInformations/>
|
||||
<informations></informations>
|
||||
<description>
|
||||
<dynamic_text text_width="-1" y="-0.45" rotation="0" uuid="{ab829572-e7d6-4e5c-9c6e-a0852fea788e}" x="5.5" frame="false" text_from="UserText" font_size="1" z="1">
|
||||
<dynamic_text z="1" Halignment="AlignLeft" text_width="-1" y="-0.45" uuid="{ab829572-e7d6-4e5c-9c6e-a0852fea788e}" font="Sans Serif,9,-1,5,0,0,0,0,0,0,normal" Valignment="AlignTop" text_from="UserText" x="5.5" frame="false" rotation="0">
|
||||
<text>_</text>
|
||||
</dynamic_text>
|
||||
<line antialias="false" x1="0" y1="0" style="line-style:normal;line-weight:normal;filling:none;color:black" length1="1.5" end2="none" end1="none" y2="0" length2="1.5" x2="-6"/>
|
||||
<line antialias="false" x1="0" y1="0" style="line-style:normal;line-weight:normal;filling:none;color:black" length1="1.5" end2="none" end1="none" y2="5" length2="1.5" x2="0"/>
|
||||
<line antialias="false" x1="6" y1="0" style="line-style:normal;line-weight:normal;filling:none;color:black" length1="1.5" end2="none" end1="none" y2="6" length2="1.5" x2="0"/>
|
||||
<terminal orientation="s" y="10" x="0"/>
|
||||
<terminal orientation="w" y="0" x="-10"/>
|
||||
<terminal orientation="e" y="0" x="10"/>
|
||||
<polygon y4="0" x4="10" x1="0" y2="5" style="line-style:normal;line-weight:normal;filling:none;color:black" x3="5" closed="false" y1="10" y3="0" x2="0" antialias="false"/>
|
||||
<polygon x1="0" y2="0" style="line-style:normal;line-weight:normal;filling:none;color:black" x3="-10" closed="false" y1="10" y3="0" x2="0" antialias="false"/>
|
||||
<terminal y="0" uuid="{53d9bb7f-b045-4581-bc2d-7a9198286e89}" name="" orientation="w" x="-10"/>
|
||||
<terminal y="10" uuid="{7883adda-c1cd-4e21-93f5-330d9c7461ea}" name="" orientation="s" x="0"/>
|
||||
<terminal y="0" uuid="{053ce092-f1df-46a5-8960-e4c6fcea95d1}" name="" orientation="e" x="10"/>
|
||||
</description>
|
||||
</definition>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<definition width="120" version="0.3" hotspot_x="71" hotspot_y="10" height="40" type="element" orientation="dyyy">
|
||||
<definition width="120" version="0.3" hotspot_x="71" hotspot_y="10" height="40" type="element">
|
||||
<names>
|
||||
<name lang="ar">كايبل طورين + تأريض</name>
|
||||
<name lang="de">Kabel 3G</name>
|
||||
@@ -7,7 +7,8 @@
|
||||
<name lang="fr">Cable 2 phases+terre</name>
|
||||
<name lang="pl">Oznaczenie przewodu czterożyłowego</name>
|
||||
<name lang="es">Cable 2 fases+tierra</name>
|
||||
<name lang="cs">Označení drátového propojení - 2 fáze + země</name>
|
||||
<name lang="cs">Kabel 3G</name>
|
||||
<name lang="hu">Kábel 2 + PE</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<definition width="120" version="0.3" hotspot_x="70" hotspot_y="10" height="40" type="element" orientation="dyyy">
|
||||
<definition width="120" version="0.3" hotspot_x="70" hotspot_y="10" height="40" type="element">
|
||||
<names>
|
||||
<name lang="ar">كايبل ثلاثي الطور + تأريض</name>
|
||||
<name lang="de">Kabel 4G</name>
|
||||
@@ -7,7 +7,8 @@
|
||||
<name lang="fr">Cable 3 phases+terre</name>
|
||||
<name lang="pl">Oznaczenie przewodu czterożyłowego</name>
|
||||
<name lang="es">Cable 3 fases+tierra</name>
|
||||
<name lang="cs">Označení drátového propojení - 3 fáze + země</name>
|
||||
<name lang="cs">Kabel 4G</name>
|
||||
<name lang="hu">Kábel 3 + PE</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<definition width="100" version="0.3" hotspot_x="60" hotspot_y="10" height="40" type="element" orientation="dyyy">
|
||||
<definition width="100" version="0.3" hotspot_x="60" hotspot_y="10" height="40" type="element">
|
||||
<names>
|
||||
<name lang="ar">كايبل بطورين و تأريض</name>
|
||||
<name lang="de">Kabel 3G</name>
|
||||
@@ -7,7 +7,8 @@
|
||||
<name lang="fr">Cable 2 phases+terre</name>
|
||||
<name lang="pl">Oznaczenie przewodu czterożyłowego</name>
|
||||
<name lang="es">Cable 2 fases+tierra</name>
|
||||
<name lang="cs">Označení drátového propojení - 2 fáze + země</name>
|
||||
<name lang="cs">Kabel 3G</name>
|
||||
<name lang="hu">Kábel 2 + PE</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
<definition width="130" version="0.3" hotspot_x="88" hotspot_y="18" height="40" type="element" orientation="dyyy">
|
||||
<definition width="130" version="0.3" hotspot_x="88" hotspot_y="18" height="40" type="element">
|
||||
<names>
|
||||
<name lang="ar">كايبل رباعي النواة</name>
|
||||
<name lang="It">Cavo ? 4G</name>
|
||||
<name lang="fr">Cable 4G</name>
|
||||
<name lang="pl">Przewód czterożyłowy</name>
|
||||
<name lang="es">Cable 4G</name>
|
||||
<name lang="cs">Kabel 4G</name>
|
||||
<name lang="hu">Kábel 3 + PE</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
<definition hotspot_y="3" orientation="dyyy" version="0.51" hotspot_x="47" link_type="simple" width="100" type="element" height="20">
|
||||
<definition hotspot_y="3" version="0.51" hotspot_x="47" link_type="simple" width="100" type="element" height="20">
|
||||
<uuid uuid="{9923c1a5-b49a-4243-923e-cde9d916ea2b}"/>
|
||||
<names>
|
||||
<name lang="fr">Cable 5G</name>
|
||||
<name lang="it">Cavo Type 5G</name>
|
||||
<name lang="es">Cable 5G</name>
|
||||
<name lang="pl">Przewód pięciożyłowy</name>
|
||||
<name lang="cs">Kabel 5G</name>
|
||||
<name lang="hu">Kábel 4 + N + PE</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
<definition hotspot_y="3" orientation="dyyy" version="0.51" hotspot_x="29" link_type="simple" width="60" type="element" height="20">
|
||||
<definition hotspot_y="3" version="0.51" hotspot_x="29" link_type="simple" width="60" type="element" height="20">
|
||||
<uuid uuid="{5f981421-4c54-4cd5-929e-7f77dab94fef}"/>
|
||||
<names>
|
||||
<name lang="It">Cavo ? 3G</name>
|
||||
<name lang="fr">Cable 3G</name>
|
||||
<name lang="es">Cable 3G</name>
|
||||
<name lang="pl">Przewód trójżyłowy</name>
|
||||
<name lang="cs">Kabel 3G</name>
|
||||
<name lang="hu">Kábel 2 + PE</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
<definition width="70" link_type="simple" version="0.5" hotspot_x="15" orientation="dyyy" height="20" hotspot_y="9" type="element">
|
||||
<definition width="70" link_type="simple" version="0.5" hotspot_x="15" height="20" hotspot_y="9" type="element">
|
||||
<uuid uuid="{4b9a04b1-0d35-4d54-b5cb-b573ed3a9b0d}"/>
|
||||
<names>
|
||||
<name lang="de">Kabel 3x</name>
|
||||
<name lang="cs">Označení drátového propojení 3 vodiče</name>
|
||||
<name lang="cs">Kabel 3x</name>
|
||||
<name lang="pl">Oznaczenie przewodu trójżyłowego</name>
|
||||
<name lang="it">Cavo a 3 conduttori</name>
|
||||
<name lang="en">Cable 3 wires</name>
|
||||
<name lang="es">Cable 3 alambres</name>
|
||||
<name lang="fr">Cable 3 brins</name>
|
||||
<name lang="ru">Кабель 3 жилы</name>
|
||||
<name lang="hu">Kábel 3 + PE</name>
|
||||
</names>
|
||||
<informations></informations>
|
||||
<description>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<definition width="60" link_type="simple" version="0.5" hotspot_x="21" orientation="dyyy" height="10" hotspot_y="-6" type="element">
|
||||
<definition width="60" link_type="simple" version="0.5" hotspot_x="21" height="10" hotspot_y="-6" type="element">
|
||||
<uuid uuid="{822e6fc1-0104-4d3a-ba3c-995c24c79cf2}"/>
|
||||
<names>
|
||||
<name lang="nl">Scherm</name>
|
||||
<name lang="el">Πλέγμα</name>
|
||||
<name lang="de">Schirm</name>
|
||||
<name lang="cs">Obrazovka</name>
|
||||
<name lang="cs">Stínění</name>
|
||||
<name lang="pl">Ekran 3</name>
|
||||
<name lang="it">Schermo</name>
|
||||
<name lang="ar">شاشة</name>
|
||||
@@ -12,6 +12,7 @@
|
||||
<name lang="es">Pantalla</name>
|
||||
<name lang="fr">Ecran</name>
|
||||
<name lang="ru">Экран</name>
|
||||
<name lang="hu">Árnyékolás</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" orientation="dyyy" height="20" hotspot_y="9" type="element">
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" height="20" hotspot_y="9" type="element">
|
||||
<uuid uuid="{6ac285f9-6492-40cb-be58-9ba565ea1921}"/>
|
||||
<names>
|
||||
<name lang="de">Kabelader</name>
|
||||
<name lang="cs">Vedení kabelu</name>
|
||||
<name lang="cs">Vodič kabelu</name>
|
||||
<name lang="pl">Połączenie przewodu</name>
|
||||
<name lang="it">Conduttore di un cavo</name>
|
||||
<name lang="en">Wire of cable</name>
|
||||
<name lang="es">Alambre del cable</name>
|
||||
<name lang="fr">Fil de cable</name>
|
||||
<name lang="ru">Жила кабеля</name>
|
||||
<name lang="hu">Kábelér</name>
|
||||
</names>
|
||||
<informations></informations>
|
||||
<description>
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
<definition width="20" link_type="simple" version="0.5" hotspot_x="10" orientation="dyyy" height="20" hotspot_y="9" type="element">
|
||||
<definition width="20" link_type="simple" version="0.5" hotspot_x="10" height="20" hotspot_y="9" type="element">
|
||||
<uuid uuid="{374ed6b3-7329-4cad-ac8c-200b17508460}"/>
|
||||
<names>
|
||||
<name lang="de">Verdrahtung</name>
|
||||
<name lang="cs">Drátové propojení</name>
|
||||
<name lang="cs">Vodič kabelu</name>
|
||||
<name lang="pl">Oznaczenie przewodu</name>
|
||||
<name lang="it">Conduttura</name>
|
||||
<name lang="en">Wiring</name>
|
||||
<name lang="es">Alambrado</name>
|
||||
<name lang="fr">Filerie</name>
|
||||
<name lang="hu">Vezeték</name>
|
||||
</names>
|
||||
<informations></informations>
|
||||
<description>
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
<definition width="70" hotspot_x="35" hotspot_y="5" version="0.80" type="element" height="10" link_type="simple">
|
||||
<uuid uuid="{3cfdc90d-f114-4ecd-9ab2-37786c279287}"/>
|
||||
<names>
|
||||
<name lang="de">Kabel 3G</name>
|
||||
<name lang="fr">Cable 3G</name>
|
||||
<name lang="cs">Kabel 3G</name>
|
||||
<name lang="hu">Kábel 2 + PE</name>
|
||||
</names>
|
||||
<elementInformations/>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
<description>
|
||||
<line x2="1.95" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-2.05" length2="1.5" antialias="true" y2="1.95" end2="none" x1="-2.05" length1="1.5"/>
|
||||
<line x2="22" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-2" length2="1.5" antialias="true" y2="2" end2="none" x1="18" length1="1.5"/>
|
||||
<dynamic_text text_width="-1" font="Sans Serif,7,-1,5,50,0,0,0,0,0" Halignment="AlignLeft" z="3" Valignment="AlignTop" frame="false" x="-50" uuid="{fe752adf-2e2b-4005-a272-42dd6976c493}" y="0.5" text_from="UserText" rotation="0">
|
||||
<text>3G</text>
|
||||
</dynamic_text>
|
||||
<line x2="30" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" length2="1.5" antialias="false" y2="0" end2="none" x1="-29.9373" length1="1.5"/>
|
||||
<line x2="-18" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-2" length2="1.5" antialias="true" y2="2" end2="none" x1="-22" length1="1.5"/>
|
||||
<dynamic_text text_width="-1" font="Sans Serif,7,-1,5,50,0,0,0,0,0" Halignment="AlignLeft" z="6" Valignment="AlignTop" frame="false" x="-51" uuid="{65bfd07e-7af5-4193-a5ba-b3dc967da121}" y="-18.5" text_from="ElementInfo" rotation="0">
|
||||
<text></text>
|
||||
<info_name>label</info_name>
|
||||
</dynamic_text>
|
||||
<dynamic_text text_width="-1" font="Sans Serif,4,-1,5,25,0,0,0,0,0" Halignment="AlignLeft" z="7" Valignment="AlignTop" frame="false" x="-22" uuid="{df01c7dd-b2e7-4b24-9057-b8bc3478ff67}" y="-11" text_from="UserText" rotation="0">
|
||||
<text>1</text>
|
||||
</dynamic_text>
|
||||
<dynamic_text text_width="-1" font="Sans Serif,4,-1,5,25,0,0,0,0,0" Halignment="AlignLeft" z="8" Valignment="AlignTop" frame="false" x="-2" uuid="{ce5a0030-5247-47ab-a975-63256db0d2bd}" y="-11" text_from="UserText" rotation="0">
|
||||
<text>2</text>
|
||||
</dynamic_text>
|
||||
<dynamic_text text_width="-1" font="Sans Serif,4,-1,5,25,0,0,0,0,0" Halignment="AlignLeft" z="9" Valignment="AlignTop" frame="false" x="18" uuid="{e0a00f86-dd76-48fe-be8b-8ff6f510e651}" y="-11" text_from="UserText" rotation="0">
|
||||
<text>PE</text>
|
||||
</dynamic_text>
|
||||
</description>
|
||||
</definition>
|
||||
@@ -0,0 +1,28 @@
|
||||
<definition type="element" height="10" link_type="simple" version="0.60" hotspot_x="36" hotspot_y="5" width="90">
|
||||
<uuid uuid="{e02f4582-b5dd-4f81-ba71-e3d5521b4152}"/>
|
||||
<names>
|
||||
<name lang="ru">Кабель 3 жилы + PE</name>
|
||||
<name lang="pl">Oznaczenie przewodu czterożyłowego</name>
|
||||
<name lang="cs">Kabel 4G</name>
|
||||
<name lang="de">Kabel 4G</name>
|
||||
<name lang="es">Cable 3 fases+tierra</name>
|
||||
<name lang="it">Cavo 3 fasi + terra</name>
|
||||
<name lang="fr">Cable 3 phases+terre</name>
|
||||
<name lang="hu">Kábel 3 + PE</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
<description>
|
||||
<line x1="-2.05" y1="-2.05" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" length1="1.5" length2="1.5" x2="1.95" y2="1.95" antialias="true"/>
|
||||
<line x1="37.95" y1="-2.05" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" length1="1.5" length2="1.5" x2="41.95" y2="1.95" antialias="true"/>
|
||||
<line x1="18" y1="-2" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" length1="1.5" length2="1.5" x2="22" y2="2" antialias="true"/>
|
||||
<input size="7" tagg="none" rotate="true" x="-50" y="10" text="4G"/>
|
||||
<line x1="-29.9373" y1="0" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" length1="1.5" length2="1.5" x2="47.932" y2="0" antialias="false"/>
|
||||
<line x1="-22" y1="-2" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" length1="1.5" length2="1.5" x2="-18" y2="2" antialias="true"/>
|
||||
<input size="7" tagg="label" rotate="true" x="-51" y="-9" text="_"/>
|
||||
<input size="4" tagg="none" rotate="true" x="-22" y="-4" text="1"/>
|
||||
<input size="4" tagg="none" rotate="true" x="-2" y="-4" text="2"/>
|
||||
<input size="4" tagg="none" rotate="true" x="18" y="-4" text="3"/>
|
||||
<input size="4" tagg="none" rotate="true" x="38" y="-4" text="PE"/>
|
||||
</description>
|
||||
</definition>
|
||||
@@ -0,0 +1,34 @@
|
||||
<definition type="element" height="10" link_type="simple" version="0.60" hotspot_x="73" hotspot_y="5" width="150">
|
||||
<uuid uuid="{d1007c67-032b-4925-8560-aac9e547d6ae}"/>
|
||||
<names>
|
||||
<name lang="ru">Кабель 6 жилы + PE</name>
|
||||
<name lang="pl">Oznaczenie przewodu czterożyłowego</name>
|
||||
<name lang="cs">Kabel 7G</name>
|
||||
<name lang="de">Kabel 7G</name>
|
||||
<name lang="es">Cable 6 fases+tierra</name>
|
||||
<name lang="it">Cavo fasi + terra</name>
|
||||
<name lang="fr">Cable 6 phases+terre</name>
|
||||
<name lang="hu">Kábel 6 + PE</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
<description>
|
||||
<input size="4" tagg="none" rotate="true" x="38" y="-4" text="6"/>
|
||||
<input size="4" tagg="none" rotate="true" x="18" y="-4" text="5"/>
|
||||
<input size="4" tagg="none" rotate="true" x="-2" y="-4" text="4"/>
|
||||
<line x1="57.95" y1="-2.05" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" length1="1.5" length2="1.5" x2="61.95" y2="1.95" antialias="true"/>
|
||||
<line x1="-42.05" y1="-2.05" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" length1="1.5" length2="1.5" x2="-38.05" y2="1.95" antialias="true"/>
|
||||
<line x1="37.95" y1="-2.05" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" length1="1.5" length2="1.5" x2="41.95" y2="1.95" antialias="true"/>
|
||||
<line x1="17.95" y1="-2.05" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" length1="1.5" length2="1.5" x2="21.95" y2="1.95" antialias="true"/>
|
||||
<line x1="-2.05" y1="-2.05" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" length1="1.5" length2="1.5" x2="1.95" y2="1.95" antialias="true"/>
|
||||
<line x1="-22" y1="-2" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" length1="1.5" length2="1.5" x2="-18" y2="2" antialias="true"/>
|
||||
<input size="7" tagg="none" rotate="true" x="-89" y="10" text="7G"/>
|
||||
<line x1="-67.9373" y1="0" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" length1="1.5" length2="1.5" x2="71" y2="0" antialias="false"/>
|
||||
<line x1="-62" y1="-2" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" length1="1.5" length2="1.5" x2="-58" y2="2" antialias="true"/>
|
||||
<input size="7" tagg="label" rotate="true" x="-90" y="-9" text="_"/>
|
||||
<input size="4" tagg="none" rotate="true" x="-62" y="-4" text="1"/>
|
||||
<input size="4" tagg="none" rotate="true" x="-42" y="-4" text="2"/>
|
||||
<input size="4" tagg="none" rotate="true" x="-22" y="-4" text="3"/>
|
||||
<input size="4" tagg="none" rotate="true" x="58" y="-4" text="PE"/>
|
||||
</description>
|
||||
</definition>
|
||||
@@ -1,16 +1,17 @@
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="14" orientation="dyyy" height="20" hotspot_y="4" type="element">
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="14" height="20" hotspot_y="4" type="element">
|
||||
<uuid uuid="{a0e9e33a-ee38-4c08-8f40-c307da8d822b}"/>
|
||||
<names>
|
||||
<name lang="el">Διατομή αγωγού</name>
|
||||
<name lang="es">Clasificación de sección</name>
|
||||
<name lang="nl">Doorsnede</name>
|
||||
<name lang="de">Verdrahtungsquerschnitt</name>
|
||||
<name lang="cs">Průřez drátovým propojením</name>
|
||||
<name lang="cs">Průřez vodiče</name>
|
||||
<name lang="pl">Pole przekróju przewodu</name>
|
||||
<name lang="it">Sezione della nomenclatura</name>
|
||||
<name lang="ar">تسمية مساحة المقطع </name>
|
||||
<name lang="en">Wiring section</name>
|
||||
<name lang="fr">Section de fil</name>
|
||||
<name lang="hu">Vezeték keresztmetszet</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
@@ -6,10 +6,13 @@
|
||||
<name lang="fr">Câbles et filerie</name>
|
||||
<name lang="it">Cavi e collegamenti</name>
|
||||
<name lang="pl">Przewody i kable</name>
|
||||
<name lang="pt_br">Cabos e fiação</name>
|
||||
<name lang="de">Kabel und Verdrahtung</name>
|
||||
<name lang="el">Καλώδια και καλωδίωση</name>
|
||||
<name lang="nl">Kabels en draden</name>
|
||||
<name lang="cs">Kabely a drátové propojení</name>
|
||||
<name lang="cs">Kabely a vodiče</name>
|
||||
<name lang="da">Kabler og ledninger</name>
|
||||
<name lang="ja">ケーブルと配線</name>
|
||||
<name lang="hu">Kábelek és vezetékek</name>
|
||||
</names>
|
||||
</qet-directory>
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" orientation="dyyy" height="10" hotspot_y="5" type="element">
|
||||
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" height="10" hotspot_y="5" type="element">
|
||||
<uuid uuid="{b96a76a6-a798-497b-a044-dd933756d175}"/>
|
||||
<names>
|
||||
<name lang="de">Verdrahtungsdefinition 1 Leiter</name>
|
||||
<name lang="cs">Označení drátového propojení 1 vodič</name>
|
||||
<name lang="cs">Označení vodiče</name>
|
||||
<name lang="pl">Oznaczenie pola przekroju przewodu jednożyłowego</name>
|
||||
<name lang="it">Sezione 1 conduttore</name>
|
||||
<name lang="fr">Section 1 conducteur</name>
|
||||
<name lang="es">Sección 1 conductor</name>
|
||||
<name lang="hu">1 ér keresztmetszet</name>
|
||||
</names>
|
||||
<informations>Author: The QElectroTech team
|
||||
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user