Claveau Joshua
ec0b92ec1d
Fix : Filling color is not apply to polyline.
2020-10-18 10:45:05 +02:00
Simon De Backer
c1e93fc442
QT6: QStyleOptionGraphicsItem
2020-10-03 15:48:40 +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
Claveau Joshua
89f9f47174
Remove unused code
2020-09-20 11:40:18 +02:00
Simon De Backer
93055c6a96
Fix deprecated QRegExp
...
Use QRegularExpression instead.
https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users
This function was introduced in Qt 5
2020-09-19 01:12:38 +02:00
Claveau Joshua
529027a350
Fix bug N°201: Line changes in the drawing area are not reflexted in the information area
2020-09-13 15:11:45 +02:00
Claveau Joshua
726b300999
Fix bug N°202 : Wrong bounding rect for primitive arc.
...
https://qelectrotech.org/bugtracker/view.php?id=202
2020-09-11 19:11:14 +02:00
Simon De Backer
5d92393ee7
Wrap code for better readability
2020-09-07 22:03:40 +02:00
Simon De Backer
331918d143
Wrap code for better readability
2020-08-20 21:58:23 +02:00
Simon De Backer
0c00d83b27
Fix some doxygen issues
2020-08-20 21:57:35 +02:00
Simon De Backer
e55d336dc1
Improve code style
2020-08-16 14:25:31 +02:00
Simon De Backer
d4ee161c07
Mod doc set style de same
2020-08-16 11:19:36 +02:00
damianCaceres
e09bfa18b9
ElementEditor: partdynamictextfield.cpp code style fixes indentation
2020-08-14 01:37:41 +02:00
damianCaceres
fc4625fc0f
ElementEditor: partdynamictextfield.cpp code style
2020-08-14 01:37:41 +02:00
damianCaceres
943aa469c6
ElementEditor: partdynamictextfield.h code style
2020-08-14 01:37:41 +02:00
damianCaceres
ba1242d5bb
ElementEditor: parttext.cpp code style
2020-08-14 01:37:41 +02:00
damianCaceres
9bc6f7fa94
ElementEditor: parttext.h code style
2020-08-14 01:37:41 +02:00
damianCaceres
3b4237f21f
ElementEditor: partterminal.cpp code style
2020-08-14 01:37:41 +02:00
damianCaceres
ac5ec020a6
ElementEditor: partterminal.h code style
2020-08-14 01:37:41 +02:00
Claveau Joshua
86766a9090
Element editor : a copied/pasted terminal part have a new uuid.
2020-08-12 15:45:48 +02:00
Laurent Trinques
b8daec441f
Fix bug 199:
...
ElementEditor parText changes in the drawing area are not reflexted in
the information area
2020-08-07 15:32:24 +02:00
Simon De Backer
2a53f09a37
Translate documentation + Fix indentation
2020-08-02 12:09:08 +02:00
Simon De Backer
fe4552200b
Add compiler message @TODO
2020-07-19 22:06:42 +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
Martin Marmsoler
587ada643f
try to use TerminalData in Terminal and PartTerminal, sou the code must not be written double
2020-06-14 13:29:25 +02:00
Laurent Trinques
22e619d6b9
Revert pull request #48
2020-06-14 07:35:52 +02:00
Martin Marmsoler
ec52032532
try to use TerminalData in Terminal and PartTerminal, sou the code must not be written double
2020-06-13 16:26:22 +02:00
Simon De Backer
2ec018a4e9
fix deprecated warning QString::SplitBehavior
...
enum QString::SplitBehavior This enum is obsolete.
Use Qt::SplitBehavior instead.
This enum was introduced or modified in Qt 5.14.
2020-06-12 05:52:50 +02:00
Laurent Trinques
3e1740cee0
Revert Martin pull request for now, and return to last 7e9fd8df9 commit
2020-06-11 13:19:30 +02:00
Martin Marmsoler
6d782f4abb
try to use TerminalData in Terminal and PartTerminal, sou the code must not be written double
2020-06-11 11:12:05 +02:00
Laurent Trinques
081f44f8be
Element Editor add new ColorHTML, THANKS Arnaud for the patch
2020-04-15 10:27:54 +02:00
joshua
86b610dc84
Element editor : improve polygon edition
2019-09-01 21:05:33 +02:00
blacksun
32e2fd3c89
Replace deprecated QMatrix by QTransform
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5801 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-18 20:14:36 +00:00
blacksun
1ac950cd81
Replace Q_ENUMS (with S, deprecated since Qt5.5) by Q_ENUM (without S)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5800 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-18 19:49:12 +00:00
blacksun
ad76d438ef
Element editor :
...
The font of the dynamic text field can be edited.
The font of the static text field can be edited.
The color of the static text field can be edited.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5775 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-10 17:58:33 +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
a4508008d4
Force set dynamic text length to default -1
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5618 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-29 09:48:51 +00:00
blacksun
d8ed6a5130
Change xml tag name : dynamicitemfont
...
by : font_family
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5604 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-24 21:26:24 +00:00
scorpio810
9e7899fd40
Add a new tab in settings, user can select a font size, a rotation angle
...
and a text width by default for new dynamic text, it work also in
element editor command.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5568 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-26 23:42:49 +00:00
blacksun
e6d73977c1
1-Use the "implicite shared" of Qt for the QPicture and QPixmap of element ( https://doc.qt.io/qt-5/implicit-sharing.html ).
...
This avoid to parse the same element definition each time user drop the same element in the diagram.
Only the first element build the picture, all other get the created picture which is shared.
2- For use the "implicite shared" QPicture and QPixmap of element, now this isn't the element who build her picture, but a dedicated class who made only this job : build the QPicture and QPixmap of elements.
3- With the two previous novelty, the class CustomElement and GhostElement are became useless, and so was removed.
Some few member function of CustomElement was moved to Element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5492 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-23 19:41:58 +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
18a295fa4a
Element editor : add rounded rect
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5444 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-17 12:19:56 +00:00
blacksun
9db5c4fe9f
Fix bug when resize the angle of a part arc with the handles.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5435 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-11 09:28:38 +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
28faaf12c5
Element editor : add two new actions in context menu for insert or remove point of a selected polygon.
...
All parts items : remove the 'open hand cursor' when hover a selected part.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5419 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-30 21:41:27 +00:00
blacksun
cc9184c0b6
Fix : element text alignment work also when font size change.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5370 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-18 18:28:04 +00:00
blacksun
31e6db8757
Element editor : alignment of text field can be edited
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5362 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-13 19:03:38 +00:00