Commit graph

875 commits

Author SHA1 Message Date
Roman Telezhynskyi 6e6629b77c Refactoring. 2024-04-16 18:20:53 +03:00
Roman Telezhynskyi e4481754f0 Fix calculating label position for flipped piece. 2024-04-12 09:51:49 +03:00
Roman Telezhynskyi 5186e80adb Change direction of automatic layout grainline to avoid user confusion. 2024-04-06 08:28:28 +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 ebf678888e Fix exporting full piece. 2024-04-04 19:00:10 +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 6ebd9e7033 Improve compatibility with Richpeace CAD. 2024-03-16 15:32:41 +02:00
Roman Telezhynskyi 78d878322d Fix incorrect piece geometry refresh if disable a mirror line.
Fold line still visible.
2024-03-13 16:26:10 +02:00
Roman Telezhynskyi 21b8401466 Fix rounding problem when search a size template. 2024-02-27 20:35:22 +02:00
Yann Lossouarn 95db2eb133 Code smell and performance : capture various variables by reference 2024-02-24 00:00:39 +01:00
Yann Lossouarn a1cf176331 Code smell and performance : capture various variables by reference 2024-02-24 00:00:32 +01:00
Roman Telezhynskyi aa8748e873 Remove virtual. 2024-02-23 15:35:46 +02:00
Yann Lossouarn b6ad741cd9 Bugfix: suppressing horizontal scrolling on Preferences>Pattern and... 2024-02-23 09:35:32 +00:00
Roman Telezhynskyi 1249e1f2fc "empty()" or "isEmpty()" should be used to test for emptiness. 2024-02-21 11:48:58 +02:00
Roman Telezhynskyi b6b278997a The "_t" and "_v" version of type traits should be used instead of "::type" and "::value". 2024-02-21 09:05:21 +02:00
Roman Telezhynskyi 634913da34 Combine functions with its overloads by using "if constexpr". 2024-02-20 15:59:44 +02:00
Roman Telezhynskyi 5d3ca3c470 Refactoring. 2024-02-20 15:44:50 +02:00
Roman Telezhynskyi d6fa5ddac0 Suppress warning object used after it was moved. 2024-02-20 09:17:20 +02:00
Roman Telezhynskyi ff018a3f2c Add pointer qualifications to auto-typed variables that are deduced to pointers. 2024-02-20 08:58:06 +02:00
Roman Telezhynskyi 2134f969a0 Use 'using' instead of 'typedef'. 2024-02-20 08:58:06 +02:00
Roman Telezhynskyi 643deeb521 Use auto to avoid duplicating the type name. 2024-02-20 08:58:06 +02:00
Roman Telezhynskyi 0adb49a427 Variable can be declared 'const'. 2024-02-20 08:58:06 +02:00
Roman Telezhynskyi 409161c302 Make sure that moving an object of class is "noexcept". 2024-02-19 11:17:32 +02:00
Roman Telezhynskyi 827b82e3f6 Remove Q_COMPILER_RVALUE_REFS. 2024-02-19 11:14:02 +02:00
Roman Telezhynskyi 4b19565d4e Lupdate. 2024-02-14 09:38:00 +02:00
Roman Telezhynskyi cd1b065e58 Suppress GCC warnings. 2024-02-12 13:49:01 +02:00
Roman Telezhynskyi 1ac5a4167f Support for AppImage. 2024-02-10 15:53:02 +02:00
Roman Telezhynskyi 63292fa235 Sonar warnings. 2024-02-08 18:37:59 +02:00
Roman Telezhynskyi cc92270ecb Prevent stealing focus when scrolling. 2024-01-31 15:15:43 +02:00
Roman Telezhynskyi 748d18ce9a Fix size of Unsaved changes dialog.
Since Qt 6 produces warnings "QWindowsWindow::setGeometry: Unable to set geometry".
2024-01-29 17:07:54 +02:00
Roman Telezhynskyi a0c1b6a512 QFutureWatcher::connect: connecting after calling setFuture() is likely to produce race. 2024-01-29 16:33:24 +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 9ea39debdb Fix searching a fold line center. 2024-01-13 15:03:05 +02:00
Roman Telezhynskyi 97bc0266c2 Fix compatibility with Qt 5.6. 2024-01-13 08:33:22 +02:00
Roman Telezhynskyi af6b86fb97 Clang warnings. 2024-01-11 16:25:31 +02:00
Roman Telezhynskyi 29de9aca0b Fix build. 2024-01-10 10:54:37 +02:00
Roman Telezhynskyi ec7c5e083f Fix build. 2024-01-09 15:05:10 +02:00
Roman Telezhynskyi 38fbc03f16 New features: Mirror line, Fold line. 2024-01-06 14:22:03 +02:00
Roman Telezhynskyi 670f08eb9b Include external V notch as part of a cut boundary. 2023-11-30 11:51:14 +02:00
Roman Telezhynskyi e9565b3e75 Horizontal piece flipping. 2023-11-29 16:40:36 +02:00
Roman Telezhynskyi a7073dbeae Fix build. 2023-11-29 11:57:30 +02:00
Roman Telezhynskyi 5724c9611a New feature. Boundary together with notches. 2023-11-28 16:40:27 +02:00
Roman Telezhynskyi 111d8950fd Label %mFileName% file name punctuation. Closes #188 2023-11-16 12:16:20 +02:00
Roman Telezhynskyi 0225ade6fc Remove caching label placeholders. 2023-11-16 11:19:24 +02:00
Roman Telezhynskyi 32c10a4b39 Known measurements editor. 2023-11-07 11:20:31 +02:00
Roman Telezhynskyi 434a1d0acf Fix deprecation warnings. 2023-10-24 11:03:04 +03:00
Roman Telezhynskyi bc6b9468b7 Refactoring. 2023-10-13 15:26:19 +03:00
Roman Telezhynskyi bf58addbe3 Puzzle app. Fix piece position move when update layout data. 2023-10-13 15:22:23 +03:00
Roman Telezhynskyi 3058c2fc33 Fix incorrect applying grainline position correction. 2023-10-13 15:20:01 +03:00
Roman Telezhynskyi 2118e0766d New piece option Follow grainline. 2023-10-10 14:14:23 +03:00