Commit Graph

241 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
scorpio810
97294a0ddf Fixes builds on non-Linux non-OSX Unix platforms, thank Tamas
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4751 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-10-19 19:41:14 +00:00
scorpio810
415996631a Add PATH for launch DXFtoQET plugin on QET element editor file menu for
macOSX platform


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4739 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-10-13 01:41:43 +00:00
blacksun
a7ac265465 Fix crash : Element editor crash when we close it and several part of the same type (for exemple ellipse) are selected.
Thanks Morganol for find this crash


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4736 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-10-11 18:34:02 +00:00
scorpio810
1c78051450 Add new action in help menu : link for download latest devel build for
MAC OS (only visible on MAC OS platform)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4725 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-26 00:46:02 +00:00
scorpio810
e1f1730c49 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4724 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-25 16:57:12 +00:00
blacksun
40eb915e56 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4723 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-25 10:44:38 +00:00
blacksun
bd4a472b7d Element editor : add new handler for arc to resize angle with mouse.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4722 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-25 08:14:29 +00:00
scorpio810
9ff5e3d7dc Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4682 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-03 11:00:48 +00:00
scorpio810
db458143bf Element Terminale add label
Nomenclature Add terminal element


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4681 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-02 05:28:26 +00:00
scorpio810
96d2f1c131 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4678 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-30 23:47:25 +00:00
scorpio810
7555381db4 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4677 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-30 22:42:23 +00:00
scorpio810
0dc8592a46 Editor element primitive change setRange -1000 1000 to -5000 5000
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4609 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-08 08:15:22 +00:00
blacksun
b71d3a4c7d Element editor : graphic part
Diagram editor : shape item
Gain a new way to be resized: mirror resizing. Click on the item for switch the resize mode


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4583 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-19 17:12:30 +00:00
blacksun
d7a2350a0f Remove unused class
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4582 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-19 14:37:08 +00:00
blacksun
18f56b6540 Element panel widget : improve how an item is updated or added after editing an element with the Qet Element Editor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4555 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-06-17 08:41:09 +00:00
scorpio810
025fa64f67 Minor : update Copyright date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4481 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-13 17:40:36 +00:00
blacksun
1d9735d0e3 Element dialog : Remove ElementsCategoriesList and use QTreeView with ElementsCollectionModel instead
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4456 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-04-19 09:29:40 +00:00
blacksun
9a6764ae08 Remove the use of ElementsCollectionItem and ElementDefinition from qetelementeditor class
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4413 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-31 17:28:44 +00:00
scorpio810
c66a1b6fc4 Fix DXF save and read file config
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4366 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-01 19:02:20 +00:00
scorpio810
9ab713844d Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4365 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-01 18:03:18 +00:00
scorpio810
f7eb6e0105 slot_openDxf fix Windows path
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4363 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-02-28 18:54:49 +00:00
scorpio810
f0ea22c060 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4361 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-02-28 16:44:25 +00:00
scorpio810
3113cd4efc Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4360 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-02-28 16:16:51 +00:00
scorpio810
78720fb2b4 Run dxf converter as a external program
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4359 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-02-28 14:50:14 +00:00
blacksun
1a7e3ac8e1 Fix warning about QSettings: now QSettings use native format for windows osx and other unix. See Qt documentation for more information.
http://doc.qt.io/qt-5/qsettings.html#details


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4206 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-09-16 15:11:13 +00:00
blacksun
6b17088116 Element editor : Add new tagg for text field (function and tension/protocol).
Report element : text field tagged function or tension/protocol display the function tension/protocol of the potential.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4195 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-09-10 08:48:33 +00:00
scorpio810
0580886c7e Bug fix : qetelementeditor : "warning and not saving function" : for elements havent got input tagged 'label',
now except for element report, because report don't use 'label' tag


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4190 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-09-01 20:09:42 +00:00
blacksun
5019919de0 Remove all #if QT_VERSION who compare Qt version smaller than 5
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4100 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-08-11 08:46:49 +00:00
blacksun
54ac875330 Primitive part : Change the cursor shape, according to the current available behavior
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4084 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-08-03 17:26:57 +00:00
blacksun
34ef94ea8f Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4078 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-28 09:55:35 +00:00
blacksun
76b788c4fd Text field editor bug fix : The tagg "label" was not applied to the text field
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4075 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-27 09:33:27 +00:00
blacksun
871d50c014 style editor : use QPropertyUndoCommand instead of ChangePartCommand.
Remove ChangePartCommand class.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4073 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-24 13:41:51 +00:00
blacksun
58d247ced7 text editor and textfield editor : use QPropertyUndoCommand instead of ChangePartCommand
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4072 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-24 12:56:27 +00:00
blacksun
d56e6e60b1 terminal editor : use QPropertyUndoCommand instead of ChangePartCommand
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4071 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-24 12:08:03 +00:00
blacksun
99c867d6d6 part text and part text field : use QPropertyUndoCommand instead of ChangePartCommand
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4070 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-24 11:34:45 +00:00
blacksun
b32e1bf339 polygon editor : use QPropertyUndoCommand instead of ChangePartCommand
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4069 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-24 11:11:50 +00:00
blacksun
5b8a6a9745 Line editor : use QPropertyUndoCommand instead of ChangePartCommand
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4068 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-23 10:52:56 +00:00
blacksun
65d4b08c86 ellipse editor : use QPropertyUndoCommand instead of ChangePartCommand
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4067 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-23 09:57:09 +00:00
blacksun
a00bfdf00f Arc editor : use QPropertyUndoCommand instead of ChangePartCommand
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4066 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-23 09:32:21 +00:00
blacksun
6a902ca530 Rectangle editor widget : use QPropertyUndoCommand instead of ChangePartCommand
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4064 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-22 13:19:43 +00:00
blacksun
50c61b4e03 Element editor : minor improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4061 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-21 12:29:43 +00:00
blacksun
012ba2ccd7 Element editor : Add animation for some undo/redo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4060 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-20 21:06:00 +00:00
blacksun
c885ce3d7a Element editor : add handler for modifie primitives
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4058 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-20 17:45:37 +00:00
blacksun
d55508df05 Qet shape item : rectangle and ellipse can be resized by the edges
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4055 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-19 15:52:44 +00:00
blacksun
ca37f384fb Element primitive decorator : the handlers keep the same size at screen, no matter the zoom
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4052 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-16 14:58:01 +00:00
blacksun
557a2eaa87 Add attribut "uuid" for .elmt file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4032 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-06-28 16:30:13 +00:00
scorpio810
c3ab81e9c3 Minor, fix warning
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3991 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-05-25 15:15:02 +00:00
scorpio810
37961e8904 customelementgraphicpart fix yellow filling
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3977 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-05-19 18:22:17 +00:00
scorpio810
633abaa7bf Add ability to have an empty outline for hatching
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3970 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-05-13 12:48:31 +00:00