Commit graph

696 commits

Author SHA1 Message Date
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 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 0987428a93 Increase required Qt version up to 5.4.
--HG--
branch : develop
2019-04-05 15:42:22 +03: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 504e617686 Fixed issue #955. Valentina corrupts file.
(grafted from 8e9fc213aa8018ebcf889cc9baa3f08a31b4e423)

--HG--
branch : develop
2019-03-04 14:40:58 +02:00
Roman Telezhynskyi d5b50a7850 Fix build on Qt 5.2.
--HG--
branch : develop
2019-02-24 08:34:49 +02:00
Roman Telezhynskyi 0446a0653c Don't block moving piece label or grainline if pin id is not valid.
--HG--
branch : develop
2019-02-24 06:58:35 +02:00
Roman Telezhynskyi 77ae13ae18 New pedantic check. Check if allowance path is valid.
This check validate seam allowance path and layout allowance path.

--HG--
branch : develop
2019-02-23 18:43:06 +02:00
Roman Telezhynskyi 73885ea890 Optimization. Delay refresh a piece internals update.
--HG--
branch : develop
2019-02-23 13:24:41 +02:00
Roman Telezhynskyi 372df4661a Fix reference counting for modeling objects.
--HG--
branch : develop
2019-02-16 11:57:47 +02:00
Roman Telezhynskyi ab93e4d448 Fix bug in method SetAttributeOrRemoveIf.
--HG--
branch : develop
2019-02-14 16:25:39 +02:00
Roman Telezhynskyi 5a74c4bf63 Cppcheck warnings.
--HG--
branch : develop
2019-02-03 15:58:35 +02:00
Roman Telezhynskyi a4d96e7020 Clazy warning.
--HG--
branch : develop
2019-02-03 15:53:51 +02:00
Roman Telezhynskyi 61173f75c4 Minor refactoring.
--HG--
branch : develop
2019-02-11 14:16:49 +02:00
Roman Telezhynskyi 7d1c4bc3ba Introducing new method SetAttributeOrRemoveIf.
--HG--
branch : develop
2019-02-11 14:15:59 +02:00
Roman Telezhynskyi 0c3cce5122 Refactoring tool dialogs.
--HG--
branch : develop
2019-02-11 13:25:27 +02:00
Roman Telezhynskyi 03e9c3068a Clazy warning.
--HG--
branch : develop
2019-02-11 10:46:37 +02:00
Roman Telezhynskyi 7375a457cd Fix regression. After creating a new detail with workpiece tool, only the point
labels appear in the detail screen.

--HG--
branch : develop
2019-01-22 19:04:24 +02:00
Roman Telezhynskyi b43962d40d Speed optimization for switching "In layout" state.
--HG--
branch : develop
2019-01-16 19:13:23 +02:00
Roman Telezhynskyi e91c92d4a9 Resolved issue #929. New variable type: Separator.
--HG--
branch : develop
2019-01-16 16:24:41 +02:00
Roman Telezhynskyi 6efc6f11c8 Fixed issue #924. Valentina produces wrong passmark for rollback case.
(grafted from 5ff3a91f41efebed4963d3377cb2f194983cc7f7)

--HG--
branch : develop
2019-01-09 17:46:02 +02:00
Roman Telezhynskyi d13b6e841d Fixed issue #905. Valentina crashes with error: This id is not unique.
(grafted from 0ca6c7805835b3f46bb4e8c2f199e68c804c0820)

--HG--
branch : develop
2018-11-28 12:00:40 +02:00
Roman Telezhynskyi cf3be706c2 Optimization. Update increments only if necessary.
--HG--
branch : develop
2018-11-24 16:47:44 +02:00
Roman Telezhynskyi 7c17b3629f To speed up opening a pattern delay piece RafreshGeometry().
--HG--
branch : develop
2018-11-19 11:07:31 +02:00
Roman Telezhynskyi 9f2959e32e Resolved issue #894. Quick way to disable a passmark.
--HG--
branch : develop
2018-10-22 15:06:32 +03:00
Roman Telezhynskyi 1d95b36377 Resolved issue #892. Show tooltip for piece node point.
--HG--
branch : develop
2018-10-22 13:28:58 +03:00
Roman Telezhynskyi 60b323cf8e Fixed issue #882. VContainer class doesn't support multi document mode.
--HG--
branch : release
2018-09-18 16:38:16 +03:00
Roman Telezhynskyi 2858122d9d Fix typo.
--HG--
branch : release
2018-09-02 19:51:00 +03:00
Roman Telezhynskyi d9bb978532 Do not submit angle type if it has not been changed.
--HG--
branch : release
2018-09-02 18:52:19 +03:00
Roman Telezhynskyi 2ce59a1ee6 Added submenu to quick access to piece node point angle type.
--HG--
branch : release
2018-09-01 12:21:29 +03:00
Roman Telezhynskyi d8f6734451 Refactoring. Use macros FORMAT_VERSION to avoid human mistakes.
--HG--
branch : develop
2018-07-26 21:21:08 +03:00
Roman Telezhynskyi 8a29755a36 Resolved issue #868. New feature. Connect internal path with cutting contour.
--HG--
branch : develop
2018-07-26 20:00:24 +03:00
Roman Telezhynskyi 86e7674920 Fix bug. Hide internal path if it doesn't have a parent.
--HG--
branch : develop
2018-07-25 12:57:39 +03:00
Roman Telezhynskyi a0e09d3fe7 Fix crash on Windows.
Cancelling Piece Path dialog crashes Valentina.

--HG--
branch : develop
2018-07-24 14:57:41 +03:00
Roman Telezhynskyi 1ae08d6020 Resolved issue #867. Visibility control for place labels.
--HG--
branch : develop
2018-07-20 10:30:05 +03:00
Roman Telezhynskyi fd85efacd9 Resolved issue #862. Force Valentina to immediately terminate if a pattern
contains a parsing warning.

--HG--
branch : develop
2018-07-13 16:18:04 +03:00
Roman Telezhynskyi fedbe60952 Resolved issue #860. Valentina allows forbidflipping and forceflipping at the
same time.

Undocommands for context menu were poorly designed.

--HG--
branch : develop
2018-07-09 14:17:53 +03:00
Roman Telezhynskyi 63b1eb8068 Cppcheck warning 'missingOverride'.
--HG--
branch : develop
2018-06-26 15:53:48 +03:00
Roman Telezhynskyi e244d002cc More tools should show a warning if cannot find a result.
--HG--
branch : develop
2018-06-07 14:37:43 +03:00
Roman Telezhynskyi e343cc8018 Fixed issue #854. Union Details Tool version 1 breaks a pattern.
--HG--
branch : develop
2018-06-05 12:22:31 +03:00
Roman Telezhynskyi 270f3b44a1 Improve handling errors cases for points of intersection.
Instead of silence setting coordinate to (0;0) show a warning message. Also for
tool "Point of Lines intersection" set coordinates to (0;0) instead of skipping
creating a point. This will prevent failing to open a pattern file.

--HG--
branch : develop
2018-05-25 17:52:35 +03:00
Roman Telezhynskyi ccda742aa8 Refactoring. Specifying the "pointer" part outside of auto.
--HG--
branch : develop
2018-05-07 14:32:17 +03:00
Roman Telezhynskyi 3b4007a40c Backed out changeset: 87f0955a62ad ref #841.
--HG--
branch : develop
2018-05-07 14:23:47 +03:00
Roman Telezhynskyi fd446a7c1f Fixed issue #841. Variables Table won't open again when closed with Esc.
--HG--
branch : develop
2018-04-23 10:13:19 +03:00
Roman Telezhynskyi 862860f016 QString optimizations.
--HG--
branch : develop
2018-04-22 18:32:55 +03:00
Roman Telezhynskyi 3970bbdbc0 Refactoring. Use QChar instead of QString where possible.
--HG--
branch : develop
2018-04-12 13:13:19 +03:00
Roman Telezhynskyi 64029c249a Refactoring. Added special section for string literals.
--HG--
branch : develop
2018-04-08 19:45:23 +03:00
Roman Telezhynskyi cc4768ff77 Fixed issue #836. Change Detail Name - Update List of Details.
--HG--
branch : develop
2018-04-07 14:11:44 +03:00
Roman Telezhynskyi 188db90050 Automatically disable check for uniqness for the second point after uniting.
ref #835.

--HG--
branch : develop
2018-04-07 13:36:56 +03:00
Ronan Le Tiec a56c41589c Merged dismine/valentina into develop
--HG--
branch : develop
2018-04-06 21:58:09 +02:00
Roman Telezhynskyi 0e3a9533af Refactoring. Use C++11 range-based loop.
--HG--
branch : develop
2018-04-03 14:36:38 +03:00
Roman Telezhynskyi 6b6a2632a9 Refactoring. Replacing all Q_FOREACH/foreach loops with the c++ range-based
loops.

--HG--
branch : develop
2018-04-03 11:15:58 +03:00
Roman Telezhynskyi 3252130f36 Refactoring. Use C++11 range-based loop.
--HG--
branch : develop
2018-04-02 20:38:56 +03:00
Roman Telezhynskyi 218c2cc518 Resolved issue #830. Seam allowance tool - object selection and preview.
--HG--
branch : develop
2018-04-02 16:49:53 +03:00
Ronan Le Tiec 84bab5386b issue 826 clear selection when adding an item to a group. changelog and list of contributor
--HG--
branch : feature
2018-04-02 11:52:42 +02:00
Ronan Le Tiec d3da522ac4 issue 826 undo and redo adding or removing item from group finished
--HG--
branch : feature
2018-04-01 23:36:54 +02:00
Ronan Le Tiec 1526d77612 issue 826 - workind on undo redo command
--HG--
branch : feature
2018-04-01 17:19:10 +02:00
Ronan Le Tiec 2ee19af497 issue 826 start working on undo redo command
--HG--
branch : feature
2018-03-31 11:50:08 +02:00
Ronan Le Tiec 5fba6b797b issue 826 pattern modified when group modified
--HG--
branch : feature
2018-03-30 11:02:10 +02:00
Ronan Le Tiec 597f021139 issue 826 improvement to be able to add
--HG--
branch : feature
2018-03-29 23:13:33 +02:00
Ronan Le Tiec 67c0e7ed45 issue826 improvement for the handling of groups with the same name
--HG--
branch : feature
2018-03-25 20:01:36 +02:00
Ronan Le Tiec 6ce7ac1248 issue 826 sort group names in alphabetical case insensitive order
--HG--
branch : feature
2018-03-25 18:21:55 +02:00
Ronan Le Tiec e3f48b797f merge issue826 into feature
--HG--
branch : feature
2018-03-25 16:56:16 +02:00
Ronan Le Tiec be44126c94 add remove item from group and add item to group in tool context menu
--HG--
branch : issue826
2018-03-24 23:42:17 +01:00
Roman Telezhynskyi 47d86413d0 Minore cleaning.
--HG--
branch : develop
2018-03-23 15:40:36 +02:00
Roman Telezhynskyi 45a4a280b0 Fixed issue #825. Curve path editing - undo.
--HG--
branch : develop
2018-03-23 15:39:53 +02:00
Roman Telezhynskyi 6a7405b4d4 Refactoring. Use QString default constructor instead of empty string.
--HG--
branch : develop
2018-03-14 16:01:24 +02:00
Roman Telezhynskyi c1cea4c441 Clazy warnings.
--HG--
branch : develop
2018-03-14 15:39:15 +02:00
Roman Telezhynskyi cb5b7fcfcd Resolved issue #818. Improve Piece path validation. Check uniqueness.
--HG--
branch : develop
2018-03-05 12:05:59 +02:00
Roman Telezhynskyi f605777495 Fixed issue #817. Piece label is not rotatable by mouse.
--HG--
branch : develop
2018-02-27 13:06:37 +02:00
Roman Telezhynskyi 5f3ee65501 Fix bug in tool property browser. Too strict check makes impossible to fix
formula value.

--HG--
branch : develop
2018-02-22 14:59:39 +02:00
Roman Telezhynskyi d39fea54cd Resolved issue #810. Performance regression in c9abc05 (macOS).
--HG--
branch : develop
2018-02-15 11:20:34 +02:00
Roman Telezhynskyi 85afe83f6a Fix reappearing internal piece path after scene update.
--HG--
branch : develop
2018-02-11 13:15:07 +02:00
Roman Telezhynskyi 575068e181 Fix bug in control point.
Do not draw control point in constructor. It creates artefacts if they enabled
from start.

--HG--
branch : develop
2018-02-06 21:05:43 +02:00
Roman Telezhynskyi 89d01f3fe5 Arrow length should follow line width.
--HG--
branch : develop
2018-02-06 20:45:07 +02:00
Roman Telezhynskyi 6e50832578 Fix bug with pen width.
--HG--
branch : develop
2018-02-06 20:08:50 +02:00
Roman Telezhynskyi 6c438f92e0 Resolved issue #808. New feature. Global line width option.
--HG--
branch : develop
2018-02-06 19:30:27 +02:00
Roman Telezhynskyi 8b7494fb08 Show Forbid flipping and Force flipping options in piece context menu.
--HG--
branch : develop
2018-02-03 14:18:32 +02:00
Roman Telezhynskyi 63fd000443 Separate node point settings and piece settings in context menu.
--HG--
branch : develop
2018-02-03 13:18:00 +02:00
Roman Telezhynskyi 0cfe0b5936 Fix Valentina's crash.
Valentina crashes when delete several selected pieces.

--HG--
branch : develop
2018-01-30 10:31:50 +02:00
Roman Telezhynskyi 3bdf60705d Clang warning.
--HG--
branch : develop
2018-01-28 12:58:11 +02:00
Roman Telezhynskyi 525a8b0dc2 Copy piece tool should copy more point information: label position and
show/hide state.

--HG--
branch : develop
2018-01-25 11:39:37 +02:00
Roman Telezhynskyi 2bf477ca8a Fix bug in copy piece tool.
--HG--
branch : develop
2018-01-25 10:31:59 +02:00
Roman Telezhynskyi f78f191843 Fix bug in copy piece tool.
--HG--
branch : develop
2018-01-24 16:50:25 +02:00
Roman Telezhynskyi cf8c12f16a Seep up method VToolSeamAllowance::RefreshGeometry() with multithread.
--HG--
branch : develop
2018-01-20 17:59:11 +02:00
Roman Telezhynskyi 99d6ea5152 Speed optimization for class VFormula.
--HG--
branch : develop
2018-01-20 15:37:15 +02:00
Roman Telezhynskyi 919633440f Fixed issue #799. Copy piece tool crashes Valentina.
--HG--
branch : develop
2018-01-16 19:32:25 +02:00
Roman Telezhynskyi dd6cc1edc6 Enhancement. Disable a label options if a label template is empty.
Many user confused by not visible label even if "all" data filed. Valentina
should warn about this situation and force user to fill a label template.

--HG--
branch : develop
2018-01-14 18:19:43 +02:00
Roman Telezhynskyi 8b16cead24 Improve elliptical arc tooltip.
--HG--
branch : develop
2018-01-05 19:49:50 +02:00
Roman Telezhynskyi 55e0ef6549 Allow equal angles for elliptical arc.
--HG--
branch : develop
2018-01-05 19:42:28 +02:00
Roman Telezhynskyi 7a77ad0e19 Fix cursor for curves after closing a tool.
--HG--
branch : develop
2018-01-05 13:49:32 +02:00
Roman Telezhynskyi f52b690827 Resolved issue #792. New feature. Visibility trigger for internal path.
--HG--
branch : develop
2018-01-03 19:31:50 +02:00
Roman Telezhynskyi 34d1b91225 New hack to restore mouse cursor.
--HG--
branch : develop
2018-01-01 16:16:50 +02:00
Roman Telezhynskyi 88844ec33f Resolved issue #783. Flipping control.
--HG--
branch : develop
2017-12-17 15:06:46 +02:00
Roman Telezhynskyi d1ec8e90dd Fix Valentina crash adding internal path did not increment this object
reference.

--HG--
branch : develop
2017-12-04 14:08:13 +02:00
Roman Telezhynskyi 20e4ab1980 Fix selecting piece labels and grainline.
--HG--
branch : develop
2017-11-29 15:58:58 +02:00
Roman Telezhynskyi 9aad1b43cb Fix bug. Valentina doesn't save additional rotation angle for tool Move when
use options dialog.

--HG--
branch : develop
2017-11-28 12:12:33 +02:00
Roman Telezhynskyi 98ebfd11c6 Fix stand-alone piece updating. It should call updating internal paths in this
case.

--HG--
branch : develop
2017-11-21 11:55:37 +02:00