Commit graph

671 commits

Author SHA1 Message Date
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
Roman Telezhynskyi 9162b58417 Fix bug in Move tool. Dialog doesn't pass optional rotate origin point.
ref #726.

--HG--
branch : develop
2017-11-19 17:31:04 +02:00
Roman Telezhynskyi 8dbcfb4874 Fix issue with elliptical arc. It should read but ignore attribute 'aScale'.
ref #768.

--HG--
branch : develop
2017-11-18 13:48:03 +02:00
Roman Telezhynskyi 604baa61d3 Improve Move tool. It should provide optional rotation origin point field.
ref #726.

--HG--
branch : develop
2017-11-17 12:28:57 +02:00
Roman Telezhynskyi 016883110f Allow an arc to have the same start and end angles.
In such a case full circle will be drawn.

--HG--
branch : develop
2017-11-15 13:22:16 +02:00
Roman Telezhynskyi 12761dcfa6 SonarQube warning.
--HG--
branch : develop
2017-11-14 15:08:19 +02:00
Roman Telezhynskyi bbee47fe35 Fix compatibility with Qt below version 5.5.
--HG--
branch : develop
2017-11-14 15:06:22 +02:00
Roman Telezhynskyi 3510843e44 Resolved issue #726. Improve Move tool. Add optional rotate option.
--HG--
branch : develop
2017-11-13 19:39:11 +02:00
Roman Telezhynskyi 5fb0eb42fd Fix Valentina crash.
Valentina crashes if remove piece node parent.

--HG--
branch : develop
2017-11-13 11:29:29 +02:00
Roman Telezhynskyi 736d21d71c Fix bug with mouse cursor when use line tool.
--HG--
branch : develop
2017-11-13 11:03:12 +02:00
Roman Telezhynskyi ec3750e087 Resolved issue #773. Tool Point intersection curve and axis cannot find
desired intersection poin.
(grafted from 86bc49a9552fc4555956815a4d32abfa091ccfc1)

--HG--
branch : develop
2017-11-11 11:01:45 +02:00
Roman Telezhynskyi e9abab4eb2 Fix bug in Valentina.
Each QGaphicsItem should make accepted mouse press event if it accept an event.

--HG--
branch : develop
2017-10-31 10:31:50 +02:00
Roman Telezhynskyi 790e276102 SonarQube warnings.
--HG--
branch : develop
2017-10-30 12:16:58 +02:00
Roman Telezhynskyi 7a11b3497a Fix bug with setting cursor QGraphicsPathItem without hover events.
--HG--
branch : develop
2017-10-30 11:08:25 +02:00
Roman Telezhynskyi cbf3e4d5df When create group selecting a control point should also select a curve.
--HG--
branch : develop
2017-10-30 08:34:18 +02:00
Roman Telezhynskyi 55754d227b Fix bug with spline path.
--HG--
branch : develop
2017-10-30 08:20:03 +02:00
Roman Telezhynskyi 8309fa8c7a Save show curve details state between sessions.
--HG--
branch : develop
2017-10-29 15:13:13 +02:00
Roman Telezhynskyi f16d26b659 Improve EnsureVisibleWithDelay feature.
Margins should to be scaled according to scene scale factor.

--HG--
branch : develop
2017-10-29 13:46:58 +02:00
Roman Telezhynskyi 09f3ba234c Fix bug with item highligh selected.
--HG--
branch : develop
2017-10-29 11:06:17 +02:00
Roman Telezhynskyi def801a626 Call item update if curve detailed mode changed.
Need to show/hide a curve direction.

--HG--
branch : develop
2017-10-29 10:53:47 +02:00
Roman Telezhynskyi 969dd163bf Fix bug with spline's control point.
Fix infinite redrawing.

--HG--
branch : develop
2017-10-28 19:21:47 +03:00
Roman Telezhynskyi d3cf15f5b8 Fix some bugs.
--HG--
branch : develop
2017-10-28 17:31:18 +03:00
Roman Telezhynskyi 72dde072af New feature. Allow to exclude piece node point from it's context menu.
--HG--
branch : develop
2017-10-27 14:02:17 +03:00
Roman Telezhynskyi dd5b276e5d Fix bug with exclude objects.
--HG--
branch : develop
2017-10-27 12:11:29 +03:00
Roman Telezhynskyi 29b23bbce3 Toggle piece node point label. ref #755.
--HG--
branch : develop
2017-10-27 11:53:35 +03:00
Roman Telezhynskyi 3df6c09934 Optimize adjusting scene rect after moving label.
--HG--
branch : develop
2017-10-27 10:36:55 +03:00