scorpio810
2a8d4920a1
Change the minimum conductor text size to 3
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5053 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-28 07:51:58 +00:00
blacksun
2934f769c6
Fix fail to build for ubuntu trusty
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5052 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-27 18:59:17 +00:00
blacksun
ec1e778bff
Forget file from previous comit
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5051 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-27 15:31:57 +00:00
blacksun
8761d4768b
Element editor : When open a .elmt file in the element editor, the texts field are converted to dynamic text field, except for text field with tagg : label, function and tension/protocol.
...
In other words every text without tagg are converted.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5050 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-27 15:26:47 +00:00
blacksun
aa5241896c
Element editor : dynamic text item can be added directly from the element editor (WIP)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5046 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-25 17:44:02 +00:00
blacksun
2e389fb80f
Dynamic element text item :
...
when text is owned by a folio report, the only information available to the text is :
the label (formula used for the Xref between linked report), the function of the potential and tension/protocol of the potential.
Unlike other elements there is no more information, because a report is not a real element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5039 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-13 16:38:16 +00:00
blacksun
5248c891f4
Dynamic element text item :
...
First : If the parent element of the text item is a slave,
the info use to create the text (both if option are 'element info' or 'composite text') are taken to the linked master element, and not the slave.
If the salve element is not linked, no information is taken.
Second : if the text is composed with the variable 'label' of the master (both if text from are 'element info' or 'composite text') double click on the text, act like a link and go to the master.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5035 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-29 14:54:27 +00:00
blacksun
31775871a4
When we link two reports together, if the text is the same for every conductors, we don't ask to user what to do, even if the function or the tension/protocol are not identical.
...
Now we check : text, function and tension/protocol, if one of these three values is not identical, we ask to user what to do.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5032 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-27 11:27:41 +00:00
blacksun
6419f84d9c
Keep up to date the model when a dynamic text item change, for exemple after an undo command
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5030 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-24 17:35:40 +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
blacksun
57f34b4ee2
Minor : remove the QetGraphicsItemHandler returned by the function zValue
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5028 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-24 14:48:58 +00:00
blacksun
78a2b8a301
Enclose a class function into a macro because available since Qt 5.3
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5027 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-24 12:38:35 +00:00
blacksun
53ae49b3c7
When we select an element dynamic text, the element properties widget switch to the tab of dynamics text and expand and select the item in the tree that represent the dynamic text.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5024 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-22 18:27:23 +00:00
blacksun
fe46dc29a6
Fix ftbfs for ubuntu 14.04
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5023 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-22 17:24:51 +00:00
blacksun
fbb07bf2b8
Commit 5005 break the change made in commit 5003 : fix it
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5022 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-16 14:32:34 +00:00
blacksun
29748874fd
Dynamic element text item, can have for source of text a composite text, a text composed both by user typed text and element info.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5021 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-16 13:52:15 +00:00
scorpio810
f94b7a04dd
Fix typo on qet_tb_generator warning msgbox
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5019 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-15 01:38:31 +00:00
blacksun
3c535b2904
Minor : fix warning
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5012 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-09 09:03:04 +00:00
blacksun
e71fc99464
Fix crash
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5011 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-06 11:35:01 +00:00
blacksun
6e2ed873bb
Dynamic element text item can display information of parent element
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5010 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-06 10:18:33 +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
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
scorpio810
861cb1e83a
Update Version
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5006 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-04 13:26:08 +00:00
blacksun
3ef55906a4
First step for the dynamic element text : Now user can add directly from the diagram editor an editable text of an element.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5005 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-03 17:36:08 +00:00
blacksun
0df5391491
Fix the left margin of the diagram : In some condition, (most of time when use copy and paste) a margin appear in the left of the folio.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5004 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-03 17:04:08 +00:00
blacksun
fec5c95682
Improve the behavior of the feature "zoom out beyond of folio" : drag the scene is now more user-friendly
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5003 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-03 16:53:43 +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
blacksun
86cb13f74d
Element editor : Element primitive decorator doesn't manage anymore the text field when a single text is selected
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5000 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-01 19:37:04 +00:00
blacksun
b9013a8914
Add bicolor conductor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4999 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-01 19:09:31 +00:00
blacksun
5d4fcfa932
Minor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4997 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-31 17:54:22 +00:00
blacksun
fbae3da33f
Element editor : clear the event interface befor save, to avoid the save of the primitive owned by the interface.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4996 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-31 17:41:48 +00:00
blacksun
b800d466f5
Fix windows vista warning.
...
Thanks LETARTARE
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4994 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-27 20:26:13 +00:00
blacksun
a69e39cd2f
Fix crash: In Xref link widget, If there is an element being added (element pose mode), and this one is compatible with the type of Xref sought by the widget, then the widget show this element.
...
When user finish the element pose mode, the element under the cursor is deleted, but continue to be show by the widget.
So, click on this element in the widget cause a crash.
This case come when user add element and go to another diagram without finish the pose mode, and open Xref link widget from an element in this other diagram.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4993 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-26 08:55:32 +00:00
blacksun
4c56ebf353
Fix crash. Close a project with a selected linkable element (master, slave, report) cause a crash
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4992 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-20 12:40:30 +00:00
scorpio810
af7179091e
Add clang version in compilation informations for macOS
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4982 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-06-27 15:48:26 +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
scorpio810
e37a7450b4
Convert svg icons to png
...
Workaround to fix segfault on Fedora, thanks Remi for reporting this issue
see : https://bugzilla.redhat.com/show_bug.cgi?id=1461390
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4978 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-06-14 11:56:32 +00:00
scorpio810
77ebe00105
Update displayed Version and Splash
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4975 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-06-13 09:38:46 +00:00
scorpio810
60c524842c
Re enable HDPI for macOS
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4966 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-05-19 00:42:46 +00:00
scorpio810
9c8b1a7371
Disable High Dpi Scaling
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4965 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-05-18 16:34:37 +00:00
scorpio810
b18636bdfe
Revert
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4964 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-05-18 01:31:27 +00:00
scorpio810
39e5edfb51
Minor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4963 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-05-18 01:02:43 +00:00
scorpio810
e02aaab4a7
Set HDPI scaling to disable
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4962 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-05-18 00:24:42 +00:00
scorpio810
1dd8b2a4db
Fix bug 0000139
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4961 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-05-17 14:21:52 +00:00
blacksun
fee0c55d9c
In rare case in the diagram editor, when we add an element in the diagram and quickly click left, qet crash.
...
This commit try to avoid this crash, but without any certitude because the crash is very difficult to reproduce
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4959 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-05-13 16:01:47 +00:00
blacksun
1a9c27b017
Improve last comit
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4955 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-05-01 16:22:34 +00:00
blacksun
310ce75089
Minor fix : Elements collection widget doesn't load automatically when the parent dock widget is detached
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4954 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-05-01 15:47:28 +00:00
blacksun
a12198294f
Re-enable the button "find element in panel".
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4953 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-05-01 11:42:55 +00:00
blacksun
0e003b27a5
Fix crash : Qet crash when we save a project and the element collection is not loaded.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4951 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-04-29 17:51:55 +00:00