Commit graph

4218 commits

Author SHA1 Message Date
Roman Telezhynskyi de0ffa0148 Tool box redesign. 2023-07-10 19:23:56 +03:00
Roman Telezhynskyi 276c620535 Fix crash after using tool Union of details. 2023-07-10 19:23:56 +03:00
Roman Telezhynskyi 3e2a44d2ab Refactoring.
Code style.
2023-07-10 19:23:56 +03:00
Roman Telezhynskyi 83c914f47d Export to HP-GL format. 2023-07-10 19:23:56 +03:00
Roman Telezhynskyi 633bd18899 Qt5's QFont::fromString() isn't compatible with Qt6's QFont::toString().
Cover more cases.
2023-07-07 16:43:03 +03:00
Roman Telezhynskyi 1e2f1f7708 Refactoring.
Code style.
2023-07-07 16:29:12 +03:00
Roman Telezhynskyi 2672eaeb0e Fix build. 2023-06-30 09:20:02 +03:00
Roman Telezhynskyi b443159cf5 Fix compatibility with < Qt 5.15. 2023-06-29 19:08:39 +03:00
Roman Telezhynskyi e6533cb697 Fix compatibility with < Qt 6.1. 2023-06-29 18:16:04 +03:00
Roman Telezhynskyi 7e9ed594ea Send countryId attribute to check if we can populate country information. 2023-06-29 17:57:40 +03:00
Roman Telezhynskyi 791aa22050 Send repo revision. 2023-06-29 17:54:54 +03:00
Roman Telezhynskyi 003a17a06d Fix build issues. 2023-06-29 16:04:18 +03:00
Roman Telezhynskyi c132d5676d Fix build issues. 2023-06-28 10:19:17 +03:00
Roman Telezhynskyi 2c1b151853 Add missing stable.h. 2023-06-27 15:01:14 +03:00
Roman Telezhynskyi 85bda5a28b Fix build issues. 2023-06-27 14:22:49 +03:00
Roman Telezhynskyi eaf9d65339 System to collect usage statistic. 2023-06-27 14:15:21 +03:00
Roman Telezhynskyi 53dc4135e3 Refactoring.
Code style.
2023-06-27 13:45:46 +03:00
Roman Telezhynskyi 9f04b0feb3 Add missing includes. 2023-06-26 10:33:03 +03:00
Roman Telezhynskyi 3a39d8854f QRecursiveMutex available only since Qt 5.14. 2023-06-26 10:12:54 +03:00
Roman Telezhynskyi 1fb9d82f61 Fix compatibility with Qt 5.9. 2023-06-24 16:24:53 +03:00
Roman Telezhynskyi 97fd973352 Fix build. 2023-06-24 13:57:00 +03:00
Roman Telezhynskyi 61bdf7cd82 Fix build. 2023-06-24 13:04:01 +03:00
Roman Telezhynskyi e85c548b81 Fix build. 2023-06-24 12:07:41 +03:00
Roman Telezhynskyi aeba78f127 Compatibility with Qt 6. 2023-06-24 09:33:35 +03:00
Roman Telezhynskyi 8b29cd6b36 Refactoring.
Code style.
2023-06-24 09:33:01 +03:00
Roman Telezhynskyi 914a2c9d09 Fix build. 2023-06-24 08:55:29 +03:00
Roman Telezhynskyi 640f9342cf Refactoring. 2023-06-23 09:12:36 +03:00
Roman Telezhynskyi c78a51e9a0 Using QSaveFile in some cases not enough to prevent loosing content of a file. 2023-06-22 18:32:13 +03:00
Roman Telezhynskyi 81141acf6d Support for single-line fonts. 2023-06-22 18:30:43 +03:00
Roman Telezhynskyi 1847115627 Refactoring.
Code style.
2023-06-21 10:24:51 +03:00
Roman Telezhynskyi b5779ca3e8 Refactoring.
Code style.
2023-06-08 13:20:20 +03:00
Roman Telezhynskyi 3a7803b78f Add missing include. 2023-05-22 18:27:01 +03:00
Roman Telezhynskyi 7410d188ce Piece labels line break. 2023-05-22 17:30:18 +03:00
Roman Telezhynskyi e540c6292c Refactoring.
Fix code style.
2023-05-22 17:27:42 +03:00
Roman Telezhynskyi 1a0ca6c782 Refactoring.
Fix code style.
2023-05-18 10:27:40 +03:00
Roman Telezhynskyi baba595be3 Fix compatibility with Qt 5.6. 2023-05-18 10:27:25 +03:00
Roman Telezhynskyi 9878a2dba1 Fix issues with translations. 2023-05-17 16:25:27 +03:00
Roman Telezhynskyi 9c0fe9131a Refactoring.
Fix code style.
2023-05-17 16:24:27 +03:00
Roman Telezhynskyi f69eaafe86 Independent translation for piece labels. 2023-05-16 19:21:17 +03:00
Roman Telezhynskyi e2815f39ed Fix preparing placeholders for piece areas. 2023-05-16 19:21:16 +03:00
Roman Telezhynskyi 7320c1c5df Refactoring.
Fix code style.
2023-05-16 19:21:16 +03:00
Roman Telezhynskyi 3ce8e6e5a7 Refactoring.
Fix method name.
2023-05-16 17:37:53 +03:00
Roman Telezhynskyi bdd152dd83 Fix build issues. 2023-05-12 10:42:39 +03:00
Roman Telezhynskyi c704321d5a Correct the unit symbol. 2023-05-11 22:23:24 +03:00
Roman Telezhynskyi ded2829dcb Fix active tab by default. 2023-05-11 18:27:41 +03:00
Roman Telezhynskyi 325a95bfbc Redesign the notch angle. 2023-05-11 18:21:19 +03:00
Roman Telezhynskyi 2aeaebdebc Fix build issues. 2023-05-11 16:23:57 +03:00
Roman Telezhynskyi 113b685c9c Fix build on Windows. 2023-05-10 18:28:38 +03:00
Roman Telezhynskyi 608b90122c Fix Check notch opening. 2023-05-10 18:07:58 +03:00
Roman Telezhynskyi 394df3c775 Fix grainline type description. 2023-05-10 17:31:11 +03:00
Roman Telezhynskyi 54fdcf3cae Fix build issues. 2023-05-10 11:00:34 +03:00
Roman Telezhynskyi 04852c132c Until Qt 6 moc doesn't support trailing return type well. 2023-05-10 11:00:18 +03:00
Roman Telezhynskyi 4a7ce91f65 Refactoring. 2023-05-09 19:28:11 +03:00
Roman Telezhynskyi fbbcf5320f Fix build issues. 2023-05-09 19:27:56 +03:00
Roman Telezhynskyi dd1dccea7d Fix build issues. 2023-05-09 18:59:57 +03:00
Roman Telezhynskyi f5a7e85aae Fix broken tests. 2023-05-09 18:59:32 +03:00
Roman Telezhynskyi b845969fff Fix build issues. 2023-05-08 19:24:14 +03:00
Roman Telezhynskyi a3be5d636f Fix build issues. 2023-05-08 18:28:11 +03:00
Roman Telezhynskyi a180e53829 Fix build issues. 2023-05-08 18:10:06 +03:00
Roman Telezhynskyi 8102edad66 Lupdate. 2023-05-08 17:51:35 +03:00
Roman Telezhynskyi 598682e57b New notch type - Check Notch. Control a notch width and angle with formulas. 2023-05-08 17:51:34 +03:00
Roman Telezhynskyi 66e01d9994 Refactoring. 2023-05-08 17:51:34 +03:00
Roman Telezhynskyi 2fd78f68a5 Simplify number of versions for DXF AAMA/ASTM. 2023-05-03 16:23:54 +03:00
Roman Telezhynskyi 03630fb273 Refactoring. 2023-05-03 14:07:08 +03:00
Roman Telezhynskyi 1311c794c3 Improve handling four ways grainlines. 2023-05-02 17:38:44 +03:00
Roman Telezhynskyi 894e2dffac Refactoring. 2023-05-02 17:38:44 +03:00
Roman Telezhynskyi e7a23df3e6 Improve calculating notches. 2023-04-12 21:05:29 +03:00
Roman Telezhynskyi 7dd8aa0058 Fix Clang warning. 2023-04-10 13:17:14 +03:00
Roman Telezhynskyi cb9f029c0f New key --noGrainline. #163 2023-04-10 13:17:01 +03:00
Roman Telezhynskyi a2b701f083 Show/hide grainline when export. Closes #163 2023-04-10 12:20:18 +03:00
Roman Telezhynskyi 64acbfff4c Fix build with Qt 5.6 on Windows. 2023-04-08 09:58:22 +03:00
Roman Telezhynskyi 265b519aab Fix build with Qt 5.6 on Windows. 2023-04-07 16:12:07 +03:00
Roman Telezhynskyi 857e384221 New grainline type: Four way. 2023-04-07 10:05:29 +03:00
Roman Telezhynskyi 9cd31f1dd7 Fix notches. 2023-04-06 18:21:24 +03:00
Roman Telezhynskyi 433389b798 QScopedPointer::take() was deprecated since 6.1. 2023-04-03 13:44:20 +03:00
Roman Telezhynskyi e7e4e07162 Fix seam allowance. Loose requirements to case with prong. 2023-04-03 10:50:25 +03:00
Roman Telezhynskyi 944d9e71e0 Fix compatibility with Richpeace DXF-AAMA/ASTM R12. 2023-04-01 15:03:34 +03:00
Roman Telezhynskyi b1470053f7 Fix incorrect memory management. 2023-03-30 17:20:16 +03:00
Roman Telezhynskyi e1e3a5106e For calculating area a formula needs CurrentSeamAllowance variable. 2023-03-30 15:41:37 +03:00
Roman Telezhynskyi 69397c1404 Fix pattern file conversion. 2023-03-26 18:13:04 +03:00
Roman Telezhynskyi 9b925dd996 Fix float-point accuracy issue in multisize measurements dimensions. 2023-03-23 08:39:31 +02:00
Roman Telezhynskyi 2334a04fbd Validate dimensions while reading multisize measurements. 2023-03-23 08:36:11 +02:00
Roman Telezhynskyi 3f2806a695 Refactoring. 2023-03-23 08:21:02 +02: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 16b67644b0 freopen_s() is not available for mingw. 2023-03-09 08:13:20 +02:00
Roman Telezhynskyi 37541b600e Fix MSVC warnings. 2023-03-08 18:45:42 +02:00
Roman Telezhynskyi 2bae9a84eb Fix excluding objects in internal path. 2023-03-04 18:37:50 +02:00
Roman Telezhynskyi a791fc0173 Reading from disc doesn't work from on Windows. Read from memory instead. 2023-03-04 09:17:40 +02:00
Roman Telezhynskyi 08362980bd Don't ignore warning Wenum-enum-conversion in this place. 2023-03-04 09:11:17 +02:00
Roman Telezhynskyi b6d1400b23 Fix build without precompiled headers. 2023-02-28 14:31:14 +02:00
Roman Telezhynskyi a3264e34e5 error: expected unqualified-id before 'const' 2023-02-28 12:00:41 +02:00
Roman Telezhynskyi 94f88b1066 Imitate QTextCodec::codecForLocale(). 2023-02-28 10:14:14 +02:00
Roman Telezhynskyi 718f8bf75a Fix build on Windows. 2023-02-26 10:30:56 +02:00
Roman Telezhynskyi 560bf30417 Fix build on Windows. 2023-02-26 00:42:20 +02:00
Roman Telezhynskyi 737352517a Fix build on Windows. 2023-02-25 21:17:14 +02:00
Roman Telezhynskyi bbff839210 Use Q_DECL_UNUSED to suppress warning. 2023-02-22 12:30:35 +02:00
Roman Telezhynskyi 41bcc2a4b4 Move QT_WARNING_DISABLE inside Qt namespace. 2023-02-22 09:48:51 +02:00
Roman Telezhynskyi a66b050ecd Suppress warnings. 2023-02-22 08:46:16 +02:00
Roman Telezhynskyi 48da4ff899 qprintengine.h declares Q_DECLARE_METATYPE(QMarginsF). We can use its macro to check. 2023-02-21 10:20:39 +02:00
Roman Telezhynskyi 647653a40a QString::front() was introduced in Qt 5.10. 2023-02-21 09:57:49 +02:00
Roman Telezhynskyi 647cee5e36 Optimize includes. 2023-02-21 09:52:19 +02:00
Roman Telezhynskyi 178d260dff Fix conflict with declaration from qmuparser lib. 2023-02-21 09:52:08 +02:00
Roman Telezhynskyi fb08b0a317 Try to avoid redeclaration. 2023-02-21 09:40:22 +02:00
Roman Telezhynskyi 47bb2c16d4 Fix installing xerces-c library. 2023-02-20 14:54:48 +02:00
Roman Telezhynskyi 34632ebb43 No need to use std::move in this case. 2023-02-20 13:13:39 +02:00
Roman Telezhynskyi 4f2f05fe9a Don't use XERCES_CPP_NAMESPACE_USE macro. 2023-02-20 13:03:11 +02:00
Roman Telezhynskyi 31a0f3d82c Fix QT issue on MacOS version 11.0 "Big Sur". 2023-02-17 11:09:41 +02:00
Roman Telezhynskyi a40ce741ad Improve labels for V notch. 2023-02-17 09:47:54 +02:00
Roman Telezhynskyi 90f184bb95 Since Qt 6 changed name for Czech Republic. 2023-02-16 21:25:19 +02:00
Roman Telezhynskyi 9f6697ab63 Add path to translation when run an app from install root. 2023-02-16 21:24:09 +02:00
Roman Telezhynskyi a85595ef3d Fix DXF test. 2023-02-16 13:03:30 +02:00
Roman Telezhynskyi 7cc560fd31 Do not escape / in XSD regex. 2023-02-16 12:49:34 +02:00
Roman Telezhynskyi 505cd6d62f Fix error: an attribute list cannot appear here. 2023-02-15 17:53:34 +02:00
Roman Telezhynskyi cae3f28dcc Complete remove use of void QProcess::start(const QString &command, QIODevice::OpenMode mode = ReadWrite). 2023-02-15 17:42:17 +02:00
Roman Telezhynskyi dfcfea88b6 Fix error: no matching member function for call to 'start'. 2023-02-15 17:36:13 +02:00
Roman Telezhynskyi db077cddef Fix dependence condition. 2023-02-15 14:41:44 +02:00
Roman Telezhynskyi 82cb2d83ab Fix error: incomplete type 'QRegularExpression' used in nested name specifier. 2023-02-14 15:55:45 +02:00
Roman Telezhynskyi db8c776e36 Fix build with qmake. 2023-02-14 14:55:19 +02:00
Roman Telezhynskyi 04d2a1c631 Use QtCore/qcontainerfwd.h header for forward declaration containers. 2023-02-14 14:52:48 +02:00
Roman Telezhynskyi 71f58af02e Support for conan package manager. 2023-02-13 19:59:07 +02:00
Roman Telezhynskyi 4a82ea8687 Reading settings file causes crash. 2023-02-13 19:54:17 +02:00
Roman Telezhynskyi 6aaa20010d Remove use of Qt 5 Core Compatibility module. 2023-02-13 19:47:51 +02:00
Roman Telezhynskyi 787cfcfc16 Use QStringConverter to replace QTextCodec. 2023-02-13 19:47:51 +02:00
Roman Telezhynskyi f5f4b1e4c8 Fix math parser tests. 2023-02-10 17:56:36 +02:00
Roman Telezhynskyi 3a88048952 Fix issues with XSD schemas. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi c0deb4d27a Qt XML Patterns deprecated since Qt 5.13.
Use Xerces-C++ instead.
2023-02-10 17:51:22 +02:00
Roman Telezhynskyi e95a29c08e Use of overloaded operator '=' is ambiguous (with operand types 'QChar' and 'qmu::char_type' (aka 'wchar_t')). 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi e8ee6a50ce QTextStream no longer supports QTextCodec. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 1a2374e64e Temporary use Qt 5 Core Compatibility module. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 5daab80a09 Fix incorrect use of Q_NORETURN. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi ac244d92ee Math functions are now declared as templates. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi feba5f04f1 No member named ‘insertMulti’ in QMap.
Before Qt 5.15, QMap distinguished between maps and multi-maps by insert and insertMulti. Qt 5.15 introduces a new class QMultiMap, which inherits from QMap.
2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 88a793319e QLibraryInfo::location is deprecated since 6.0. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 0335bcf571 QRegularExpression wildcard matching. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi e280c309cb Default codec for QTextStream is UTF-8 since Qt6. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi c9786ed7b7 Refactoring. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 659e1f6fc0 Suppress warnings. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 19c5b80b24 QVariant::value<T>() fails to convert unless QVariant::fromValue<T>() has been called previously. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 885a618820 QDropEvent::pos() is deprecated since 6.0. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 10c6ff1181 Enum QVariant::Type is deprecated. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 912e62e92c ‘endl’ is deprecated: Use Qt::endl 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 980b1b5837 Method enterEvent() expects QEnterEvent in Qt6. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 0a6c560382 Refactoring. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi f952368fa1 HiDPI is now enabled by default in Qt6. 2023-02-10 17:51:21 +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 af8505f468 Remove Q_DISABLE_MOVE macro.
Q_DISABLE_MOVE was deprecated.
2023-02-09 17:24:29 +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 3d51968601 Change dependencies for Qt6. 2023-01-28 22:15:32 +02:00
Roman Telezhynskyi e6c7051b6f Multi bundle support. 2023-01-27 09:07:34 -08: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 9226ebf0a2 Fix building release version With GCC. 2023-01-18 16:46:01 +02:00
Roman Telezhynskyi 971869c346 Stage 'windeployqt'. 2023-01-18 15:04:26 +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 f4fb0b4a24 Fix dependencies. 2023-01-17 16:11:44 +03:00
Roman Telezhynskyi 881f0b9826 Replace obsolete method QLayout::setMargin with QLayout::setContentsMargins. 2023-01-17 14:18:27 +03:00
Roman Telezhynskyi 141373a903 Define macros to build shared libraries on windows. 2023-01-17 14:05:41 +03:00
Roman Telezhynskyi 51200a38e2 Suppress warning. 2023-01-17 14:04:33 +03:00
Roman Telezhynskyi 74bd52652e Include vsapoint.cpp only before C++17. 2023-01-16 18:48:21 +02:00
Roman Telezhynskyi f54de83886 Fix build with Clang.
(cherry picked from commit 7ea8441271)
2023-01-16 18:34:45 +02: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 ab3e58519c Refactoring.
(cherry picked from commit 32f6b1be3e)
2023-01-16 18:31:39 +02:00
Roman Telezhynskyi cc0ae88921 Replace static private variable with Q_GLOBAL_STATIC.
(cherry picked from commit f0db72c89b)
2023-01-16 18:31:35 +02:00
Roman Telezhynskyi 0d50387980 Fix missing string argument.
(cherry picked from commit 649113da92)
2023-01-16 18:31:30 +02:00
Roman Telezhynskyi 1669fbd3b2 Fix Lupdate warnings. 2023-01-12 20:12:16 +02: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 3599577b83 Coping files for collection test. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi 26693777cc Define versions for dynamic libraries. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi 33b2fb5ed0 Fix GCC warnings. 2023-01-05 15:14:13 +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 de7239c53b Refactoring. 2023-01-02 11:32:28 +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 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 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 de664c3aa0 error: 'value' is unavailable: introduced in macOS 10.14. 2022-11-22 13:11:08 +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 655f978706 error: inline variables are only available with -std=c++1z or -std=gnu++1z. 2022-11-22 12:18:00 +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 6e77a8401b Fix build. 2022-11-22 08:34:32 +02:00
Roman Telezhynskyi e251bd365c Fix build. 2022-11-22 08:20:22 +02:00
Roman Telezhynskyi 0f2c922ead Fix manual layout format conversion and reading. 2022-11-21 18:52:11 +02:00
Roman Telezhynskyi 1925300ff3 Remove redundant includes. 2022-11-21 18:50:03 +02:00
Roman Telezhynskyi 034fc5822b Fix layout schema. 2022-11-21 16:48:18 +02:00
Roman Telezhynskyi 1c6f891f02 Fix missing schema. 2022-11-21 16:47:55 +02:00
Roman Telezhynskyi 15750a749c Refactoring. Use std::optional. 2022-11-21 16:47:32 +02:00
Roman Telezhynskyi 8cd3bfb803 Only C++17 introduces the rule that static constexpr member variables are implicitly inline. 2022-11-21 08:55:32 +02:00
Roman Telezhynskyi 6ec85f3bdf New option Interactive tools. 2022-11-17 16:42:03 +02:00
Roman Telezhynskyi 64bfafb1d3 Fix build on Windows.
error: must #include <typeinfo> before using typeid.
2022-11-14 20:16:20 +02:00
Roman Telezhynskyi 2f683930e9 Fix typo. 2022-11-14 18:02:00 +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 93be6f3771 error C2397: conversion from 'int' to 'double' requires a narrowing conversion. 2022-11-11 20:56:56 +02:00
Roman Telezhynskyi 595cbc44ac Decrease accuracy to fix float point issues. 2022-11-11 20:50:10 +02:00
Roman Telezhynskyi 165af7c2d8 Fix build for mingw49_32. 2022-11-11 20:46:59 +02:00
Roman Telezhynskyi a329444b4b GCC warning. 2022-11-11 19:03:34 +02:00
Roman Telezhynskyi 5a3669e42b Improve testing paths. 2022-11-11 17:57:34 +02:00
Roman Telezhynskyi 3379fca082 Clang warning. 2022-11-10 17:00:41 +02:00
Roman Telezhynskyi 890486f2db Fix build on Windows. 2022-11-10 16:16:57 +02:00
Roman Telezhynskyi a2a8f7a4f0 Clang warning. 2022-11-10 16:15:11 +02:00
Roman Telezhynskyi accaa68e7a No reasons for method toJson() to be virtual. 2022-11-10 15:40:41 +02:00
Roman Telezhynskyi 4bf88d07ce Fix GCC warnings. 2022-11-10 15:08:10 +02:00
Roman Telezhynskyi c190725f1c Suppress Clang warning. 2022-11-10 15:01:42 +02:00
Roman Telezhynskyi c9abdc350e Suppress Clang warning. 2022-11-10 14:34:35 +02:00
Roman Telezhynskyi 5f62b1bd52 QSharedPointer::get() was introduced in Qt 5.11. 2022-11-10 12:05:06 +02:00
Roman Telezhynskyi 4869bc2d89 error: incomplete result type 'QPainterPath' in function definition. 2022-11-10 11:58:16 +02:00
Roman Telezhynskyi 2e835c2af2 Cppcheck warnings. 2022-11-10 11:55:50 +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 acc8d73271 Refactoring VAbstractPieceData class. 2022-11-04 16:12:58 +02:00
Roman Telezhynskyi d03f378a59 Fix incorrect seam allowance. Closes #181
Case #2.
2022-10-29 15:58:14 +03:00
Roman Telezhynskyi ab43b83ab2 Fix incorrect seam allowance. #181
Case #1.
2022-10-29 15:19:21 +03:00
Roman Telezhynskyi 60b4851753 Fix reading json. 2022-10-29 14:46:10 +03: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 6c0863ca62 Refactoring. 2022-10-28 16:16:13 +03:00
Roman Telezhynskyi bd10a78f55 Successful compilation. 2022-10-28 16:16:13 +03:00
Roman Telezhynskyi 704bbecd2e Improve segmenting a curve for calculating a piece path. 2022-10-28 14:22:20 +03:00
Roman Telezhynskyi 867400332f Fix option Hide labels.
Enabling it and the app restart hides all points.
2022-10-14 17:29:59 +03:00
Roman Telezhynskyi 8b354dcae4 Puzzle: message "Invalid version: Max supported version 0.1.2" when opening 0.1.1 file in Val 0.7.52. Closes #187 2022-10-14 13:58:17 +03:00
Roman Telezhynskyi 4a89a0892f Introduce new macro Q_DISABLE_ASSIGN_MOVE. 2022-10-08 15:22:17 +03:00
Roman Telezhynskyi 05d064af1e Refactoring. 2022-10-08 14:22:52 +03:00
Roman Telezhynskyi 576e3bbbf2 Refactoring. 2022-10-07 16:04:07 +03:00
Roman Telezhynskyi 2eaecc747c Fix loading background image.
Drag and drop doesn't work for new pattern file.
2022-10-04 17:11:11 +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 fb85ec4eec Inconsistent $MEASUREMENT/$INSUNITS variables. 2022-09-20 11:50:38 +03:00
Roman Telezhynskyi d3205b853c Port changes from fpm's mainstream. 2022-09-20 11:13:12 +03:00
Roman Telezhynskyi 7d6ad602f5 Fix visualization for tool Point from circle and tangent. 2022-09-16 18:47:32 +03:00
Roman Telezhynskyi e160bb02ff In C++11 a static constexpr member variable, unlike every other kind of constexpr global variable, has external linkage, thus must be explicitly defined somewhere.
This flaw is fixed in C++17.
2022-09-15 15:01:45 +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 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 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 3cfce3e640 Add missing include. 2022-09-12 17:00:42 +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 daf7574f39 Fix support Visual Studio 2015. 2022-09-01 10:11:44 +03:00
Roman Telezhynskyi 488fbb6baa Fix support Visual Studio 2015. 2022-08-30 17:18:16 +03:00
Roman Telezhynskyi 4bf01918c9 Fix support Visual Studio 2015. 2022-08-30 15:41:33 +03:00
Roman Telezhynskyi d56acab0b1 Cppcheck warnings. 2022-08-30 14:42:44 +03:00
Roman Telezhynskyi b01fd72af9 Fix issues with elliptical arc. 2022-08-30 14:19:40 +03:00
Roman Telezhynskyi 9055f10658 Fix bug in seam allowance. 2022-08-29 18:13:46 +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 714a4e1715 Fix segmenting a simple curve. 2022-08-19 08:29:42 +03:00
Roman Telezhynskyi 7d276461ed Fix export tiled pdf on Mac OS. 2022-08-18 17:10:42 +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 de94a6db84 Fix build on Windows. 2022-08-17 11:51:17 +03:00
Roman Telezhynskyi a0224bd6a2 Fix build on Windows. 2022-08-17 10:01:51 +03:00
Roman Telezhynskyi f60858f2e9 Fix macros. 2022-08-16 16:05:04 +03:00
Roman Telezhynskyi 53905b624a Refactoring. 2022-08-16 16:01:17 +03:00
Roman Telezhynskyi 5b9c1b1d55 Port changes from mainstream. 2022-08-13 19:27:47 +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 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 36180a7c38 Check system locale. 2022-08-03 12:17:04 +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 5a6e021cc9 Do not translate this warning message. 2022-08-02 18:27:14 +03:00
Roman Telezhynskyi 672278209d Fix Setup multisize measurements dialog. Improved handling Height dimension. 2022-07-19 20:00:34 +03:00
Roman Telezhynskyi be430f8c7e Fix incorrect seam allowance. 2022-07-15 17:21:56 +03:00
Roman Telezhynskyi f020a806d4 Fix main path validation. False positive double curve. 2022-07-12 16:18:42 +03:00
Roman Telezhynskyi b4462395e1 "Export from existing ..." now supports multisize measurements. 2022-07-01 10:29:03 +03:00
Roman Telezhynskyi 92398bbf52 Fix warning while segmenting flipped arc. 2022-06-28 12:55:27 +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 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 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