Commit graph

935 commits

Author SHA1 Message Date
Roman Telezhynskyi bbee47fe35 Fix compatibility with Qt below version 5.5.
--HG--
branch : develop
2017-11-14 15:06:22 +02:00
Roman Telezhynskyi 5f0d4ea586 Resolved issue #774. New feature. Matching Parentheses.
--HG--
branch : develop
2017-11-14 13:46:28 +02:00
Roman Telezhynskyi 3510843e44 Resolved issue #726. Improve Move tool. Add optional rotate option.
--HG--
branch : develop
2017-11-13 19:39:11 +02:00
Roman Telezhynskyi 5fb0eb42fd Fix Valentina crash.
Valentina crashes if remove piece node parent.

--HG--
branch : develop
2017-11-13 11:29:29 +02:00
Roman Telezhynskyi 8e44628b57 Fix bug. Update details list after creating or deleting a detail.
--HG--
branch : develop
2017-11-13 11:08:48 +02:00
Roman Telezhynskyi 736d21d71c Fix bug with mouse cursor when use line tool.
--HG--
branch : develop
2017-11-13 11:03:12 +02:00
Roman Telezhynskyi c180a26e09 Improve tool Point on middle visualization.
Show point on middle position when creating a point.

--HG--
branch : develop
2017-11-11 11:24:30 +02:00
Roman Telezhynskyi ec3750e087 Resolved issue #773. Tool Point intersection curve and axis cannot find
desired intersection poin.
(grafted from 86bc49a9552fc4555956815a4d32abfa091ccfc1)

--HG--
branch : develop
2017-11-11 11:01:45 +02:00
Roman Telezhynskyi b453d2b2d6 Fix bug in dialog Seam allowance tool.
The dialog should prevent user to save a detail with broken formula.

--HG--
branch : develop
2017-11-01 11:40:19 +02:00
Roman Telezhynskyi e9abab4eb2 Fix bug in Valentina.
Each QGaphicsItem should make accepted mouse press event if it accept an event.

--HG--
branch : develop
2017-10-31 10:31:50 +02:00
Roman Telezhynskyi 790e276102 SonarQube warnings.
--HG--
branch : develop
2017-10-30 12:16:58 +02:00
Roman Telezhynskyi 7a11b3497a Fix bug with setting cursor QGraphicsPathItem without hover events.
--HG--
branch : develop
2017-10-30 11:08:25 +02:00
Roman Telezhynskyi cbf3e4d5df When create group selecting a control point should also select a curve.
--HG--
branch : develop
2017-10-30 08:34:18 +02:00
Roman Telezhynskyi 55754d227b Fix bug with spline path.
--HG--
branch : develop
2017-10-30 08:20:03 +02:00
Roman Telezhynskyi 1ce645fa16 Fix bug in undocommands.
--HG--
branch : develop
2017-10-29 19:49:51 +02:00
Roman Telezhynskyi 8309fa8c7a Save show curve details state between sessions.
--HG--
branch : develop
2017-10-29 15:13:13 +02:00
Roman Telezhynskyi f16d26b659 Improve EnsureVisibleWithDelay feature.
Margins should to be scaled according to scene scale factor.

--HG--
branch : develop
2017-10-29 13:46:58 +02:00
Roman Telezhynskyi 09f3ba234c Fix bug with item highligh selected.
--HG--
branch : develop
2017-10-29 11:06:17 +02:00
Roman Telezhynskyi def801a626 Call item update if curve detailed mode changed.
Need to show/hide a curve direction.

--HG--
branch : develop
2017-10-29 10:53:47 +02:00
Roman Telezhynskyi 969dd163bf Fix bug with spline's control point.
Fix infinite redrawing.

--HG--
branch : develop
2017-10-28 19:21:47 +03:00
Roman Telezhynskyi d3cf15f5b8 Fix some bugs.
--HG--
branch : develop
2017-10-28 17:31:18 +03:00
Roman Telezhynskyi 46d6fcd29d Fix creating pieces.
--HG--
branch : develop
2017-10-28 14:11:52 +03:00
Roman Telezhynskyi 72dde072af New feature. Allow to exclude piece node point from it's context menu.
--HG--
branch : develop
2017-10-27 14:02:17 +03:00
Roman Telezhynskyi 91b4c7c8fa Fix bug with returning a piece to original position.
--HG--
branch : develop
2017-10-27 12:28:08 +03:00
Roman Telezhynskyi dd5b276e5d Fix bug with exclude objects.
--HG--
branch : develop
2017-10-27 12:11:29 +03:00
Roman Telezhynskyi 29b23bbce3 Toggle piece node point label. ref #755.
--HG--
branch : develop
2017-10-27 11:53:35 +03:00
Roman Telezhynskyi 3df6c09934 Optimize adjusting scene rect after moving label.
--HG--
branch : develop
2017-10-27 10:36:55 +03:00
Roman Telezhynskyi 4af32961b0 Optimize adjusting new scene rect.
If we know an object that cause adjustment no need to recalc bounding rect for
all scene items.

--HG--
branch : develop
2017-10-27 09:13:51 +03:00
Roman Telezhynskyi 5a07871a8d Fix Tool union Reatin pieces option.
--HG--
branch : feature
2017-10-26 17:22:12 +03:00
Roman Telezhynskyi 51e670bd84 Duplicate from GUI.
--HG--
branch : feature
2017-10-26 16:57:52 +03:00
Roman Telezhynskyi e8ca7f575d Fix bug. Modeling objects should be separated from calculation objects and stay
in not copied container.

--HG--
branch : feature
2017-10-26 12:54:08 +03:00
Roman Telezhynskyi 9b54b0c069 Dialog Duplicate Detail.
--HG--
branch : feature
2017-10-25 17:49:04 +03:00
Roman Telezhynskyi feaa43a712 SonarCloud warning.
--HG--
branch : develop
2017-10-25 13:54:15 +03:00
Roman Telezhynskyi 19fb13affe Resolved issue #771. Improve tool Point at intersection of arc and line.
--HG--
branch : develop
2017-10-25 11:27:43 +03:00
Roman Telezhynskyi 7fce20c98e Removed redundant calls UpdateGObject(). Undocommand for piece label.
--HG--
branch : feature
2017-10-24 20:25:51 +03:00
Roman Telezhynskyi f78c122cb0 Show place label rect.
--HG--
branch : feature
2017-10-24 16:42:09 +03:00
Roman Telezhynskyi 14e19ced4b Refactoring. Move dialogs related to pieces.
--HG--
branch : feature
2017-10-24 14:14:59 +03:00
Roman Telezhynskyi 05cad85ab3 Fix bug with tool seam allowance cursor.
--HG--
branch : feature
2017-10-23 14:31:01 +03:00
Roman Telezhynskyi 6f5969a357 Use icon from default theme.
--HG--
branch : feature
2017-10-23 11:33:34 +03:00
Roman Telezhynskyi 660efa3844 Fix bugs.
* * *
Fix tool union bugs.
* * *
Fix preparing pieces for layout.
* * *
Fix bug with formulas.

--HG--
branch : feature
2017-10-23 10:45:58 +03:00
Roman Telezhynskyi f4c5ad7213 Fix undo bug. Undocommand doesn't increment/decrement reference counters.
--HG--
branch : feature
2017-10-17 19:35:39 +03:00
Roman Telezhynskyi ca79c7ff93 Added place label.
--HG--
branch : feature
2017-10-15 12:25:20 +03:00
Roman Telezhynskyi dd0025456b Fix crash in Free curve mode.
--HG--
branch : develop
2017-10-19 16:26:51 +03:00
Roman Telezhynskyi 52a8fb5bae Fix scale problem with selecting points.
We scaled point circle size, but forgot to adjust test size according to scale
too.

--HG--
branch : develop
2017-10-19 15:56:57 +03:00
Roman Telezhynskyi 71b5a17aa1 Refactor methods names for better readability.
--HG--
branch : develop
2017-10-19 11:24:21 +03:00
Roman Telezhynskyi 8eecfe78a3 New feature multi deletion pieces.
--HG--
branch : develop
2017-10-19 11:20:19 +03:00
Roman Telezhynskyi 6bbd54f6ef Improve Add piece undocommand.
Performance improvement.

--HG--
branch : develop
2017-10-18 18:02:02 +03:00
Roman Telezhynskyi 614fd3a0f9 Improve Delete piece undocommand.
Performance improvement.

--HG--
branch : develop
2017-10-18 16:40:20 +03:00
Roman Telezhynskyi 1fbb65d21d Fix SavePiecePathOptions undocommand.
Bug with increment/decrement reference counter.

--HG--
branch : develop
2017-10-18 11:58:01 +03:00
Roman Telezhynskyi 6b6c7aff52 Improve Save piece options undocommand.
Performance improvement.

--HG--
branch : develop
2017-10-18 11:56:29 +03:00