Commit Graph

4230 Commits

Author SHA1 Message Date
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
104a491a67 Fixing font problem on Windows.
Calc start label scale based on start font size and minimal visible font size.

--HG--
branch : develop
2017-10-28 13:02:51 +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
d61f732bde Improve warning message to provide more appropriate infromation about an error.
--HG--
branch : develop
2017-10-27 09:24:18 +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
6dfe04e2bc Fixing issue with slow zooming.
Check if need to update scene rect before actual update.

--HG--
branch : develop
2017-10-26 22:59:28 +03:00
Roman Telezhynskyi
7777646a16 Fix font problem on Windows.
--HG--
branch : develop
2017-10-26 19:57:52 +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
3362e8a4dc Fix font problem on Windows.
--HG--
branch : develop
2017-10-25 22:34:28 +03:00
Roman Telezhynskyi
feaa43a712 SonarCloud warning.
--HG--
branch : develop
2017-10-25 13:54:15 +03:00
Roman Telezhynskyi
7c0d17a7e3 Cppcheck warning.
--HG--
branch : develop
2017-10-25 11:56:24 +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
89a2323944 Fix problem with updating objects inside vcontainer.
--HG--
branch : feature
2017-10-24 19:50:16 +03:00
Roman Telezhynskyi
f78c122cb0 Show place label rect.
--HG--
branch : feature
2017-10-24 16:42:09 +03:00
Roman Telezhynskyi
7a2297ed6b Correct applying correction angle.
--HG--
branch : feature
2017-10-24 14:23:11 +03:00
Roman Telezhynskyi
14e19ced4b Refactoring. Move dialogs related to pieces.
--HG--
branch : feature
2017-10-24 14:14:59 +03:00
Roman Telezhynskyi
9c6160fa50 Fix bug with parent disappearing.
--HG--
branch : feature
2017-10-24 12:02:47 +03:00
Roman Telezhynskyi
f27c7e4e35 Fix recursive repaint after label scale.
--HG--
branch : feature
2017-10-23 21:10:48 +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
233efde704 Always draw circle for Button type.
--HG--
branch : feature
2017-10-23 12:33:54 +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
2a3d52ba88 Improve scene point.
Scale line to label and make the line more transparent.

--HG--
branch : feature
2017-10-21 16:26:22 +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
7038b60e43 Fix black square bug.
--HG--
branch : develop
2017-10-22 11:31:32 +03:00
Roman Telezhynskyi
f0035e1f65 Refactor method VGObject::IsPointOnLineSegment.
--HG--
branch : develop
2017-10-19 19:50:00 +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
3e80b6439a Fix bug with seam allowance. ref #767.
(grafted from 764b3537c0c8cac7804494f00436bdd152d286d7)

--HG--
branch : develop
2017-10-19 14:11: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
Roman Telezhynskyi
ef41c700f8 Improve Move piece undocommand.
Performance improvement.

--HG--
branch : develop
2017-10-18 11:24:15 +03:00