Commit Graph

437 Commits

Author SHA1 Message Date
scorpio810
917f6dadda Improve Basic shapes Properties size function
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4294 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-30 13:47:21 +00:00
blacksun
313e4b9793 New element panel can display the thumbnail of elements used in a project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4293 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-30 09:39:22 +00:00
scorpio810
47996a8028 For common properties for every conductors at the same potential,
add color and size type on related Potential Conductors


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4290 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-23 22:13:03 +00:00
scorpio810
2286036e67 Improve conductor bigger when is hovered
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4289 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-23 19:27:51 +00:00
scorpio810
ed4e16657f Improve Conductor Properties size function
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4288 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-12-23 18:41:13 +00:00
blacksun
20beb4915a Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4270 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-11-19 17:20:04 +00:00
scorpio810
4d63289388 Clean some code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4269 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-11-19 15:19:45 +00:00
blacksun
13b0c42ba3 Bug fix : When user try to connect two differents potential together, the dialog box display a weird numbers of wire in the potential
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4218 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-09-27 12:26:59 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
blacksun
9c6d362637 QetShapeItem can be edited via the properties editor dock
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4024 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-06-21 20:16:41 +00:00
blacksun
71e1e2a8c4 Image properties widget: enable the use of live edit mode
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4005 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-06-11 18:03:58 +00:00
blacksun
509d89797e Element info widget : enable the use of live edit mode
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3996 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-05-31 15:02:41 +00:00
blacksun
2242ebd16a Link single element widget, set live edit enable.
In properties dock widget, no need to click on apply button, change are apply immediately.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3992 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-05-27 07:22:50 +00:00
blacksun
4142f9c6a2 Bug fix : Qet crash when load a conductor without two terminal (because the allocation of a new conductor fail)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3974 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-05-18 22:19:14 +00:00
blacksun
e73bad2bd6 Minor fix : load an element or image will setpos at the same pos when was save (and not snap to grid)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3973 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-05-17 17:47:50 +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
scorpio810
933cb94a3c Add texture pattern to element part
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3969 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-05-13 06:31:16 +00:00
scorpio810
01be436e51 Add others colors for element part
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3963 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-05-12 14:49:41 +00:00
scorpio810
c164d105f5 Add brun and yellow colors for element part
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3952 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-05-11 12:45:08 +00:00
scorpio810
741248ce9f Add grey color for element part
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3951 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-05-11 11:06:58 +00:00
blacksun
6618887ed6 Image can be edited in the dock widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3944 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-05-08 17:49:29 +00:00
blacksun
b7031a0009 Create a common widget to edit propertie
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3930 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-05-02 22:25:01 +00:00
blacksun
72c68c0d8d Clean up some code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3834 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-18 18:07:18 +00:00
blacksun
896dc7a887 Diagram text item : set a parent widget for rich text editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3817 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-11 21:18:05 +00:00
blacksun
bb54483e23 Change the way to add new element in a diagram.
Drag & drop an element in a diagram and click left to add it, click right to finish


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3803 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-04 21:13:13 +00:00