Commit Graph

443 Commits

Author SHA1 Message Date
damianCaceres 0507336622 ElementEditor: qtelementeditor.cpp improve code style 2020-08-06 11:08:08 +02:00
damianCaceres 3d1e30b24e ElementEditor: qtelementeditor.h indentation 2020-08-06 11:08:08 +02:00
damianCaceres b3a74a8315 ElementEditor: texteditor.cpp surround arrows and more braces 2020-08-06 11:08:08 +02:00
damianCaceres 216374d27c ElementEditor: dynamictextfieldeditor.cpp improve code style 2020-08-06 11:08:08 +02:00
damianCaceres ce523b71e2 ElementEditor: dynamictextfieldeditor.h improve code style 2020-08-06 11:08:08 +02:00
damianCaceres bb84bb2098 ElementEditor: texteditor.cpp improve code style 2020-08-06 11:08:08 +02:00
damianCaceres 23c43e72b5 ElementEditor: texteditor.h improve code style 2020-08-06 11:08:08 +02:00
damianCaceres b53c083d0a ElementEditor: terminaleditor.cpp indentation, alignment and braces 2020-08-04 21:16:58 +02:00
damianCaceres 45edc34269 ElementEditor: terminaleditor.h indentation and alignment 2020-08-04 21:16:58 +02:00
damianCaceres f8240558a0 ElementEditor: in PolygonEditor::setPart remove redundant calls to StyleEditor::setPart 2020-08-04 11:18:20 +02:00
damianCaceres dd70637408 ElementEditor: in RectangleEditor::setPart remove redundant calls to StyleEditor::setPart 2020-08-04 11:18:20 +02:00
damianCaceres 45d1b489c4 ElementEditor: in ArcEditor::setPart remove redundant calls to StyleEditor::setPart 2020-08-04 11:18:20 +02:00
damianCaceres 72918a31db ElementEditor: in EllipseEditor::setPart remove redundant calls to StyleEditor::setPart 2020-08-04 11:18:20 +02:00
damianCaceres 9d772b4091 ElementEditor: in LineEditor::setPart remove redundant calls to StyleEditor::setPart 2020-08-04 11:18:20 +02:00
damianCaceres dd257c48d9 ElementEditor: always clear m_cep_list in StyleEditor::setPart bugfix 0197 2020-08-03 16:07:31 +02:00
Simon De Backer 2a53f09a37 Translate documentation + Fix indentation 2020-08-02 12:09:08 +02:00
Simon De Backer 1372d1c8ba Wrap code for better readability + Mod doc 2020-07-28 20:57:02 +02:00
Simon De Backer 70e54bc9b2 Translate documentation + Fix indentation 2020-07-28 20:56:41 +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
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