Commit graph

68 commits

Author SHA1 Message Date
Roman Telezhynskyi 70fd0be830 Use Q_REQUIRED_RESULT where it make sense.
--HG--
branch : develop
2016-03-23 17:27:17 +02:00
Roman Telezhynskyi be7277eeba Refactoring. Use more safe function VFuzzyComparePossibleNulls.
--HG--
branch : develop
2016-03-23 16:09:30 +02:00
Roman Telezhynskyi 4c1c0d4d0a Fixed empty point label in SplinePath name.
--HG--
branch : develop
2016-03-22 17:25:16 +02:00
Roman Telezhynskyi 2e0bf11261 The tool Cut Spline now supports Cubic Bezier Path curve.
--HG--
branch : develop
2016-03-22 17:14:53 +02:00
Roman Telezhynskyi 19265e1f93 Succesful build.
--HG--
branch : feature
2016-03-18 23:11:14 +02:00
Roman Telezhynskyi 2c4312046c New classes VAbstractCubicBezierPath and VCubicBezierPath.
--HG--
branch : feature
2016-03-16 20:07:50 +02:00
Roman Telezhynskyi 2548697a9e The tool Cut Spline now supports Cubic Bezier curve.
--HG--
branch : feature
2016-03-10 18:09:38 +02:00
Roman Telezhynskyi 53250a4dc4 Simple curve which uses point as control handle.
--HG--
branch : feature
2016-03-10 15:55:04 +02:00
Roman Telezhynskyi f53fe379c6 Movable spline path.
--HG--
branch : feature
2016-03-05 23:06:54 +02:00
Roman Telezhynskyi 40436a5c57 Successfull build, bugs was not fixed.
--HG--
branch : feature
2016-03-04 18:08:29 +02:00
Roman Telezhynskyi 8d628404df Curve factor was removed.
--HG--
branch : feature
2016-02-27 16:49:10 +02:00
Roman Telezhynskyi a2561bc7da Updated property dialog for tool Spline.
--HG--
branch : feature
2016-02-27 12:28:15 +02:00
Roman Telezhynskyi 53cb607f34 Block moving a control point if a formula was used.
--HG--
branch : feature
2016-02-27 10:29:32 +02:00
Roman Telezhynskyi 679f90d627 Block moving a spline by dragging if a formula was used.
--HG--
branch : feature
2016-02-26 19:44:51 +02:00
Roman Telezhynskyi a9112a29cb Create, save, open and edit simple curve by dialog. Editing by mouse still not
prepared.

--HG--
branch : feature
2016-02-26 16:38:42 +02:00
Roman Telezhynskyi fcd254f08c Fixed bug disabling tool True darts.
(grafted from 8c5aeccb775c10068c8f20a881994b3b4fac808a)

--HG--
branch : develop
2016-02-22 11:38:18 +02:00
Roman Telezhynskyi 7d991584fb Fixed wrong calulation tool True darts.
--HG--
branch : develop
2016-02-22 11:02:24 +02:00
Roman Telezhynskyi 0846d3c282 Read and save a spline path attribute 'duplicate'.
--HG--
branch : feature
2016-02-16 15:37:01 +02:00
Roman Telezhynskyi c80fe9c61b Show name in a property browser.
--HG--
branch : feature
2016-02-16 15:04:21 +02:00
Roman Telezhynskyi be3fc296f4 Untested changes for the tool Spline.
--HG--
branch : feature
2016-02-15 16:30:48 +02:00
Roman Telezhynskyi f264206aab Refactoring DialogSpline.
--HG--
branch : feature
2016-02-15 11:02:55 +02:00
Roman Telezhynskyi 0f747ede7e The first implementation for tool Spline.
--HG--
branch : feature
2016-02-12 20:10:01 +02:00
Roman Telezhynskyi 791d874c9a Little refactoring.
--HG--
branch : feature
2016-02-12 15:49:59 +02:00
Roman Telezhynskyi 8683b69f13 Select an item inside mousePressEvent() instead mouseReleaseEvent().
--HG--
branch : feature
2016-02-11 13:05:08 +02:00
Roman Telezhynskyi fb6e3b29ff Updated the tool "Point of intersection curves" to new correct way work with
references.

--HG--
branch : develop
2016-02-02 15:50:15 +02:00
Roman Telezhynskyi 78799d3d83 Resolved issue #441. Broken reference incrementation for tool "True Dart point".
(grafted from 0c13c14f9829e53dbbbe850053947b646bd800bd)

--HG--
branch : develop
2016-02-02 15:38:30 +02:00
Roman Telezhynskyi c1fecafda9 Refactoring.
--HG--
branch : feature
2016-01-25 19:10:39 +02:00
Roman Telezhynskyi d86c79f290 Unit test. Check VToolPointOfIntersectionCurves::FindPoint() method.
--HG--
branch : feature
2016-01-25 19:06:36 +02:00
Roman Telezhynskyi ea0000fea6 First successful build. Tool working was not tested!
--HG--
branch : feature
2016-01-24 18:15:08 +02:00
Roman Telezhynskyi 7982e48e4e If item's rect is bigger than view's rect ensureVisible works very unstable.
(grafted from d807a6fc7a9c1abc588dfda621ac7b70f90b401b)

--HG--
branch : develop
2016-01-15 14:57:47 +02:00
Roman Telezhynskyi aadac5772d Showing/hiding control points require recalculation scene size.
(grafted from 6f9642ea3c32ce5a333fa85339fd761aa992acc6)

--HG--
branch : develop
2016-01-15 14:57:41 +02:00
Roman Telezhynskyi 3026f9dfc6 Call ensureVisible() only in mouseMoveEvent() method. Alwayse update size of
scene.
(grafted from a080e8c10e0817579d802539e4ef30b4b51f43a8)

--HG--
branch : develop
2016-01-15 14:57:23 +02:00
Roman Telezhynskyi 5517b96613 Ensure cursor visibility when move curve.
(grafted from e7cbd25ec5f67ef9b413244b32a543b2a2a0603f)

--HG--
branch : develop
2016-01-15 14:57:09 +02:00
Roman Telezhynskyi 4977604106 Correct disabling line to the label.
--HG--
branch : develop
2016-01-11 13:24:37 +02:00
Roman Telezhynskyi 1c92165467 Have found case where the program returns wrong curve segment.
--HG--
branch : develop
2016-01-08 17:59:51 +02:00
Roman Telezhynskyi 00b8aae5a7 Fixed issue with deleting detail and blocked objects. Part about tool union
still is not fixed.

--HG--
branch : feature
2015-12-26 15:08:41 +02:00
Roman Telezhynskyi d227ce68c2 Show dialog "Fix broken formula" only in GUI mode.
--HG--
branch : develop
2015-12-22 20:12:09 +02:00
Valentina Zhuravska a1417fc127 We don't need to change pen inside RefreshLine method
--HG--
branch : feature
2015-12-11 13:35:48 +02:00
Valentina Zhuravska ece2c42e5f We need one method RefreshLine in VAbstractTool instead of two similar methods in VNodePoint and VToolSinglePoint
--HG--
branch : feature
2015-12-11 11:31:21 +02:00
Roman Telezhynskyi a820b20fc2 The program crashes if scene is not connected to view.
--HG--
branch : develop
2015-12-05 18:27:38 +02:00
Roman Telezhynskyi dc25101d78 Refactoring. Call parent's method.
--HG--
branch : develop
2015-12-04 21:47:44 +02:00
Roman Telezhynskyi 2b0e358cdd Saving position of the base point should be handled in ItemPositionChange
section.

--HG--
branch : develop
2015-12-04 21:46:52 +02:00
Roman Telezhynskyi ae43c66bd9 Fixed issue #412. Error in Detail using 'Segment a Simple Curve' tool.
--HG--
branch : develop
2015-12-03 21:56:40 +02:00
Roman Telezhynskyi 783e3d57c2 Support QGraphicsView autoscroll of a draged object.
--HG--
branch : develop
2015-11-25 19:26:37 +02:00
Roman Telezhynskyi 36704cd02e Invisible "VSimpleCurve" causes exponential growth scene size, and it causes
the program crash. Because we don't need anymore this calss i just have removed
it.

--HG--
branch : develop
2015-11-25 15:45:38 +02:00
Roman Telezhynskyi a342948437 Improved loging. Base point's DeleteTool should ignore value "_referens".
--HG--
branch : develop
2015-11-03 17:11:35 +02:00
Roman Telezhynskyi 345b0e5c7f Fixed crash after undo creating a pattern piece.
--HG--
branch : develop
2015-11-02 18:25:29 +02:00
Roman Telezhynskyi 88324a11f2 Static Code Analysis.
--HG--
branch : develop
2015-10-28 16:22:36 +02:00
Roman Telezhynskyi 467ffbd132 ICC warnings.
--HG--
branch : develop
2015-10-20 17:32:01 +03:00
Roman Telezhynskyi 4d90589f01 Clang warnings.
--HG--
branch : develop
2015-10-19 16:21:06 +03:00