Commit Graph

51 Commits

Author SHA1 Message Date
Claveau Joshua
b45c6b453e Minor fix : QetGraphicsTableItem keep his size when model is reseted or when open from xml. 2020-10-10 11:18:21 +02:00
Simon De Backer
8a5ba90d01 QT6: std::min needs further tweaking 2020-10-03 16:00:24 +02:00
Simon De Backer
36dbe65457 Add TODO compile var + Fix doxygen issue
You can make your code warn on compile time for the TODO's
In order to do so, uncomment the following line. in pro file
DEFINES += TODO_LIST
2020-09-24 17:01:33 +02:00
David Varley
6b1d51bab8 DXF - Add Polylines, use for conductors and rectangles 2020-09-11 11:22:08 +10:00
Simon De Backer
5d92393ee7 Wrap code for better readability 2020-09-07 22:03:40 +02:00
Simon De Backer
8ee38fab9e Fix Coding convention
Please download and use
https://qelectrotech.org/wiki_new/_media/doc/qtcreator-qet-style.xml
when you write code in Qt
2020-09-07 21:41:45 +02:00
David Varley
68b4705630 Tidy up som comments 2020-09-07 16:27:59 +10:00
David Varley
d062175da7 Add tables to dxf export 2020-09-07 16:16:33 +10:00
Simon De Backer
331918d143 Wrap code for better readability 2020-08-20 21:58:23 +02:00
Simon De Backer
0c00d83b27 Fix some doxygen issues 2020-08-20 21:57:35 +02:00
Simon De Backer
88686b3cbf Wrap code for better readability 2020-08-20 17:45:24 +02:00
Simon De Backer
d1c91a7fc2 Fix some doxygen issues 2020-08-20 17:44:59 +02:00
Simon De Backer
5e3e3aa4bd Improve code style, Wrap code for better readability, Mod doc 2020-08-16 14:24:51 +02:00
Simon De Backer
a83ee76f39 Fix Copyright indentation 2020-08-16 14:19:38 +02:00
Simon De Backer
d4ee161c07 Mod doc set style de same 2020-08-16 11:19:36 +02:00
Simon De Backer
90417ae509 Fix Copyright indentation 2020-08-16 09:40:14 +02:00
Claveau Joshua
1fc893157d Minor fix
Fix : During the opening of a project, if the project contain a
nomenclature, the dialog used to inform user that the table is too small
is displayed
2020-08-02 18:20:30 +02:00
Claveau Joshua
f242e1bccc graphics table properties editor : minor
Add label to inform users that the number of row is less than the number
of information to display.
2020-07-20 20:29:13 +02:00
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
fe4552200b Add compiler message @TODO 2020-07-19 22:06:42 +02:00
Laurent Trinques
68e78a0de9 Fix indentation code 2020-07-15 20:20:07 +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
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
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
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
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
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
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
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
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
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