Commit graph

892 commits

Author SHA1 Message Date
Roman Telezhynskyi aaa40a5662 Refactoring.
Replace the redundant type with "auto".
2024-04-30 11:48:51 +03:00
Roman Telezhynskyi a81f878cd6 Refactoring.
Merge "if" statement with the enclosing one.
2024-04-29 19:05:19 +03:00
Roman Telezhynskyi 78735cd31a Refactoring.
Replace the redundant type with "auto".
2024-04-27 12:54:59 +03:00
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 b78adf9264 Fix piece label issue.
Rotation caused label font change.
2024-04-17 16:35:29 +03:00
Roman Telezhynskyi 745c5de5d6 Refactoring.
Remove the top level "const" qualifier from the return type of a function.
2024-04-16 17:34:23 +03:00
Roman Telezhynskyi 1ddb07f2ee Refactoring.
Avoid unnecessary copy by using a "const" reference.
2024-04-16 17:12:32 +03:00
Roman Telezhynskyi 0080ce8ef5 Refactoring.
Overriding member functions should do more than simply call the same member in the base class.
2024-04-16 15:12:54 +03:00
Roman Telezhynskyi 7378cfbe95 Fix piece rotation with enabled Follow grainline. 2024-04-12 17:37:13 +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 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 fb15284483 Sonarcloud warnings. 2024-03-02 15:24:09 +02:00
Yann Lossouarn 95db2eb133 Code smell and performance : capture various variables by reference 2024-02-24 00:00:39 +01:00
Roman Telezhynskyi 2f53e38ad7 Add a using-declaration to derived class to inherit the constructors, and remove the ones manually duplicated. 2024-02-21 11:59:52 +02:00
Roman Telezhynskyi a48977c1df Constness prevents automatic move. 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 827b82e3f6 Remove Q_COMPILER_RVALUE_REFS. 2024-02-19 11:14:02 +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 af6b86fb97 Clang warnings. 2024-01-11 16:25:31 +02:00
Roman Telezhynskyi 38fbc03f16 New features: Mirror line, Fold line. 2024-01-06 14:22:03 +02:00
Roman Telezhynskyi 5724c9611a New feature. Boundary together with notches. 2023-11-28 16:40:27 +02:00
Roman Telezhynskyi 3497c9499d New tools: Arc start point, Arc end point. 2023-11-17 11:58:51 +02:00
Roman Telezhynskyi 8b402dc1d9 Adding removing nodes of curved path. 2023-11-17 09:30:48 +02:00
Roman Telezhynskyi 4691de62fd Allow negative values. 2023-11-14 16:38:17 +02:00
Roman Telezhynskyi ae9e374629 Improve object tooltip for group operation.
Separate object and operation tooltip.
2023-11-14 16:37:48 +02:00
Roman Telezhynskyi 6ddefa9d99 Refactoring.
Code style.
2023-11-14 16:37:48 +02:00
Roman Telezhynskyi 90bc077679 Refactoring. 2023-11-08 15:08:59 +02:00
Roman Telezhynskyi 81235377fe Refactoring. 2023-10-10 14:49:04 +03:00
Roman Telezhynskyi 2118e0766d New piece option Follow grainline. 2023-10-10 14:14:23 +03:00
Roman Telezhynskyi d913a3bd0d Fix multi line string literals. 2023-10-09 12:45:34 +03:00
Roman Telezhynskyi e9f42bda30 Start using string literal operators for Qt types. 2023-10-07 18:56:39 +03:00
Roman Telezhynskyi 8f23d057f4 Fix filling piece label data. 2023-10-07 12:47:43 +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 ecf93f8d31 Redesign notch context menu to allow quick selection of the notch type. 2023-10-02 18:06:20 +03:00
Roman Telezhynskyi 5b533473bd Fix issue with high DPI versions of transformation handles. 2023-08-30 16:22:36 +03:00
Roman Telezhynskyi 9fa969cbb1 Guard font size to prevent a warning show. 2023-08-26 09:51:55 +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 70b527a3c9 Fix build. 2023-08-09 15:55:25 +03:00
Roman Telezhynskyi eedb2cdf1b Refactoring. 2023-08-08 18:17:31 +03:00
Roman Telezhynskyi d4859b7604 Fix compatibility with Qt 5.6. 2023-08-08 16:52:07 +03:00
Roman Telezhynskyi e60ba5bedb Support for dark theme for custom icons. 2023-08-05 17:52:34 +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 161918203a Refactoring.
Code style.
2023-07-13 17:49:31 +03:00
Roman Telezhynskyi 81141acf6d Support for single-line fonts. 2023-06-22 18:30:43 +03:00
Roman Telezhynskyi 7410d188ce Piece labels line break. 2023-05-22 17:30:18 +03:00