24 Commits

Author SHA1 Message Date
plc-user
bd3b39cea3 element-editor: fix rotation, add mirror, add flip for graphical primitives
Now that the problem with the translations of keyboard shortcuts has been resolved and rotation using the space bar works reliably in principle, I took a closer look at the rotation function itself in the element editor.

I noticed, for example, that arcs can be rotated at an angle of 15°. This doesn't really make sense, as the “arc” part doesn't have the “rotation” property. There is only width and height.
And somehow rotating arcs didn't work well: start- and span-angles weren't adjusted.

Lines and polygons can be rotated in 15° increments, which doesn't make much sense, if other parts that can only be rotated in 90° increments are selected at the same time.

To make a long story short:
I reworked the rotation functions of the graphical parts so that now all parts are rotated in 90° steps around the origin! This means that it is now possible to mark several parts and rotate them around the same point at the same time!

In addition, the functions for mirroring graphic parts at y-axis (shortcut "M") and flipping at x-axis (shortcut "F") have been implemented.

I have saved the text elements for later!
(or someone else)
2025-02-14 20:31:03 +01:00
plc-user
b512aee2bf update language-files 2025-02-11 15:55:24 +01:00
Laurent Trinques
e6d995c190 Update *ts files 2024-11-03 14:42:35 +01:00
Laurent Trinques
8b5a4cea0d Update translations *ts files 2024-10-18 16:37:29 +02:00
Laurent Trinques
75cd943dbd Update *TS files 2024-10-10 11:06:28 +02:00
Laurent Trinques
f1a8c00028 Update *TS files 2024-08-20 12:43:36 +02:00
Laurent Trinques
a162f158ad Update *Ts files 2024-08-20 00:51:31 +02:00
Laurent Trinques
9076d9da80 Update TS files 2024-05-08 19:35:15 +02:00
Laurent Trinques
c4cae24ba7 Update *TS files 2024-03-28 13:24:06 +01:00
Laurent Trinques
a2beabd559 Update *TS files 2024-03-16 16:46:35 +01:00
plc-user
f12b11bee3 added folder "company-titleblocks" \(incl. language-files\) 2023-12-16 09:32:44 +01:00
Laurent Trinques
f7114fb0bb Update *TS files 2023-12-11 09:54:31 +01:00
Laurent Trinques
9f2dbfa39a Update *TS files 2023-11-09 13:57:35 +01:00
Laurent Trinques
bcbfdf10ae Update *TS files 2023-09-26 13:58:47 +02:00
Laurent Trinques
3d3ebc99fd Update * TS files, only add simplified Chinese code is zh-cn 2023-02-02 06:34:29 +01:00
Laurent Trinques
be43afaf78 Update *TS file 2023-01-21 17:15:42 +01:00
Laurent Trinques
51a4cd3982 Update *TS files 2023-01-13 10:56:58 +01:00
Laurent Trinques
43cd9f98cb Update *TS files and add EN + FR translations 2023-01-13 09:44:31 +01:00
Laurent Trinques
8c35559480 Update *TS files 2022-12-27 17:40:34 +01:00
Laurent Trinques
bd4c7cf2ff Update *TS files 2022-12-26 11:56:18 +01:00
Laurent Trinques
949db14699 Update *TS files 2022-12-21 14:21:04 +01:00
Laurent Trinques
808598f759 Update Ukrainian translation, thanks Yaroslav 2022-12-19 06:09:14 +01:00
Laurent Trinques
b9f28c1567 Update *TS files 2022-12-14 19:06:07 +01:00
Laurent Trinques
7f4bad712e In ISO 639-1, the Ukrainian language is "UK".
"UA" is the country code in ISO 3166-1.
2022-11-18 09:05:50 +01:00