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
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
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
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
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
f390c750d5
Fix behavior :
...
In some condition, label of report element are not up to date.
In some condition, the title of tabs widget of folios are not up to date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4980 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-06-20 19:15:39 +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
blacksun
9792e95e6f
Minor : remove a signal in diagram and use directly a signal of qetproject
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4904 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-09 11:07:45 +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
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
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
scorpio810
90caaaffb9
Add Auto Folio Numbering Label to reportelement
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4490 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-19 02:08:42 +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
19a7ab533c
Bug fix
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4200 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-09-12 08:29:45 +00:00
blacksun
22cd5b1a04
Bug fix
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4199 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-09-11 20:11:01 +00:00
blacksun
6b17088116
Element editor : Add new tagg for text field (function and tension/protocol).
...
Report element : text field tagged function or tension/protocol display the function tension/protocol of the potential.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4195 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-09-10 08:48:33 +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
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
51d40f9fcd
Report element : minor improvement about text (text used to display the position of linked report is now tagged "label")
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3560 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-18 10:51:08 +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
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
53be98416c
Report element, minor change
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3372 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-12 09:40:10 +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
74732bb54b
element editor: add dialog for edit element properties (master, slave etc...)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3102 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-03 20:21:19 +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
blacksun
801a2d298f
bug fix: segfault when load project with folio report linked but without the same potential text
...
(Assert QList(), in conductor.cpp)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2815 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-06 21:35:13 +00:00
blacksun
5ace5ba5ee
When link report, check if all text of the potential is equal.
...
If not ask user what must to do.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2801 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-04 18:03:02 +00:00
scorpio810
433ebc7158
Update Copyright to 2014
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2792 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-29 18:37:45 +00:00
blacksun
e1f9a26f4d
folio report: add user able to make custom label.
...
Revamp GUI dialog for new diagram configuration.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2749 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-18 19:04:39 +00:00
blacksun
6e58482495
add undo command for linkable element
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2716 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-07 20:11:28 +00:00
blacksun
c795bf72fc
folio report can only be linked to inverted folio report
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2694 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-01 19:21:10 +00:00
blacksun
c58448bf76
update folio report when move diagram position
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2692 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-01 16:28:19 +00:00
blacksun
5ad42fb491
Folio report are save/load in .qet file
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2688 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-31 14:39:34 +00:00
blacksun
8adf17b906
revert some change in comit 2675:
...
Qt use enum for use flags: Qt is a good exemple to make code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2686 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-31 12:03:36 +00:00
blacksun
d1e11ead59
report element: label update when the linked folio report position change
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2682 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 22:47:31 +00:00
blacksun
5fe7286998
folio report can be linked (basic)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2680 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 18:37:34 +00:00
blacksun
ea5902fe38
make user text for folio report none editable
...
Add signal mapper for radiobutton in the folio report dialog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2679 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 18:09:25 +00:00
blacksun
5eecfedd02
element class: replace enum linkertype by #define (better way for use flags)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2675 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 13:27:46 +00:00
blacksun
7ff6ac4410
add pattern factory/singletton to create different type of element
...
add two news class for element type : simple and folio report
add an empty tab for the element report in the element properties widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2665 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-20 20:30:55 +00:00