Commit Graph

236 Commits

Author SHA1 Message Date
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
718ff2056a Refactor names to avoid confusion. 2021-08-14 15:18:15 +03:00
Roman Telezhynskyi
d6fe9508a6 Move piece with keyboard. 2021-08-09 15:24:36 +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
2eecf95af9 Cleaning. 2021-07-31 12:32:23 +03:00
Roman Telezhynskyi
bc0b271f16 Add Add/Remove sheets. 2021-07-31 12:21:07 +03:00
Roman Telezhynskyi
52c9257bd0 Highlight active sheet. 2021-07-31 09:24:38 +03:00
Roman Telezhynskyi
bc3b144fc3 GCC warning. 2021-07-30 18:03:29 +03:00
Roman Telezhynskyi
78382b5c97 Fix issue with drag pixmap.
It disappears if move cursor far enough. Instead draw a cursor which will include a piece pixmap.
2021-07-30 18:03:20 +03:00
Roman Telezhynskyi
5242b4ed54 Restore adding pieces on sheet. 2021-07-30 14:49:38 +03:00
Roman Telezhynskyi
ec6c1cad23 Cleaning carousel. 2021-07-29 18:05:25 +03:00
Roman Telezhynskyi
91a69b83b6 Cleaning and refactoring. 2021-07-29 17:11:18 +03:00
Roman Telezhynskyi
9d9f953fae Fix layout comment. 2021-07-27 10:16:38 +03:00
Roman Telezhynskyi
41e9f0c71a Fix build. 2021-06-04 11:45:21 +03:00
Roman Telezhynskyi
598f29a0a9 Fix build. 2021-06-04 10:00:14 +03:00
Roman Telezhynskyi
18c0d7454f Hide warnings related to QMacCGContext. 2021-06-04 08:50:37 +03:00
Roman Telezhynskyi
7ee158c11c New menu option Add sheet. 2021-05-27 21:11:32 +03:00
Roman Telezhynskyi
f3c0af7294 Improve creating a piece icon.
Add more information about contour: seam line, seam allowance, notches, grainline, internal paths.
2021-05-27 19:52:37 +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
45256ebdd9 Use SetAttributeOrRemoveIf for margins. 2021-05-26 10:17:02 +03:00
Roman Telezhynskyi
320ac40056 Add method SetAttributeOrRemoveIf for VPLayoutFileWriter class. 2021-05-26 10:01:50 +03:00
Roman Telezhynskyi
5467e213a2 Read/write empty layout file. 2021-05-22 20:29:33 +03:00
Ronan
302a1fbc2b Move ExportFormatSuffix and Description to VLayoutExporter 2021-05-22 11:52:24 +02: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
Roman Telezhynskyi
e15b370ed4 Setup toolbar, set icons for actions. 2021-05-20 16:52:14 +03:00
Roman Telezhynskyi
c8a7c1a898 Deploy for Puzzle. 2021-05-20 10:35:40 +03:00
Ronan Le Tiec
e399c6bf1e max value of placement grid 2021-05-15 15:37:21 +02:00
Ronan Le Tiec
588232a442 new class VPExporter 2021-05-15 15:28:17 +02:00
Ronan Le Tiec
ee9bce8632 take orientation into account for export 2021-05-15 13:02:21 +02:00