Andre Rummler
296f142036
Adding icons to graphs and image operations.
2026-09-07 10:44:30 +02:00
Andre Rummler
4d991d0419
Conversion of ellipses and rounded rectangles to bezier curves instead of polylines.
2026-09-07 10:44:30 +02:00
Andre Rummler
a85bd6a49b
Fixing undo operations of graphs and images. Changing undo names.
2026-09-07 10:44:30 +02:00
Andre Rummler
6b577ee757
Add editable resize/rotate/skew handles for shapes and images
...
Shapes and images can now be resized, rotated, and skewed directly
on the canvas, not just moved. Both share one small transform
struct (rotation, then skew, then scale, anchored on a movable
pivot) and one handle widget, so a corner drag, an edge skew, or
grabbing the rotate handle behaves the same way and runs through
the same matrix math everywhere, instead of every item type
reinventing its own.
Shapes also gained a proper pen tool (bezier paths, corner/smooth/
symmetric nodes), arc support, and mirroring. Images gained
non-destructive cropping and colour-keyed transparency, both
remember their own settings, so reopening the dialog picks up
where you left off instead of starting over.
Properties dialogs for both were extended to match (position,
size, angle, skew), with undo/redo wired through for every handle
drag.
Old XML files can read easily as the transformation is only added
if needed and the old syntax is still used and understood if it is
not needed.
2026-09-05 15:48:28 +02:00
Dieter Mayer
1265e51ebe
Replace deprecated qAsConst with std::as_const
...
qAsConst was deprecated in Qt 6.6; std::as_const (C++17, already the
project standard) is the drop-in replacement. Clears 46 -Wdeprecated-
declarations warnings across 18 files. No behavioural change.
2026-07-14 19:27:16 +02:00
Laurent Trinques
4044d04cc5
One year
Auto-build doxygen docs / doxygen (push) Has been cancelled
Auto-build doxygen docs / deploy (push) Has been cancelled
2026-01-16 15:24:35 +01:00
plc-user
3471140b64
fix typo in fuction-name (looked like a mixture of French and English)
2025-02-14 16:47:39 +01:00
Laurent Trinques
43f0107eb1
Revert "Try Clazy fix-its"
...
Segfault on old Qt versions!
This reverts commit dba7caed30 .
2025-02-14 16:17:58 +01:00
Laurent Trinques
dba7caed30
Try Clazy fix-its
...
clazy is a compiler plugin which allows clang to understand Qt
semantics. You get more than 50 Qt related compiler warnings, ranging
from unneeded memory allocations to misusage of API, including fix-its
for automatic refactoring.
https://invent.kde.org/sdk/clazy
2025-02-14 15:52:23 +01:00
plc-user
331cecc05c
remove dead code (local variables that were never used)
2025-02-02 12:16:28 +01:00
Laurent Trinques
77bfe84a4c
One year
2025-01-04 13:37:40 +01:00
plc-user
f4c880dc9f
fix indention to get rid of warnings: "if/else does not guard"
2024-04-07 14:46:40 +02:00
Laurent Trinques
e73cf633ce
2023->2024
2024-03-29 10:09:48 +01:00
Laurent Trinques
9afef79629
Update Copyright date
2023-01-01 17:05:57 +01:00
luz paz
1994235bc5
Fix various typos in source documentation and comments (cont.)
...
Found via `codespell`
2022-12-04 20:46:32 +01:00
David Varley
af5d5e0aa3
Allow for open polygons (ie polylines) when saving as dxf
2022-08-13 11:57:29 +10:00
joshua
ae9faa2192
Add toolbar widget for edit size of handler in diagram editor.
...
Add a combo box in the tool bar of diagram editor
to quickly change the size of the graphics handler item.
The sarto commit :D
NOTE
only available for diagram editor, element editor will
come later.
2022-01-03 21:01:25 +01:00
joshua
11b8ef927b
Revert "Merge branch 'XMLPropertiesNew'"
...
**Break a lot of thing.**
This reverts commit 1db1800572 , reversing
changes made to 4c563821e8 .
2021-03-11 19:52:50 +01:00
Martin Marmsoler
01d6cdb920
Merge commit '77710e1cc5e597d06196d2ee163198176032987a'
...
Conflicts:
sources/conductorproperties.cpp
sources/qetgraphicsitem/element.cpp
sources/qetgraphicsitem/qetshapeitem.cpp
2021-02-27 07:49:24 +01:00
joshua
77710e1cc5
Remove compatibility of QetShapItem from version prior to svn 4075
...
Befor svn 4075 QetShapItem was saved as int in xml, after as a string.
Remove retro-compatibility (int to string) svn 4075 is older than 5
years.
2021-02-25 20:47:43 +01:00
Martin
ea364f9c4e
merge
2021-02-23 17:35:55 +01:00
Laurent Trinques
ef58f34c14
Update Copyright date
2021-02-20 12:13:46 +01:00
joshua
2513961cd6
Revert "Update Copyright date"
...
This reverts commit d04bccc384 .
2021-02-06 19:00:48 +01:00
Laurent Trinques
d04bccc384
Update Copyright date
2021-02-06 18:33:42 +01:00
Simon De Backer
d15443cf93
Wip Fix preprocessor on Cmake
2020-12-10 18:49:35 +01:00
Simon De Backer
10c4c3d528
Wip Fix preprocessor on Cmake
2020-12-08 19:57:35 +01:00
Martin Marmsoler
12e301b887
replace 4 spaces by a tab
2020-10-20 08:54:56 +02:00
Martin Marmsoler
f3097fc537
rebase XMLProperties_New ( c0d9bf9) to master
2020-10-20 08:54:14 +02:00
Martin Marmsoler
73b394527d
replace tabs by 4 spaces
2020-10-20 08:53:43 +02:00
Simon De Backer
36dbe65457
Add TODO compile var + Fix doxygen issue
...
You can make your code warn on compile time for the TODO's
In order to do so, uncomment the following line. in pro file
DEFINES += TODO_LIST
2020-09-24 17:01:33 +02:00
David Varley
2d6bef71ae
DXF - Add some color
2020-09-22 19:41:47 +10:00
Simon De Backer
5d92393ee7
Wrap code for better readability
2020-09-07 22:03:40 +02:00
Simon De Backer
610a44c7cd
Removed some Q_UNUSED
2020-09-04 23:19:59 +02:00
Simon De Backer
8e956df8d8
Fix some doxygen issues
2020-08-18 21:28:52 +02:00
Simon De Backer
5e3e3aa4bd
Improve code style, Wrap code for better readability, Mod doc
2020-08-16 14:24:51 +02:00
Simon De Backer
d4ee161c07
Mod doc set style de same
2020-08-16 11:19:36 +02:00
Laurent Trinques
68e78a0de9
Fix indentation code
2020-07-15 20:20:07 +02:00
Laurent Trinques
e10ae8ce2e
Update Copyright date
2020-06-15 17:42:53 +02:00
Claveau Joshua
fd2c210f49
Add QetGraphicsTableItem + entry "add nomenclature" in project menu
2020-02-02 16:33:19 +01:00
scorpio810
421c7821be
Basic shapes : set solid line pattern by default
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5918 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-12 13:16:54 +00:00
scorpio810
3ed7a4e63b
Minor : update Copyright date
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5705 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-13 16:56:12 +00:00
scorpio810
30bee81432
Revert r5449 and disable r5452 momentary : Load time from elements is
...
very slow
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5461 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-30 15:24:29 +00:00
scorpio810
b97b01d63c
Apply clang-tidy's modernize-use-auto
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5449 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-19 16:27:20 +00:00
scorpio810
e4b1ba9797
Apply clang-tidy's performance-unnecessary-value-param, performance-for-
...
range-copy
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5448 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-19 14:14:31 +00:00
blacksun
eeb49d5a18
QetShapeItem : rounded rect is saved in the .qet file
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5437 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-14 11:10:23 +00:00
blacksun
0306bace46
QETshapeItem rectangle can have rounded corner.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5436 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-12 10:01:34 +00:00
blacksun
57e5ccd943
Mutualize code
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5427 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-03 14:25:46 +00:00
blacksun
0f4a058e63
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5420 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-01 18:35:03 +00:00
blacksun
52eb4b5f71
Diagram editor : add 4 tools for edit the depth (Z value) of items.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5394 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-17 18:21:56 +00:00
scorpio810
fc05a2f2ec
Add some colors for basic shapes inside dxf, thanks Gabberworld for this
...
patch
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5238 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-11 16:14:53 +00:00