Commit graph

1566 commits

Author SHA1 Message Date
Roman Telezhynskyi 64acbfff4c Fix build with Qt 5.6 on Windows. 2023-04-08 09:58:22 +03:00
Roman Telezhynskyi 857e384221 New grainline type: Four way. 2023-04-07 10:05:29 +03:00
Roman Telezhynskyi 433389b798 QScopedPointer::take() was deprecated since 6.1. 2023-04-03 13:44:20 +03:00
Roman Telezhynskyi e8621121b3 Fix MSVC warnings. 2023-03-10 20:20:35 +02:00
Roman Telezhynskyi 3fad6bc5f9 Fix MSVC warnings. 2023-03-10 14:14:18 +02:00
Roman Telezhynskyi 7d759ec92b Fix MSVC warnings. 2023-03-10 07:40:27 +02:00
Roman Telezhynskyi 6d34b6af13 Fix MSVC warnings. 2023-03-09 08:20:40 +02:00
Roman Telezhynskyi 37541b600e Fix MSVC warnings. 2023-03-08 18:45:42 +02:00
Roman Telezhynskyi b6d1400b23 Fix build without precompiled headers. 2023-02-28 14:31:14 +02:00
Roman Telezhynskyi 34632ebb43 No need to use std::move in this case. 2023-02-20 13:13:39 +02:00
Roman Telezhynskyi a40ce741ad Improve labels for V notch. 2023-02-17 09:47:54 +02:00
Roman Telezhynskyi 04d2a1c631 Use QtCore/qcontainerfwd.h header for forward declaration containers. 2023-02-14 14:52:48 +02:00
Roman Telezhynskyi 659e1f6fc0 Suppress warnings. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 0a6c560382 Refactoring. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 5335fecc98 QLocale in Qt6 now returns QString instead of QChar. 2023-02-10 17:51:21 +02:00
Roman Telezhynskyi 404f870069 QtConcurrent::run signature was switched up.
Switching to using lambdas instead of binding the methods.
2023-02-09 17:27:43 +02:00
Roman Telezhynskyi 734e5d0d11 QVector and QStringList are now just aliases to QList. 2023-02-09 17:27:43 +02:00
Roman Telezhynskyi 171b3be090 Backward compatibility for type qsizetype. 2023-02-09 17:27:43 +02:00
Roman Telezhynskyi dee3c593de Improve stable.h. 2023-02-09 17:24:02 +02:00
Roman Telezhynskyi 6e499b7245 Remove missing in Qt6 headers. 2023-02-09 17:24:02 +02:00
Roman Telezhynskyi 3392ea560e Enable full static.h on Windows. 2023-01-17 16:48:31 +03:00
Roman Telezhynskyi 525dac06de New option. Default piece label template for new pieces.
(cherry picked from commit 664bbe9afe)
2023-01-16 18:33:20 +02:00
Roman Telezhynskyi 4bed35052b Refactoring.
Rename method name.

(cherry picked from commit 07dbc5e2ff)
2023-01-16 18:31:47 +02:00
Roman Telezhynskyi 1669fbd3b2 Fix Lupdate warnings. 2023-01-12 20:12:16 +02:00
Roman Telezhynskyi 895b02ef0d Move 'Precompiled headers' group to buildconfig. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi d6e3dfcbb3 Property to disable the use of precompiled headers. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi 2ba1a5db5e Improve stable.h. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi 964b4c0aea Optimize dependencies with Export item. 2023-01-05 12:25:29 +02:00
Roman Telezhynskyi 2788e0a136 Successful build of test binaries. 2023-01-04 21:00:11 +02:00
Roman Telezhynskyi eb38a1c26f Successful build of main binaries. 2023-01-04 18:31:50 +02:00
Roman Telezhynskyi c9b9a3fb66 Refactoring. 2023-01-02 14:20:00 +02:00
Roman Telezhynskyi cfe341e7b9 Placeholder for area units. #193 2023-01-02 14:19:46 +02:00
Roman Telezhynskyi 86ee89414a Sort list of placeholders and show tooltips. #193 2023-01-02 13:59:24 +02:00
Roman Telezhynskyi 386760ff3f New placeholders CurrentArea and CurrentSeamLineArea. #193 2023-01-02 11:32:21 +02:00
Roman Telezhynskyi aeaf962a57 Fix preparing placeholders for final measurements. #193 2022-12-31 15:27:44 +02:00
Roman Telezhynskyi d353e6616f Change modifier to avoid conflict on mac os. 2022-11-23 13:54:35 +02:00
Roman Telezhynskyi 78a123b266 Fix build with MSVC. 2022-11-22 17:01:01 +02:00
Roman Telezhynskyi 68d7ce7af1 Lupdate. 2022-11-22 12:37:18 +02:00
Roman Telezhynskyi dc565c55b8 Fix build. 2022-11-22 12:36:56 +02:00
Roman Telezhynskyi a749d15376 Control Z value for a background image with keyboard. 2022-11-22 12:00:34 +02:00
Roman Telezhynskyi 6e924ba0fa Fix positioning a transformation origin for a background image. 2022-11-22 09:57:47 +02:00
Roman Telezhynskyi 6ec85f3bdf New option Interactive tools. 2022-11-17 16:42:03 +02:00
Roman Telezhynskyi 2f683930e9 Fix typo. 2022-11-14 18:02:00 +02:00
Roman Telezhynskyi d6e417b197 Export area of piece in Final measurements. 2022-11-10 11:46:05 +02:00
Roman Telezhynskyi b4256fb500 Optimize includes. 2022-11-10 11:46:04 +02:00
Roman Telezhynskyi 99fad389b0 Refactoring. 2022-11-08 16:58:20 +02:00
Roman Telezhynskyi 52c8e47e60 New option "Seam line on drawing".
There are two ways to export a sew line to DXF-AAMA: on Draw layer or Sew line layer. The second is not standard, but preferable way for most CAD systems.
2022-11-04 17:16:50 +02:00
Roman Telezhynskyi 9c7ab2fb4a Refactor CastTo. 2022-10-28 16:16:13 +03:00
Roman Telezhynskyi 0bf3d93d7e New option Turn point for context menu. 2022-10-28 16:16:13 +03:00
Roman Telezhynskyi bd10a78f55 Successful compilation. 2022-10-28 16:16:13 +03:00
Roman Telezhynskyi 7d6ad602f5 Fix visualization for tool Point from circle and tangent. 2022-09-16 18:47:32 +03:00
Roman Telezhynskyi 44370de134 bpstd::literals::chrono_literals not compatible with GCC 4.8. 2022-09-13 13:10:12 +03:00
Roman Telezhynskyi a37f7a7aa0 Add missing includes. 2022-09-12 20:35:04 +03:00
Roman Telezhynskyi 8059d1c0b8 QPointer doesn't work with QObject::connect in case of GCC 4.8. 2022-09-12 20:32:39 +03:00
Roman Telezhynskyi 1a4a22849c Qt started to support std::chrono since Qt 5.8. 2022-09-08 21:00:14 +03:00
Roman Telezhynskyi 4c3b6a899c Allow resizing Spline path dialog. 2022-09-05 14:38:26 +03:00
Roman Telezhynskyi d56acab0b1 Cppcheck warnings. 2022-08-30 14:42:44 +03:00
Roman Telezhynskyi 83e9a4c8f0 Enable Approximation scale option for Elliptical arc. 2022-08-27 17:57:08 +03:00
Roman Telezhynskyi 1e344d6df0 Fix calculating an elliptical arc. 2022-08-27 16:46:25 +03:00
Roman Telezhynskyi ab75b783b6 Refactoring. 2022-08-24 20:11:12 +03:00
Roman Telezhynskyi e608e13fa1 Explicitly set visualization mode to Show even if not used. 2022-08-24 19:58:58 +03:00
Roman Telezhynskyi b5ec1e61b8 Refactoring.
Use Visualization::AngleToUser method to show angle values in a tooltip.
2022-08-24 19:53:48 +03:00
Roman Telezhynskyi f9bc111159 Optimize ::ShowDialog method. 2022-08-24 19:53:48 +03:00
Roman Telezhynskyi 5262d8afb7 Refactoring.
Rename Visualization::NumberToUser to Visualization::LengthToUser to avoid confusion.
Add Visualization::AngleToUser.
2022-08-24 19:53:48 +03:00
Roman Telezhynskyi 1c0885e766 Improve visualization for tool Elliptical Arc. 2022-08-24 19:44:45 +03:00
Roman Telezhynskyi cdc291a40f Refactoring. 2022-08-24 19:44:45 +03:00
Roman Telezhynskyi 8a94ed2645 Improve visualization for tool Point of intersection circle and segment. 2022-08-24 19:44:45 +03:00
Roman Telezhynskyi 35eedc0a44 Refactoring. 2022-08-23 21:04:23 +03:00
Roman Telezhynskyi be07f701c7 Fix tool Arc with given length. 2022-08-23 21:03:35 +03:00
Roman Telezhynskyi 165da734e3 Refactoring. 2022-08-23 20:42:46 +03:00
Roman Telezhynskyi d7fc36e0d4 Improve visualization for tool Point from circle and tangent. 2022-08-23 19:27:59 +03:00
Roman Telezhynskyi c10279c7e1 Refactoring. 2022-08-23 16:37:58 +03:00
Roman Telezhynskyi b9a2a6715b Refactoring. 2022-08-22 16:36:01 +03:00
Roman Telezhynskyi a13f13e3fc Refactoring.
Optimize includes.
2022-08-22 11:34:02 +03:00
Roman Telezhynskyi 0939d28c41 Improve visualization for tool Point of intersection circles. 2022-08-22 10:51:24 +03:00
Roman Telezhynskyi 4d104a789e Refactoring. 2022-08-22 10:23:51 +03:00
Roman Telezhynskyi cf4145dd94 Refactoring. 2022-08-22 09:15:09 +03:00
Roman Telezhynskyi 097b08af6f Refactoring. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi 4fb6dfbd92 Improve visualization for tool Segment an arc. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi a5c8bab097 Refactoring. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi 94d46a4530 Improve visualization for tool Segment a curved path. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi c136a716f6 Refactoring. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi 63cd0e7b5d Improve visualization for tool Segmenting a simple curve. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi b1d7177952 Refactoring. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi 0f78ef8b05 Improve visualization for tool Special point on shoulder. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi b9dd7d0ee9 Refactoring. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi dd2eacd0d5 Improve visualization for tool Point along bisector. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi 0aac23ec8e Refactoring. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi de3179a37c Improve visualization for tool Point along perpendicular. 2022-08-20 20:09:24 +03:00
Roman Telezhynskyi 48b7c387a8 Refactoring. 2022-08-20 20:09:24 +03:00
Roman Telezhynskyi 3d186c2a37 Improve visualization for tool Point along line. 2022-08-19 13:49:09 +03:00
Roman Telezhynskyi 9a28166539 Refactoring. 2022-08-19 11:20:01 +03:00
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 74da6b8e1e Unit type for increments. 2022-08-03 20:05:09 +03:00
Roman Telezhynskyi 7ae794e0b7 Refactoring. 2022-08-02 20:12:23 +03:00
Roman Telezhynskyi 4dd7b93aab Add function's argument template with name in the Formula Wizard. 2022-08-02 20:11:26 +03:00
Roman Telezhynskyi f020a806d4 Fix main path validation. False positive double curve. 2022-07-12 16:18:42 +03:00
Roman Telezhynskyi 5f2d0e95a8 Fix Valentina app crash after canceling a tool. 2022-06-01 16:42:54 +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 b8872a0319 Code style. 2022-05-11 17:32:09 +03:00
Roman Telezhynskyi 4bf0571dc0 Improve creating an arc by two angles. 2022-05-11 17:32:09 +03:00
Roman Telezhynskyi 1ba202e550 Code style. 2022-05-06 15:11:40 +03:00
Roman Telezhynskyi 92c9160bea Fix visualization for tool Point of intersection line and axis. 2022-05-06 15:11:28 +03:00
Roman Telezhynskyi 2402bfaf9e Fix typos. 2022-03-28 17:40:44 +03:00
Roman Telezhynskyi 6960dd9d00 Fix typos. 2022-03-24 12:42:14 +02: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 e013ce234a System identifies two of the same curve. Closes #171 2022-03-14 18:31:31 +02:00
Roman Telezhynskyi 19f95c8e54 Refactoring. Use TextWidth to simplify code. 2022-02-19 21:26:30 +02:00
Roman Telezhynskyi 499ec96691 Move literals to separate header. 2022-02-18 10:36:38 +02:00
Roman Telezhynskyi 080e84ff48 New placeholders. 2022-02-14 14:11:27 +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 f97c18c923 Improve error in check point uniqueness check. 2022-02-05 11:30:32 +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 4b5773c506 Fix build on Windows. 2022-01-29 12:07:53 +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 cb036e8d43 New path validation Invalid segment. 2021-11-24 14:15:21 +02:00
Roman Telezhynskyi cd23cec411 Improved main path validations. 2021-11-24 11:27:44 +02:00
Roman Telezhynskyi 869b9e98e1 Refactoring.
Move GetNodeName to better place.
2021-11-23 17:10:00 +02:00
Roman Telezhynskyi 679bb9af48 Code style. 2021-11-18 13:29:53 +02:00
Roman Telezhynskyi 421a8df4be Remove tool from all visibility groups it in. 2021-11-18 13:29:36 +02:00
Roman Telezhynskyi 2945da4d38 Fix double call of a main path context menu. 2021-11-16 18:52:32 +02:00
Roman Telezhynskyi bd50428b56 Improve validation grainline position. 2021-11-16 18:33:20 +02:00
Roman Telezhynskyi 03e1b5ba3a Increase the limit for the Letter field. 2021-11-05 16:08:13 +02:00
Roman Telezhynskyi bcb786958e Show tooltip about defined user material in the label placeholder list. 2021-10-02 19:15:08 +03:00
Roman Telezhynskyi b6dc3f30b8 Lupdate. 2021-10-01 21:10:16 +03:00
Roman Telezhynskyi eedaa90a63 Revert "Temporary disable silent mode to check which options passed to gcc."
This reverts commit 8c145b9150.
2021-09-25 20:45:05 +03:00
Roman Telezhynskyi 8c145b9150 Temporary disable silent mode to check which options passed to gcc. 2021-09-25 19:33:05 +03:00
Roman Telezhynskyi b861d6a28e GCC warnings. 2021-09-25 17:18:33 +03:00