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
0dfe0c1613
let conductor textitem export to xml, because the read is also made from it
2020-10-10 12:25:58 +02:00
Martin Marmsoler
f18e6bd50f
remove default parameter, because it leads only to confusion and errors
2020-10-10 12:02:38 +02:00
Martin Marmsoler
a1cf3711a1
Fix issues
2020-10-07 08:05:01 +02:00
Martin Marmsoler
b958848194
Update conductorproperties.cpp and conductor.cpp
2020-10-06 21:40:48 +02:00
Simon De Backer
937a6d740b
QT6: QStyleOptionGraphicsItem
2020-10-03 15:54:02 +02:00
Martin Marmsoler
c8691b243b
if no uuid for the terminal is available, use write the id of the terminal to the xml file, otherwise no connection can be done after saving
2020-10-02 14:58:33 +02:00
Martin Marmsoler
27a63bbf2b
WIP
2020-10-01 14:38:08 +02:00
Martin Marmsoler
adc28d32b9
revert saving title block properties in it's own child, because it makes more sense directly in the diagram
2020-09-28 16:29:09 +02:00
Martin Marmsoler
48cce42cfe
fix wrong position of segments when loading file. This was, because not the segment property is asked, but the parent and this will not work
...
additionally support legacy orientation
2020-09-28 15:42:57 +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
Martin Marmsoler
6080a7b9c9
WIP
2020-09-14 21:21:32 +02:00
Simon De Backer
5d92393ee7
Wrap code for better readability
2020-09-07 22:03:40 +02:00
Martin Marmsoler
c5f1705745
go on with the work
2020-08-25 20:14:38 +02: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
566747eb2b
Improve code style, Wrap code for better readability
2020-08-18 21:29:12 +02:00
Simon De Backer
8e956df8d8
Fix some doxygen issues
2020-08-18 21:28:52 +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
d4ee161c07
Mod doc set style de same
2020-08-16 11:19:36 +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
Simon De Backer
ddf88bbed7
add font color of the conductors
2020-06-20 23:48:20 +02:00
Laurent Trinques
e10ae8ce2e
Update Copyright date
2020-06-15 17:42:53 +02:00
Martin Marmsoler
af989b1cd8
Use uuid instead of an index to connect multiple elements
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
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
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
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
Laurent Trinques
6b16f5b46d
Add new conductors properties color and section
2020-05-31 22:33:25 +02: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
33d757e0d8
Diagram editor : add a new widget in the "curent selection dock" for edit the independent text. WIP
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5737 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-19 16:42:07 +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
scorpio810
0931e9c0a9
Big increase the value of QPainterPathStroker for very long text, thanks
...
re-searcher
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5617 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-29 09:42:23 +00:00
scorpio810
30bee81432
Revert r5449 and disable r5452 momentary : Load time from elements is
...
very slow
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5461 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-30 15:24:29 +00:00
scorpio810
b97b01d63c
Apply clang-tidy's modernize-use-auto
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5449 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-19 16:27:20 +00:00
scorpio810
e4b1ba9797
Apply clang-tidy's performance-unnecessary-value-param, performance-for-
...
range-copy
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5448 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-19 14:14:31 +00:00
blacksun
3ff5b00953
Minor code refactoring
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5417 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-29 07:55:48 +00:00
blacksun
bca58fa555
Conductor is an herited class of QGraphicsObject, instead of QObject and QGraphicsPathItem
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5371 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-18 19:36:27 +00:00
blacksun
aaea6968d0
fix bug
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5343 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-28 13:56:04 +00:00
blacksun
d53f830ad9
Text of conductor can be placed at top/bottom/left/right of conductor, and text never overlaps the conductor.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5342 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-28 13:35:23 +00:00
blacksun
8d56e7809c
Function for search conductor at the same potential.
...
When the search function is searching in a terminal element, they search only for the first terminal found, no matter if the terminal element have more than two terminals.
So the list of conductors at the same potential is missing some conductors.
This commit fix it, now the search function search for every terminals of a terminal element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5307 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-07 13:25:05 +00:00
blacksun
fa547a34c8
Fix compilation warning (clang and gcc)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5301 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-05 18:49:28 +00:00
blacksun
37ef43b97b
clean some code
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5279 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-25 18:42:18 +00:00
blacksun
99eac96475
Conductor : double click on an handler open the property editor of the conductor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5029 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-24 14:55:13 +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
f4f14ff4db
Minor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5002 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-03 16:47:40 +00:00
blacksun
618683d962
Toatly revamp of the handlers use to modify primitves, shapes and conductors.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5001 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-02 15:26:14 +00:00