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
dfochi
6355611947
Copy/Paste now works with Element Label Variables
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4599 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-31 01:30:42 +00:00
blacksun
bb992f3868
Don't clear the texts of pasted elements.
...
For report element, clear the function and tension-protocol texts
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4598 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-30 13:36:24 +00:00
dfochi
4814ac812d
Fix copy and paste crash of Elements with Sequential Autonum
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4593 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-26 20:40:54 +00:00
dfochi
d6f1381631
Creation of folio sequential type for Element Autonumbering. Correction of autonumbering type handling in numparteditorw.cpp
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4592 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-26 18:52:49 +00:00
dfochi
52e33787a8
Fix Element Label when opening older QET versions. Fix old user created element label's handling on newer QET versions
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4591 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-25 19:18:26 +00:00
dfochi
138505a14e
Fix Terminal Crash and corrected Terminal prefix behavior.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4590 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-25 14:17:54 +00:00
dfochi
989905da01
Conductor now support variables. (%F, %id, %total, %f and titleblock and project variables). Minor: labels that use %F update when folio field is changed
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4586 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-20 21:54:54 +00:00
dfochi
3a7d210bcb
Added AutoNumbering Management Tab. Update Policy support to Element.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4585 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-20 15:07:21 +00:00
blacksun
b71d3a4c7d
Element editor : graphic part
...
Diagram editor : shape item
Gain a new way to be resized: mirror resizing. Click on the item for switch the resize mode
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4583 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-19 17:12:30 +00:00
dfochi
cd3723920e
Allow blank selection in Auto Numbering Dock
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4580 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-18 15:23:30 +00:00
blacksun
5cd00517c5
Fix crash
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4579 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-17 10:16:37 +00:00
dfochi
38b69e9f2f
%seq is not hardcoded anymore. Autonums with the same formula are not conflicted anymore.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4577 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-14 17:16:14 +00:00