Commit Graph

408 Commits

Author SHA1 Message Date
blacksun
31e6db8757 Element editor : alignment of text field can be edited
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5362 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-13 19:03:38 +00:00
blacksun
748986ceec fix crash when the properties of a element text item group
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5356 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-12 11:17:40 +00:00
blacksun
609fcc351f Dynamic element text item : add new feature -> alignment
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5353 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-11 18:14:41 +00:00
blacksun
bce0ee0fc7 Composite text dialog : The combobox propose every informations, not only these currently filled.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5350 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-03 09:33:30 +00:00
blacksun
d53f830ad9 Text of conductor can be placed at top/bottom/left/right of conductor, and text never overlaps the conductor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5342 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-28 13:35:23 +00:00
blacksun
a975915428 forget file from previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5341 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-24 17:25:42 +00:00
blacksun
c96593e373 Multipaste : improve the conductor autonum, conductors are numerated from top to bottom, and left to right
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5340 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-24 17:23:27 +00:00
blacksun
9d2124f593 Multipaste dialog : add 'autonum pasted conductors' check box
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5339 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-23 13:50:36 +00:00
blacksun
5e15c597c1 Multipaste : auto-num of element work, even if the option "erase label on copy /paste" is enable.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5337 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-21 17:48:22 +00:00
blacksun
2cf181bf84 Element info widget : remove the check box 'visible'
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5334 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-14 12:21:07 +00:00
blacksun
e3930df5b5 multi past dialog : add check box for autonum the pasted element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5333 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-12 17:59:05 +00:00
blacksun
3228f3e5db Multi paste dialog : add a check box for allows auto connection of the pasted elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5331 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-12 16:24:44 +00:00
blacksun
12e7a7002e Diagram editor : add new action in the context menu : multiple paste.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5319 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-08 16:50:52 +00:00
blacksun
fa547a34c8 Fix compilation warning (clang and gcc)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5301 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-05 18:49:28 +00:00
blacksun
5bfa58ad55 Fix missing "return"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5300 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-05 09:52:35 +00:00
blacksun
1450771081 diagram editor : undo/redo of a rotation is now animated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5296 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-04 16:55:59 +00:00
blacksun
f0c0e7c5d5 improve waiting dialog when open a project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5295 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-04 15:07:52 +00:00
blacksun
a58274c219 Minor : dynamic element text item, the undo is now animated when user edit the text from the dock widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5273 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-24 13:45:48 +00:00
blacksun
22f657e65f Fix : change made to a text group was not applyed when edited from the element properties dialog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5269 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-13 16:29:18 +00:00
blacksun
f2fd446bb5 Fix : Composite text dialog widget can't be selected when he is open by the element properties dialog widget
Fix : The ui freeze when use the drag and drop in the tab widget "texts" of element properties, when he is displayed by the element properties dialog widget.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5268 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-13 16:20:59 +00:00
blacksun
7f8c5ef2b5 Element editor : text field can now have a composite text as source of text
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5265 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 16:00:58 +00:00
blacksun
70fbce280f Element text item group : add new property -> hold to bottom of the page
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5224 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-01 18:40:12 +00:00
blacksun
31fcec10ff Dynamic element text item : Add a new option "width" for define the width of the text.
If the text is wider than the defined width, the text is broken into multiple line.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5220 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-01-26 18:49:38 +00:00
blacksun
1b18b980a9 User can export / import the configuration of the texts and texts group of an element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5195 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-30 14:41:25 +00:00
scorpio810
1137318384 Basic shape add new CustomDashLine style with
Dash Pattern (<< 10 << 10 );


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5194 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-29 23:13:35 +00:00
blacksun
94d52880a7 Element texts group can be renamed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5191 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-18 20:05:00 +00:00
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