Simon De Backer
5d92393ee7
Wrap code for better readability
2020-09-07 22:03:40 +02:00
Simon De Backer
69ff437368
Mod doc, Improve code style
2020-08-12 21:59:00 +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
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
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
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
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
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
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
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
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
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
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
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
blacksun
2e2ac0cb61
Xref item: minor improvement
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3066 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-13 19:28:11 +00:00
blacksun
7b7471c14c
cross ref item: min cross size is set for 4 contacts.
...
cross ref item: improve code (will be faster)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3065 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-13 17:37:14 +00:00
blacksun
56bf8b1c6b
Cross ref item: when xref is show has table, user can add prefix to the text of power and delay contact.
...
Minor improvemnt: the table update is size according to his content
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3060 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-07 20:56:51 +00:00
blacksun
af22c5bc70
improve behavior of Xref item (must show or not the power contact)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3042 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-02 18:14:42 +00:00
blacksun
1cd9c4b28c
cross ref item: bugfix
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3035 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-28 19:00:49 +00:00
blacksun
91552373cf
Cross ref item: user can select if xref must be displayed has a table or a contacts list.
...
Option is found in config dialog under the tab Cross ref.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3033 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-28 15:41:58 +00:00
blacksun
eee2a9181e
Bug fix: qet crash when close a diagram with a cross ref item.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3015 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-20 23:37:03 +00:00
blacksun
0f5154ed55
cross ref item: comment is wrapped for better visual
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2990 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-16 19:39:20 +00:00
blacksun
ff14edda6b
Cross ref item, check properties for show power contacts or not.
...
Change properties in project is applied immediately to cross ref
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2985 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-12 12:51:25 +00:00
blacksun
c7fe3f583b
bug fix: cross ref item have wrong behavior when rotate is master. (thanks mmiacca)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2984 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-12 01:26:19 +00:00
blacksun
9766b8f01e
cross ref item: improve improve the position of the comment at the bottom of the cross
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2950 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-28 10:33:14 +00:00
blacksun
0c486bcb09
cross ref item : show the master comment at the bottom of cross
...
element : improve the function to sort an element list
qet graphics item : add a bool to disable the snap to grid (used for cross ref item, to be exactly at the bottom of element)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2948 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-26 10:41:06 +00:00
blacksun
6c77a8ae07
cross ref item : grow the size of the cross according to the number of linked elements
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2923 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-13 14:59:40 +00:00
blacksun
020d4f575c
add cross reference graphic item, only for master element.
...
(basic implementation, need to be improved)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2906 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-03 17:31:45 +00:00