Commit graph

892 commits

Author SHA1 Message Date
Roman Telezhynskyi 003c9bf33f Fix build. 2022-08-17 15:51:35 +03:00
Roman Telezhynskyi a0224bd6a2 Fix build on Windows. 2022-08-17 10:01:51 +03:00
Roman Telezhynskyi 46b2814981 Refactoring. 2022-08-13 19:26:55 +03:00
Roman Telezhynskyi 2cf2dc5985 Fix segmenting a simple curve. 2022-08-13 17:57:26 +03:00
Roman Telezhynskyi 0ab0edc654 Refactoring. 2022-08-12 18:50:22 +03:00
Roman Telezhynskyi 4e07172a6f Cppcheck warnings. 2022-08-08 15:25:14 +03:00
Roman Telezhynskyi c9c46cc954 Code style. 2022-05-20 17:08:32 +03:00
Roman Telezhynskyi ca2fe5fff1 Improved curve segment warnings. 2022-05-20 15:49:25 +03:00
Roman Telezhynskyi 43aee75f64 Improve creating an arc by length. 2022-05-11 19:08:08 +03:00
Roman Telezhynskyi 4bf0571dc0 Improve creating an arc by two angles. 2022-05-11 17:32:09 +03:00
Roman Telezhynskyi 0644122345 Code style. 2022-03-16 17:43:22 +02:00
Roman Telezhynskyi 8b0b5c89aa Incorrect work with curves. Closes #170 2022-03-16 17:43:09 +02:00
Roman Telezhynskyi cbef79733d Fix crash. 2022-02-14 13:26:31 +02:00
Roman Telezhynskyi 7494b05b92 Fix crash when linked image is missing. 2022-02-11 12:53:51 +02:00
Roman Telezhynskyi b75292c341 Improve Puzzle's piece rotation handlers. 2022-02-09 15:31:34 +02:00
Roman Telezhynskyi 3e59505da2 Improve creation by mouse for tool Spline. 2022-02-07 11:42:53 +02:00
Roman Telezhynskyi 427a70b541 Fix tool True darts notes. 2022-02-05 12:22:49 +02:00
Roman Telezhynskyi 750c31dcd8 Tool line was not compatible with a background image. 2022-02-04 17:02:17 +02:00
Roman Telezhynskyi 94e7c7d612 Update transformation origin when move an image. 2022-02-04 16:36:45 +02:00
Roman Telezhynskyi d4f791f0ee Fit Valentina's scale and an image resolution. 2022-02-04 16:31:19 +02:00
Roman Telezhynskyi fd8d2f8a9d Opacity option for a background image. 2022-02-04 11:01:52 +02:00
Roman Telezhynskyi 92e7f99e92 Fix build with MSVC. 2022-01-31 10:42:09 +02:00
Roman Telezhynskyi fbccb7206d Fix issue with delete. 2022-01-31 10:39:17 +02:00
Roman Telezhynskyi 882f4ba0bf Cppcheck warnings. 2022-01-29 18:27:17 +02:00
Roman Telezhynskyi 28b4874441 Cppcheck warnings. 2022-01-29 18:05:15 +02:00
Roman Telezhynskyi be52aeb68e Fix build with Qt 5.6. 2022-01-29 16:56:21 +02:00
Roman Telezhynskyi 992375c754 Fix alias for tool Cut Arc. 2022-01-29 12:28:39 +02:00
Roman Telezhynskyi 1b188bf414 Compatibility issues. 2022-01-29 10:59:02 +02:00
Roman Telezhynskyi 357fd3a0ac New feature Background image. Closes #43 2022-01-28 16:54:58 +02:00
Roman Telezhynskyi bd50428b56 Improve validation grainline position. 2021-11-16 18:33:20 +02:00
Roman Telezhynskyi d83039c4ee Compiler warnings. 2021-09-24 16:53:47 +03:00
Roman Telezhynskyi 3fea813b9c Watermark support. 2021-09-11 19:39:38 +03:00
Roman Telezhynskyi 29325add49 Gradation label. 2021-08-31 12:07:26 +03:00
Roman Telezhynskyi e5105e4eed Merge branch 'develop' into feature/manual-layout 2021-07-26 16:47:54 +03:00
Roman Telezhynskyi 6c5c4f671b Fix hover for tool point of intersection curve and axis. 2021-07-24 16:26:42 +03:00
Roman Telezhynskyi 25047b329d Fix hover for tool point of intersection line and axis. 2021-07-24 12:05:04 +03:00
Roman Telezhynskyi 66283709d1 Refactoring.
Redesign SetAttributeOrRemoveIf. Add use of a lambda function.
2021-05-25 21:31:02 +03:00
Roman Telezhynskyi 68c6c033b4 Merge branch 'develop' into feature/manual-layout 2021-05-15 11:27:37 +03:00
Roman Telezhynskyi 6abddfd240 Standard passmarks length for all pieces. Closes #124 2021-05-10 16:39:17 +03:00
Roman Telezhynskyi 6bfc5065bd Alias support for tools Point of intersection curve and axis and Point of intersection curves. 2021-05-08 10:54:14 +03:00
Roman Telezhynskyi b89be44a88 Improve tool tooltip. Show segment names and aliases.
Show segments for tools: Curve intersect axis, Point of intersection curves.
Show aliases for tools: Segment Arc, Segment Spline, Segment Spline Path.
2021-05-07 17:00:23 +03:00
Roman Telezhynskyi f4eb8330b3 Merge branch 'develop' into feature/manual-layout 2021-04-24 13:05:13 +03:00
Roman Telezhynskyi d9f2b756a4 Extend piece bounding rect. Closes #122 2021-04-23 09:26:49 +03:00
Roman Telezhynskyi dbf7343c87 Improve tool Point of intersection curves. Closes #119 2021-04-09 18:06:34 +03:00
Roman Telezhynskyi 2a9adb5d88 Fix deprecation warning.
Some headers from C library were deprecated in C++ and are no longer welcome in C++ codebases.
2021-04-09 17:51:45 +03:00
Roman Telezhynskyi 17de0410a0 Fix crash while delete the last base point.
Disable removing by key Delete if a base point is the last.
2021-04-08 18:36:51 +03:00
Roman Telezhynskyi e00cfb9890 Incorrect duplication of a piece. Missing restoring pins. 2021-03-29 16:09:00 +03:00
Roman Telezhynskyi 0138e5a321 Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2021-02-24 16:26:11 +02:00
Roman Telezhynskyi f46c604bd2 Enabling Show Curve Details option causes constant redraw. 2021-02-24 14:54:35 +02:00
Roman Telezhynskyi 1b57580c15 Fix bug. Undo Union details hide piece node points. 2021-02-07 11:26:54 +02:00
Roman Telezhynskyi 4665bc16e0 Fix crash when edit a group operation notes. 2021-02-06 16:39:47 +02:00
Roman Telezhynskyi 2bb95154cd Fix Tape crash. 2021-02-06 15:52:21 +02:00
Roman Telezhynskyi f81babbf7b Refactoring. 2021-01-23 15:25:01 +02:00
Roman Telezhynskyi 5eb8784cd4 New warning. Grainline is not valid. 2021-01-23 15:24:44 +02:00
Roman Telezhynskyi a58a783aba Merge branch 'develop' into feature/manual-layout 2020-12-23 18:40:33 +02:00
Roman Telezhynskyi 40fb6e6900 New option Reset label position. 2020-12-04 09:24:31 +02:00
Roman Telezhynskyi aa5f026c58 Merge branch 'develop' into feature/manual-layout 2020-11-27 11:56:55 +02:00
Roman Telezhynskyi 8877ce4630 Fix arc name in property browser. 2020-11-27 10:42:00 +02:00
Roman Telezhynskyi f2624692e3 Refactoring.
Rename the function to better reflect its purpose.
2020-11-26 19:39:55 +02:00
Roman Telezhynskyi 27fe4b15fd Fix regression.
Regression after commit 1539abaf4d.
2020-11-26 19:39:18 +02:00
Roman Telezhynskyi bccc852931 Fix arc names in property browser. 2020-11-26 13:08:48 +02:00
Roman Telezhynskyi 1e960e2f8a Refactoring. Remove unused argument. 2020-11-25 09:59:36 +02:00
Roman Telezhynskyi e8b69bbb88 Refactoring. Remove unused argument. 2020-11-25 08:47:01 +02:00
Roman Telezhynskyi e2f4859d48 Fix curve names in property browser. 2020-11-25 08:44:05 +02:00
Roman Telezhynskyi 10684213ec Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-11-24 13:30:33 +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 486e9bc917 Fix curve name in property browser for segmenting tools.
(cherry picked from commit 9d323169e2)
2020-11-22 16:07:27 +02:00
Roman Telezhynskyi 9d323169e2 Fix curve name in property browser for segmenting tools. 2020-11-22 16:07:09 +02:00
Roman Telezhynskyi e8fd8095b4 Merge branch 'develop' into feature/manual-layout 2020-11-21 19:05:46 +02:00
Roman Telezhynskyi 28d2358825 Allow insertion of multiple nodes. Closes #80 2020-11-21 19:04:31 +02:00
Roman Telezhynskyi c31966145e Improve object alias validation.
Property browser not correctly validates an object alias.
2020-11-21 15:44:55 +02:00
Roman Telezhynskyi d8c1c8e4d4 Generate new uuid for a piece duplicate. 2020-11-20 20:39:42 +02:00
Roman Telezhynskyi b82d6f1bb1 Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-11-20 13:40:39 +02:00
Roman Telezhynskyi 80d9fbc107 New function Warning. 2020-11-20 13:18:38 +02:00
Roman Telezhynskyi 1e3f11d1a1 Fix crash when save notes for the line tool.
(cherry picked from commit 66fc63c04b)
2020-11-13 15:27:24 +02:00
Roman Telezhynskyi 66fc63c04b Fix crash when save notes for the line tool. 2020-11-13 15:27:06 +02:00
Roman Telezhynskyi 9ae51c937f Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-11-13 11:52:10 +02:00
Roman Telezhynskyi 9e4fa8337d Fix validation issue. Treat empty attribute as default value. 2020-11-12 16:19:08 +02:00
Roman Telezhynskyi 0371905c0d Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-11-10 16:00:01 +02:00
Roman Telezhynskyi 545f2d33fe Independent pen style and color after a group operation. 2020-11-10 12:40:37 +02:00
Roman Telezhynskyi 49b43674c3 Free bug in VToolSplinePath::UpdateControlPoints. 2020-11-09 14:24:55 +02:00
Roman Telezhynskyi adab733202 Use an object name together with alias everywhere where is possible. 2020-11-07 16:20:35 +02:00
Roman Telezhynskyi 91da094f2b Alias support for pattern recipe. 2020-11-07 15:34:50 +02:00
Roman Telezhynskyi e5a9092e25 Fix potential crash with too big shift for a label. 2020-11-07 15:14:46 +02:00
Roman Telezhynskyi 99985d43e0 Alias support for group operations. 2020-11-07 15:02:30 +02:00
Roman Telezhynskyi 3e682b180c Alias field for tool Cut Spline Path. 2020-11-04 18:14:34 +02:00
Roman Telezhynskyi abff41813a Alias field for tool Cut Spline. 2020-11-04 18:14:34 +02:00
Roman Telezhynskyi 2574ecda0e Alias field for tool Cut Arc. 2020-11-04 18:14:34 +02:00
Roman Telezhynskyi b1f9327393 Alias field for tool Spline Path. 2020-11-04 17:36:54 +02:00
Roman Telezhynskyi 648d1f1897 Alias field for tool Spline. 2020-11-04 17:36:54 +02:00
Roman Telezhynskyi a5f65c319c Alias field for tool Cubic Bezier. 2020-11-04 17:36:54 +02:00
Roman Telezhynskyi 0301c8289f Alias field for tool Elliptical arc. 2020-11-04 17:36:54 +02:00
Roman Telezhynskyi 7542fc5dc2 Alias field for tool Arc with length. 2020-11-04 17:36:54 +02:00
Roman Telezhynskyi 1246aba24d Alias field for tool Arc. 2020-11-04 16:17:16 +02:00
Roman Telezhynskyi 8927abe99a Reading/writing a draw tool notes. 2020-10-28 14:09:56 +02:00
Roman Telezhynskyi 460683c942 Show Notes field for all draw mode tools in the property browser. 2020-10-28 11:52:07 +02:00
Roman Telezhynskyi de401b2d06 Add notes for the base point tool to property browser. 2020-10-27 18:26:33 +02:00
Roman Telezhynskyi b820107b4d Notes for tool Base point. 2020-10-27 16:21:51 +02:00
Roman Telezhynskyi b15a11dac2 Improve editing a spline path through control points for locked angles.
When a user locks one segment of a spline path, the neighboring segment must not be able to override it.
2020-10-26 13:15:28 +02:00
Roman Telezhynskyi de02bedd36 Cppcheck warning. 2020-10-26 08:05:13 +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 f06c85753b Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-05-09 13:21:29 +03:00
Roman Telezhynskyi 8aa93f8757 Fix disappearing a visibility group tags after Apply -> OK sequence. 2020-05-07 17:02:16 +03:00
Roman Telezhynskyi 30a27ee85a UUID field for piece. 2020-04-22 14:32:25 +03:00
Roman Telezhynskyi 51e0694f36 Merge branch 'develop' into feature/manual-layout. 2020-04-11 10:38:14 +03:00
Roman Telezhynskyi 2f4ac3deb9 Fix possible cause of crashes. 2020-03-28 19:43:01 +02:00
Roman Telezhynskyi c6c4edb893 Merge branch 'develop' into feature/manual-layout 2020-03-25 15:28:23 +02:00
Roman Telezhynskyi c1453f1715 Organization of groups - groups categories. Closes smart-pattern/valentina#15. 2020-03-24 17:31:32 +02:00
Roman Telezhynskyi a84857afda Show linked visibility group in group operation tooltip. 2020-03-24 17:27:16 +02:00
Roman Telezhynskyi 11718f6f44 Refactoring. Set Visibility group data in parent class. 2020-03-24 16:58:34 +02:00
Roman Telezhynskyi 82570bf9db Remove the linked visibility group when deleting a group operation. 2020-03-24 16:54:17 +02:00
Roman Telezhynskyi 5a367a8d85 Clang warning. 2020-03-18 15:36:00 +02:00
Roman Telezhynskyi 526892ed5a Auto-created Visibility Group for group operation. Closes smart-pattern/valentina#18. 2020-03-18 14:45:47 +02:00
Roman Telezhynskyi 9869ae249f Refactoring. Move all related to the visibility group undo command classes in one file. 2020-03-18 14:37:30 +02:00
Roman Telezhynskyi 6d1b7a9212 Call Piece Options and Delete Piece from the piece list context menu. 2020-02-20 19:18:19 +02:00
Roman Telezhynskyi 475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +02:00
Roman Telezhynskyi 716192e520 Refactoring. Hide compatibility layer behind a function.
constLast(), move(), append().

--HG--
branch : develop
2020-01-17 15:14:00 +02:00
Roman Telezhynskyi 98a88ed529 Refactoring. Hide compatibility layer behind a function.
QLineF::intersects.

--HG--
branch : develop
2020-01-16 17:34:08 +02:00
Roman Telezhynskyi 9c9c4f9abd Catch missed warning to pattern messages log.
--HG--
branch : develop
2020-01-16 14:17:18 +02:00
Roman Telezhynskyi 2a95c41bb7 Cover case when we can safely ignore broken union details operation.
--HG--
branch : develop
2020-01-11 15:08:55 +02:00
Roman Telezhynskyi f13ec746a9 Enable/Disable Passmark through Context Menu in detail mode.
--HG--
branch : develop
2020-01-10 14:04:41 +02:00
Roman Telezhynskyi 078f6fad64 Tracking changes/prevent "OK" recalculation after "Apply".
--HG--
branch : develop
2020-01-09 18:56:37 +02:00
Roman Telezhynskyi d74225e63e QLineF::IntersectType QLineF::intersect(const QLineF&, QPointF*) const' is
deprecated: Use intersects() instead.
(grafted from b8646bf40865848ad48eae89cae8419483d56f6b)

--HG--
branch : develop
2020-01-06 18:34:35 +02:00
Roman Telezhynskyi 3c74c03c59 Fix crash after uniting three pieces in sequence.
(grafted from 7f649df048328d449e1de01794d238eeef0c39be)

--HG--
branch : develop
2019-12-29 13:49:57 +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 0c0207aa6f Fix dialog for tool Point along perpendicular. No memory of line color settings.
(grafted from d65f796893e4f8c04b535f711bd8d93275e2ddff)

--HG--
branch : develop
2019-11-19 10:52:53 +02:00
Roman Telezhynskyi e04f5c70f5 Resolved issue #984. Special variable "CurrentLength" for tools Cut Arc, Cut
Spline and Cut Spline Path.

--HG--
branch : develop
2019-10-29 15:43:25 +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 b3cc614789 Fix incorrect angle value in tool tooltip.
(grafted from 3d1fe3de2bb0d8675ed89934456792906bf1d0eb)

--HG--
branch : develop
2019-10-17 14:54:54 +03:00
Roman Telezhynskyi c802df2b73 Lupdate warnings.
Lupdate lacks of some features to support all C++ valid declarations.

--HG--
branch : develop
2019-09-10 16:57:31 +03: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 45452d4d77 Export group operations as part of pattern recipe.
--HG--
branch : develop
2019-08-12 14:03:38 +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 965cf34c15 Completed generation of recipe.
--HG--
branch : feature
2019-07-11 13:47:55 +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 643dce08b7 Changing settings for move and rotate tools through property browser does not
take in count previous change for label point and Show label option.
(grafted from 8c626cf05d645f1e9b40dd44a9f361ff1fd2dad7)

--HG--
branch : develop
2019-06-18 19:04:26 +03:00
Roman Telezhynskyi 2538fc24b5 Improve Cut arc tool tooltip.
Show ids of subarcs.

--HG--
branch : develop
2019-05-29 13:29:57 +03:00
Roman Telezhynskyi 4192af8117 Refactoring.
--HG--
branch : develop
2019-05-08 15:17:34 +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 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