Commit Graph

6088 Commits

Author SHA1 Message Date
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
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
cccc4fc0c4 add comments 2020-06-11 11:12:05 +02:00
Martin Marmsoler
b7c2740778 replace foreach by for 2020-06-11 11:12:05 +02:00
Martin Marmsoler
e6f77ec369 Use uuid instead of an index to connect multiple elements 2020-06-11 11:12:05 +02:00
Martin Marmsoler
bb24e121eb move initialization to header, so it must not be done in every constructor 2020-06-11 11:12:05 +02:00
Martin Marmsoler
dd377eeb73 fix segmentation fault 2020-06-11 11:12:05 +02:00
Martin Marmsoler
19d494afcd fix nullpointer exception 2020-06-11 11:12:05 +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
Martin Marmsoler
dcbcb5391f regarding to joshuas email, toXml uses a new structure. So it is changed in the properties interface and xrefproperties 2020-06-11 11:12:05 +02:00
Claveau Joshua
7e9fd8df98 graphics table properties editor : Add two buttons new button
Add new two new buttons :
1. Adjust the selected table to fit as well into folio.
2. Set current geometry to all linked tables : Apply the geometry (pos,
height, width, row to display) of the selected table to all linked
tables.
2020-06-11 10:41:01 +02:00
Ole Carlsen
516435554a Danish translation updated 2020-06-09 14:10:22 +02:00
Laurent Trinques
e96a704215 Update fr en translation 2020-06-09 11:28:20 +02:00
Laurent Trinques
e3b5fbb5ac Update *TS files 2020-06-09 10:45:37 +02:00
Martin Marmsoler
d1742d5685 when model is not yet loaded, but the element editor should be opened, a segmentation fault occurs. Do not set current index when m_model is not yet loaded 2020-06-09 10:01:32 +02:00