Commit Graph

5912 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
Laurent Trinques 09dd92215f Try to fix Ubuntu 18.04 FTBFS 2020-06-14 16:22:23 +02:00
Laurent Trinques a8c2283cbe hot fix zoom and scrolling
bug: was only zoom In
    (int QPoint::manhattanLength() const
    Returns the sum of the absolute values)
2020-06-14 14:29:59 +02:00
Simon De Backer 39fba2702d add be lang 2020-06-14 13:51:48 +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 81992bc777 remove inline, because it creates compile issues in release mode. see #48 2020-06-14 13:29:26 +02:00
Martin Marmsoler 3bac452141 add comments 2020-06-14 13:29:26 +02:00
Martin Marmsoler 51843bf03e replace foreach by for 2020-06-14 13:29:26 +02:00
Martin Marmsoler af989b1cd8 Use uuid instead of an index to connect multiple elements 2020-06-14 13:29:25 +02:00
Martin Marmsoler c2e17daab9 move initialization to header, so it must not be done in every constructor 2020-06-14 13:29:25 +02:00
Martin Marmsoler 439cf4cbd6 fix segmentation fault 2020-06-14 13:29:25 +02:00
Martin Marmsoler 89452f0b3c fix nullpointer exception 2020-06-14 13:29:25 +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
Martin Marmsoler 77a2ceea7d regarding to joshuas email, toXml uses a new structure. So it is changed in the properties interface and xrefproperties 2020-06-14 13:29:25 +02:00
Laurent Trinques 496b8f302a Fix FTBFS on Ubuntu 18.04 2020-06-14 08:26:52 +02:00
Laurent Trinques 22e619d6b9 Revert pull request #48 2020-06-14 07:35:52 +02:00
Martin Marmsoler c9a7c836c5 add comments 2020-06-13 16:26:22 +02:00
Martin Marmsoler a8a2df7c55 replace foreach by for 2020-06-13 16:26:22 +02:00
Martin Marmsoler 9b06a81c49 Use uuid instead of an index to connect multiple elements 2020-06-13 16:26:22 +02:00
Martin Marmsoler 7f07660959 move initialization to header, so it must not be done in every constructor 2020-06-13 16:26:22 +02:00
Martin Marmsoler bc8bb63cae fix segmentation fault 2020-06-13 16:26:22 +02:00
Martin Marmsoler e8d4b6c9d5 fix nullpointer exception 2020-06-13 16:26:22 +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
Martin Marmsoler 8c6b4120f5 regarding to joshuas email, toXml uses a new structure. So it is changed in the properties interface and xrefproperties 2020-06-13 16:26:22 +02:00
Laurent Trinques ca80b3d69f Improve last commit 2020-06-13 06:29:24 +02:00
Laurent Trinques 2e8c7d5236 Fix FTBFS
QTextStreamFunctions::endl(QTextStream&)

simple but no buffer flush
2020-06-13 06:08:11 +02:00
Laurent Trinques f41b3ba26f QTextStreamFunctions::endl(QTextStream&)
Use Qt::endl instead
2020-06-13 05:44:34 +02:00
Simon De Backer 2aff40fd52 fix deprecated warning QTextStream& QTextStreamFunctions::endl(QTextStream&)
Use Qt::endl instead

QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl")
2020-06-13 05:42:05 +02:00
Simon De Backer c97a239c29 fix deprecated warning Qt::WindowFlags = nullptr
Use default constructor instead

Qt::Widget 0x00000000
This is the default type for QWidget.
Widgets of this type are child widgets if they have a parent,
and independent windows if they have no parent.
See also Qt::Window and Qt::SubWindow.
2020-06-12 19:54:34 +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 bb093ba0cd Mod Copyright Date
from const to dynamic

benefit the date no longer needs to be translated
2020-06-12 19:52:31 +02:00
Laurent Trinques 247a14f7aa Fix Unbutu 18.04 FTFS 2020-06-12 07:22:18 +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
Simon De Backer 2570108caf fix deprecated warning qsrand
This function is obsolete.

Use QRandomGenerator instead.
This class was introduced in Qt 5.10.
2020-06-12 05:52:50 +02:00
Simon De Backer 5d2d4a48a5 fix deprecated warning QButtonGroup::buttonClicked
This function is obsolete.

Use QButtonGroup::idClicked instead.
This function was introduced in Qt 5.15.
2020-06-12 05:52:50 +02:00
Simon De Backer 21c3c09341 fix deprecated warning QHash
This function is obsolete.

Use QMultiHash instead.
This function was introduced in Qt 4.3 - 5.14
2020-06-12 05:52:50 +02:00
Simon De Backer b9ed45c8a3 fix deprecated warning QMap
This function is obsolete.

Use QMultiMap instead.
This function was introduced in Qt 4.3 - 5.14
2020-06-12 05:52:50 +02:00
Simon De Backer 573a36b93f fix deprecated warning QDirModel
This class is obsolete. It is provided to keep old source code working.
We strongly advise against using it in new code.

Use QFileSystemModel instead.
This class was introduced in Qt 4.4
2020-06-12 05:52:50 +02:00
artgg7300 e61cbfe30a translated hungarian files 2020-06-12 05:42:26 +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