Commit graph

101 commits

Author SHA1 Message Date
Roman Telezhynskyi 6eb702b778 Refactoring.
Since Qt 6.7 we can start using enum QIcon::ThemeIcon.
2024-04-22 18:13:43 +03:00
Roman Telezhynskyi 537efbeaa8 Move piece position validation to separate thread. 2024-04-22 18:13:42 +03:00
Roman Telezhynskyi 7378cfbe95 Fix piece rotation with enabled Follow grainline. 2024-04-12 17:37:13 +03:00
Roman Telezhynskyi e4481754f0 Fix calculating label position for flipped piece. 2024-04-12 09:51:49 +03:00
Roman Telezhynskyi 9e3659830e New warning "Piece gape position". 2024-04-08 16:26:09 +03:00
Roman Telezhynskyi 39d56e34aa Fix color of fold line. 2024-04-08 15:58:09 +03:00
Roman Telezhynskyi fbaf5f0f38 Refactoring. 2024-04-06 18:52:43 +03:00
Roman Telezhynskyi 5ea7817a02 New option Show mirror line.
Make showing a symmetry line optional. In some cases users don't need it.
2024-04-05 19:54:48 +03:00
Roman Telezhynskyi 8a2177663c When hide seam line also hide built-in notches. 2024-04-05 15:36:40 +03:00
Roman Telezhynskyi 94dc3bddd5 Refactoring.
Use the init-statement to declare a variable inside the if/switch statement.
2024-03-30 18:02:45 +02:00
Roman Telezhynskyi 9ee4cf208b Refactoring. 2024-03-30 15:20:59 +02:00
Yann Lossouarn 55b2c1b4ae Code cleaning : functions that should be const 2024-02-24 00:03:20 +01:00
Yann Lossouarn eea5dca893 Code smell & performance improvement : Capture large object "watermarkData" by reference. 2024-02-24 00:00:05 +01:00
Yann Lossouarn 7ff8aed6bc Code smell improvement: capture variable by reference 2024-02-23 23:59:53 +01:00
Yann Lossouarn 932db63497 Code smell improvement: capture 'matrix' by reference instead of capturing by value 2024-02-23 23:59:08 +01:00
Yann Lossouarn b6ad741cd9 Bugfix: suppressing horizontal scrolling on Preferences>Pattern and... 2024-02-23 09:35:32 +00:00
Roman Telezhynskyi 0adb49a427 Variable can be declared 'const'. 2024-02-20 08:58:06 +02:00
Roman Telezhynskyi 3027ddb49c Remove class destructor so that classes follows the rule of Zero. 2024-02-20 08:58:06 +02:00
Roman Telezhynskyi 38dbbe29ba Minimal Qt version increased to Qt 5.15. Minimal C++ standard to C++17. 2024-01-23 15:57:29 +02:00
Roman Telezhynskyi e571a0f1a6 Fix build. 2024-01-10 11:40:46 +02:00
Roman Telezhynskyi 92a0e57bf7 Removing Qt 6 specific stuff. 2024-01-10 11:19:59 +02:00
Roman Telezhynskyi 29de9aca0b Fix build. 2024-01-10 10:54:37 +02:00
Roman Telezhynskyi 38fbc03f16 New features: Mirror line, Fold line. 2024-01-06 14:22:03 +02:00
Roman Telezhynskyi e9565b3e75 Horizontal piece flipping. 2023-11-29 16:40:36 +02:00
Roman Telezhynskyi 5724c9611a New feature. Boundary together with notches. 2023-11-28 16:40:27 +02:00
Roman Telezhynskyi 5b533473bd Fix issue with high DPI versions of transformation handles. 2023-08-30 16:22:36 +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 a5bf891d43 Increased requirement for minimal Qt version. 2023-08-12 12:03:28 +03:00
Roman Telezhynskyi e60ba5bedb Support for dark theme for custom icons. 2023-08-05 17:52:34 +03:00
Roman Telezhynskyi 254d32ff7f Optimize usage of defglobal.h. 2023-07-15 13:47:14 +03:00
Roman Telezhynskyi 83c914f47d Export to HP-GL format. 2023-07-10 19:23:56 +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 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 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 a2b701f083 Show/hide grainline when export. Closes #163 2023-04-10 12:20:18 +03:00
Roman Telezhynskyi 885a618820 QDropEvent::pos() is deprecated since 6.0. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 3e1c8a36d5 Fix QKeySequence. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 38d15cdd41 Fix build on MacOS. 2023-01-21 05:01:21 -08:00
Roman Telezhynskyi eb38a1c26f Successful build of main binaries. 2023-01-04 18:31:50 +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 9c7ab2fb4a Refactor CastTo. 2022-10-28 16:16:13 +03:00
Roman Telezhynskyi bd10a78f55 Successful compilation. 2022-10-28 16:16:13 +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 8837bec33d Fix mirroring a piece label. 2022-02-19 21:17:51 +02:00