Commit graph

7124 commits

Author SHA1 Message Date
Roman Telezhynskyi 02a92a4c49 Log pattern tool used.
It would be interesting to see popular and less popular tools, and to, at some point, take a deeper dive as to why people use the less often used tools, less often. It brings many interesting discussions - perhaps a tool doesn't quite work as intended or could be improved on.
2023-10-05 10:19:13 +03:00
Roman Telezhynskyi afe27c18c5 Refactoring.
Code style.
2023-10-05 10:18:01 +03:00
Roman Telezhynskyi 427503a886 Add Hide main path option to details's context menu. 2023-10-05 09:02:53 +03:00
Roman Telezhynskyi e7f0628bf9 Fix invalid tool cursor names. 2023-10-04 18:01:11 +03:00
Roman Telezhynskyi d1643a56d6 Block based on IP. 2023-10-04 17:02:18 +03:00
Roman Telezhynskyi 1194c43e55 Fix collecting user statistic.
Fix calculation of screen resolution for primary screen in case of HighDPI screen.

Collect new metrics: screens number, screen pixel ratio, country code (based on IP), platform type, total memory.
2023-10-04 17:01:30 +03:00
Roman Telezhynskyi 5f60af68ca Refactoring.
Code style.
2023-10-04 16:58:56 +03:00
Roman Telezhynskyi ecf93f8d31 Redesign notch context menu to allow quick selection of the notch type. 2023-10-02 18:06:20 +03:00
Roman Telezhynskyi 54a713f545 Remove the attribute if not used. 2023-10-02 18:04:34 +03:00
Roman Telezhynskyi 2fc5492f57 Fix XSD schema for pattern format version 0.9.2. 2023-10-02 15:22:42 +03:00
Roman Telezhynskyi 578e76596d Refactoring. 2023-10-02 15:22:13 +03:00
Roman Telezhynskyi 2db6805629 Fix doubling of mirror tool. 2023-09-27 16:06:56 +03:00
Roman Telezhynskyi 5589ad2072 Fix build on MacOS. 2023-09-22 12:17:14 +03:00
Roman Telezhynskyi c9084d2039 Fix deprecation warning.
'start' is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead.
2023-09-21 18:47:40 +03:00
Roman Telezhynskyi f2596591e5 New module pdftops.
With Qt 6 copy and sign pdftops from brew.
2023-09-21 17:37:49 +03:00
Roman Telezhynskyi 5876813056 Revert "Switch to using external pdftops utility to convert pdf to ps on mac."
This reverts commit 4eba1fa673.
2023-09-21 16:31:41 +03:00
Roman Telezhynskyi ea71d5ff56 Wait Puzzle and Tape before building Valentina on MacOS in case of multibundle. 2023-09-15 09:05:24 +03:00
Roman Telezhynskyi 0e7ff22882 Codesign on macos. 2023-09-12 17:50:15 +03:00
Roman Telezhynskyi bdc9c1a2b6 Update icons look. 2023-09-12 17:49:35 +03:00
Roman Telezhynskyi 4eba1fa673 Switch to using external pdftops utility to convert pdf to ps on mac. 2023-09-12 14:46:23 +03:00
Roman Telezhynskyi f3538df445 New option: Use Tool Groups. 2023-09-12 13:12:49 +03:00
Roman Telezhynskyi 812c0b84d7 Fix GUI freezing while nesting. 2023-09-12 13:12:49 +03:00
Roman Telezhynskyi 4db2e04a84 Fix issue with caching SVG font engine. 2023-08-30 19:29:28 +03:00
Roman Telezhynskyi 5b533473bd Fix issue with high DPI versions of transformation handles. 2023-08-30 16:22:36 +03:00
Roman Telezhynskyi e29ab9c7d9 New option: Pointer mode. 2023-08-29 18:49:16 +03:00
Roman Telezhynskyi 4f2fb335fa Improve comments. 2023-08-29 16:51:56 +03:00
Roman Telezhynskyi d0ddc4d108 Fix loading hiDPI version of cursors. 2023-08-28 19:57:39 +03:00
Roman Telezhynskyi 29a89de9b4 cannot read property 'version' of undefined 2023-08-28 17:35:41 +03:00
Roman Telezhynskyi d5f69e102a Move cursors cursor-arrow-openhand and cursor-arrow-closehand to VMisc library. 2023-08-28 17:25:31 +03:00
Roman Telezhynskyi a293d441d7 Explicitly link to libcrypto and libssl to avoid error: Failed to load libssl/libcrypto. 2023-08-28 17:25:31 +03:00
Roman Telezhynskyi 24adb97b5a Fix build. 2023-08-26 09:59:06 +03:00
Roman Telezhynskyi 9fa969cbb1 Guard font size to prevent a warning show. 2023-08-26 09:51:55 +03:00
Roman Telezhynskyi e2c6fe5124 Fix scrollbar handle color for dark mode. 2023-08-26 09:43:13 +03:00
Roman Telezhynskyi d3846ba757 MSVC warnings. 2023-08-23 11:41:52 +03:00
Roman Telezhynskyi 1388bf3f95 Fix toolbox icon size switch. 2023-08-22 18:44:32 +03:00
Roman Telezhynskyi c5d1a4d778 Fix build. 2023-08-22 18:00:08 +03:00
Roman Telezhynskyi 84844e257b Remove buggy test. 2023-08-22 15:38:53 +03:00
Roman Telezhynskyi 904c18a7f9 Fix build. 2023-08-22 15:16:20 +03:00
Roman Telezhynskyi 5f091344fa Return libdxfrw internal text codec converter. 2023-08-21 19:13:47 +03:00
Roman Telezhynskyi c2fea54864 Port changes from libdxfrw mainstream. 2023-08-21 17:24:10 +03:00
Roman Telezhynskyi a49f156ce0 Better control over toolbox icon size. 2023-08-21 15:51:49 +03:00
Roman Telezhynskyi 8476b50a24 Fix issue with passing incorrect number of dimension to Tape. 2023-08-19 15:24:45 +03:00
Roman Telezhynskyi 5fd4b8f563 All builds should include Windows icon themes. 2023-08-19 14:04:09 +03:00
Roman Telezhynskyi 46241e8e85 Refactoring.
Code style.
2023-08-18 16:22:16 +03:00
Roman Telezhynskyi a7b0ed1171 QGraphicsView not interpreting Mac laptop touchpad correctly. 2023-08-18 16:10:16 +03:00
Roman Telezhynskyi 6a114ac94e Fix path to fallback theme icon. 2023-08-18 13:49:13 +03:00
Roman Telezhynskyi 4dbac33c96 Disable warnings from xerces-c with pkg-config. 2023-08-18 13:48:03 +03:00
Roman Telezhynskyi bb43ff07ea Fix export to HGPL. Reverse line type after testing. 2023-08-16 19:00:14 +03:00
Roman Telezhynskyi 6dae04e3e6 Optimize themes colors. Synchronize dark and light themes. Fixes few bugs with widgets. 2023-08-16 10:39:33 +03:00
Roman Telezhynskyi 78483c6fcf Suppress MSVC warning C4191. 2023-08-14 16:42:35 +03:00
Roman Telezhynskyi d9a53a92fc When dealing with a system that supports native dark mode and Qt that doesn't, activate only custom dark theme to mimic dark mode and nothing in case of light mode. 2023-08-14 07:26:54 +03:00
Roman Telezhynskyi ae549bf948 Activate custom stylesheet to mimic dark mode on Qt versions those do not support native dark mode. 2023-08-13 19:58:58 +03:00
Roman Telezhynskyi fef65aeeca Show that the app busy when switching a style. 2023-08-13 17:02:27 +03:00
Roman Telezhynskyi 7f332548c2 Refactoring.
Code style.
2023-08-13 10:51:54 +03:00
Roman Telezhynskyi be2aaf5cdf Fix missing headers. 2023-08-13 10:51:38 +03:00
Roman Telezhynskyi 8a9e73738d Fix missing headers. 2023-08-13 09:24:01 +03:00
Roman Telezhynskyi da1b6e8c28 Fix MSVC 2022 warnings. 2023-08-12 20:23:13 +03:00
Roman Telezhynskyi a5bf891d43 Increased requirement for minimal Qt version. 2023-08-12 12:03:28 +03:00
Roman Telezhynskyi baf4f1a08b Refactoring.
Code style.
2023-08-12 10:31:10 +03:00
Roman Telezhynskyi ff6689f247 Fix compatibility with Qt 5.6. 2023-08-11 17:59:55 +03:00
Roman Telezhynskyi 92af5107d7 Fix recursion issue on MacOS. 2023-08-11 16:16:22 +03:00
Roman Telezhynskyi 19059ccaff MSVC warning. 2023-08-11 16:16:03 +03:00
Roman Telezhynskyi 5d5ab508d4 Fix build. 2023-08-10 18:46:41 +03:00
Roman Telezhynskyi 479c7da4c1 Fix cursor size.
Qt on Windows doesn't like asymmetrical images. Keep both width and height equal.
2023-08-10 16:35:18 +03:00
Roman Telezhynskyi 639daa9c4f Fix compatibility with < Qt 5.13. 2023-08-10 15:45:27 +03:00
Roman Telezhynskyi d433287be7 Fixing artifacts while changing system theme color on Windows. 2023-08-09 19:21:04 +03:00
Roman Telezhynskyi 70b527a3c9 Fix build. 2023-08-09 15:55:25 +03:00
Roman Telezhynskyi aea4fe3cee Qt can ignore OS settings, so, we must check palette settings instead. 2023-08-09 15:53:00 +03:00
Roman Telezhynskyi 14ec95ee9f Switch to Fusion style when activate custom theme or use default dark theme on Windows. 2023-08-09 15:46:02 +03:00
Roman Telezhynskyi eedb2cdf1b Refactoring. 2023-08-08 18:17:31 +03:00
Roman Telezhynskyi 73c35c4b2a error C2065: 'not': undeclared identifier 2023-08-08 16:55:59 +03:00
Roman Telezhynskyi d4859b7604 Fix compatibility with Qt 5.6. 2023-08-08 16:52:07 +03:00
Roman Telezhynskyi 358e16bb0d QToolBar background color only applies to actions on Linux.
Bug in Qt 5.
2023-08-08 10:39:14 +03:00
Roman Telezhynskyi aeb4780c96 Fix build with qmake. 2023-08-08 09:26:14 +03:00
Roman Telezhynskyi 2907f1e80a Fix resource names. 2023-08-08 07:33:10 +03:00
Roman Telezhynskyi 0713223ba8 Optimize size of icon themes. 2023-08-08 07:31:25 +03:00
Roman Telezhynskyi 0eff1b09f2 Use NativeMacDarkThemeAvailable instead of NSNativeMacDarkThemeAvailable. 2023-08-07 11:37:06 +03:00
Roman Telezhynskyi 5d305e7d78 Remove scripts. 2023-08-07 11:09:19 +03:00
Roman Telezhynskyi 6d70309136 Use icons from icon theme. 2023-08-07 11:08:12 +03:00
Roman Telezhynskyi c041cd029e Remove symbolic links which doesn't work well on Windows. Optimize themes. Split dark and light themes to optimize amount of memory needed for compilation. 2023-08-07 09:37:00 +03:00
Roman Telezhynskyi 659188028e Reverse change.
error: @available does not guard availability here; use if (@available) instead
2023-08-05 19:39:23 +03:00
Roman Telezhynskyi 995ff71546 Fix infinite recursion. 2023-08-05 19:31:23 +03:00
Roman Telezhynskyi 45c0b1cf1f Use #include <QtGlobal> instead to cover all Qt versions. 2023-08-05 19:06:32 +03:00
Roman Telezhynskyi cd0813f043 Fix compatibility with < Qt 6. 2023-08-05 18:58:29 +03:00
Roman Telezhynskyi 5e6e1e2844 Add missing files. 2023-08-05 18:39:19 +03:00
Roman Telezhynskyi e60ba5bedb Support for dark theme for custom icons. 2023-08-05 17:52:34 +03:00
Roman Telezhynskyi 8611153fe1 Fix regression. 2023-08-05 17:52:34 +03:00
Roman Telezhynskyi d1cbb61238 Refactoring.
Code style.
2023-08-05 17:52:34 +03:00
Roman Telezhynskyi ccdabec868 Avoid using global static variables. 2023-08-05 17:52:13 +03:00
Roman Telezhynskyi ba9d9ff501 Improve performance when draw with SVG fonts. 2023-08-05 17:51:48 +03:00
Roman Telezhynskyi bc1f47921f Refactoring.
Code style.
2023-08-05 17:51:47 +03:00
Roman Telezhynskyi 807964e019 Fix memory leaks. 2023-07-24 17:52:52 +03:00
Roman Telezhynskyi 55ba30e785 Fix app crash. 2023-07-24 17:51:55 +03:00
Roman Telezhynskyi cb4741acc9 Fix memory leaks. 2023-07-24 17:51:23 +03:00
Roman Telezhynskyi ec8a22cc84 Improve support for dark theme.
Custom dark theme updated. Added support for native dark mode. Added new icon themes. Scene still needs improvement.
2023-07-24 13:41:42 +03:00
Roman Telezhynskyi 2646a9c6d7 Fix compatibility with < Qt 5.7. 2023-07-17 16:48:50 +03:00
Roman Telezhynskyi 01bd5a0caf Fix compatibility with < Qt 5.12. 2023-07-17 16:41:59 +03:00
Roman Telezhynskyi c8844853b5 do not include <ciso646> with C++20 2023-07-17 16:33:57 +03:00
Roman Telezhynskyi 62f468b57b Fix compilation error. 2023-07-15 19:31:41 +03:00
Roman Telezhynskyi 404145c708 Fix compatibility with Qt 5.6. 2023-07-15 17:40:18 +03:00
Roman Telezhynskyi 30aa5e7c22 Fix incompatibility with GCC < 10.1. 2023-07-15 17:35:16 +03:00
Roman Telezhynskyi d1b51c78f6 Fix build. 2023-07-15 15:24:25 +03:00
Roman Telezhynskyi 37b00a9fd5 Fix build. 2023-07-15 15:12:17 +03:00
Roman Telezhynskyi 8980adda6f Fix build. 2023-07-15 14:42:17 +03:00
Roman Telezhynskyi 403c57ecc7 Give static functions more verbose names to not confuse a compiler. 2023-07-15 14:34:24 +03:00
Roman Telezhynskyi 254d32ff7f Optimize usage of defglobal.h. 2023-07-15 13:47:14 +03:00
Roman Telezhynskyi 41464eece0 Fix build with GCC 4.9. 2023-07-15 10:58:28 +03:00
Roman Telezhynskyi 7275ad5a7f Add missing link to printsupport. 2023-07-15 10:57:56 +03:00
Roman Telezhynskyi 1f9a5ce258 Fix missing includes. 2023-07-13 20:10:23 +03:00
Roman Telezhynskyi 49b0ae49f5 Refactoring.
Code style.
2023-07-13 20:10:04 +03:00
Roman Telezhynskyi 97957cf4d7 Fix missing header. 2023-07-13 19:32:07 +03:00
Roman Telezhynskyi bbed14d37d Refactoring.
Code style.
2023-07-13 19:31:54 +03:00
Roman Telezhynskyi ac25cc02df Fix regression with curve control length. 2023-07-13 17:49:31 +03:00
Roman Telezhynskyi 161918203a Refactoring.
Code style.
2023-07-13 17:49:31 +03:00
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 a459e41f1d Update info about selected translation language if user changed it. 2023-06-29 17:55:43 +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 fbfb63feaa Send usage statistic only in GUI mode. 2023-06-28 08:21:32 +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 49632e8f11 MSVC warning. 2023-06-24 19:21:21 +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 a744bc3efb Fix qbs script. 2023-06-23 09:55:10 +03:00
Roman Telezhynskyi 57ce414a38 Fix path to translations. 2023-06-23 09:12:50 +03:00
Roman Telezhynskyi 640f9342cf Refactoring. 2023-06-23 09:12:36 +03:00
Roman Telezhynskyi d70c447786 Fix qbs script. 2023-06-23 08:39:08 +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 236a372538 Fix qmake script. 2023-05-10 15:00:02 +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 c88da992a0 Clean Puzzle's command line keys.
Remove unused keys.
2023-04-10 13:41:44 +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 6e295f7172 Fix list of dimension popup list. Make sure it will always has enough space for values. 2023-04-05 17:09:54 +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 8b591847b1 Fix MSVC warnings. 2023-03-09 16:17:54 +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 7a8d18569a Remove buggy test case. 2023-03-08 18:41:49 +02:00
Roman Telezhynskyi 2bae9a84eb Fix excluding objects in internal path. 2023-03-04 18:37:50 +02:00
Roman Telezhynskyi bd10ac3c13 Fix copying conan package library on Windows.
On Windows dll in bin folder, while on Unix it in lib.
2023-03-04 09:24:39 +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 a4139e1fa9 Fix build on Windows. 2023-02-28 12:00:50 +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 934781660a QWinTaskbarButton not available since Qt 6. 2023-02-28 10:13:18 +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 31f63f8a32 Fix building with < Qt 5.13. 2023-02-16 20:09:26 +02:00
Roman Telezhynskyi 5c2eb064bf Set working directory for autotest. 2023-02-16 20:09:26 +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 75e3e5b7b8 FileInfo.executableSuffix() available only since qbs 1.23. 2023-02-15 11:25:35 +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 3e1c8a36d5 Fix QKeySequence. 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 4b6f68ff80 Module macdeployqt. 2023-01-27 12:08:47 -08:00
Roman Telezhynskyi e6c7051b6f Multi bundle support. 2023-01-27 09:07:34 -08:00
Roman Telezhynskyi 272089074d Building ICNS. 2023-01-25 08:31:35 -08:00
Roman Telezhynskyi 53650d6223 Building Info.plist file. 2023-01-25 08:31:35 -08:00
Roman Telezhynskyi d3f9ed80e7 Installing translations on macos. 2023-01-25 08:31:35 -08:00
Roman Telezhynskyi e0558dcc28 RC files only for Windows. 2023-01-21 07:12:53 -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 c8bd8aeb2c Optimize working with paths.
FileInfo.pathSeparator() available only since qbs 1.22.
Use FileInfo.joinPaths() only when necessary.
2023-01-17 13:00:35 +03:00
Roman Telezhynskyi 74bd52652e Include vsapoint.cpp only before C++17. 2023-01-16 18:48:21 +02:00
Roman Telezhynskyi 16c5117b9c Remove unused lambda capture.
(cherry picked from commit 00e7e57a69)
2023-01-16 18:34:51 +02:00
Roman Telezhynskyi f54de83886 Fix build with Clang.
(cherry picked from commit 7ea8441271)
2023-01-16 18:34:45 +02:00
Roman Telezhynskyi 0b56ca464f Shortcut to quickly enable/disable Interactive tools mode.
(cherry picked from commit 80ba9e9961)
2023-01-16 18:34:33 +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 f4113dbd9c Add RC files. 2023-01-13 18:47:28 +02:00
Roman Telezhynskyi 746b30c341 Build diagrams.rcc. 2023-01-13 17:54:42 +02:00
Roman Telezhynskyi 769b11926a Add metainfo.xml file. 2023-01-13 17:12:13 +02:00
Roman Telezhynskyi 78076e6dbf Optimize installing qm files.
Only on MacOS we need to install for three separate tools.
2023-01-13 16:02:53 +02:00
Roman Telezhynskyi 56850aef55 Rename .desktop file names to reverse DNS convention. 2023-01-13 15:57:27 +02:00
Roman Telezhynskyi 1669fbd3b2 Fix Lupdate warnings. 2023-01-12 20:12:16 +02:00
Roman Telezhynskyi 19344de569 Refactoring preparing test environment. 2023-01-11 14:02:35 +02:00
Roman Telezhynskyi 47db665c21 New module to generate external binary resources. 2023-01-11 14:01:24 +02:00
Roman Telezhynskyi 89aab8cb92 Property to enable building appimage. 2023-01-11 13:03:46 +02:00
Roman Telezhynskyi 282f9c789a hicolor icons and mimetypes. 2023-01-11 13:03:46 +02:00
Roman Telezhynskyi 2c38bb5cee Define highlighter for JavaScriptCommand. 2023-01-11 13:03:46 +02:00
Roman Telezhynskyi ef713b1183 Added desktop files. 2023-01-11 13:03:46 +02:00
Roman Telezhynskyi 5ac4858915 Optimize tool app config. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi e05527d7ea Optimize preparing pdftops tool. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi 3af79ccfcc Optimize unit test app config. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi 895b02ef0d Move 'Precompiled headers' group to buildconfig. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi adce1f28e6 Installing label templates and multisize measurements table. 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 78fb2c246b Include QtWinExtras to precompiled headers. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi 11642ebfe1 Property to control building unit tests. 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 e9ffd33d1a Fix Clang warning. 2023-01-05 15:52:00 +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 e896617c92 Fix regression in dialog Known measurements. Closes #189 2023-01-02 16:41:15 +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 376152da8c Improve error messages while import CSV data.
Show correct row number.
2022-12-26 15:38:12 +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 3e64af6443 Change Z value for piece controls.
This will place them above a piece.
2022-11-22 09:42:24 +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 2d6fa0fe9b Fix reading a layout. 2022-11-21 16:48:29 +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 7a3e37c19a Disable test for GCC. 2022-11-11 21:12:33 +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 301069fbff Clang warnings. 2022-11-10 15:53:36 +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 d8f5f4fec9 Update test cases. 2022-10-29 17:51:05 +03: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 7beb234f22 Fix export measurement separator to CSV. 2022-10-14 14:50:26 +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 851e8cf5e5 Fix layout sheet export with empty name. 2022-09-16 18:41:22 +03:00
Roman Telezhynskyi 1eb8661007 Add tooltip for setting "Print tiles scheme".
User may be confused by it when export a scheme. This setting has effect only when print in application.
2022-09-16 17:14:59 +03:00
Roman Telezhynskyi 65400da902 Improve "Incompatible locale" check. 2022-09-15 15:02:44 +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 9429be3e0d Fix error: conversion from '<brace-enclosed initializer list>' to 'QCommandLineOption' is ambiguous. 2022-09-13 15:05:30 +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