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
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
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
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
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
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
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
Laurent Trinques
6b16f5b46d
Add new conductors properties color and section
2020-05-31 22:33:25 +02:00
Claveau Joshua
27472bdd8b
Nomenclature model don't save header data "display role"
...
The model doesn't save anymore the header data with role
Qt::displayRole.
The header display role is now generated in the fly, by concequent the
header displayed texts are always in the current local
2020-05-29 20:54:50 +02:00
Simon De Backer
addcdeb2a0
fix -Wmisleading-indentation warning
...
there were spaces used to indent the conditional line
2020-05-29 14:03:26 +02:00
Simon De Backer
362509cb38
fix deprecated warning QSet<T>::toList() Use values() instead.
...
warning: ‘QList<T> QSet<T>::toList() const [with T = Conductor*]’
is deprecated: Use values() instead. [-Wdeprecated-declarations]
QT_VERSION 5.15.0
GCC 64bit
2020-05-28 15:54:53 +02:00
Claveau Joshua
edfdf83c99
Nomenclature : enable option "fit to diagram"
2020-05-24 15:03:56 +02:00
Claveau Joshua
0015f4a694
Qet graphics table item can be removed from diagram
2020-05-12 11:17:25 +02:00
Claveau Joshua
37efa97ce7
qet graphics table item : to/from xml change
...
The font, alignment and margins is not saved by the table anymore but by
the model.
2020-05-08 00:08:57 +02:00
Claveau Joshua
efac27b9b8
Nomenclature : Add dialog when insert a new nomenclature table
2020-05-05 20:38:31 +02:00
Claveau Joshua
3905371da6
Fix wrong element text value when loading from xml
2020-05-03 20:29:55 +02:00
Claveau Joshua
9bb58fedea
Element query widget : widget restor is state according to the current query
2020-04-29 11:48:45 +02:00
Claveau Joshua
a8a9ddc3d6
Add view 'element_nomenclature_view' to projectDataBase
...
Add a view for the nomenclature to reduce the size of the query and make
it more understandable
2020-04-25 15:52:06 +02:00
Claveau Joshua
61d4ddfcda
QetGraphicsTableItem : Imrpove how the table is resized
2020-04-17 23:15:39 +02:00
Claveau Joshua
908d79925c
save/load QetGraphicsTableItem to/from .qet file
2020-04-17 18:40:28 +02:00
Laurent Trinques
73149973e3
Merge remote-tracking branch 'origin/QetGraphicsTableItem'
2020-04-12 18:51:38 +02:00
Claveau Joshua
41541dde2c
Minor fix : dynamic text can't have 'label' info if formula is set
...
When create a new dynamic element text item, on an element which have a
formula, dynamic text can't have 'label' for source of text.
2020-04-10 15:02:18 +02:00
Claveau Joshua
94aa5c0247
Minor fix : in some condition master cross Xref are not displayed
2020-04-08 19:27:24 +02:00
Claveau Joshua
f7a090c3ca
Add widget to edit QetGraphicsTableItem and QetGraphicsHeaderItem
2020-03-08 10:38:49 +01:00
Claveau Joshua
2a29b4b240
Add itemTYpe for QetGraphicsTableItem and QetGraphicsHeaderItem
2020-02-21 08:55:35 +01:00
Claveau Joshua
43baed69db
Add QetGraphicsHeaderItem
2020-02-20 21:33:26 +01:00
Claveau Joshua
fd2c210f49
Add QetGraphicsTableItem + entry "add nomenclature" in project menu
2020-02-02 16:33:19 +01:00
joshua
91353b5578
Minor : Fix wrong position with cross ref item displayed as cross
2020-01-09 22:43:16 +01:00
Laurent Trinques
41af7abadb
Fix typo
2019-11-18 12:53:05 +01:00
joshua
fc73d53d73
CSV export : correctly export label
2019-11-07 21:21:07 +01:00
joshua
ff7eb4d11c
Revampe nomenclature
...
Nomenclature is now totally revamped, user can define information to
export and the order of theme.
2019-11-03 13:27:46 +01:00
Laurent Trinques
3fa071841c
Merge and clean Stromie patch : feature set xref slave position
2019-08-31 07:37:34 +02:00
scorpio810
421c7821be
Basic shapes : set solid line pattern by default
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5918 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-12 13:16:54 +00:00
blacksun
cd9a42184f
Add new slave type : delay on/off
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5848 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-29 16:41:06 +00:00
blacksun
da99c82670
Minor : The Xref (draw as contact) of temporised switch contact are not represented with the parachute
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5845 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-26 18:01:28 +00:00
scorpio810
957c019a8f
Minor : update Copyright date
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5824 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-03 18:29:13 +00:00
blacksun
32e2fd3c89
Replace deprecated QMatrix by QTransform
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5801 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-18 20:14:36 +00:00
blacksun
1ac950cd81
Replace Q_ENUMS (with S, deprecated since Qt5.5) by Q_ENUM (without S)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5800 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-18 19:49:12 +00:00
blacksun
32db96c623
Add new entry if the main QElectroTech dialog conf, to set a defaut font and rotation of independent text item.
...
Revamp some GUI
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5767 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-08 20:07:00 +00:00
blacksun
a58cecc22a
Independent text can have custom font.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5766 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-08 13:47:33 +00:00
blacksun
c9ebb78639
Diagram text item : remove the function fontSize, and use instead font
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5765 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-08 11:53:27 +00:00
blacksun
26a071a4d9
Dynamic element text item : The font of the dynamic texts can be individually be setted.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5764 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-08 10:27:33 +00:00