Commit Graph

4439 Commits

Author SHA1 Message Date
blacksun
1072d0da93 Fix bug report N° 122, and fix a memory leak
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4829 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-02 18:15:18 +00:00
blacksun
15fb7e94bd Fix crash
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4828 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-02 13:42:16 +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
scorpio810
7f46479222 Minor : merge old translations into previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4822 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-23 19:12:08 +00:00
scorpio810
1681c5a1f2 Merge symbols, thanks Baboune
But lose these translations


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4821 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-23 18:17:22 +00:00
scorpio810
ee9ffb988d Minor : conductor properties widget change focus to formula field
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4820 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-23 16:38:24 +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
scorpio810
1698d0bebd Minor fix : Can't convert string from 'UTF-8' to native encoding
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4813 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-19 01:14:36 +00:00
scorpio810
11c12be017 Add new symbols, thanks baboune
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4812 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-18 21:10:48 +00:00
scorpio810
01b75451cd Add new symbols, thanks Pai and Baboune
Update qet_cs.qm


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4811 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-18 20:50:51 +00:00
blacksun
988b4c3146 Fix lack of last folio list.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4810 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-14 21:44:51 +00:00
pavelfric
89f38f6b77 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4809 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-13 22:06:16 +00:00
scorpio810
594a770af8 Add new symbol, thank Pietro
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4808 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-13 00:52:18 +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
scorpio810
9ceae5b141 Add new symbols, thanks Pai and Baboune
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4806 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-12 07:14:50 +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
scorpio810
93bec37c40 Update translations {es, ca}, thanks Joan
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4801 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-07 02:36:47 +00:00
blacksun
6480a7b120 Forget file from previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4800 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-06 19:57:22 +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
scorpio810
c0b5aa7a59 Minor: RichTextEditor : add action to Create superscript or subscript
text or numbers


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4798 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-04 03:50:12 +00:00
scorpio810
8ba1324b85 Add new symbols, thanks Chajo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4797 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-03 15:49:02 +00:00
scorpio810
7394abfbd5 Update macOS packaging
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4796 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-02 11:58:38 +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
a495675b71 Bug fix : crash if an embedded element haven't got directory "import" as parent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4794 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-29 20:24:27 +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
01af4c52e5 Revamp, and minor improvement about element autonum / formula.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4792 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-26 17:12:31 +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
scorpio810
d708b7b4e5 Restore translation deleted by commit 4782
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4789 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-22 00:41:03 +00:00
ossau2mation
16c6c77d38 Update Danish translation - minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4788 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-21 16:00:36 +00:00
rdsivd
0e67615fff update BE-NL
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4787 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-19 10:58:57 +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
ossau2mation
2064318da5 Update Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4785 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-16 21:11:28 +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
silvio
743d2b7ace updated ITA translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4782 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-15 23:41:46 +00:00
blacksun
103f2d3db0 Minor fix : set a correct size of the pixmap displayed in the element properties widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4781 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-15 16:27:41 +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
151d63c1a3 Minor fix : project panel doesn't convert the variable %id of folio.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4779 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-15 09:23:36 +00:00
nuri
54236ebcb5 Update german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4778 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-14 07:12:53 +00:00
scorpio810
8b133a264f Update *.TS files and english and french translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4777 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-13 21:41:05 +00:00
blacksun
7f873bc450 Fix minor regression : in some case, %id isn't replaced by the folio index, in label of element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4776 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-13 19:12:15 +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
scorpio810
7d6e9aa24d Fix marnings assignvariables
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4774 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-11 14:55:30 +00:00
blacksun
ce638c770d Display the name of the current hovered element of the element collection tree, in the status bar.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4773 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-10 19:49:33 +00:00