Commit Graph

584 Commits

Author SHA1 Message Date
blacksun
24812944eb Forget qet.cpp and qet.h from previous comit.
Add new function for create QAction used for edit the depth of items.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5402 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-20 18:35:06 +00:00
blacksun
cc9184c0b6 Fix : element text alignment work also when font size change.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5370 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-18 18:28:04 +00:00
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
4986ec616e Bug fix : element editor, part text can't be edited directly.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5335 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-19 09:22:08 +00:00
blacksun
250b2d42fe Element editor and diagram editor : context menu display only enabled actions
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5283 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-31 11:21:55 +00:00
blacksun
ae8f23f659 Element editor : improve the behavior with the arrow keys (depending to the current selection : nothing / one / several)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5272 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-20 10:59:39 +00:00
blacksun
1077c91b6f Element editor : keep up to date the displayed text of dynamic text item when change the source of text.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5267 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 16:26:02 +00:00
blacksun
d6f418fa83 fix indentation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5266 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 16:04:44 +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
9b3c496fc5 Element editor : remove all sources code related to the old text field
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5264 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 15:11:08 +00:00
blacksun
a6a875c7ce Element editor : Now every "old text" are converted to the new dynamic text, when open an element in the element editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5263 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 14:44:21 +00:00
scorpio810
bfa706ca29 Fix some Debian lintian spelling errors
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5262 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 13:38:41 +00:00
blacksun
275f20fa61 Element editor : dynamic text field can be set with element info as source of text.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5260 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 12:59:53 +00:00
blacksun
85a8a32106 Element editor : it is no longer required to have a text field, for save the edited element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5247 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-26 15:35:10 +00:00
scorpio810
0d02662038 Add a "What's This?" for "launching DXFtoQET plugin" in menu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5205 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-31 10:25:24 +00:00
scorpio810
34f07e69d3 Revert r5201
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5204 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-31 09:25:32 +00:00
scorpio810
c5793680d3 Add message box for launching DXFtoQET plugin
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5201 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-31 08:05:48 +00:00
nuri
553eadb332 icon theme: add new icons
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5120 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-27 23:41:24 +00:00
nuri
dbd867d604 icon theme: add new icons in element editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5119 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-27 20:27:49 +00:00
blacksun
3e934b994b Part dynamic text field, set default color to black
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5095 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-10 17:48:46 +00:00
scorpio810
9045088d2c Minor : add a vertical spacer in dynamictextfieldeditor widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5094 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-09 16:29:27 +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
8d333cbf1b Set the ItemIndexMethod of scene to NoIndex, according to some forum (Adress of forum are in the cpp file of this comit) they can be the sources of the crash occured by the conductor and shape "guost".
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5073 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-09 16:05:19 +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
9351ba63b7 Add new field Name of provider,
rename fields,
update *TS files


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5061 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-03 12:11:28 +00:00
scorpio810
9c24163556 Add new description field
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5059 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-02 16:59:53 +00:00
blacksun
bb39413992 Element editor : element informations (manufacturer, reference etc...) can be created directly from the element editor. For that go to the widget "Element Property"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5057 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-01 15:25:34 +00:00
blacksun
2934f769c6 Fix fail to build for ubuntu trusty
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5052 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-27 18:59:17 +00:00
blacksun
ec1e778bff Forget file from previous comit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5051 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-27 15:31:57 +00:00
blacksun
8761d4768b Element editor : When open a .elmt file in the element editor, the texts field are converted to dynamic text field, except for text field with tagg : label, function and tension/protocol.
In other words every text without tagg are converted.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5050 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-27 15:26:47 +00:00
blacksun
aa5241896c Element editor : dynamic text item can be added directly from the element editor (WIP)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5046 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-25 17:44:02 +00:00
blacksun
57f34b4ee2 Minor : remove the QetGraphicsItemHandler returned by the function zValue
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5028 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-24 14:48:58 +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
fec5c95682 Improve the behavior of the feature "zoom out beyond of folio" : drag the scene is now more user-friendly
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5003 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-03 16:53:43 +00:00
blacksun
618683d962 Toatly revamp of the handlers use to modify primitves, shapes and conductors.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5001 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-02 15:26:14 +00:00
blacksun
86cb13f74d Element editor : Element primitive decorator doesn't manage anymore the text field when a single text is selected
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5000 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-01 19:37:04 +00:00
blacksun
5d4fcfa932 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4997 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-31 17:54:22 +00:00
blacksun
fbae3da33f Element editor : clear the event interface befor save, to avoid the save of the primitive owned by the interface.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4996 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-31 17:41:48 +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
aded80e4ae Replace QSort function has been deprecated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4898 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-03 13:48:42 +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
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