Commit Graph

2795 Commits

Author SHA1 Message Date
Roman Telezhynskyi
950e476682 New function VAbstractCurve::SubdividePath.
--HG--
branch : develop
2019-05-27 17:13:57 +03:00
Roman Telezhynskyi
6590742f09 Improve "Remove point on line".
Now it should handle circular shapes.

--HG--
branch : develop
2019-05-27 17:07:18 +03:00
Roman Telezhynskyi
d58b3f523d Methods to get a passmark base lines.
--HG--
branch : develop
2019-05-27 17:05:42 +03:00
Roman Telezhynskyi
a87f821327 Introduce mapped versions of methods. In some cases we will do mapping manually.
--HG--
branch : develop
2019-05-27 17:04:26 +03:00
Roman Telezhynskyi
6294dc0748 New struct VLayoutPassmark to store data about a passmark.
--HG--
branch : develop
2019-05-27 14:57:36 +03:00
Roman Telezhynskyi
bd611bf333 Refactor class VPlaceLabelItem.
Store more info about a placelabel.

--HG--
branch : develop
2019-05-27 14:54:44 +03:00
Roman Telezhynskyi
7dc420ad47 Refactor class VLayoutPiecePath.
Optimizing code style.

--HG--
branch : develop
2019-05-27 14:51:58 +03:00
Roman Telezhynskyi
f7868c03c1 Fix missed attribute.
--HG--
branch : develop
2019-05-27 13:47:54 +03:00
Roman Telezhynskyi
d07c27a96c Allow setting destination point.
Destination point is anchor to which connected a label.

--HG--
branch : develop
2019-05-11 18:37:08 +03:00
Roman Telezhynskyi
6ecfa80e6f Changed how should be saved cutting time.
--HG--
branch : develop
2019-05-11 18:28:08 +03:00
Roman Telezhynskyi
cdca310504 Fixed issue #971. Group operation do not work with VCubicBezierPath.
(grafted from 9981e18a57078493856549209156b9919e635673)

--HG--
branch : develop
2019-05-10 18:44:12 +03:00
Roman Telezhynskyi
8b0f1c0cc9 Clang warning.
--HG--
branch : develop
2019-05-08 20:28:48 +03:00
Roman Telezhynskyi
a05bf82c24 Clang warning.
--HG--
branch : develop
2019-05-08 20:05:26 +03:00
Roman Telezhynskyi
2247cf330e Cppcheck warning.
--HG--
branch : develop
2019-05-08 19:54:30 +03:00
Roman Telezhynskyi
7d9be40e85 Cppcheck warning.
--HG--
branch : develop
2019-05-08 19:35:19 +03:00
Roman Telezhynskyi
5838537033 Resolved issue #725. Improve labels on drawing.
--HG--
branch : develop
2019-05-08 19:22:55 +03:00
Roman Telezhynskyi
3b51ccb31d Refactoring. Move drawing passmarks to separate class.
--HG--
branch : develop
2019-05-08 15:19:03 +03:00
Roman Telezhynskyi
012eef24f6 Fixed missed attributes.
--HG--
branch : develop
2019-05-08 15:18:16 +03:00
Roman Telezhynskyi
4192af8117 Refactoring.
--HG--
branch : develop
2019-05-08 15:17:34 +03:00
Roman Telezhynskyi
db8ef33d79 New pattern format version.
--HG--
branch : develop
2019-05-08 15:16:04 +03:00
Roman Telezhynskyi
218ef45d1e Resolved issue #969. Fix length to label after soom.
--HG--
branch : develop
2019-05-05 17:31:45 +03:00
Roman Telezhynskyi
851ed6590c Correct passmark shape. It shouldn't go beyond a piece path.
--HG--
branch : develop
2019-04-23 21:24:45 +03:00
Roman Telezhynskyi
2c58263df1 Two new passmark types: U and Box.
--HG--
branch : develop
2019-04-23 20:56:11 +03:00
Roman Telezhynskyi
57d6d79a53 New placelabel shape Circle.
--HG--
branch : develop
2019-04-23 17:42:09 +03:00
Roman Telezhynskyi
08bdeeedfe Porting changes to newer format versions. ref #967.
--HG--
branch : develop
2019-04-20 20:24:31 +03:00
Roman Telezhynskyi
65a9be6b9d Fixed issue #967. Variable must not include new line character.
(grafted from f263dbaec52fb6950e1db27c62313f57748f4838)

--HG--
branch : develop
2019-04-20 20:19:30 +03:00
Roman Telezhynskyi
000062b7b7 Refactoring. Move static functions to dialogtoolbox.h.
--HG--
branch : develop
2019-04-20 19:30:35 +03:00
Roman Telezhynskyi
1fe7223096 Fix checking double curve.
--HG--
branch : develop
2019-04-20 19:04:03 +03:00
Roman Telezhynskyi
527d45daba Fixed issue #966. Unable to control Approximation scale for arc with length.
(grafted from 758fe0d016a641b390f431447cff60d7c93961c8)

--HG--
branch : develop
2019-04-19 13:05:35 +03:00
Roman Telezhynskyi
35a0fd74e1 Optimize size, rely more on default values for attributes.
--HG--
branch : develop
2019-04-18 15:28:07 +03:00
Roman Telezhynskyi
72eeae24e6 Added missed formula. ref #965.
--HG--
branch : develop
2019-04-18 12:59:19 +03:00
Roman Telezhynskyi
f420812f5d Fixed build on Windows with Qt 5.6.
--HG--
branch : develop
2019-04-17 17:35:11 +03:00
Roman Telezhynskyi
4fa73c302c Local seam allowance can be 0. ref #965.
--HG--
branch : develop
2019-04-17 16:08:48 +03:00
Roman Telezhynskyi
7f01a989dd Catch null length passmarks.
--HG--
branch : develop
2019-04-17 14:59:54 +03:00
Roman Telezhynskyi
52dfb912ee Resolved issue #965. Control passmark length with formula.
--HG--
branch : develop
2019-04-17 13:02:22 +03:00
Roman Telezhynskyi
b500650cf1 Disable context menu Angle if not enabled seam allowance or enabled built in.
--HG--
branch : develop
2019-04-15 21:20:33 +03:00
Roman Telezhynskyi
419095300e Disable seam allowance options if seam allowance is built in.
--HG--
branch : develop
2019-04-15 21:15:56 +03:00
Roman Telezhynskyi
0966f536b8 Fixed issue #964. Assign operator crashes math parser.
(grafted from 9fd845b77249b4edc1bdc0a42dc4b32fb5f036f6)

--HG--
branch : develop
2019-04-13 18:18:48 +03:00
Roman Telezhynskyi
74ec82290a Fixed issue #963. Bug in tool Point intersect curve and axis.
(grafted from db4c88cadb30a460075b949a6faa108537030602)

--HG--
branch : develop
2019-04-12 18:04:07 +03:00
Roman Telezhynskyi
aa1d30bdb8 Alternative approach to search intersection in layout.
--HG--
branch : develop
2019-04-10 15:54:18 +03:00
Roman Telezhynskyi
0987428a93 Increase required Qt version up to 5.4.
--HG--
branch : develop
2019-04-05 15:42:22 +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
35245cd161 Supress Wcast-function-type.
--HG--
branch : develop
2019-04-03 15:42:12 +03:00
Roman Telezhynskyi
c26d4d0942 Fixing issue with progress bar in console mode.
--HG--
branch : develop
2019-04-03 13:29:42 +03:00
Roman Telezhynskyi
2f420854c2 Fixed issue #957. Unable to cut an arc with negative length.
(grafted from 885261e387dda0508fda374445b9c05e379103e0)

--HG--
branch : develop
2019-04-03 09:37:43 +03:00
Roman Telezhynskyi
7b72ea5bc1 Optimize layout algorithm after profiling.
--HG--
branch : feature
2019-04-02 15:30:31 +03:00
Roman Telezhynskyi
4adce13a4d Abort after timeout must have own signal.
--HG--
branch : feature
2019-04-02 15:29:33 +03:00
Roman Telezhynskyi
3b2b51fa74 Update man.
--HG--
branch : feature
2019-03-30 11:48:20 +02:00
Roman Telezhynskyi
69df0922af Check timeout inside the layout generator.
--HG--
branch : feature
2019-03-30 11:17:54 +02:00
Roman Telezhynskyi
4565a47b91 Fix bug in VLayoutPieceData class.
--HG--
branch : feature
2019-03-30 11:15:14 +02:00