Commit graph

38 commits

Author SHA1 Message Date
Roman Telezhynskyi 5e56f30fb1 Refactoring.
Replace declarations by a structured binding declaration.
2024-05-02 12:03:30 +03:00
Roman Telezhynskyi be1a8d15d0 Speedup optimization.
Cache watermark image geometry info.
2024-05-02 10:17:39 +03:00
Roman Telezhynskyi 78735cd31a Refactoring.
Replace the redundant type with "auto".
2024-04-27 12:54:59 +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
Yann Lossouarn ed6cd0a927 Code smell and performance : capture img and watermarkData by reference 2024-02-24 00:00:12 +01:00
Roman Telezhynskyi 0adb49a427 Variable can be declared 'const'. 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 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 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 1847115627 Refactoring.
Code style.
2023-06-21 10:24:51 +03: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 7d276461ed Fix export tiled pdf on Mac OS. 2022-08-18 17:10:42 +03:00
Roman Telezhynskyi 19f95c8e54 Refactoring. Use TextWidth to simplify code. 2022-02-19 21:26:30 +02:00
Roman Telezhynskyi 499ec96691 Move literals to separate header. 2022-02-18 10:36:38 +02:00
Roman Telezhynskyi 44dffa9c68 Refactoring. Move reading a watermark data to separate method.
This should help to avoid infinite loop and crash on Windows.
2022-02-12 13:02:31 +02:00
Roman Telezhynskyi 2e56a61bb6 Refactoring. 2022-02-12 12:01:07 +02:00
Roman Telezhynskyi 74090f7ffd PDF Tiles "ruler" is fine when Unit is "Inch" or "Cm". It is bad when Unit is "Mm" or "Pixel". 2021-09-28 16:43:36 +03:00
Roman Telezhynskyi 72a2300bef Crop watermark if doesn't fit on page. 2021-09-28 16:10:55 +03:00
Roman Telezhynskyi 2e9c94ffae Fix watermark size while scale sheet.
Add watermark placeholder for cases when raster image of watermark will require bigger size than image cache can handle.
2021-09-28 15:19:02 +03:00
Roman Telezhynskyi 0301cf567e error: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance. 2021-09-14 16:38:44 +03:00
Roman Telezhynskyi 3fea813b9c Watermark support. 2021-09-11 19:39:38 +03:00
Roman Telezhynskyi 3a76f4a2d8 Added page Tiles Scheme. 2021-09-08 18:32:43 +03:00
Roman Telezhynskyi 03721118a6 Add ruler. 2021-09-08 10:41:35 +03:00
Roman Telezhynskyi 048035db79 Fix generation tiles. 2021-09-07 20:26:35 +03:00
Roman Telezhynskyi b71253738c Correct scale when export tiled PDF. 2021-09-06 16:56:56 +03:00
Roman Telezhynskyi d5a02ac48c Export layout. 2021-09-06 15:31:36 +03:00
Roman Telezhynskyi 8e9547da4a Remove unused length. 2021-09-01 09:21:06 +03:00
Roman Telezhynskyi d32bbfcfd4 Layout properties. 2021-08-25 16:58:50 +03:00
Roman Telezhynskyi 0908b5a1f7 Undo/Redo piece move. 2021-08-17 18:49:28 +03:00
Roman Telezhynskyi 3fbe96c2a7 Piece rotation. 2021-08-09 15:09:10 +03:00
Roman Telezhynskyi 91a69b83b6 Cleaning and refactoring. 2021-07-29 17:11:18 +03:00
Ronan Le Tiec cdff123231 Refactor triangle position marks for tiled pdf 2020-11-21 16:47:05 +01:00
Ronan Le Tiec 9140fdcb78 Templates for sheet and tiles 2020-11-20 15:51:24 +01:00
Ronan Le Tiec a0cd4e9a31 Selected piece on top 2020-11-19 15:08:45 +01:00
Ronan Le Tiec 9f8f0e8341 refactoring vpgraphicstilegrid and vptilefactory 2020-11-19 14:33:27 +01:00