Commit Graph

383 Commits

Author SHA1 Message Date
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
Simon De Backer
41b0434c20 Fix indentation 2020-07-14 22:29:06 +02:00
Laurent Trinques
fb75bf0a73 Add new variables for report folio and can be added in a composite text
{conductor_color}
{conductor_section}
2020-07-05 14:01:38 +02:00
Claveau Joshua
8ac8ff5384 Replace minus (-) by underscore (_) 2020-07-04 20:43:40 +02:00
Martin Marmsoler
6c84b55586 allow multiedit also for arceditor, ellipse, line, rectangle and show properties when single polygon is selected 2020-06-23 06:54:40 +02:00
Laurent Trinques
e10ae8ce2e Update Copyright date 2020-06-15 17:42:53 +02:00
Laurent Trinques
ec13e0dde3 Try to fix Ubuntu 18.04 FTBFS, again 2020-06-14 18:14:14 +02:00
Laurent Trinques
509d1f39f0 Try to fix Ubuntu 18.04 FTBFS again 2020-06-14 17:49:50 +02:00
Martin Marmsoler
83f4a7c6ba do not set parts again when they are set already 2020-06-14 17:07:14 +02:00
Martin Marmsoler
d7b5ceece1 implement currentParts() for every elementItemEditor so the editor can be extended to multi part edit in a later step 2020-06-14 17:07:14 +02:00
Martin Marmsoler
0fb98fbdac add multiedit feature also for dynamic text 2020-06-14 17:07:14 +02:00
Martin Marmsoler
0485df25dc static_cast is enough 2020-06-14 17:07:14 +02:00
Martin Marmsoler
cfda59e978 multipart edit 2020-06-14 17:07:14 +02:00
Martin Marmsoler
4abf1c4f2e - static_cast because it is a condition that it is PartTerminal 2020-06-14 17:07:14 +02:00
Martin Marmsoler
37cc326a46 solves #7 2020-06-14 17:07:14 +02:00
Martin Marmsoler
a6137ed0d0 forgotten to commit texteditor 2020-06-14 17:07:14 +02:00
Martin Marmsoler
a07e973482 make partTextEditor capable to modify multiple parts at the same time 2020-06-14 17:07:13 +02:00
Martin Marmsoler
a2d466240b multiterminal change 2020-06-14 17:07:13 +02:00
Martin Marmsoler
b85b341941 WIP 2020-06-14 17:07:13 +02:00
Martin Marmsoler
451d5c8f58 not needed, because it is the same than a few lines below 2020-06-14 17:07:13 +02:00
Simon De Backer
35ba2bbe95 hot fix zoom and scrolling
bug: was only zoom In
(int QPoint::manhattanLength() const
Returns the sum of the absolute values)
2020-06-14 13:40:12 +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
e4f4c1e154 fix deprecated warning void QGraphicsView::resetMatrix()
Use resetTransform() instead

This class was introduced in Qt 4.2.

+ indentation warning
of "resetSceneRect();"
2020-06-12 19:54:13 +02:00
Simon De Backer
b29753e37e fix deprecated warning QMatrix QGraphicsView::matrix() const
Use transform() instead

This class was introduced in Qt 4.2.
2020-06-12 19:53:57 +02:00
Simon De Backer
71abaf92cb fix deprecated warning int QWheelEvent::delta() const
Use angleDelta() instead

manhattanLength()
Returns the sum of the absolute values of x() and y(),
traditionally known as the "Manhattan length" of the vector
from the origin to the point.

This class was introduced in Qt 5.5
2020-06-12 19:52:50 +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
bf2e02273e do not set parts again when they are set already 2020-06-11 11:12:17 +02:00
Martin Marmsoler
e36a4ddd0a implement currentParts() for every elementItemEditor so the editor can be extended to multi part edit in a later step 2020-06-11 11:12:17 +02:00
Martin Marmsoler
1ccffda93b add multiedit feature also for dynamic text 2020-06-11 11:12:17 +02:00
Martin Marmsoler
a8c62b8257 static_cast is enough 2020-06-11 11:12:17 +02:00
Martin Marmsoler
5666782e91 multipart edit 2020-06-11 11:12:17 +02:00
Martin Marmsoler
d000f611d8 - static_cast because it is a condition that it is PartTerminal 2020-06-11 11:12:17 +02:00
Martin Marmsoler
35896d5771 solves #7 2020-06-11 11:12:17 +02:00
Martin Marmsoler
8ffe50715d forgotten to commit texteditor 2020-06-11 11:12:17 +02:00
Martin Marmsoler
1c04ea0efb make partTextEditor capable to modify multiple parts at the same time 2020-06-11 11:12:17 +02:00
Martin Marmsoler
4bae1b902d multiterminal change 2020-06-11 11:12:17 +02:00
Martin Marmsoler
304ea00d7b WIP 2020-06-11 11:12:17 +02:00
Martin Marmsoler
f2c796bdb0 not needed, because it is the same than a few lines below 2020-06-11 11:12:17 +02:00