Commit Graph

1638 Commits

Author SHA1 Message Date
blacksun 4f17eaa9c3 Link single element widget : when link a folio report, add columns for the values : Conductor text, function, tension/protocole
Add a line edit used to filter the QTreeWidgetItem. 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4886 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-29 18:43:42 +00:00
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 0f53d5e69e Minor fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4884 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-27 21:03:06 +00:00
scorpio810 a906a38c1e Minor, Link single element widget : move folio title to rightmost
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4883 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-27 20:11:28 +00:00
scorpio810 0460876b88 Remove files protect to settings
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4882 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-27 17:42:58 +00:00
scorpio810 7824df7804 Typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4876 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-26 18:56:49 +00:00
scorpio810 df5557407e Minor, protect mode : improve message
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4875 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-26 16:05:43 +00:00
blacksun 0b943ed52d Link single element widget : revamp the widget (use a QTreeWidget instead of a list of widgets) and add the variable %F to the value displayed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4874 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-26 10:09:07 +00:00
scorpio810 73dd8b6b57 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4873 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-25 18:46:11 +00:00
scorpio810 15c3bf1a39 Add new QCheckBox in QET settings for Keep projects in read-only, their
files will cannot be over written


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4872 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-25 16:53:09 +00:00
scorpio810 f40950d714 Minor : Increase widget Minimum Size (800, 390) to (800, 590)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4871 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-25 11:08:21 +00:00
scorpio810 a3be18280b Export Dialog : add the %idx as a prefix to exported file names
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4870 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-24 17:05:02 +00:00
scorpio810 40bb3fe2c6 Improve dxf export for folio list
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4869 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-24 08:08:08 +00:00
blacksun a4ba895e02 Fix crash
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4868 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-22 16:47:18 +00:00
blacksun f97b9bcc84 Add variable %F in the widget used to link master element.
Revamp the widget : replace QListWidget by QTreeWidget


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4867 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-22 13:48:58 +00:00
scorpio810 73472dccc4 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4861 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-21 06:38:04 +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 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