Commit graph

190 commits

Author SHA1 Message Date
Roman Telezhynskyi 2fd78f68a5 Simplify number of versions for DXF AAMA/ASTM. 2023-05-03 16:23:54 +03:00
Roman Telezhynskyi c88da992a0 Clean Puzzle's command line keys.
Remove unused keys.
2023-04-10 13:41:44 +03:00
Roman Telezhynskyi a2b701f083 Show/hide grainline when export. Closes #163 2023-04-10 12:20:18 +03:00
Roman Telezhynskyi 37541b600e Fix MSVC warnings. 2023-03-08 18:45:42 +02:00
Roman Telezhynskyi 4a82ea8687 Reading settings file causes crash. 2023-02-13 19:54:17 +02:00
Roman Telezhynskyi 3e1c8a36d5 Fix QKeySequence. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 171b3be090 Backward compatibility for type qsizetype. 2023-02-09 17:27:43 +02:00
Roman Telezhynskyi 38d15cdd41 Fix build on MacOS. 2023-01-21 05:01:21 -08:00
Roman Telezhynskyi 0f2c922ead Fix manual layout format conversion and reading. 2022-11-21 18:52:11 +02:00
Roman Telezhynskyi 851e8cf5e5 Fix layout sheet export with empty name. 2022-09-16 18:41:22 +03:00
Roman Telezhynskyi c4e71a3f60 error: no matching function for call to 'sleep_for(int)'. 2022-09-13 13:54:07 +03:00
Roman Telezhynskyi 44370de134 bpstd::literals::chrono_literals not compatible with GCC 4.8. 2022-09-13 13:10:12 +03:00
Roman Telezhynskyi 1a4a22849c Qt started to support std::chrono since Qt 5.8. 2022-09-08 21:00:14 +03:00
Roman Telezhynskyi 3c1f5c04ca Fix error: literal operator suffixes not preceded by '_' are reserved for future standardization.
Old GCC versions do not allow to suppress the warning in certain cases. Switching to using macro.
2022-09-08 19:10:00 +03:00
Roman Telezhynskyi 8a902d8f66 Backport std::chrono_literals to C++11. 2022-09-08 16:43:21 +03:00
Roman Telezhynskyi 7d276461ed Fix export tiled pdf on Mac OS. 2022-08-18 17:10:42 +03:00
Roman Telezhynskyi 5f8b46da5b Refactor VPMainWindow::GeneratePdfTiledFile.
It should return result to stop generation in case of an error.
2022-08-18 17:09:12 +03:00
Roman Telezhynskyi 8c3de72a51 Fix export of tiled sheet. 2022-08-17 19:29:32 +03:00
Roman Telezhynskyi 003c9bf33f Fix build. 2022-08-17 15:51:35 +03:00
Roman Telezhynskyi 0ab0edc654 Refactoring. 2022-08-12 18:50:22 +03:00
Roman Telezhynskyi 18e2554907 Support for options Force Flipping and Forbid Flipping in Puzzle. 2022-08-05 18:26:00 +03:00
Roman Telezhynskyi 8462a7ec1d Fix layout export dialog. 2022-08-02 17:39:43 +03:00
Roman Telezhynskyi 191cf7e25f Suspend use of qt_ntfs_permission_lookup. QTBUG-101168 2022-03-17 13:35:49 +02:00
Roman Telezhynskyi 9cddf75d97 Fix issue with Custom template. 2022-02-18 19:18:19 +02:00
Roman Telezhynskyi d37c68321e Z value change for a layout piece. 2022-02-18 17:57:55 +02:00
Roman Telezhynskyi ed910db2c3 Fix the layout format conversion. 2022-02-18 16:32:43 +02:00
Roman Telezhynskyi 341dfadc93 Improve refreshing watermark data. 2022-02-12 13:41: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 09cf8257d6 New option Show tile number. 2022-02-10 14:07:15 +02:00
Roman Telezhynskyi d16aa1af64 New option piece line width. 2022-02-09 17:49:14 +02:00
Roman Telezhynskyi a8aa4fdb7b Fix warning 'unused-lambda-capture'. 2022-01-29 11:50:13 +02:00
Roman Telezhynskyi 1b188bf414 Compatibility issues. 2022-01-29 10:59:02 +02:00
Roman Telezhynskyi 8d52157b41 Help user to select default GUI language. 2021-10-19 14:43:20 +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 2b966a02df When changing the unit to "inches" in "Sheet", the margins get more decimals after the dot.
When changing back to mm / cm etc. it doesn't change back to 2 decimals.
2021-09-27 12:02:29 +03:00
Roman Telezhynskyi eda0b6173e When multiple selection, you can see the "No piece selected" after the Transformation-block. It shouldn't be shown. 2021-09-27 11:49:33 +03:00
Roman Telezhynskyi 32be26beef GCC warnings. 2021-09-27 11:47:09 +03:00
Roman Telezhynskyi db28a6fe91 Undo & Redo Buttons should look like "Zoom in", "zoom out" etc. Right now there is no subcaption and the small buttons make it difficult to click. 2021-09-27 10:16:28 +03:00
Roman Telezhynskyi d83039c4ee Compiler warnings. 2021-09-24 16:53:47 +03:00
Roman Telezhynskyi ed7703c60c Clang warnings. 2021-09-24 14:57:30 +03:00
Roman Telezhynskyi f2cae16706 Lupdate. 2021-09-16 15:02:50 +03:00
Roman Telezhynskyi 2433517203 Fix build with MSVC. 2021-09-15 10:42:38 +03:00
Roman Telezhynskyi f1f368ed43 Fix build with Qt 5.6. 2021-09-15 10:22:06 +03:00
Roman Telezhynskyi f7974273fa Fix build. 2021-09-13 18:19:39 +03:00
Roman Telezhynskyi eff295ccaf Cppcheck warnings. 2021-09-13 18:09:53 +03:00
Roman Telezhynskyi 2306d4a67c Print layout. 2021-09-13 17:27:46 +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 09005ddb63 Show warning before export. 2021-09-08 11:59:41 +03:00
Roman Telezhynskyi 22da66e4d8 Setup correct page orientation. 2021-09-07 12:31:58 +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 9b24f6ac08 Improve error message when layout file has an error. 2021-09-06 15:31:36 +03:00
Roman Telezhynskyi 005d5fdafd Release file lock if reading failed. 2021-09-06 15:31:36 +03:00
Roman Telezhynskyi 8e9547da4a Remove unused length. 2021-09-01 09:21:06 +03:00
Roman Telezhynskyi 1e15d343a0 Show seam line feature. 2021-08-31 14:12:46 +03:00
Roman Telezhynskyi b14ad59010 Import with update. 2021-08-31 13:08:59 +03:00
Roman Telezhynskyi 29325add49 Gradation label. 2021-08-31 12:07:26 +03:00
Roman Telezhynskyi 0944ea968a Validate a piece when import raw layout or read the layout format. 2021-08-30 20:00:10 +03:00
Roman Telezhynskyi b877009d90 Sticky edges. 2021-08-30 18:45:27 +03:00
Roman Telezhynskyi 9ceabab131 Handle cases when need to resize the scene size. 2021-08-27 18:34:37 +03:00
Roman Telezhynskyi 5c9b71dee4 Warnings piece out of bound and superposition of pieces. 2021-08-27 18:27:52 +03:00
Roman Telezhynskyi 877fe380e3 Follow grainline. 2021-08-26 19:04:24 +03:00
Roman Telezhynskyi acfbc5478e Cleaning.
Remove unused slots.
2021-08-26 08:53:53 +03:00
Roman Telezhynskyi 54710608d6 Better piece flipping. 2021-08-26 08:50:11 +03:00
Roman Telezhynskyi d32bbfcfd4 Layout properties. 2021-08-25 16:58:50 +03:00
Roman Telezhynskyi 4646b6c1fb Default layout settings. 2021-08-21 16:14:03 +03:00
Roman Telezhynskyi 087d0855dd Undo/Redo remove sheet. 2021-08-19 16:24:43 +03:00
Roman Telezhynskyi 3f73bd9d75 Undo/Redo add sheet. 2021-08-19 16:09:44 +03:00
Roman Telezhynskyi 0908b5a1f7 Undo/Redo piece move. 2021-08-17 18:49:28 +03:00
Roman Telezhynskyi b638be5b2e Use QSaveFile class for saving a layout. 2021-08-14 17:21:58 +03:00
Roman Telezhynskyi 742c1c3eb3 Handle read only state. 2021-08-14 17:16:58 +03:00
Roman Telezhynskyi 2d68d40b59 Restore the maybe save warning. 2021-08-14 16:00:42 +03:00
Roman Telezhynskyi edee237fb8 Fix crash when we open the same file at the same windows twice. 2021-08-14 15:24:22 +03:00
Roman Telezhynskyi 807183b2ce Read/Write layout file. 2021-08-14 15:19:28 +03:00
Roman Telezhynskyi 3fbe96c2a7 Piece rotation. 2021-08-09 15:09:10 +03:00
Roman Telezhynskyi c7db3de6d8 Restored a piece context menu. 2021-07-31 16:00:32 +03:00
Roman Telezhynskyi bc0b271f16 Add Add/Remove sheets. 2021-07-31 12:21:07 +03:00
Roman Telezhynskyi 91a69b83b6 Cleaning and refactoring. 2021-07-29 17:11:18 +03:00
Roman Telezhynskyi 7ee158c11c New menu option Add sheet. 2021-05-27 21:11:32 +03:00
Roman Telezhynskyi 82935a1f03 Improvements for VPCarrousel. 2021-05-27 15:55:25 +03:00
Roman Telezhynskyi f233e7dcba Improve code style. 2021-05-27 11:35:47 +03:00
Roman Telezhynskyi 5467e213a2 Read/write empty layout file. 2021-05-22 20:29:33 +03:00
Ronan 1c6aebec4f VPExporter inherits from VLayoutExporter 2021-05-22 11:00:42 +02:00
Ronan fb2a7f8714 refactoring for Settings 2021-05-22 09:25:39 +02:00
Ronan b49087295e Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2021-05-22 09:13:20 +02:00
Ronan c9a25613f5 Merge remote-tracking branch 'refs/remotes/upstream/feature/manual-layout'
Conflicts:
	src/app/puzzle/vpmainwindow.cpp
	src/app/puzzle/vpmainwindow.h
2021-05-22 09:11:48 +02:00
Roman Telezhynskyi 173703245f Fix build on macx. 2021-05-22 10:05:18 +03:00
Roman Telezhynskyi a05a66b2ae Fix build on Qt less than 5.6. 2021-05-22 09:21:01 +03:00
Roman Telezhynskyi a9711316ec Refactoring. 2021-05-21 21:33:17 +03:00
Roman Telezhynskyi 06d19ace25 Dialog File > Preferences. 2021-05-21 20:51:46 +03:00
Roman Telezhynskyi 05645ca7df Recently Opened Files. 2021-05-21 18:26:00 +03:00
Roman Telezhynskyi 6efa26ffe3 File > Open Layout. 2021-05-21 18:08:37 +03:00
Roman Telezhynskyi d10355b400 File > Save functions. 2021-05-21 17:17:22 +03:00
Roman Telezhynskyi 67fc4b7539 Label for tooltip. 2021-05-21 12:03:26 +03:00
Roman Telezhynskyi 9c05894dac Move a "scale" spinner to separate tool bar. 2021-05-21 11:52:29 +03:00
Roman Telezhynskyi e1b9fbaccd One application, many windows. 2021-05-21 11:25:43 +03:00
Roman Telezhynskyi 5f607008ac Return to initial concept. 2021-05-21 10:54:58 +03:00
Roman Telezhynskyi dc50d24439 Review class VPMainWindow.
Setup initial state for a window. User must click New or Open before starting to use the window.
2021-05-20 18:33:53 +03:00
Roman Telezhynskyi a0dba0ea25 Review class VPApplication. 2021-05-20 17:10:43 +03:00