Commit Graph

2772 Commits

Author SHA1 Message Date
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
Roman Telezhynskyi
46bf68521e Nesting with timeout.
--HG--
branch : feature
2019-03-29 19:52:37 +02:00
Roman Telezhynskyi
290676a2a6 Refactoring. Return value or default.
--HG--
branch : feature
2019-03-29 19:50:17 +02:00
Roman Telezhynskyi
248b0e3eeb Refactoring. Use std::initializer_list.
--HG--
branch : feature
2019-03-29 11:38:46 +02:00
Roman Telezhynskyi
47bcfd74ab Changes for dialog.
--HG--
branch : feature
2019-03-29 11:31:17 +02:00
Roman Telezhynskyi
a214a78006 Continue replacing custom *_FALLTHROUGH macroses with Q_FALLTHROUGH().
--HG--
branch : develop
2019-03-27 13:31:02 +02:00
Roman Telezhynskyi
91925c2618 Cppcheck warning.
--HG--
branch : develop
2019-03-27 11:45:25 +02:00
Roman Telezhynskyi
fc5b991174 Use Q_FALLTHROUGH instead of V_FALLTHROUGH.
--HG--
branch : develop
2019-03-16 12:22:09 +02:00
Roman Telezhynskyi
c2672b4b69 Shows global contour.
For debugging purposes.
* * *
Show nodes on global contour.

--HG--
branch : develop
2019-03-27 10:29:59 +02:00
Roman Telezhynskyi
715389d35d Use Qt's Q_DECL_UNUSED instead of internal V_UNUSED.
--HG--
branch : develop
2019-03-16 12:02:00 +02:00
Roman Telezhynskyi
635922faec Instead of squares compare depth position.
--HG--
branch : develop
2019-03-27 10:22:00 +02:00
Roman Telezhynskyi
39f24d2dcc When append whole piece don't miss piece edge.
This will potentially create less reserved space.

--HG--
branch : develop
2019-03-15 16:36:37 +02:00
Roman Telezhynskyi
762ee18026 Extend layout sheet paper size to cover coner cases.
--HG--
branch : develop
2019-03-15 15:33:30 +02:00
Roman Telezhynskyi
1393be669b Fix auto cropping.
--HG--
branch : develop
2019-03-12 19:45:27 +02:00
Roman Telezhynskyi
0f226d6cdf Fix wrong use of SetAttributeOrRemoveIf(). The remove condition must be
calculated not hardcoded.

--HG--
branch : develop
2019-03-27 09:46:33 +02:00
Roman Telezhynskyi
3b1d753360 Update for pattern format.
--HG--
branch : develop
2019-03-27 09:46:08 +02:00
Roman Telezhynskyi
08415eb4ef Refactoring. Move best square result in separate struct.
--HG--
branch : develop
2019-03-27 09:31:02 +02:00
Roman Telezhynskyi
63ea3bf2f9 If user selects SaveLength option add fake contour edge.
* * *
Fixing issue with pieces on edge.

--HG--
branch : develop
2019-03-27 09:03:19 +02:00
Roman Telezhynskyi
ed23a4ee71 Refactoring. Define default values.
--HG--
branch : develop
2019-03-26 19:14:05 +02:00
Roman Telezhynskyi
e7bd65bde9 Refactoring. Move code in functions.
--HG--
branch : develop
2019-03-26 19:10:13 +02:00
Roman Telezhynskyi
1f462586cd Convert to implicitly shared object.
--HG--
branch : develop
2019-03-26 19:02:12 +02:00
Roman Telezhynskyi
81cda14c06 Refactoring. Pass position data as struct.
--HG--
branch : develop
2019-03-26 18:54:59 +02:00
Roman Telezhynskyi
93334c7f7d Show error when preparing pieces fails.
--HG--
branch : develop
2019-03-26 18:21:31 +02:00
Roman Telezhynskyi
6b6d124cbb Refactoring.
--HG--
branch : develop
2019-03-26 17:47:27 +02:00