Laurent Trinques
e10ae8ce2e
Update Copyright date
2020-06-15 17:42:53 +02:00
Claveau Joshua
94aa5c0247
Minor fix : in some condition master cross Xref are not displayed
2020-04-08 19:27:24 +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
a620b4067d
Bug fix
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5579 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-10 12:19:30 +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
a49769970e
forget file from previous commit
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5225 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-01 18:42:26 +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
c811b02516
Element now use the pattern and variable of formula to create the label, both stored in diagram context (instead of the label with a pattern and formula, to create the final label)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4795 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-01 09:09:50 +00:00
blacksun
ae9f4b1590
minor fix : master element doesn't properly update her tagged text 'label' when he contain %F and %F contain himself %f or %id.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4780 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-15 10:18:32 +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
ca65ac5adb
Keep up to date the label of element when folio position change (Formula contain %id)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4744 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-10-17 12:17:45 +00:00
dfochi
f8a829d328
Element Autonumbering now has sequential variables and selectautonum widget. Renamed autonumbering variables.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4569 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-10 01:33:49 +00:00
dfochi
522759e8b3
Element autonumbering. New tab inside autonumbering menu to assign formulas to element label. XML containing elements labels according ISO/IEC 81346 (./elements/10_electric/qet_labels.xml
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4563 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-05 20:14:14 +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
b94e3740ba
Added position and folios variables handling to Elements (Master, Slave and Simple) Label
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4514 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-24 18:21:52 +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
blacksun
2242ebd16a
Link single element widget, set live edit enable.
...
In properties dock widget, no need to click on apply button, change are apply immediately.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3992 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-05-27 07:22:50 +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
5e58524cac
Master element : bug fix
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3630 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-26 22:32:55 +00:00
blacksun
cf868a0cc8
When unlink an element, make sure this element isn't highlighted
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3561 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-19 19:18:05 +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
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
a0ba343951
Element information : Check box "visible" for text re-work.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3499 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-18 23:00:06 +00:00
blacksun
1329682ad6
Master element minor bug fix
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3464 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-07 19:24:29 +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
cf887b8c3c
Master element : comment is displayed even if there isn't slave linked
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3414 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-28 15:45:28 +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
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
9d9f6bd0db
Add flags for qmake to use C++11
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3079 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-26 14:42:00 +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
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
1ce608e7df
cross ref item: don't show postion of element 'power'.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2959 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-02 17:36:40 +00:00
blacksun
1a1dbbc3be
master element: add auto label when "comment" isn't empty and must show
...
element info widget -> comment line: must show is checked by default
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2951 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-31 16:02:47 +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
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