Martin Marmsoler
a1cf3711a1
Fix issues
2020-10-07 08:05:01 +02:00
Martin Marmsoler
9153588c94
store position when exporting to xml, because terminalData will create the document from m_pos
2020-10-04 09:33:16 +02:00
Martin Marmsoler
f3368f159d
Fix problem that not all childs were added to the xml document
2020-10-03 20:50:08 +02:00
Martin Marmsoler
9684d753ec
write uuid only in partterminal to xml, because in the other case it is not needed
2020-10-02 14:57:06 +02:00
Martin Marmsoler
27a63bbf2b
WIP
2020-10-01 14:38:08 +02:00
Martin Marmsoler
6080a7b9c9
WIP
2020-09-14 21:21:32 +02:00
Martin Marmsoler
c5f1705745
go on with the work
2020-08-25 20:14:38 +02:00
Martin Marmsoler
a10709157d
update
2020-08-24 20:34:18 +02:00
Martin Marmsoler
385d0ffd69
initial work to move everything into the propertiesinterface which is related to it
2020-08-13 23:27:11 +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
blacksun
1077c91b6f
Element editor : keep up to date the displayed text of dynamic text item when change the source of text.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5267 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 16:26:02 +00:00
blacksun
d6f418fa83
fix indentation
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5266 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 16:04:44 +00:00
blacksun
7f8c5ef2b5
Element editor : text field can now have a composite text as source of text
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5265 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 16:00:58 +00:00
blacksun
9b3c496fc5
Element editor : remove all sources code related to the old text field
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5264 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 15:11:08 +00:00
blacksun
a6a875c7ce
Element editor : Now every "old text" are converted to the new dynamic text, when open an element in the element editor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5263 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 14:44:21 +00:00
blacksun
275f20fa61
Element editor : dynamic text field can be set with element info as source of text.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5260 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 12:59:53 +00:00
blacksun
3e934b994b
Part dynamic text field, set default color to black
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5095 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-10 17:48:46 +00:00
blacksun
6693bb6cad
Dynamic element text can have a frame
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5093 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-07 18:35:26 +00:00
blacksun
8761d4768b
Element editor : When open a .elmt file in the element editor, the texts field are converted to dynamic text field, except for text field with tagg : label, function and tension/protocol.
...
In other words every text without tagg are converted.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5050 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-27 15:26:47 +00:00
blacksun
aa5241896c
Element editor : dynamic text item can be added directly from the element editor (WIP)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5046 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-25 17:44:02 +00:00
scorpio810
31f36b8625
Modernize-use-override refactors code
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5009 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-05 02:10:01 +00:00
scorpio810
9f9b127c04
Modernize-use-nullptr refactors code
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5008 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-05 02:06:59 +00:00
blacksun
618683d962
Toatly revamp of the handlers use to modify primitves, shapes and conductors.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5001 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-02 15:26:14 +00:00
blacksun
86cb13f74d
Element editor : Element primitive decorator doesn't manage anymore the text field when a single text is selected
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5000 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-01 19:37:04 +00:00