Commit graph

190 commits

Author SHA1 Message Date
Roman Telezhynskyi e8b69bbb88 Refactoring. Remove unused argument. 2020-11-25 08:47:01 +02:00
Roman Telezhynskyi 1539abaf4d Fix hiding inserted node in a pattern piece after its removal. 2020-11-24 13:28:42 +02:00
Roman Telezhynskyi 28d2358825 Allow insertion of multiple nodes. Closes #80 2020-11-21 19:04:31 +02:00
Roman Telezhynskyi 80d9fbc107 New function Warning. 2020-11-20 13:18:38 +02:00
Roman Telezhynskyi d10f20f399 Extend placeholders list with list of measurements. 2020-10-16 13:43:54 +03:00
Roman Telezhynskyi 4cea74d63b Loading measurements in Valentina. 2020-10-15 18:05:21 +03:00
Roman Telezhynskyi 5f2bec91d9 DRY. Refactoring item move code. smart-pattern/valentina#53 2020-06-20 12:20:39 +03:00
Roman Telezhynskyi d08da56764 Improve moving items on scene smart-pattern/valentina#53.
Increase delay to 160 ms. Set static margins.
2020-06-20 12:08:59 +03:00
Roman Telezhynskyi 475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +02:00
Roman Telezhynskyi 9cc97ef602 Clazy warnings.
--HG--
branch : develop
2019-11-24 13:09:30 +02:00
Roman Telezhynskyi 1217616813 Refactoring.
Pass VContainer::AddVariable only a variable, the variable already knows its
name.

--HG--
branch : develop
2019-11-24 13:09:16 +02:00
Roman Telezhynskyi 8f6ae65224 New feature Pattern Messages.
Added special field to show pattern warnings instead of warning dialogs.
Fixed issue with tabified dockwidgets.

--HG--
branch : develop
2019-10-28 17:44:31 +02:00
Roman Telezhynskyi 366e76a642 Improve piece node context menu. Added options to control passmark angle type
and passmark mark type.

--HG--
branch : develop
2019-09-05 11:29:20 +03:00
Roman Telezhynskyi 09bd14f382 Rethink feature. Instead of hiding show main path.
--HG--
branch : develop
2019-07-23 16:01:39 +03:00
Roman Telezhynskyi 5c84c80039 Refactoring. Reduce modules dependency.
--HG--
branch : develop
2019-07-22 17:06:30 +03:00
Roman Telezhynskyi e37afae597 Allow controlling priority selecting pieces in layout.
--HG--
branch : develop
2019-07-19 10:45:57 +03:00
Roman Telezhynskyi a3e643b5dd New feature "Hide piece's main path".
In some cases users want to hide main path and work with "real" pattern pieces.
This new option allows to quickly disable main path for all pieces without need
to make manual adjustment for each piece. Do not ovveride piece options.

--HG--
branch : develop
2019-07-18 20:18:48 +03:00
Roman Telezhynskyi 6ed74b2dd0 Refactoring. Use CreateElementWithText to create tag with text.
--HG--
branch : feature
2019-07-10 13:07:29 +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 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 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 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 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 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 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 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 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 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 3970bbdbc0 Refactoring. Use QChar instead of QString where possible.
--HG--
branch : develop
2018-04-12 13:13:19 +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 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