Commit Graph

282 Commits

Author SHA1 Message Date
blacksun 3340489145 Dynamic element text item : remove the "tagg" property:
Tree Widget for edit the element text item :
-Change a value of a spinbox with the mouse wheel, apply the change in live (no need to press enter or leave focus).
-Remove the sub-level of source of text.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5182 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-13 21:15:05 +00:00
blacksun 292c45166a Element text item group : Add new property for edit the adjustment of the space between texts
Dynamic element text item editor : Add new entry for edit the alignment, rotation and vertical adjustment of a group
Element Mover : Minor, remove the group texts from the moved content


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5165 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-10 14:31:27 +00:00
scorpio810 4d86670354 Improve dialogwaiting progressBar
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5159 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-09 15:36:20 +00:00
blacksun e8905793cc Texts group can be removed with the delete key of keybord
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5142 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-05 21:41:29 +00:00
blacksun 0f2f8f0f2f Bug fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5139 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-05 12:29:44 +00:00
blacksun 9828f2be76 Dynamic element text editor : improve the gui
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5129 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-01 18:36:57 +00:00
blacksun ea5cb340d5 Dynamic element text item editor : add entry for edit the rotation of the edited text.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5125 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-29 19:17:02 +00:00
blacksun 2bf4e330f4 Add initial support of texts group
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5117 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-27 19:37:39 +00:00
nuri 79b578dcf7 icon theme: add new icons for titleblock placement (bottom or right)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5114 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-26 08:03:26 +00:00
blacksun 6693bb6cad Dynamic element text can have a frame
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5093 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-07 18:35:26 +00:00
blacksun d2d1b74fad Minor GUI improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5092 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-06 16:17:48 +00:00
blacksun 7fa942e3c1 Dynamic element text editor :
When add a new text, the item text in the tree view is selected and expanded.
When edit the pos of a text in the tree view, the new position is set directly, no need to lose focus or press enter key anymore for update the pos of the text.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5089 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-05 14:33:03 +00:00
blacksun 50fc46e162 Diagram editor : add in the tree widget use to edit the property of dynamic text item, two news items for edit the X and Y pos of the text.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5088 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-29 10:43:34 +00:00
nuri 374edc43be Change order of tabulations in folio properties widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5072 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-08 21:49:13 +00:00
scorpio810 c9dd9ee8a2 Fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5064 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-04 23:07:35 +00:00
scorpio810 2a8d4920a1 Change the minimum conductor text size to 3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5053 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-28 07:51:58 +00:00
blacksun 2e389fb80f Dynamic element text item :
when text is owned by a folio report, the only information available to the text is :
the label (formula used for the Xref between linked report), the function of the potential and tension/protocol of the potential.
Unlike other elements there is no more information, because a report is not a real element.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5039 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-13 16:38:16 +00:00
blacksun 5248c891f4 Dynamic element text item :
First : If the parent element of the text item is a slave,
the info use to create the text (both if option are 'element info' or 'composite text') are taken to the linked master element, and not the slave.
If the salve element is not linked, no information is taken.
Second : if the text is composed with the variable 'label' of the master (both if text from are 'element info' or 'composite text') double click on the text, act like a link and go to the master.



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5035 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-29 14:54:27 +00:00
blacksun 31775871a4 When we link two reports together, if the text is the same for every conductors, we don't ask to user what to do, even if the function or the tension/protocol are not identical.
Now we check : text, function and tension/protocol, if one of these three values is not identical, we ask to user what to do.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5032 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-27 11:27:41 +00:00
blacksun 6419f84d9c Keep up to date the model when a dynamic text item change, for exemple after an undo command
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5030 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-24 17:35:40 +00:00
blacksun 78a2b8a301 Enclose a class function into a macro because available since Qt 5.3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5027 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-24 12:38:35 +00:00
blacksun 53ae49b3c7 When we select an element dynamic text, the element properties widget switch to the tab of dynamics text and expand and select the item in the tree that represent the dynamic text.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5024 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-22 18:27:23 +00:00
blacksun fe46dc29a6 Fix ftbfs for ubuntu 14.04
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5023 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-22 17:24:51 +00:00
blacksun 29748874fd Dynamic element text item, can have for source of text a composite text, a text composed both by user typed text and element info.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5021 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-16 13:52:15 +00:00
blacksun e71fc99464 Fix crash
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5011 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-06 11:35:01 +00:00
blacksun 6e2ed873bb Dynamic element text item can display information of parent element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5010 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-06 10:18:33 +00:00
scorpio810 31f36b8625 Modernize-use-override refactors code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5009 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-05 02:10:01 +00:00
scorpio810 9f9b127c04 Modernize-use-nullptr refactors code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5008 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-05 02:06:59 +00:00
blacksun 3ef55906a4 First step for the dynamic element text : Now user can add directly from the diagram editor an editable text of an element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5005 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-03 17:36:08 +00:00
blacksun b9013a8914 Add bicolor conductor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4999 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-01 19:09:31 +00:00
blacksun 4c56ebf353 Fix crash. Close a project with a selected linkable element (master, slave, report) cause a crash
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4992 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-20 12:40:30 +00:00
blacksun edd18042ec Improve some widget and layout
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4922 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-27 16:58:05 +00:00
blacksun 070c601f7b Switch the header label : Folio label or Folio number, according to the curent settings of qet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4916 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-16 13:27:26 +00:00
blacksun 07be603a1f Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4915 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-15 16:10:07 +00:00
scorpio810 41659fa6fd Revert r4900
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4902 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-05 16:18:50 +00:00
scorpio810 6422dd096f Replace foreach function by for, please try and report problem
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4900 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-04 21:43:23 +00:00
scorpio810 902037d278 Link single element widget : use folio label/ID switch for show or hide
columns in the QTreeWidgetItem


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4897 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-02 18:00:53 +00:00
scorpio810 66c24c51ed Fix FTBFS if QT VERSION < 5.5.0
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4895 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-31 15:50:43 +00:00
blacksun 7569c5cc99 Master, slave and report QTreeWidget used for Xref :
The header of the QTreeWidget have a context menu used to save the current state of the columns (size and position).


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4887 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-30 14:29:01 +00:00
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
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 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
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
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 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
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 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