Commit graph

56 commits

Author SHA1 Message Date
Roman Telezhynskyi 1246aba24d Alias field for tool Arc. 2020-11-04 16:17:16 +02:00
Roman Telezhynskyi 5618df2b66 Fix build. Add missing headers. Closes #54 2020-07-10 20:15:46 +03:00
Roman Telezhynskyi c263060fd0 Invalid name of arc in modeling mode. Closes smart-pattern/valentina#40. 2020-06-02 18:11:52 +03:00
Roman Telezhynskyi 475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +02:00
Roman Telezhynskyi 98a88ed529 Refactoring. Hide compatibility layer behind a function.
QLineF::intersects.

--HG--
branch : develop
2020-01-16 17:34:08 +02:00
Roman Telezhynskyi 74218e82bc Try another way to fix build.
--HG--
branch : develop
2020-01-12 13:25:35 +02:00
Roman Telezhynskyi c81faf3537 Fix regressions. ref #989
(grafted from 1bbf6a73a6e3bf5fd9dc2b962bd1428f391da68b)

--HG--
branch : develop
2020-01-11 14:51:25 +02:00
Roman Telezhynskyi 680e66c4cd Fixed issue #989. Elliptical arc tool not behaving correctly.
(grafted from 09f4c4e0d4a44df54dd7d3267b7c7922a2c150aa)

--HG--
branch : develop
2020-01-10 13:44:27 +02:00
Roman Telezhynskyi 84001dac61 Refactoring. Added move constructor.
--HG--
branch : develop
2019-12-30 17:13:18 +02:00
Roman Telezhynskyi 74bb3e4369 Fix move sematic.
(grafted from fb8691f522f3515d7c3014a0ea90b60b352a444e)

--HG--
branch : develop
2019-12-30 13:00:57 +02:00
Roman Telezhynskyi d5a1f96bdd constFirst() introduced since Qt 5.6.
--HG--
branch : develop
2019-05-28 16:21:52 +03:00
Roman Telezhynskyi 3777d57ada Clang warning local variable 'polygon' will be copied despite being returned by
name.

--HG--
branch : develop
2019-04-05 12:56:47 +03:00
Roman Telezhynskyi fb03dbbb19 Fixed issue #829. Flipping by Axis + Rotation of an Arc and an Elliptical Arc.
--HG--
branch : develop
2018-03-30 09:43:11 +03:00
Roman Telezhynskyi c1cea4c441 Clazy warnings.
--HG--
branch : develop
2018-03-14 15:39:15 +02:00
Roman Telezhynskyi b25f971758 Fixed issue #793. Operations work incorrect with elliptical arc.
--HG--
branch : develop
2018-01-05 19:41:09 +02: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 61172d46c4 Fix typo in headers.
--HG--
branch : develop
2017-10-05 12:20:01 +03:00
Roman Telezhynskyi 851044d37e Cppcheck warning.
(grafted from 472ee616f82f6ff5e6b2d0ed4adcc2aa76c12ea1)

--HG--
branch : develop
2017-09-13 09:27:52 +03:00
Roman Telezhynskyi 15fc06fbf1 Fix tests. ref #753.
(grafted from 390ce06769037946ec705a8acecae65d5349e621)

--HG--
branch : develop
2017-09-13 09:17:21 +03:00
Roman Telezhynskyi a8dc3ed9f0 Fixed issue #753. Elliptical arc tool is broken.
(grafted from 6e388ecf0b095aa084889cbf6cc0461fedb18cd3)

--HG--
branch : develop
2017-09-13 07:29:35 +03:00
Roman Telezhynskyi 5fa0324185 Fix translation elarc variables.
--HG--
branch : develop
2017-08-08 18:27:36 +03:00
Roman Telezhynskyi 139efc6b16 Fixed issue #738. Bug in transformation over arc and elliptical arc.
(grafted from 2274a082bae53cd5e10866c630e9446a1bcdaac1)

--HG--
branch : develop
2017-07-27 16:01:18 +03:00
Roman Telezhynskyi 7e064f80c5 Thrown away code for support Qt < 5.2.
--HG--
branch : develop
2017-05-30 19:52:38 +03:00
Roman Telezhynskyi 32a16890a7 Resolved issue #681. Enhance feature: Dashed line options for curves, arcs, etc.
--HG--
branch : develop
2017-05-16 13:07:53 +03:00
Roman Telezhynskyi 495397621d Fix warning "Review the data-flow - This condition might always evaluate to
"true"."

--HG--
branch : release
2017-04-14 17:20:29 +03:00
Roman Telezhynskyi f9aa896477 Refactoring. Avoid implicit conversions.
--HG--
branch : develop
2017-03-31 17:04:11 +03:00
Valentina Zhuravska 51b21bc99c Added formulaRotationAngle to VEllipticalArc.
--HG--
branch : feature
2016-12-17 03:41:33 +02:00
Roman Telezhynskyi abce5439a5 Resolved issue #573. New tool: 'Move Point'.
--HG--
branch : develop
2016-10-04 17:34:37 +03:00
Roman Telezhynskyi fe56607d7d Flipping VSpline, VSplinePath, VEllipticalArc, VCubicBezierPath and
VCubicBezier.

--HG--
branch : feature
2016-09-10 21:40:30 +03:00
Roman Telezhynskyi 3dab49c23e QVector::removeLast() supported since Qt 5.1.
--HG--
branch : develop
2016-08-20 22:30:40 +03:00
Roman Telezhynskyi d66280033b Fixed issue #546. Compile error under Windows in current develop revision.
--HG--
branch : develop
2016-08-16 19:57:32 +03:00
Roman Telezhynskyi 7585db6a58 Fix build on Qt\5.3\msvc2013_64_opengl.
--HG--
branch : develop
2016-08-09 16:55:46 +03:00
Roman Telezhynskyi 80f00b361d Use "Include What You Use" tool for optimizing #includes.
--HG--
branch : develop
2016-08-08 14:44:49 +03:00
Roman Telezhynskyi 6187f16c6a Refactoring. Use conversion operator for conversion VPointF to QPointF.
--HG--
branch : feature
2016-05-14 22:28:09 +03:00
Roman Telezhynskyi 8713c628dc Refactoring VArc and VEllipticalArc classes.
--HG--
branch : feature
2016-04-10 17:40:55 +03:00
Roman Telezhynskyi 1d76a59ae7 Rotation VPointF, VArc, VCubicBezier and VCubicBezierPath.
--HG--
branch : feature
2016-04-10 14:40:04 +03:00
Roman Telezhynskyi e3acc16a76 Resolved issue #444. Length along Path seems not valid.
--HG--
branch : develop
2016-04-02 20:47:04 +03:00
Roman Telezhynskyi 9470f76ba9 New method curve length by given point.
--HG--
branch : develop
2016-04-02 14:59:43 +03:00
Roman Telezhynskyi be7277eeba Refactoring. Use more safe function VFuzzyComparePossibleNulls.
--HG--
branch : develop
2016-03-23 16:09:30 +02:00
Roman Telezhynskyi 56496aaa59 Refactoring. More switch tests. Added tool button for tool Cubic bezier path.
--HG--
branch : feature
2016-03-17 20:12:48 +02:00
Roman Telezhynskyi 018fd88f25 GCC warnings. Fixed broken tests.
--HG--
branch : develop
2016-02-28 22:00:45 +02:00
Valentina Zhuravska 771a72711c We don't need to use qApp->fromPixel for angles
--HG--
branch : feature
2016-02-28 21:37:30 +02:00
Valentina Zhuravska e8bf8a80e3 Changed QString("%1").arg() to QString().number() in VArc
--HG--
branch : feature
2016-02-28 21:24:56 +02:00
Valentina Zhuravska 088f0a6987 Changed QString("%1").arg() to QString().number() in VEllipticalArc
--HG--
branch : feature
2016-02-28 21:20:33 +02:00
Valentina Zhuravska 3d628d815b Fixed merge conflicts
--HG--
branch : feature
2016-02-27 16:53:17 +02:00
Valentina Zhuravska cafd3ee583 Added CutArc in VEllipticalArc
--HG--
branch : feature
2016-02-26 21:30:20 +02:00
Valentina Zhuravska 22a3e9d1a0 Little fixes in VEllipticalArc
--HG--
branch : feature
2016-02-26 21:27:55 +02:00
Valentina Zhuravska 389504b548 Fixed GetPoints in VEllipticalArc
--HG--
branch : feature
2016-02-24 17:34:33 +02:00
Valentina Zhuravska 06637f2103 Added FindF2 in VEllipticalArc
--HG--
branch : feature
2016-02-24 17:34:03 +02:00
Valentina Zhuravska da2c6d3242 Fixed GetPoints function in VEllipticalArc
--HG--
branch : feature
2016-02-19 11:47:42 +02:00