Commit Graph

1840 Commits

Author SHA1 Message Date
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
scorpio810
8d0e89828d Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4204 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-09-15 09:50:20 +00:00
blacksun
65862756cb Conductor : minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4203 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-09-15 08:20:39 +00:00
blacksun
19a7ab533c Bug fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4200 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-09-12 08:29:45 +00:00
blacksun
22cd5b1a04 Bug fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4199 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-09-11 20:11:01 +00:00
scorpio810
0786d0cd24 Nomenclature add field Auxiliary_x-contact-bloc
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4196 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-09-10 16:29:39 +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
scorpio810
6772a34bc5 Conductor properties : minor, add clear buttons for fields function and tension/protocol
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4188 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-09-01 09:52:42 +00:00
blacksun
1bdb13594b Conductor properties : Add two value, function and tension/protocol.
Revamp some widget to edit it.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4172 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-08-29 14:18:30 +00:00
blacksun
94c3526d2f Conductor properties widget : minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4164 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-08-26 21:46:47 +00:00
blacksun
3336237a3f Conductor : remove the possibility to have different texts on the same potential
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4150 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-08-22 13:18:20 +00:00
blacksun
d77011acfb At creation of a new conductor, if every properties of conductors at the same potential is equal,
we use this properties for the new conductor, instead of the default properties.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4126 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-08-17 17:01:39 +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
d1fbcda34b Diagram view : remove old code about drop element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4094 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-08-10 08:02:40 +00:00
blacksun
ed75c57c1d Use QPropertyUndoCommand instead of ChangeSeveralConductorsPropertiesCommand and ChangeConductorsPropertiesCommand.
Remove class ChangeSeveralConductorsPropertiesCommand and ChangeConductorsPropertiesCommand.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4092 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-08-09 12:06:31 +00:00
blacksun
c801c3e0a5 Diagram text item : minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4091 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-08-08 13:06:21 +00:00
blacksun
65b27f411a Element text mover : use QPropertyUndoCommand instead of MoveElementsTextsCommand.
Remove class MoveElementsTextsCommand


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4089 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-08-07 19:45:00 +00:00
blacksun
3535ee8001 ImagePropertiesWidget : use QPropertyUndoCommand instead of ItemResizerCommand
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4088 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-08-06 17:08:45 +00:00
blacksun
7e81cf3c41 shapegraphicsitempropertieswidget : use QPropertyUndoCommand instead of ChangeShapeStyleCommand.
Remove the class ChangeShapeStyleCommand.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4087 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-08-06 16:34:38 +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
scorpio810
3c327009a5 Fix FTBFS on x86_64-w64-mingw32 cross-compilation, thank Joshua
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4083 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-08-03 05:43:44 +00:00
blacksun
b025830100 Fix crash : qet crash when element comment (comment item and cross ref item) is bigger than the width of the rectangle where there are displayed.
The rectangle is now adjusted to the size of the comment.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4082 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-31 14:20:56 +00:00
blacksun
0fdb244bb5 Qet Shape Item : minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4081 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-31 13:29:23 +00:00
blacksun
eaea6f889b Qet shape item : Change the cursor shape, according to the current available behavior
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4080 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-29 09:25:41 +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
8acbc625da Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4077 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-27 21:47:41 +00:00
blacksun
bb213e7146 Fix regression with shape item when open a project: type (line, rect, ellipse, polygon) is wrong
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4076 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-27 19:25:54 +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
fae003f6c4 QetShapeItem : use QPropertyUndoCommand instead of QetShapeGeometryCommand
Remove the class : QetShapeGeometryCommand


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4074 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-27 09:20:38 +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
scorpio810
0454296d0a Element info widget : delete momentarily set focus to the first line edit, because the focus in line edit prevents using the keyboard to element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4065 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-22 13:36:44 +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
scorpio810
f24b1dd8d8 Element info widget : restore set focus to the first line edit, because dock now save data on the fly
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4063 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-22 00:28:33 +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
scorpio810
50d98b2167 ConductorPropertiesWidget: improve set focus to QLineEdit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4059 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-20 19:16:12 +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
scorpio810
fabb2e2f58 ConductorPropertiesWidget: improve set focus
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4056 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-19 16:47:42 +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
scorpio810
e953459e90 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4054 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-19 15:44:58 +00:00
scorpio810
97914bae2d ConductorPropertiesWidget: set focus to the line edit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4053 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-19 15:34:37 +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