Simon De Backer
32a90493bd
TEST a Merge branch 'XMLProperties'
...
it gets built let's test it for bugs
Conflicts:
sources/ElementsCollection/fileelementcollectionitem.cpp
sources/QetGraphicsItemModeler/qetgraphicshandleritem.h
sources/borderproperties.cpp
sources/conductorproperties.cpp
sources/conductorproperties.h
sources/diagram.cpp
sources/diagram.h
sources/diagramprintdialog.cpp
sources/diagramprintdialog.h
sources/editor/graphicspart/customelementgraphicpart.cpp
sources/editor/graphicspart/partarc.cpp
sources/editor/graphicspart/partdynamictextfield.cpp
sources/editor/graphicspart/partdynamictextfield.h
sources/editor/graphicspart/partellipse.cpp
sources/editor/graphicspart/partline.cpp
sources/editor/graphicspart/partpolygon.cpp
sources/editor/graphicspart/partrectangle.cpp
sources/editor/graphicspart/partterminal.cpp
sources/editor/graphicspart/partterminal.h
sources/editor/graphicspart/parttext.cpp
sources/properties/propertiesinterface.cpp
sources/properties/propertiesinterface.h
sources/properties/terminaldata.cpp
sources/properties/terminaldata.h
sources/properties/xrefproperties.cpp
sources/properties/xrefproperties.h
sources/qetgraphicsitem/conductor.cpp
sources/qetgraphicsitem/conductor.h
sources/qetgraphicsitem/conductortextitem.h
sources/qetgraphicsitem/dynamicelementtextitem.h
sources/qetgraphicsitem/element.cpp
sources/qetgraphicsitem/element.h
sources/qetgraphicsitem/elementtextitemgroup.h
sources/qetgraphicsitem/slaveelement.cpp
sources/qetgraphicsitem/slaveelement.h
sources/qetgraphicsitem/terminal.cpp
sources/qetgraphicsitem/terminal.h
sources/qetproject.cpp
sources/titleblockproperties.cpp
2020-10-13 22:31:58 +02:00
Martin Marmsoler
c0d9bf9548
use more meaningful name
2020-10-12 19:11:01 +02:00
Martin Marmsoler
3509a1c7a5
add comments and move some initializations from the source file to the header file
2020-10-10 15:50:04 +02:00
Simon De Backer
5d92393ee7
Wrap code for better readability
2020-09-07 22:03:40 +02:00
Simon De Backer
cdb2e7b523
Wrap code for better readability
2020-08-19 21:27:14 +02:00
Laurent Trinques
e10ae8ce2e
Update Copyright date
2020-06-15 17:42:53 +02: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
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
blacksun
a7917bb5bb
Remove the class element text item.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5276 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-25 14:33:49 +00:00
blacksun
5248c891f4
Dynamic element text item :
...
First : If the parent element of the text item is a slave,
the info use to create the text (both if option are 'element info' or 'composite text') are taken to the linked master element, and not the slave.
If the salve element is not linked, no information is taken.
Second : if the text is composed with the variable 'label' of the master (both if text from are 'element info' or 'composite text') double click on the text, act like a link and go to the master.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5035 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-29 14:54:27 +00:00
scorpio810
31f36b8625
Modernize-use-override refactors code
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5009 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-05 02:10:01 +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
blacksun
37e7477d09
Unlink a slave element, reset her text to "_".
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4885 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-29 13:57:17 +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
dfochi
ada71484e8
Added Cross Reference Labels for Master and Slave Element. Removed View Mode
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4511 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-23 22:01:22 +00:00
dfochi
a72c5beed1
View mode works with Slave Element
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4494 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-21 20:28:25 +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
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
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
0109a5d188
slave element: when linked to master, label is replaced by the label of master, and show the position of the master
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2946 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-21 14:40:33 +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