Commit Graph

570 Commits

Author SHA1 Message Date
Roman Telezhynskyi
fbaf5f0f38 Refactoring. 2024-04-06 18:52:43 +03:00
Roman Telezhynskyi
54ee9e0629 Refactoring. 2024-04-06 12:09:38 +03:00
Roman Telezhynskyi
a4e2e1f1bf Disable piece gap if option Sticky edges is not active. 2024-04-06 11:54:37 +03:00
Roman Telezhynskyi
b25df043bf Disable explicit sheet's grainline orientation if option Follow grainline is not active. 2024-04-06 11:51:26 +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
812414f0ea Change direction of sheet grainline to avoid user confusion. 2024-04-05 18:17:56 +03:00
Roman Telezhynskyi
34ed181558 Refactoring. 2024-04-05 18:17:14 +03:00
Roman Telezhynskyi
35c99ddf3c Update flipping status when import a piece. 2024-04-05 17:13:35 +03:00
Roman Telezhynskyi
74eb3765bc Fix default tab. 2024-04-05 15:36:59 +03:00
Roman Telezhynskyi
8a2177663c When hide seam line also hide built-in notches. 2024-04-05 15:36:40 +03:00
Roman Telezhynskyi
68555a2d9e Force piece update after import. 2024-04-05 15:28:42 +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
Roman Telezhynskyi
291ac98c64 Sign crashpad_handler on macos when create a bundle. 2024-03-29 14:29:05 +02:00
Roman Telezhynskyi
6ebd9e7033 Improve compatibility with Richpeace CAD. 2024-03-16 15:32:41 +02:00
Roman Telezhynskyi
24d39bffb7 Save logs for Tape and Puzzle apps in log file on disk for sending with crash reports. 2024-03-13 15:45:28 +02:00
Roman Telezhynskyi
eb4f8719f2 Fix Puzzle's crash. 2024-03-13 15:11:56 +02:00
Roman Telezhynskyi
88cee6b7a7 Issue with QT_REQUIRE_VERSION macro has been fixes since Qt 6.6. 2024-03-12 18:41:13 +02:00
Roman Telezhynskyi
33a5939c18 Automatic crash reports. 2024-03-12 16:39:44 +02:00
Roman Telezhynskyi
21b8401466 Fix rounding problem when search a size template. 2024-02-27 20:35:22 +02:00
Roman Telezhynskyi
55c0b95a3f Fix incorrect update of seam allowance mirror line. 2024-02-27 15:55:13 +02:00
Roman Telezhynskyi
2b879c7bef Fix copy/paste error. 2024-02-27 15:38:59 +02:00
Roman Telezhynskyi
a138352d1c Puzzle app. Open new window only if current already has been used. 2024-02-27 15:24:51 +02:00
Roman Telezhynskyi
97d4e6378a Fix compatibility with previous versions. 2024-02-27 15:10:26 +02:00
Roman Telezhynskyi
283a62f580 Fix build errors. 2024-02-24 12:20:50 +02:00
Yann Lossouarn
55b2c1b4ae Code cleaning : functions that should be const 2024-02-24 00:03:20 +01:00
Yann Lossouarn
ed6cd0a927 Code smell and performance : capture img and watermarkData by reference 2024-02-24 00:00:12 +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
Roman Telezhynskyi
c69267466e Code style. 2024-02-23 15:12:19 +02:00
Roman Telezhynskyi
2ae203897a Reverse change.
Cache object must not be available public, must be static.
2024-02-23 14:42:57 +02:00
Roman Telezhynskyi
cf5fd8124f Reverse change.
Follow don't repeat yourself approach.
2024-02-23 14:31:29 +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
f120519ede Default construct doesn't initialize constructor. 2024-02-20 11:39:25 +02:00
Roman Telezhynskyi
ba5c40b15d Refactoring. Code duplication. 2024-02-20 11:00:24 +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
a48977c1df Constness prevents automatic move. 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
3027ddb49c Remove class destructor so that classes follows the rule of Zero. 2024-02-20 08:58:06 +02:00
Roman Telezhynskyi
ad0d3c1612 Fix compatibility with >= c++17. 2024-02-17 20:06:56 +02:00
Roman Telezhynskyi
6d04cd32a7 Sonar warnings. 2024-02-17 16:46:59 +02:00
Roman Telezhynskyi
f353b02530 Since C++20 we no longer need operator!=. 2024-02-17 11:41:47 +02:00
Roman Telezhynskyi
3b6aae076f Sonar warnings. 2024-02-14 11:57:42 +02:00
Roman Telezhynskyi
1ac5a4167f Support for AppImage. 2024-02-10 15:53:02 +02:00
Roman Telezhynskyi
cc92270ecb Prevent stealing focus when scrolling. 2024-01-31 15:15:43 +02:00
Roman Telezhynskyi
281587512c Create multisize versions of ICO files for Windows. 2024-01-30 20:35:12 +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
0cd42f83e6 Fix color of a line edit text in dark mode. 2024-01-29 16:47:19 +02:00