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
Simon De Backer
4a3b7e708a
QAbstractTableModel explicitly initialized in copy constructor
...
warning: base class ‘class QAbstractTableModel’
should be explicitly initialized in the copy constructor [-Wextra]
2020-06-08 21:14:15 +02:00
Ole Carlsen
521ed615d9
Minor Danish update
2020-06-08 18:43:43 +02:00
Laurent Trinques
fea245d485
Update polish translation, thanks Pawel
2020-06-08 03:55:36 +02:00
Simon De Backer
fe64923ffe
fix deprecated warning QSet<T> QList<T>::toSet()
...
Use
QSet<T>(list.begin(), list.end())
instead.
This function was introduced in Qt 5.14
2020-06-08 03:52:51 +02:00
Simon De Backer
37658efd0d
fix deprecated warning qUpperBound
...
Use
std::upper_bound
instead.
2020-06-07 16:42:41 +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
Simon De Backer
24528b0fdb
fix deprecated warning QModelIndex::child
...
Use
QModelIndex::index
instead.
This function was DEPRECATED_SINCE(5, 8)
2020-06-07 16:42:17 +02:00
Simon De Backer
803414f716
remove user-defined copy constructor
...
We need to define our own copy constructor only
if an object has pointers or any runtime allocation
of the resource like file handle, a network connection..etc.
note: Default constructor does only shallow copy.
2020-06-07 16:41:42 +02:00
Claveau Joshua
9085c6fcda
table item : remove a table remove also all linked tables
2020-06-05 20:00:13 +02:00
Claveau Joshua
ae9ef3cf21
Make a copie of previous table model when unlink a table from her previous table.
2020-06-04 14:17:14 +02:00
Claveau Joshua
8ad876fb31
Improve the use of the database
2020-06-03 19:46:27 +02:00
Claveau Joshua
b445ce8934
Nomenclature model : Improve function to setup the name of header
2020-06-03 19:15:21 +02:00
Claveau Joshua
042faeae32
Table widget : Enable arrow to quicly switch to previous/next linked table
2020-06-02 19:44:19 +02:00
Simon De Backer
de88b32e5b
fix deprecated warning QPainter::drawRoundRect
...
Use
QPainter::drawRoundedRect
instead.
This function was introduced in Qt 4.4.
2020-06-02 06:23:17 +02:00
Simon De Backer
74c3fc8dd9
fix deprecated warning QTreeWidgetItem::setBackgroundColor
...
Use
setBackground()
instead.
This function was introduced in Qt 4.2.
2020-06-01 11:53:38 +02:00
Ole Carlsen
faf35c4985
Danish translation updated
2020-06-01 08:29:13 +02:00
Laurent Trinques
6b16f5b46d
Add new conductors properties color and section
2020-05-31 22:33:25 +02:00
Simon De Backer
9b570525d3
fix deprecated warning QDrag::start
...
Use
QDrag::exec
instead.
2020-05-31 11:43:59 +02:00