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
blacksun
6c14729d14
QetShapeItem -> handler : handler is draw at the same size at screen, no matter the curent zoom
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4050 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-15 16:54:30 +00:00
blacksun
e31695382f
Minor fix
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4049 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-13 12:01:02 +00:00
blacksun
c31ae41910
Revamp some code
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4047 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-12 15:05:59 +00:00
blacksun
27117ef9d1
Add undo command for QetShapeItem geometry change
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4046 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-12 13:35:40 +00:00
blacksun
806c7fd5e3
Qet shape item properties widget : remove the scale widget
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4044 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-12 10:28:59 +00:00
blacksun
eaf3d22d25
QetShapeItem : add handler for modified the geometry of shapes in the diagram
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4039 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-09 18:33:14 +00:00
scorpio810
b5d3db8d39
Minor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4034 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-07-04 17:25:27 +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
blacksun
748e9bd186
Grey background : title block and border have grey background too.
...
Help line of item(add shape, or add element) change is color when background is grey
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4031 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-06-28 12:37:10 +00:00
blacksun
20f4985f7a
Minor fix : locked item isn't moved by arrow key or multiple selections.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4030 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-06-27 16:02:28 +00:00
blacksun
c2b97439a9
Revamp the action white/grey background
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4029 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-06-25 18:23:47 +00:00
blacksun
3c21364d5e
Refactor some properties dialog.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4027 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-06-23 20:40:05 +00:00