Commit Graph

362 Commits

Author SHA1 Message Date
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
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
Simon De Backer
20a739fa96 fix deprecated warning QList::swap() attempt 2
Use
QList::swapItemsAt()
instead.

This function was introduced in Qt 5.13.
2020-06-07 16:42:26 +02:00
Laurent Trinques
261abfa10b Revert "fix deprecated warning QList::swap()"
This reverts commit b5a33429df.
2020-05-30 06:47:34 +02:00
Simon De Backer
b5a33429df fix deprecated warning QList::swap()
Use
QList::swapItemsAt()
instead.
2020-05-30 06:24:40 +02:00
Claveau Joshua
0aae330bef Minor : improve layout for low resolution screen 2020-05-01 18:33:11 +02:00
Laurent Trinques
081f44f8be Element Editor add new ColorHTML, THANKS Arnaud for the patch 2020-04-15 10:27:54 +02:00
Claveau Joshua
55876293bc Replace minus (-) by underscore (_) in all element information 2020-04-12 19:45:19 +02:00
Laurent Trinques
85a2600e58 Improve files names extension for Gnome DE and Flatpak 2020-02-26 14:50:56 +01:00
Laurent Trinques
41af7abadb Fix typo 2019-11-18 12:53:05 +01:00
Laurent Trinques
a0a7513847 Replance Q_OS_MAC Deprecated by Q_OS_MACOS 2019-09-08 18:29:29 +02:00
Laurent Trinques
b121dad562 For the Flatpak package : remove the file name extension added
automatically to the saved files even if the user sets an unknown file
extension for the program.
2019-09-03 22:54:09 +02:00
joshua
519517a8fd Minor : fix typo 2019-09-02 20:37:33 +02:00
joshua
86b610dc84 Element editor : improve polygon edition 2019-09-01 21:05:33 +02:00
Laurent Trinques
cf8947cbc2 Element editor : add a control key for moving by keyboard thes
primitives selected by mouse area in 0.1 increments instead of 1
2019-08-26 14:08:51 +02:00
Laurent Trinques
130067ffb2 Element editor : add a control key for moving by keyboard selected
primitives in 0.1 increments instead of 1
2019-08-26 12:38:31 +02:00
Laurent Trinques
f5a22b61c7 Fix lintian spelling_error 2019-07-20 14:27:52 +02:00
scorpio810
73430beb1f Minor : remove unused shortcut "reload collection"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5899 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-30 23:15:26 +00:00
scorpio810
3e6a71d899 Diagram editor : Add StatusTip instruction for install and launching DXF
plugin depending on the operating system


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5878 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-19 19:47:32 +00:00
scorpio810
cc9fbc2967 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5876 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-19 18:28:39 +00:00
scorpio810
53c0d95f4e Typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5874 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-19 17:23:20 +00:00
scorpio810
9f53198c2a Diagram editor : Add missing tooltip of some QAction
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5873 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-19 17:18:21 +00:00