76 Commits

Author SHA1 Message Date
Laurent Trinques
68e78a0de9 Fix indentation code 2020-07-15 20:20:07 +02:00
Laurent Trinques
e10ae8ce2e Update Copyright date 2020-06-15 17:42:53 +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
Claveau Joshua
94aa5c0247 Minor fix : in some condition master cross Xref are not displayed 2020-04-08 19:27:24 +02:00
joshua
91353b5578 Minor : Fix wrong position with cross ref item displayed as cross 2020-01-09 22:43:16 +01:00
blacksun
cd9a42184f Add new slave type : delay on/off
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5848 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-29 16:41:06 +00:00
blacksun
da99c82670 Minor : The Xref (draw as contact) of temporised switch contact are not represented with the parachute
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5845 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-26 18:01:28 +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
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
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
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
d85e395b46 Element text item with are now converted to dynamic element text item.
From now, the class ElementTextItem is not anymore use in qet. Every texts in a diagram are DynamicElementTextItem.
the Xref item was adapted to dynamic text.
Previously, the comment and location, displayed as a "static text" below the "old text" tagged "label" are now automaticaly converted to DynamicElementTextItem, so visually, these texts stay unchanged 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5216 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-01-19 12:17:20 +00:00
blacksun
1b120550e8 Fix bugtracker report N° 119 : Variable %F (of several element Xref) is not always up to date when the corresponding value of titleblock change.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4906 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-11 11:42:52 +00:00
scorpio810
41659fa6fd Revert r4900
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4902 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-05 16:18:50 +00:00
scorpio810
6422dd096f Replace foreach function by for, please try and report problem
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4900 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-04 21:43:23 +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
blacksun
9f014d55af Revamp struct sequenceStruct to class sequentialNumbers.
Element now use methods (toXml and fromXml) of sequentialNumbers to store and load sequential.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4803 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-08 15:06:46 +00:00
blacksun
261c7ecf51 Cross ref item : clickable link work when Xref is displayed as a cross
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4786 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-17 14:42:07 +00:00
blacksun
b08ae5e1c1 Cross ref item : Double click in a contact of the Xref, go to the real contact. (only available for Xref draw as contacts)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4784 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-16 18:37:31 +00:00
blacksun
11d38c6091 Cross ref item minir fix :
Some variable was not assigned.
Improve the bounding rect to be more accurate


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4783 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-16 16:01:53 +00:00
blacksun
bb2fff7e5f Element : variable assignement of label is now managed by an external class instead of the element itself
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4772 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-09 16:06:04 +00:00
blacksun
01a1d13c41 Minor : minor change about Xref offset
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4704 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-13 16:32:02 +00:00
scorpio810
5873ba670f CrossRefItem increase displayed text
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4633 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-17 06:21:21 +00:00
scorpio810
a0c55ea4ad Add variable for properties %machine and %locmach
can now be called in the xref propertie widget (run now for slave and
master)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4632 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-17 06:04:37 +00:00
scorpio810
7a1fec591a XREF improve drawing delay type contact
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4562 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-03 12:00:27 +00:00
dfochi
373f3bf5a6 Xref: Change Vertical Offset of Cross References
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4547 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-06-07 17:01:59 +00:00
dfochi
46464a67a6 Display Location Field in Diagram and assign Folio Variables to Element's Information Fields
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4546 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-06-07 12:55:05 +00:00
scorpio810
8aa79b165a Improve painter draw Text for XREF
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4522 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-25 14:53:07 +00:00
dfochi
86244e35f0 Nomenclature export(all fields exported to csv) and Comment field(displayed on editor) handle position and folio variables
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4521 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-25 14:49:33 +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
aa45a98ad5 Added view mode in Cross References - included Folio Field
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4493 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-20 20:31:55 +00:00
dfochi
99f1a0e83a Reverted commit due to change in lang/qet_en.ts
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4492 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-20 20:22:44 +00:00
dfochi
940a7230e3 Added view mode in Cross References - included Folio Field
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4491 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-20 20:16:28 +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
20beb4915a Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4270 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-11-19 17:20:04 +00:00
blacksun
b025830100 Fix crash : qet crash when element comment (comment item and cross ref item) is bigger than the width of the rectangle where there are displayed.
The rectangle is now adjusted to the size of the comment.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4082 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-31 14:20:56 +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
e4c73b8666 Cross ref item : change how some methods work
Master element : minor change related to the change of cross ref item


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3539 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-08 17:39:57 +00:00
blacksun
5ab965588b Fix artefact on qgraphics scene when remove a linked element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3534 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-07 15:47:58 +00:00
blacksun
9119d156c3 Comment item & cross ref item : reduce the size of the rectangle where is display the comment for better visual
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3531 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-04 23:14:20 +00:00
blacksun
e8cbb23c0b Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3515 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-24 18:17:20 +00:00
blacksun
822da4fe66 simple element : comment is snapped and centered to the bottom of text tagged "label"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3432 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-02 14:12:38 +00:00
blacksun
0c5035d12d Info about Linked element (cross ref item and info about pos of master for the slave element) is updated when a diagram is removed from project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3429 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-01 22:01:59 +00:00
blacksun
f071fc8d09 Master element: improve how the comment is displayed when there isn't linked to a slave
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3426 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-31 10:22:46 +00:00
blacksun
933e8cb86f Cross ref item : minor improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3402 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-26 13:12:44 +00:00
blacksun
e3cc8d449d Improve signal of position changed, between linked elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3394 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-23 08:48:30 +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
844167f181 xref: switch contact is managed by cross ref
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3201 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-07 14:36:53 +00:00
blacksun
68e9d33e88 xref properties widget: user can define the behavior of xref for coil and protection.
They don't work now with official collection, because we must to update the information of element (type coil or protection).
You can test it by creating new master element (dont forget to define the master type, coil or protection).


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3185 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-03 08:52:14 +00:00
blacksun
8379163061 Xref item: item position can be set under the texte field "label" of master element.
Double clic in xref open the properties dialog of master.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3183 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-27 18:34:18 +00:00