Commit Graph

925 Commits

Author SHA1 Message Date
Roman Telezhynskyi
6e499b7245 Remove missing in Qt6 headers. 2023-02-09 17:24:02 +02:00
Roman Telezhynskyi
38d15cdd41 Fix build on MacOS. 2023-01-21 05:01:21 -08:00
Roman Telezhynskyi
40cef9befb Fix build with qmake. 2023-01-18 17:15:16 +02:00
Roman Telezhynskyi
7b755b6130 windeployqt combines all translations into one file. 2023-01-18 14:57:38 +02:00
Roman Telezhynskyi
3392ea560e Enable full static.h on Windows. 2023-01-17 16:48:31 +03:00
Roman Telezhynskyi
51200a38e2 Suppress warning. 2023-01-17 14:04:33 +03:00
Roman Telezhynskyi
89aab8cb92 Property to enable building appimage. 2023-01-11 13:03:46 +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
cfe341e7b9 Placeholder for area units. #193 2023-01-02 14:19:46 +02:00
Roman Telezhynskyi
386760ff3f New placeholders CurrentArea and CurrentSeamLineArea. #193 2023-01-02 11:32:21 +02:00
Roman Telezhynskyi
6e98acd13a New variable: Piece seam line area. #193 2022-12-31 14:46:01 +02:00
Roman Telezhynskyi
a547822af1 Refactoring.
Method void QMap::insert(const QMap<Key, T> &map) available since Qt 5.15.
2022-12-31 14:41:10 +02:00
Roman Telezhynskyi
db2b6b865b Suppress annoying PNG warning. 2022-12-26 15:35:53 +02:00
Roman Telezhynskyi
ae0b965500 Fix build with MSVC. 2022-11-24 17:33:49 +02:00
Roman Telezhynskyi
a74bb62d97 Fix build with MSVC. 2022-11-24 15:36:44 +02:00
Roman Telezhynskyi
15750a749c Refactoring. Use std::optional. 2022-11-21 16:47:32 +02:00
Roman Telezhynskyi
6ec85f3bdf New option Interactive tools. 2022-11-17 16:42:03 +02:00
Roman Telezhynskyi
d95d755e0d New option Show accuracy radius. 2022-11-14 17:28:51 +02:00
Roman Telezhynskyi
56cdd08e71 Fix build with Qt 5.6. 2022-11-14 16:53:44 +02:00
Roman Telezhynskyi
d6e417b197 Export area of piece in Final measurements. 2022-11-10 11:46:05 +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
bd10a78f55 Successful compilation. 2022-10-28 16:16:13 +03:00
Roman Telezhynskyi
4a89a0892f Introduce new macro Q_DISABLE_ASSIGN_MOVE. 2022-10-08 15:22:17 +03:00
Roman Telezhynskyi
704d9caf08 Detect russian language. 2022-10-04 14:52:09 +03:00
Roman Telezhynskyi
b21fefba3f Prevent loading russian translation. 2022-09-29 11:59:00 +03:00
Roman Telezhynskyi
d3205b853c Port changes from fpm's mainstream. 2022-09-20 11:13:12 +03:00
Roman Telezhynskyi
c4e71a3f60 error: no matching function for call to 'sleep_for(int)'. 2022-09-13 13:54:07 +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
c9edbc6310 Fix error: can't set 'no_instrument_function' attribute after definition.
GCC 4.8 complains about this.
2022-09-12 20:19:05 +03:00
Roman Telezhynskyi
2426838496 Fix error: missing space between '""' and suffix identifier.
GCC 4.8 complains about this.
2022-09-12 17:14:56 +03:00
Roman Telezhynskyi
39e20864e5 Bump version. 2022-09-12 16:30:17 +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
3c1f5c04ca Fix error: literal operator suffixes not preceded by '_' are reserved for future standardization.
Old GCC versions do not allow to suppress the warning in certain cases. Switching to using macro.
2022-09-08 19:10:00 +03:00
Roman Telezhynskyi
d32093bf4d Supperss Wdeprecated-declarations. 2022-09-08 16:58:12 +03:00
Roman Telezhynskyi
8a902d8f66 Backport std::chrono_literals to C++11. 2022-09-08 16:43:21 +03:00
Roman Telezhynskyi
fd173c81cd Improve highlighting file in file browser for Linux. 2022-09-08 15:13:01 +03:00
Roman Telezhynskyi
4c3b6a899c Allow resizing Spline path dialog. 2022-09-05 14:38:26 +03:00
Roman Telezhynskyi
c51559e0ef Try explicit constexpr. 2022-09-04 08:49:32 +03:00
Roman Telezhynskyi
70168ebe6c Fix support Visual Studio 2015. 2022-09-02 17:14:03 +03:00
Roman Telezhynskyi
1e344d6df0 Fix calculating an elliptical arc. 2022-08-27 16:46:25 +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
003c9bf33f Fix build. 2022-08-17 15:51:35 +03:00
Roman Telezhynskyi
5855af6bc9 Fix missing header. 2022-08-17 12:32:48 +03:00
Roman Telezhynskyi
f60858f2e9 Fix macros. 2022-08-16 16:05:04 +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
36180a7c38 Check system locale. 2022-08-03 12:17:04 +03:00
Roman Telezhynskyi
7c1c6deeae Fix crash when default locale is ru.
Additionally fix a common antipattern when loading translations in Qt.
2022-04-22 12:42:46 +03:00
Roman Telezhynskyi
679e68a15b Bump version. 2022-04-18 20:12:47 +03:00
Roman Telezhynskyi
6d77f3ebc0 Remove support for russian language. 2022-03-18 12:28:55 +02:00
Roman Telezhynskyi
06a2e69a67 Update logo. 2022-03-18 10:46:09 +02:00
Roman Telezhynskyi
5d22771428 Improve logging.
Suppress useless warnings.
2022-03-14 17:38:32 +02:00
Roman Telezhynskyi
8837bec33d Fix mirroring a piece label. 2022-02-19 21:17:51 +02:00
Roman Telezhynskyi
499ec96691 Move literals to separate header. 2022-02-18 10:36:38 +02:00
Roman Telezhynskyi
a4658e38c9 Port fix for debugbreak. 2022-02-17 12:28:06 +02:00
Roman Telezhynskyi
080e84ff48 New placeholders. 2022-02-14 14:11:27 +02:00
Roman Telezhynskyi
922920c12c Port changes from debugbreak. 2022-02-07 15:05:15 +02:00
Roman Telezhynskyi
038fbb3540 New measurement type separator. 2022-02-05 15:00:30 +02:00
Roman Telezhynskyi
fd8d2f8a9d Opacity option for a background image. 2022-02-04 11:01:52 +02:00
Roman Telezhynskyi
62ff405cc0 Added scroll area to layout settings dialog. 2022-02-03 17:05:52 +02:00
Roman Telezhynskyi
882f4ba0bf Cppcheck warnings. 2022-01-29 18:27:17 +02:00
Roman Telezhynskyi
a8aa4fdb7b Fix warning 'unused-lambda-capture'. 2022-01-29 11:50:13 +02:00
Roman Telezhynskyi
1b188bf414 Compatibility issues. 2022-01-29 10:59:02 +02:00
Roman Telezhynskyi
a6f0ab2b3f Code style. 2022-01-29 09:46:01 +02:00
Roman Telezhynskyi
357fd3a0ac New feature Background image. Closes #43 2022-01-28 16:54:58 +02:00
Roman Telezhynskyi
783a3faaeb We no longer need this file. 2021-11-22 15:25:04 +02:00
Roman Telezhynskyi
b8b3acbfd3 Improve for a search bar. 2021-11-22 15:24:48 +02:00
Roman Telezhynskyi
8b966019e6 Code style. 2021-11-19 13:23:51 +02:00
Roman Telezhynskyi
d61eda4a41 Option to disable the automatic search for updates. 2021-11-18 14:55:15 +02:00
Roman Telezhynskyi
8d52157b41 Help user to select default GUI language. 2021-10-19 14:43:20 +03:00
Roman Telezhynskyi
4b3b7a8987 Add Don't ask again for Stale layout question dialog. 2021-10-19 11:36:34 +03:00
Roman Telezhynskyi
f13118d12b Bump version. 2021-10-16 14:02:15 +03:00
Roman Telezhynskyi
b861d6a28e GCC warnings. 2021-09-25 17:18:33 +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
d996f7335a Redesign SCASSERT to avoid unintended indentation. 2021-09-25 11:41:26 +03:00
Roman Telezhynskyi
ed7703c60c Clang warnings. 2021-09-24 14:57:30 +03:00
Roman Telezhynskyi
cb30d5e3f4 Seam allowance not correct at intersection curve and axis. Closes #145 2021-09-24 12:51:39 +03:00
Roman Telezhynskyi
3fea813b9c Watermark support. 2021-09-11 19:39:38 +03:00
Roman Telezhynskyi
d32bbfcfd4 Layout properties. 2021-08-25 16:58:50 +03:00
Roman Telezhynskyi
4646b6c1fb Default layout settings. 2021-08-21 16:14:03 +03:00
Roman Telezhynskyi
e5105e4eed Merge branch 'develop' into feature/manual-layout 2021-07-26 16:47:54 +03:00
Roman Telezhynskyi
5b7e98bf48 Bump version. 2021-07-01 17:12:34 +03:00
Roman Telezhynskyi
da3e6a8dd7 Bump version. 2021-06-29 17:31:40 +03:00
Roman Telezhynskyi
b2b7dff106 Fix regression. Fix correct handle export format for exporting details in the Detail mode. 2021-06-28 10:25:52 +03:00
Roman Telezhynskyi
f5a5fadc52 Optimize calls. 2021-06-23 15:58:43 +03:00
Roman Telezhynskyi
4bf9a70a65 Update website link.
We now have new website.
2021-06-22 16:30:22 +03:00
Roman Telezhynskyi
a9711316ec Refactoring. 2021-05-21 21:33:17 +03:00
Roman Telezhynskyi
06d19ace25 Dialog File > Preferences. 2021-05-21 20:51:46 +03:00
Roman Telezhynskyi
d10355b400 File > Save functions. 2021-05-21 17:17:22 +03:00
Roman Telezhynskyi
68c6c033b4 Merge branch 'develop' into feature/manual-layout 2021-05-15 11:27:37 +03:00
Roman Telezhynskyi
5c8fbbcc59 Fix getting the latest tag distance. #126 2021-05-13 21:38:24 +03:00
Roman Telezhynskyi
1ea8e1baaa Bump version. 2021-05-13 14:24:05 +03:00
Roman Telezhynskyi
8e94e4f0dc Update debugbreak to the latest version.
Since Clang 10 Clang doesn't like `gnu_inline` attribute.
2021-05-13 11:13:20 +03:00
Roman Telezhynskyi
69da5ba9b7 Fix regression. Incorrect data caching. 2021-05-07 11:19:06 +03:00
Roman Telezhynskyi
f4eb8330b3 Merge branch 'develop' into feature/manual-layout 2021-04-24 13:05:13 +03:00
Roman Telezhynskyi
e1fa77510b Remember last selected export format. 2021-04-23 18:03:16 +03:00
Roman Telezhynskyi
f85c29649b Bump version. 2021-03-31 17:22:18 +03:00
Roman Telezhynskyi
95fb3f3d89 Pattern label template placeholder with dimension label value. Closes #109 2021-03-29 15:06:32 +03:00
Roman Telezhynskyi
80b6c97b3a Bump version. 2021-02-26 16:21:54 +02:00
Roman Telezhynskyi
0138e5a321 Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2021-02-24 16:26:11 +02:00
Roman Telezhynskyi
af1a77f1f1 Fix regression with country flags.
Since Qt 5.12 QLocale::countryToString returns names of countries with spaces.
2021-02-21 19:39:06 +02:00
Roman Telezhynskyi
c8f12690bc Clean pattern messages.
Replace \" with ".
2021-02-17 19:07:55 +02:00
Roman Telezhynskyi
c10611605b Bump version. 2021-02-09 19:53:05 +02:00
Roman Telezhynskyi
2bb95154cd Fix Tape crash. 2021-02-06 15:52:21 +02:00
Roman Telezhynskyi
42e5c0be5b Bump version. 2021-01-31 15:59:25 +02:00
Roman Telezhynskyi
1935d7cb13 Bump version. 2021-01-26 15:38:47 +02:00
Roman Telezhynskyi
8b15f4aed6 Final measurement printout on pattern piece. Closes #85 2021-01-23 21:37:36 +02:00
Roman Telezhynskyi
8123c67e7c Move Pattern Label Data tab to piece dialog. Closes #89 2021-01-23 20:27:51 +02:00
Roman Telezhynskyi
6f3e65e30e Merge branch 'develop' into feature/manual-layout 2020-12-26 22:29:10 +02:00
Roman Telezhynskyi
3c0c624682 Don't check warnings for a legacy mac os x build. 2020-12-26 19:44:55 +02:00
Roman Telezhynskyi
abe92c667d Temporary enable full output for macosx. 2020-12-25 09:40:18 +02:00
Roman Telezhynskyi
de6e4d6fed Fix a test crash. 2020-12-24 13:04:56 +02:00
Roman Telezhynskyi
a58a783aba Merge branch 'develop' into feature/manual-layout 2020-12-23 18:40:33 +02:00
Roman Telezhynskyi
abb4397901 Introducing VPrintLayout class.
Refactoring printing a layout.
2020-12-23 15:30:06 +02:00
Roman Telezhynskyi
4b2e8c0c82 Don't use static_cast for downcast. 2020-12-19 17:15:28 +02:00
Roman Telezhynskyi
c3142b8b07 Remove deprecated QPrinter methods. 2020-12-19 13:13:03 +02:00
Roman Telezhynskyi
58cae6f66c New option "Don't use the native file dialog". 2020-12-17 18:43:15 +02:00
Roman Telezhynskyi
7002097362 Bump version. 2020-12-04 09:39:13 +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
76f195121e Bump version. 2020-11-23 10:48:58 +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
4def392945 Bump version. 2020-11-17 14:12:51 +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
e730cba188 Bump version. 2020-11-12 16:34:56 +02:00
Roman Telezhynskyi
8c70272e60 Bump version. 2020-11-11 09:53:43 +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
2f9708337d Cleaning code. 2020-10-31 10:14:08 +02:00
Roman Telezhynskyi
188d7097e1 New versioning schema. Closes #5 2020-10-24 12:23:35 +03:00
Roman Telezhynskyi
34e1391ecb Remove translation for label placeholders. 2020-10-16 13:55:51 +03:00
Roman Telezhynskyi
d10f20f399 Extend placeholders list with list of measurements. 2020-10-16 13:43:54 +03: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
23e6d0f830 Allow a user to select dimensions for individual measurements. 2020-10-15 09:35:08 +03:00
Roman Telezhynskyi
4a12c1ca74 Continue improving dialog Dimension restrictions. 2020-10-06 18:00:53 +03:00
Roman Telezhynskyi
484b92a38e Dialog setup miltisize measurements. 2020-09-28 16:38:32 +03:00
llocram
1a2c5de357 Replaced hand-crafted reverse algorithm with std::reverse 2020-08-28 14:09:16 +02:00
Roman Telezhynskyi
dc14f164be Fix error in Reverse function. 2020-07-13 18:23:15 +03:00
Roman Telezhynskyi
9389cb546c Refactoring. Redesign a container reversing method. 2020-07-13 16:28:59 +03:00
Roman Telezhynskyi
acac092ff3 Fix path to AppImage root folder.
Valentina relies on absolute paths to find path to components. In case of AppImage path will be mimicked, but root must be corrected to take into account tmp folder AppImage mounts data.
2020-07-13 16:28:59 +03:00
Roman Telezhynskyi
cc506e96ea Fix hardcoded path to package data directory. It should be controlled over prefix. #56 2020-07-11 10:52:53 +03:00
Roman Telezhynskyi
158edcc093 Use of QButtonGroup::buttonClicked has been deprecated since Qt 5.15. 2020-07-08 11:29:40 +03:00
Roman Telezhynskyi
e31a22654e Use of Qt::MatchRegExp deprecated since Qt 5.15. Use Qt::MatchRegularExpression instead. 2020-07-08 10:31:53 +03:00
Roman Telezhynskyi
dd9cfb39f5 More deprecation warnings. 2020-07-07 19:15:43 +03:00
Roman Telezhynskyi
e2669b4e2b Fix build on Linux. 2020-07-07 18:55:31 +03:00
Roman Telezhynskyi
c3e935029e More deprecation warnings. 2020-07-07 17:48:26 +03:00
Roman Telezhynskyi
3383df193b More deprecation warnings. 2020-07-07 10:51:00 +03:00
Roman Telezhynskyi
2da8f70f86 Optimize tool box position for big screen resolutions. Closes smart-pattern/valentina#45.
Instead of forcing users to one possible choice add an option to control size policy for the tool box.
2020-06-01 12:21:09 +03:00
Roman Telezhynskyi
7b1449f11e Redesign settings.
All apps settings classes moved to binaries. Use common part to get access from static libraries. Fixed issues with VMainGraphicsView class.
2020-05-10 18:32:26 +03:00
Roman Telezhynskyi
a009e25004 Fix (de)serialize enums into QDataStream.
It is very important to use exactly the same way across all Qt versions we need to support. Otherwise, it will break interchange between Valentina versions built on different Qt versions.
2020-05-09 12:36:03 +03:00
Roman Telezhynskyi
3a675f0552 New default folder Manual layouts. 2020-04-21 18:57:11 +03:00
Roman Telezhynskyi
51e0694f36 Merge branch 'develop' into feature/manual-layout. 2020-04-11 10:38:14 +03:00
Roman Telezhynskyi
952298a477 Fix invalid header. 2020-03-29 20:52:26 +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
49828889e2 New layout generator option: Prefer one sheet solution. 2020-03-22 16:22:03 +02:00
Roman Telezhynskyi
c8526f2eb0 Setting scale factor for export and print. 2020-03-21 18:15:29 +02:00
Roman Telezhynskyi
4ce51e2662 Refactoring. Add additional constructor for class QSettings. 2020-03-07 10:58:18 +02:00
Roman Telezhynskyi
5a10bd7f63 Puzzle application class. 2020-02-16 19:18:39 +02:00
Roman Telezhynskyi
fa97850b0f Suppress warning inside of qvector.h. 2020-01-31 17:49:06 +02:00
Roman Telezhynskyi
93fb90153f Fix finding the latest tag distance.
Switch to git.
2020-01-31 09:00:40 +02:00
Roman Telezhynskyi
475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +02:00
Roman Telezhynskyi
acfd1ac01d Fix build.
--HG--
branch : develop
2020-01-20 14:03:57 +02:00
Roman Telezhynskyi
61edf4d91a Fix build.
--HG--
branch : develop
2020-01-20 13:51:56 +02:00
Roman Telezhynskyi
f64a33fb98 Resolved issue #992. QXcbConnection: XCB Error.
--HG--
branch : develop
2020-01-20 10:14:44 +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
ad45daddeb Fix build.
--HG--
branch : develop
2020-01-17 14:44:25 +02:00
Roman Telezhynskyi
7998687b03 Refactoring. Hide compatibility layer behind a function.
fromList().

--HG--
branch : develop
2020-01-16 19:46:05 +02:00
Roman Telezhynskyi
658eafc3d3 Refactoring. Hide compatibility layer behind a function.
toVector().

--HG--
branch : develop
2020-01-16 19:20:55 +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
98a88ed529 Refactoring. Hide compatibility layer behind a function.
QLineF::intersects.

--HG--
branch : develop
2020-01-16 17:34:08 +02:00
Roman Telezhynskyi
24e50455b0 Improve conversion for dxf file export.
We never checked if it really works. And it doesn't in many cases. Not always
Qt recognizes standard ANSI_* names as valid aliases for codepages. Because
codec itself can have many aliases we will test them one by one until one will
fit.

--HG--
branch : develop
2020-01-16 14:10:49 +02:00
Roman Telezhynskyi
74218e82bc Try another way to fix build.
--HG--
branch : develop
2020-01-12 13:25:35 +02:00
Roman Telezhynskyi
f63e3ff1ad Fix build.
--HG--
branch : develop
2020-01-12 12:34:12 +02:00
Roman Telezhynskyi
5658e0b0d5 Fix copy paste error.
--HG--
branch : develop
2020-01-07 14:21:47 +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
5177057be1 Since Qt 5.14 enumerations can be serialized through QDataStream without the
need of manually defining streaming operators. Enum classes are
serialized using the declared size.

--HG--
branch : develop
2020-01-07 09:45:26 +02:00
Roman Telezhynskyi
15852ed2cd Add missing icon in Windows icon theme.
--HG--
branch : develop
2019-12-28 18:06:06 +02:00
Roman Telezhynskyi
1d7667df61 Export tiled PDF with watermark.
--HG--
branch : develop
2019-12-13 10:51:29 +02:00
Roman Telezhynskyi
037ca99280 Refactoring. Move the code that gets path to exe file to separate module. DRY.
--HG--
branch : develop
2019-11-29 14:40:00 +02:00
Roman Telezhynskyi
18284289a0 Forgot to add a correction.
--HG--
branch : develop
2019-11-29 12:24:00 +02:00
Roman Telezhynskyi
7624b27409 BinReloc to get path to exe directory.
--HG--
branch : develop
2019-11-29 11:40:00 +02:00
Roman Telezhynskyi
df79ea7395 Test idea that Qt classes internally use ICU.
--HG--
branch : develop
2019-11-29 08:49:32 +02:00
Roman Telezhynskyi
1d28dd5be9 u_setDataDirectory expects const * char.
--HG--
branch : develop
2019-11-29 08:15:29 +02:00
Roman Telezhynskyi
50b929ea48 u_setDataDirectory to define path to ICU data.
--HG--
branch : develop
2019-11-28 16:42:06 +02:00
Roman Telezhynskyi
866a801f38 Auto refresh the list with each parse.
--HG--
branch : develop
2019-11-28 15:17:27 +02:00
Roman Telezhynskyi
0c78511cfc Set environment variable ICU_DATA on runtime.
This time before QApplication and manually getting the application dir path.

--HG--
branch : develop
2019-11-26 19:56:40 +02:00
Roman Telezhynskyi
f81d814bb2 QCoreApplication::applicationDirPath returns empty string until we do not init
QApplication instance.

--HG--
branch : develop
2019-11-26 16:44:52 +02:00
Roman Telezhynskyi
a59f4d7923 Fix crash when QTextCodec::codecForMib returns null.
--HG--
branch : develop
2019-11-25 11:34:17 +02:00
Roman Telezhynskyi
9e25e6de24 Introducing vRound function.
Shortcut to round double to X points decimal.

--HG--
branch : develop
2019-11-19 15:46:11 +02:00
Roman Telezhynskyi
36e839ed5d Move to top and include qt_windows.h.
--HG--
branch : develop
2019-11-15 09:51:31 +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
Andrey Ushakov
ea75af2f46 New command line option --cropWidth. Helps to crop unused width of paper.
--HG--
branch : develop
2019-10-16 11:16:16 +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
01798ee422 Cppcheck warning.
--HG--
branch : develop
2019-08-22 17:47:48 +03:00
Roman Telezhynskyi
4d54c0c44c Fix typo in Valentina manpage.
Some cyrillic characters were used instead of latin.

--HG--
branch : develop
2019-07-25 08:10:08 +03:00
Roman Telezhynskyi
8e481d6fea Fix error: 'find' is deprecated: Use bool find(const QString &, QPixmap *)
instead.

--HG--
branch : develop
2019-07-24 15:10:13 +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
44345085c2 New option --manualPriority.
Helps to disable following manual priority without need to change settings for
each piece.

--HG--
branch : develop
2019-07-21 16:26:21 +03:00
Roman Telezhynskyi
1ab19c05a3 Refactoring. Move VFuzzyComparePoints to VGeometry static library.
--HG--
branch : develop
2019-07-21 15:04:08 +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
2ac4267dd3 Fix locking file after double save as.
(grafted from 4828cd4acfa596166fe4c8a32f505045b86cab9c)

--HG--
branch : develop
2019-07-04 17:13:33 +03:00
Roman Telezhynskyi
e8804c90bb New layout option --nestQuantity.
--HG--
branch : develop
2019-07-04 14:33:45 +03:00
Roman Telezhynskyi
9042cd000c Refactoring.
--HG--
branch : develop
2019-07-01 18:24:46 +03:00
Roman Telezhynskyi
efa1bc6f27 Missed return statement.
--HG--
branch : develop
2019-07-01 18:18:54 +03:00
Roman Telezhynskyi
fc73ace034 Fix access to private member.
--HG--
branch : develop
2019-07-01 18:13:46 +03:00
Roman Telezhynskyi
4bd9cf381e QDataStream streaming operator for QFlags added only since Qt 5.9.
--HG--
branch : develop
2019-07-01 17:58:46 +03:00
Roman Telezhynskyi
03b8758781 All classes which work with QDataStream must provide a header.
--HG--
branch : develop
2019-07-01 13:25:03 +03:00
Roman Telezhynskyi
c536c40628 Refactor AboutToQuit.
--HG--
branch : develop
2019-07-01 12:47:06 +03:00
Roman Telezhynskyi
35eb1cecff Refactoring.
--HG--
branch : develop
2019-07-01 12:11:18 +03:00
Roman Telezhynskyi
0658d92688 New marcos Q_DISABLE_ASSIGN.
--HG--
branch : develop
2019-07-01 11:33:29 +03:00
Roman Telezhynskyi
9030cfd52e Backport QScopeGuard class.
--HG--
branch : develop
2019-06-12 08:30:32 +03:00
Roman Telezhynskyi
a62c2bfb55 Fix function VFuzzyComparePoints.
--HG--
branch : develop
2019-06-08 08:40:56 +03:00
Roman Telezhynskyi
5c55778d66 Since Q5.12 available support for C++17.
--HG--
branch : develop
2019-05-28 17:41:15 +03:00
Roman Telezhynskyi
bcc2eab0fb Fixing error: 'auto' return without trailing return type; deduced return types
are a C++14 extension.

--HG--
branch : develop
2019-05-28 17:25:42 +03:00
Roman Telezhynskyi
d5a1f96bdd constFirst() introduced since Qt 5.6.
--HG--
branch : develop
2019-05-28 16:21:52 +03:00
Roman Telezhynskyi
e9d77c747b Refactoring.
--HG--
branch : develop
2019-05-28 16:20:53 +03:00
Roman Telezhynskyi
1cf3e6dda1 Raise the minimum value for curve approximation to 0.2.
With 0.1 Valentina produces visible errors.

--HG--
branch : develop
2019-05-27 18:51:55 +03:00
Roman Telezhynskyi
5838537033 Resolved issue #725. Improve labels on drawing.
--HG--
branch : develop
2019-05-08 19:22:55 +03:00
Roman Telezhynskyi
2c58263df1 Two new passmark types: U and Box.
--HG--
branch : develop
2019-04-23 20:56:11 +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
3b2b51fa74 Update man.
--HG--
branch : feature
2019-03-30 11:48:20 +02:00
Roman Telezhynskyi
290676a2a6 Refactoring. Return value or default.
--HG--
branch : feature
2019-03-29 19:50:17 +02:00
Roman Telezhynskyi
248b0e3eeb Refactoring. Use std::initializer_list.
--HG--
branch : feature
2019-03-29 11:38:46 +02:00
Roman Telezhynskyi
47bcfd74ab Changes for dialog.
--HG--
branch : feature
2019-03-29 11:31:17 +02:00
Roman Telezhynskyi
a214a78006 Continue replacing custom *_FALLTHROUGH macroses with Q_FALLTHROUGH().
--HG--
branch : develop
2019-03-27 13:31:02 +02:00
Roman Telezhynskyi
fc5b991174 Use Q_FALLTHROUGH instead of V_FALLTHROUGH.
--HG--
branch : develop
2019-03-16 12:22:09 +02:00
Roman Telezhynskyi
715389d35d Use Qt's Q_DECL_UNUSED instead of internal V_UNUSED.
--HG--
branch : develop
2019-03-16 12:02:00 +02:00
Roman Telezhynskyi
c4d07125dc Refactoring define new type for id value.
--HG--
branch : develop
2019-03-26 17:15:03 +02:00
Roman Telezhynskyi
9b1cdb1848 Improve localization of modifier keys.
--HG--
branch : develop
2019-02-14 13:18:16 +02:00
Roman Telezhynskyi
864d3568c0 Resolved issue #932. 2nd version V passmarks.
--HG--
branch : develop
2019-01-24 09:26:57 +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
77cb644f90 Refactoring. Fixing static analyzers warnings.
--HG--
branch : develop
2019-01-14 17:56:05 +02:00
Roman Telezhynskyi
7e89a13476 Refactoring. Fixing static analyzers warnings.
--HG--
branch : develop
2019-01-06 13:46:22 +02:00
Wren Turkal
71f7f40875 Add ability to search measurements by regex.
You do this by prepending "/r/" to the front of the search string.
This makes it much easier to find measurements when one has a lot of
measurements for a given individual.

I also refactored that common table search code to consolidate this
functionality and make it easier to add other search methods in the
future.

--HG--
branch : develop
2019-01-06 01:25:12 -08:00
Wren Turkal
42b00c5c58 Fix the tape app importing of measurments from a pattern
When importing measurements from a pattern in the tape app, it
defaulted to the templates directory instead of the patterns
directory. The patterns directory was set as a setting in the
valentina settings (VSettings) instead of the common settings
(VCommonSettings). I refactored the the setting into the
VCommonSettings and made the tape app use the setting. I was
able to confirm that setting a new pattern directory resulted
in the same pattern directory being used in both Valentina and
tape.

--HG--
branch : develop
2019-01-05 16:46:31 -08:00
Roman Telezhynskyi
e108a1378f New command line option --landscapeOrientation.
--HG--
branch : develop
2018-12-27 16:37:47 +02:00
Roman Telezhynskyi
6016308d58 Resolved issue #651. Improve feature: Layout orientation according to grainline.
--HG--
branch : develop
2018-12-27 15:54:29 +02:00
Roman Telezhynskyi
7218098165 Fixing error: invalid use of incomplete type class QMarginsF.
--HG--
branch : develop
2018-12-23 21:02:59 +02:00
Roman Telezhynskyi
cbd991a8b0 Refactoring. Use relaxed constexpr for ToPixel, FromPixel, UnitConvertor and
VFuzzyComparePossibleNulls.

--HG--
branch : develop
2018-12-23 20:09:57 +02:00
Roman Telezhynskyi
6403941406 Fixed issue #914. Filtering custom seam allowance paths prevent including more
than one.
(grafted from 07fec74fad050330a1161776e27bb6c877354a59)

--HG--
branch : develop
2018-12-21 13:01:32 +02:00