Commit Graph

616 Commits

Author SHA1 Message Date
Claveau Joshua
709280e3c1 QetGraphicsTableItem : add dialog to inform user
When user edit the query of an existing table/s if the content to
display is bigger than the content who can be displayed by the table/s a
dialog is opened for inform user of the current situation.
2020-07-20 19:38:52 +02:00
Simon De Backer
3b14946421 Add compiler message @TODO + Mod doc set style de same 2020-07-19 22:19:21 +02:00
Simon De Backer
fe4552200b Add compiler message @TODO 2020-07-19 22:06:42 +02:00
Laurent Trinques
68116f4664 Fix indentation code 2020-07-15 23:00:21 +02:00
Laurent Trinques
68e78a0de9 Fix indentation code 2020-07-15 20:20:07 +02:00
Simon De Backer
d7e1d326a2 Wrap code for better readability + Mod doc 2020-07-15 18:34:42 +02:00
Simon De Backer
2cdfce18ec Mod doc to set style de same + Fix indentation code 2020-07-15 18:31:04 +02:00
Simon De Backer
251dfdf37a add documentation 2020-07-15 18:29:04 +02:00
Claveau Joshua
b9a34ce2fd Fix projectdbmodel 2020-07-12 12:33:42 +02:00
Claveau Joshua
83b72c4aac Fix wrong date format for nomenclature table. 2020-07-08 20:56:20 +02:00
Claveau Joshua
beaa2ccdc8 Fix bug with folio report formula 2020-07-04 20:49:13 +02:00
Claveau Joshua
8ac8ff5384 Replace minus (-) by underscore (_) 2020-07-04 20:43:40 +02:00
Claveau Joshua
c86f9ccc3a Improve ProjectDataBase use 2020-07-01 18:31:19 +02:00
Claveau Joshua
64f3001c86 Continue new summary feature
Header name is now well translated.
Open the good dialog from the properties dock widget
2020-06-21 16:00:14 +02:00
Simon De Backer
2241343fba fix Wmisleading-indentation
is misleadingly indented as if it were guarded by the ‘if’
2020-06-21 10:50:00 +02:00
Simon De Backer
ddf88bbed7 add font color of the conductors 2020-06-20 23:48:20 +02:00
Claveau Joshua
090da90e22 fix fail to build 2020-06-18 19:20:25 +02:00
Claveau Joshua
ec5f537da4 Add new summary table (WIP) 2020-06-18 18:52:29 +02:00
Laurent Trinques
e10ae8ce2e Update Copyright date 2020-06-15 17:42:53 +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
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
Laurent Trinques
22e619d6b9 Revert pull request #48 2020-06-14 07:35:52 +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
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
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