blacksun
37e7477d09
Unlink a slave element, reset her text to "_".
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4885 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-29 13:57:17 +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
43dbc4aa0a
Minor fix : Element keep up to date there label, when the formula contain the variable %F, and the text pointed by %F contain the variable %id
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4859 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-19 14:55:19 +00:00
blacksun
eee1095761
Minor fix : Conductor keep up to date there label, when the formula contain the variable %F, and the text pointed by %F contain the variable %id
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4858 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-19 14:18:41 +00:00
blacksun
7bad2f1b50
Text of conductor is updated when folio position change, if formula contain the variable %id.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4845 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-14 15:01:49 +00:00
blacksun
a6ace77052
Minor fix : in some condition when open a project, the conductors properties aren't well apply
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4836 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-08 11:01:03 +00:00
blacksun
1b8b901ef6
Minor fix : In some case, add a conductor in an existing potential, with a formula, display the formula instead of the final numerotation.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4826 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-30 20:15:18 +00:00
blacksun
14f02d4ed1
revert and merge rev 4823.
...
Fix : in old projects without the conductors formula, the conductors texts aren't loaded and displayed
Fix it in method void Conductor::refreshText()
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4825 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-28 10:03:47 +00:00
scorpio810
52f911887d
Revert rev 4814 and 4820 momentarily
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4823 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-24 12:48:44 +00:00
blacksun
d8a374629b
Modifie the text item of a conductor directly on a diagram also change the value of formula and label of the conductor property.
...
The change is apply for every conductors in the same potential
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4814 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-19 15:57:20 +00:00
blacksun
543578c3dc
Conductor :
...
Use method toXml and fromXml of sequentialNumbers.
Use m_freeze_label instead of m_frozen_label to save the frozen status of the text item.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4807 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-12 10:52:44 +00:00
blacksun
4f192940b3
Element : change freeze label variable from a string to a bool.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4805 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-10 12:00:52 +00:00
blacksun
ae2afe8424
Element : edit an element text item (with tagg) directly on the folio, also update the information of the element.
...
For exemple, edit the element text item tagged "label", update the value with key "label" of element information.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4804 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-08 16:54:41 +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
18df62cea1
Conductor autonum : use a default QUndoCommand as parent of other inherited QUndoCommand.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4802 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-07 18:56:31 +00:00
blacksun
7ab0115c62
Conductor : formula and text is now two different things.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4799 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-06 19:49:18 +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
489f2c2035
Move code use to find prefix of element from element class, to autonum namespace
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4793 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-26 19:30:59 +00:00
blacksun
60c7b9302e
Start to revamp the code about formula and label of elements and conductors
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4791 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-24 16:45:55 +00:00
blacksun
543c7b6b3e
Move methods used for autonum and sequential value, from conductor and element class, to autonum namespace.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4790 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-22 17:21:53 +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
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
1c5c0425fb
Conductor : variable assignement of label is now managed by an external class instead of the conductor itself
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4775 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-11 16:37:37 +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
b09cd6898c
Bug fix : conductor don't apply text to text item
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4762 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-10-26 16:26:05 +00:00
blacksun
b143675ba1
minor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4755 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-10-20 19:01:15 +00:00
blacksun
1dece5cb77
Revert change because we can't select handler for ellipse
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4754 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-10-20 18:57:22 +00:00
blacksun
ea27c6f823
Probably fix the fucking crash of ghost conductor.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4752 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-10-20 12:35:44 +00:00
blacksun
0ea8b45f70
Fix wrong way to save number value in xml file. (store without local formating)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4748 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-10-17 19:41:44 +00:00
blacksun
6ea169e1f7
Bug fix : Conductor text with formula that contain %id isn't good when open project (variable %id is replaced by 0 in each folio)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4746 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-10-17 14:26:13 +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
blacksun
5c4ad9a0fd
Fix bug 086: print text of conductor on top of conductor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4734 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-10-06 20:01:08 +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
dfochi
8e620365e3
Fix user created element crash when parsing label
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4701 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-12 17:11:06 +00:00
scorpio810
9ecc97a2e4
Minor : added for Autonum formula, terminal element located alsoin user
...
collection
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4696 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-08 01:55:44 +00:00
scorpio810
24df870700
Minor : Assign new variables %M and %LM to Conductor Autonum
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4689 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-05 16:49:16 +00:00
dfochi
0f22bf4774
Fix Undo(Ctrl+Z) crash related with conductor frozen label. Prevent freezing blank label in conductor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4686 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-04 18:14:26 +00:00
scorpio810
964ba94109
Add Autonum for terminals element
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4683 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-03 18:22:14 +00:00
scorpio810
db458143bf
Element Terminale add label
...
Nomenclature Add terminal element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4681 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-02 05:28:26 +00:00
dfochi
30a9aa9cfe
Update Policy now works with conductor autonumberings
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4680 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-01 19:41:49 +00:00
dfochi
47b0fd7f10
Updated qet_labels xml. Element formula now works with all elements types (logic, hydraulic, pneumatic and energy)
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4679 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-31 19:58:58 +00:00
dfochi
230700f845
Conductor Autonum now works with variables. Folio Autonumberings added to conductor autonum
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4674 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-29 15:37:42 +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
6868dae08b
New fields titleblock properties %machine and %locmach can now be called
...
in the element rules autonum
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4628 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-16 13:43:46 +00:00
scorpio810
f13b329624
Fix ability conductor size less than 1, thanks Timbul Widodo
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4607 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-06 10:58:56 +00:00
scorpio810
4ed18b28aa
Center cross junction ellipse, thank Timbul Widodo
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4606 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-05 15:41:46 +00:00
dfochi
13b8a2e6a0
Slave Elements now work with Master sequentials
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4600 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-02 01:35:55 +00:00