41 Commits

Author SHA1 Message Date
Claveau Joshua
c86f9ccc3a Improve ProjectDataBase use 2020-07-01 18:31:19 +02:00
Claveau Joshua
0587c56bba Summary query widget : config can be saved/loaded 2020-06-21 16:17:35 +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
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
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
Claveau Joshua
b445ce8934 Nomenclature model : Improve function to setup the name of header 2020-06-03 19:15:21 +02:00
Claveau Joshua
0897ed43fe Add table dialog : table config can saved and loaded.
The dialog used to edit the configuration of QetGraphicsTable item can
now save and load a configuration from graphics_table.json file located
in the user config dir.
2020-05-30 20:18:44 +02:00
Claveau Joshua
75e6f28221 Reduce the time spend when nomenclature table is created automatically 2020-05-26 22:00:32 +02:00
Claveau Joshua
65777a0fb5 Minor typo 2020-05-24 17:23:11 +02:00
Claveau Joshua
df26c5b7ed Add nomenclature dialog : enable option "add new folio and table if needed" 2020-05-24 17:17:17 +02:00
Claveau Joshua
edfdf83c99 Nomenclature : enable option "fit to diagram" 2020-05-24 15:03:56 +02:00
Claveau Joshua
70493a06f7 Minor : typo and tab edit order 2020-05-15 11:38:09 +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
Laurent Trinques
b481073993 Fix typo 2020-05-06 08:41:18 +02:00
Claveau Joshua
efac27b9b8 Nomenclature : Add dialog when insert a new nomenclature table 2020-05-05 20:38:31 +02:00
Laurent Trinques
081f44f8be Element Editor add new ColorHTML, THANKS Arnaud for the patch 2020-04-15 10:27:54 +02:00
Laurent Trinques
73149973e3 Merge remote-tracking branch 'origin/QetGraphicsTableItem' 2020-04-12 18:51:38 +02:00
Claveau Joshua
ed2e72e995 Minor improvement about using pugixml 2020-01-18 20:03:24 +01:00
blacksun
4cbf103cbc Static text of element are now exported to dxf
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5896 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-28 19:22:36 +00:00
blacksun
66ef773c53 Fix DXF export
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5794 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-16 19:13:46 +00:00
blacksun
ad76d438ef Element editor :
The font of the dynamic text field can be edited.
The font of the static text field can be edited.
The color of the static text field can be edited. 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5775 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-10 17:58:33 +00:00
scorpio810
3ed7a4e63b Minor : update Copyright date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5705 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-13 16:56:12 +00:00
blacksun
e4f3f284ea fix bug : if a xml definition of an element haven't got a uuid, the generated pixmap is false.
this commit it.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5493 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-23 20:58:41 +00:00
blacksun
e6d73977c1 1-Use the "implicite shared" of Qt for the QPicture and QPixmap of element (https://doc.qt.io/qt-5/implicit-sharing.html).
This avoid to parse the same element definition each time user drop the same element in the diagram.
Only the first element build the picture, all other get the created picture which is shared.

2- For use the "implicite shared" QPicture and QPixmap of element, now this isn't the element who build her picture, but a dedicated class who made only this job : build the QPicture and QPixmap of elements.

3- With the two previous novelty, the class CustomElement and GhostElement are became useless, and so was removed.
Some few member function of CustomElement was moved to Element.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5492 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-23 19:41:58 +00:00
scorpio810
9f9b127c04 Modernize-use-nullptr refactors code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5008 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-05 02:06:59 +00:00
scorpio810
54c85db29c Minor update Copyright year
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4860 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-20 10:55:49 +00:00
scorpio810
025fa64f67 Minor : update Copyright date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4481 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-13 17:40:36 +00:00
blacksun
95e309ff18 Minor improvement and remove some use of ElementsCollectionItem and ElementsDefinition
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4407 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-29 17:23:58 +00:00
blacksun
1170522d9c Remove elementLocation and use elementsLocation instead
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4377 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-15 15:23:11 +00:00
blacksun
313e4b9793 New element panel can display the thumbnail of elements used in a project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4293 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-30 09:39:22 +00:00
blacksun
827fba8ce4 Add new element panel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4283 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-08 16:52:10 +00:00
scorpio810
eaff56b669 Update copyright date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3734 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-20 14:56:22 +00:00
blacksun
5e935a976e Minor change according to the evolution of Qt class (remove QGraphicsScene from constructor of QGraphicsItem).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3547 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-14 13:06:21 +00:00
blacksun
32938655d7 Autonumerotation: Auto numbering isn't increased through the terminal Elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3229 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-23 19:54:25 +00:00
blacksun
08cf153ea8 Improvement: Use anticipate class declaration instead of include header
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3224 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-21 20:44:32 +00:00
blacksun
105c1c87b6 element master widget property: improve gui.
add slave element class.
element class: replace diagramcontext informations by elementInformations because informations is already used in xml file for element.
minor improvement.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2869 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-22 17:24:20 +00:00
blacksun
cddc841916 add base for master element feature
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2863 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-18 20:44:54 +00:00
scorpio810
433ebc7158 Update Copyright to 2014
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2792 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-29 18:37:45 +00:00
blacksun
c795bf72fc folio report can only be linked to inverted folio report
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2694 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-01 19:21:10 +00:00
blacksun
7ff6ac4410 add pattern factory/singletton to create different type of element
add two news class for element type : simple and folio report
add an empty tab for the element report in the element properties widget


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2665 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-20 20:30:55 +00:00