Commit Graph

2170 Commits

Author SHA1 Message Date
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
49b9d598db Fix : in nomenclature .csv file, the variables of the value in column "label of folio" isn't assigned.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4857 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-19 12:43:40 +00:00
scorpio810
4172a2a06e Typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4849 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-15 19:29:10 +00:00
blacksun
8f30a51945 Add a dialog to change the formula when two potentials is linked by a folio report, and the new potential have incompatible variables like %id.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4848 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-15 12:23:05 +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
scorpio810
7dcd919695 Minor : save file set enabled only when opened a project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4842 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-11 00:04:43 +00:00
scorpio810
e0bc9d9d05 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4841 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-10 20:22:34 +00:00
scorpio810
e329da0df8 Minor : Save file has always enabled
Project path argument is now always displayed on diagram view


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4840 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-10 14:56:34 +00:00
blacksun
521c495ef0 Minor : Element info widget : when editing the field formula, the field label must be disable.
Only work when element info widget is in the dock, but not with the dialog : fix it.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4839 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-10 09:09:30 +00:00
scorpio810
0b062b3fc7 Add project path argument when a project has modified in the displayed
project title in diagram view


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4838 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-10 01:35:44 +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
33a944b3cc Minor revamp
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4834 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-05 19:32:52 +00:00
blacksun
eb418ddaf8 Continue to fix bug tracker N°118
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4833 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-05 15:25:07 +00:00
blacksun
6f498977c5 Bad behavior fix : in element collection tree, when user drop a directory into itself, this directory is copied in recursive way infinitely.
See bug report N° 121


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4831 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-03 16:47:39 +00:00
blacksun
caf81b924b Fix wrong conductor autonum/formula when linking two folio report with two existing potential.
The new potential number isn't apply well.
This commit should be the last step for fix the bug report N° 118. 



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4830 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-02 18:46:19 +00:00
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
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
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
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
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
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
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
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
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
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
2b952f4189 Move files related to autonum in autoNum directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4771 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-11-07 15:11:12 +00:00
scorpio810
87246b9ed2 Minor : change static URL by new HTML pages for get latest developer
version download link (only for MS Windows and macOS)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4765 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-10-30 13:29:16 +00:00