Commit Graph

545 Commits

Author SHA1 Message Date
Roman Telezhynskyi
df68bfefc8 Remember selected dimension values. 2022-08-06 13:33:07 +03:00
Roman Telezhynskyi
18e2554907 Support for options Force Flipping and Forbid Flipping in Puzzle. 2022-08-05 18:26:00 +03:00
Roman Telezhynskyi
74da6b8e1e Unit type for increments. 2022-08-03 20:05:09 +03:00
Roman Telezhynskyi
672278209d Fix Setup multisize measurements dialog. Improved handling Height dimension. 2022-07-19 20:00:34 +03:00
Roman Telezhynskyi
2402bfaf9e Fix typos. 2022-03-28 17:40:44 +03:00
Roman Telezhynskyi
250fa436c0 Fix broken pattern conversion. 2022-03-25 11:15:34 +02:00
Roman Telezhynskyi
1e88d2f8c8 Improve file format conversion. 2022-03-24 12:43:52 +02:00
Roman Telezhynskyi
191cf7e25f Suspend use of qt_ntfs_permission_lookup. QTBUG-101168 2022-03-17 13:35:49 +02:00
Roman Telezhynskyi
d37c68321e Z value change for a layout piece. 2022-02-18 17:57:55 +02:00
Roman Telezhynskyi
ed910db2c3 Fix the layout format conversion. 2022-02-18 16:32:43 +02:00
Roman Telezhynskyi
499ec96691 Move literals to separate header. 2022-02-18 10:36:38 +02:00
Roman Telezhynskyi
715442508d Dimension custom name. 2022-02-14 13:26:24 +02:00
Roman Telezhynskyi
7494b05b92 Fix crash when linked image is missing. 2022-02-11 12:53:51 +02:00
Roman Telezhynskyi
038fbb3540 New measurement type separator. 2022-02-05 15:00:30 +02:00
Roman Telezhynskyi
2d91455ed5 Allow size to have values from 1 to 100 if not a circumference. 2022-02-04 17:15:42 +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
fb001c23a5 Fix build on MSVC. 2022-01-29 15:12:04 +02:00
Roman Telezhynskyi
1d85487ea3 Fix compatibility with Qt 5.6. 2022-01-29 13:15:28 +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
141b33884d Redesign of pattern image.
Preparations for support of background image. #43
2022-01-11 17:24:16 +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
a915ef5a0d Code style. 2021-11-17 16:19:00 +02:00
Roman Telezhynskyi
888dccc2f3 Improve storing visibility group items. Don't store duplicate information. 2021-11-17 16:18:46 +02:00
Roman Telezhynskyi
b861d6a28e GCC warnings. 2021-09-25 17:18:33 +03:00
Roman Telezhynskyi
51ed05e1fa GCC warnings. 2021-09-25 12:57:15 +03:00
Roman Telezhynskyi
2ffda9a073 Introduce *_MARK_NONFINAL_CLASS and *_MARK_NONFINAL_METHOD macroses to suppress GCC warning Wsuggest-final-types. 2021-09-25 11:43:05 +03:00
Roman Telezhynskyi
d83039c4ee Compiler warnings. 2021-09-24 16:53:47 +03:00
Roman Telezhynskyi
ed7703c60c Clang warnings. 2021-09-24 14:57:30 +03:00
Roman Telezhynskyi
b3e52d351e Clang warning. 2021-09-24 14:24:10 +03:00
Roman Telezhynskyi
c7dbbb8146 GCC warning. 2021-09-15 10:22:18 +03:00
Roman Telezhynskyi
4c946d7da5 Fix build with MSVC. 2021-09-14 19:47:41 +03:00
Roman Telezhynskyi
3fea813b9c Watermark support. 2021-09-11 19:39:38 +03:00
Roman Telezhynskyi
18e52f4a70 Use constexpr function instead of macros. 2021-09-11 12:24:09 +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
c867a9a56e Export the Draw mode. Closes #83 2021-06-28 20:05:19 +03:00
Roman Telezhynskyi
4bf9a70a65 Update website link.
We now have new website.
2021-06-22 16:30:22 +03:00
Roman Telezhynskyi
88e681348b Fix build. 2021-06-04 10:43:15 +03:00
Roman Telezhynskyi
18c804c962 Fix closing a pattern file.
Because we did not properly cleared VAbstractPattern class state Valentina thought that after closing the pattern file we still have unsaved changes.

(cherry picked from commit a907ab03ce)
2021-05-26 10:40:45 +03:00
Roman Telezhynskyi
a907ab03ce Fix closing a pattern file.
Because we did not properly cleared VAbstractPattern class state Valentina thought that after closing the pattern file we still have unsaved changes.
2021-05-26 10:40:21 +03:00
Roman Telezhynskyi
66283709d1 Refactoring.
Redesign SetAttributeOrRemoveIf. Add use of a lambda function.
2021-05-25 21:31:02 +03:00
Roman Telezhynskyi
5467e213a2 Read/write empty layout file. 2021-05-22 20:29:33 +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
69da5ba9b7 Fix regression. Incorrect data caching. 2021-05-07 11:19:06 +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
2bb95154cd Fix Tape crash. 2021-02-06 15:52:21 +02:00
Roman Telezhynskyi
d86a483524 Correct reading permissions on Windows. 2021-01-30 19:34:54 +02:00
Roman Telezhynskyi
61867fa2d7 Optimize a measurements file loading time. 2021-01-19 13:25:10 +02:00
Roman Telezhynskyi
c2f2c62b1d Relax requirements for the shiftA attribute. 2021-01-15 11:14:21 +02:00
Roman Telezhynskyi
a58a783aba Merge branch 'develop' into feature/manual-layout 2020-12-23 18:40:33 +02:00
Roman Telezhynskyi
dc350ae0e2 Fix export of pattern recipe. 2020-12-05 12:36:40 +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
0371905c0d Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-11-10 16:00:01 +02:00
Roman Telezhynskyi
37722788bb New pattern format version. 2020-11-04 16:17:16 +02:00
Roman Telezhynskyi
fe8552cec1 New pattern format version. 2020-10-27 18:25:03 +02:00
Roman Telezhynskyi
1b2343e537 Extend list of placeholders.
Added customer email and birth date, all dimensions.
2020-10-16 11:37:49 +03:00
Roman Telezhynskyi
18e1a4a601 Remove gradation information from pattern. 2020-10-16 08:22:43 +03:00
Roman Telezhynskyi
4cea74d63b Loading measurements in Valentina. 2020-10-15 18:05:21 +03:00
Roman Telezhynskyi
ed2bf34f1e Refactoring. Rename folder standard_measurements to multisize_measurements.
Standard measurements is old definition. It was replace with new multisize measurements.
2020-10-13 09:43:19 +03:00
Roman Telezhynskyi
7c66482b67 Conversion multisize measurements to version 0.5.0. 2020-10-05 10:17:39 +03:00
Roman Telezhynskyi
a8ddcc56cc Update individual measurements schema.
Added special units attribute.
2020-10-03 18:53:36 +03:00
Roman Telezhynskyi
daef1799ab New format version. Basic implementation. 2020-10-01 19:09:23 +03:00
Roman Telezhynskyi
e2669b4e2b Fix build on Linux. 2020-07-07 18:55:31 +03:00
Roman Telezhynskyi
20b797b2c5 Merge branch 'develop' into feature/manual-layout. 2020-06-04 13:45:32 +03:00
Roman Telezhynskyi
ca3c5c8532 Do not enable checking ntfs permissions for checking read only status. 2020-06-03 11:44:38 +03:00
Roman Telezhynskyi
82ce2aadfe Added initial support for the manual layout format version converter. 2020-04-23 18:05:00 +03:00
Roman Telezhynskyi
30a27ee85a UUID field for piece. 2020-04-22 14:32:25 +03: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
526892ed5a Auto-created Visibility Group for group operation. Closes smart-pattern/valentina#18. 2020-03-18 14:45:47 +02:00
Roman Telezhynskyi
4fa2b76f01 Fix error in VDomDocument::elementById.
Searching in cache did not check tag if provided.
2020-03-18 14:29:28 +02:00
Roman Telezhynskyi
9dd796cb8c Improve preparing history list.
Basically when we have cleared by garbage collector modeling objects Valentina will try to add them to list, because they still present in tool record list. Additionally this patch brings using multithreading support.
2020-03-09 20:07:17 +02:00
Roman Telezhynskyi
0483dd508e Fix generation of recipe.
Modeling object can be removed by the garment collector. In this case the recipe generator will complain about a missed object. We can happily ignore this case if we deal with modeling object.
2020-02-11 11:29:57 +02:00
Roman Telezhynskyi
8eac0d5c66 Improve code style. 2020-02-11 11:26:55 +02:00
Roman Telezhynskyi
475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +02:00
Roman Telezhynskyi
c8ade52309 Cppcheck warning.
--HG--
branch : develop
2020-01-24 09:47:51 +02:00
Roman Telezhynskyi
0b82f4a18c Improve conversion error message.
Instead of showing path to temp file show path to original file.

--HG--
branch : develop
2020-01-24 09:24:03 +02:00
Roman Telezhynskyi
7e3c7e0f88 Refactoring. Hide compatibility layer behind a function.
toSet(), toList(), swapItemsAt().

--HG--
branch : develop
2020-01-16 19:09:23 +02:00
Roman Telezhynskyi
fa070b56ab Cppcheck warning.
--HG--
branch : develop
2020-01-09 19:04:52 +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
cf1e383d7b Don't use 'char' as a type of enum class.
QDataStream doesn't support serialization for this type.

--HG--
branch : develop
2020-01-07 12:54:01 +02:00
Roman Telezhynskyi
1f6285aef9 Fix deprecation warnings.
(grafted from 686129d90f37b8d0c428092668673d44f06545d8)

--HG--
branch : develop
2020-01-06 20:10:09 +02:00
Roman Telezhynskyi
d0dc209c45 error: implicit conversion changes signedness: 'quint32' (aka 'unsigned int')
to 'int'.

--HG--
branch : develop
2019-12-29 17:13:30 +02:00
Roman Telezhynskyi
1d7667df61 Export tiled PDF with watermark.
--HG--
branch : develop
2019-12-13 10:51:29 +02:00
Roman Telezhynskyi
82792dba6c Speed up bulk removing pieces.
Optimizations for 'do' and 'undo' operations.

--HG--
branch : develop
2019-10-30 15:25:25 +02:00
Roman Telezhynskyi
36d5f245b9 Fix closing a pattern file.
Window title was still not cleaned properly.

--HG--
branch : develop
2019-10-18 14:01:18 +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
030c513784 Resolved issue #976. The pattern does not open.
--HG--
branch : develop
2019-08-20 15:23:31 +03:00
Roman Telezhynskyi
c522651b6b Fix typo.
--HG--
branch : develop
2019-07-15 20:08:22 +03:00
Roman Telezhynskyi
bdaba68a7e Allow to undo change of group visibility.
Added single group visibility change and multiple groups visibility change,
options hide all/show all. Improved speed for hide all/show all options.

--HG--
branch : develop
2019-07-15 19:56:57 +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
8f961300e6 Basic structure for new class VPatternRecipe.
--HG--
branch : feature
2019-07-10 12:42:37 +03:00
Roman Telezhynskyi
422ba5065f Change for support HAIKU.
(grafted from 168b6626b92d229fe00c454592285b40a97cd577)

--HG--
branch : develop
2019-06-24 10:29:50 +03:00