Commit Graph

323 Commits

Author SHA1 Message Date
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
Roman Telezhynskyi
662ffd255b Fix incorrect us of QScopedPointer. 2021-05-04 09:33:19 +03:00
Roman Telezhynskyi
c61087ed5d Fix potential memory leak. 2021-05-04 09:21:34 +03:00
Roman Telezhynskyi
ca20519fa7 Fix deprecation warning. 2021-05-04 09:19:04 +03:00
Roman Telezhynskyi
a01f06b439 Fix incorrect define the precompiled header file.
Expected name is stable.h/cpp.
2021-05-04 08:45:27 +03:00
Roman Telezhynskyi
90eeec1d70 Fix warning parameter 'filename' not found in the function declaration. 2021-04-28 16:44:05 +03:00
Roman Telezhynskyi
9daeae12fe Filling more gaps in the documentation. 2021-04-28 13:22:24 +03:00
Roman Telezhynskyi
4525662fae Complete code documentation to satisfy Clang. 2021-04-26 09:14:48 +03:00
Ronan Le Tiec
84479771f7 Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2021-04-24 13:04:44 +02:00
Roman Telezhynskyi
b372668c52 Cppcheck warning. 2021-04-24 13:34:44 +03:00
Ronan Le Tiec
4ec454a9ef export title with sheet name 2021-03-14 16:57:20 +01:00
Ronan Le Tiec
0e420963cf use the sheet name as file name for export 2021-03-14 16:49:02 +01:00
Ronan Le Tiec
dc183eaa51 initialise placement values 2021-03-14 14:40:56 +01:00
Ronan Le Tiec
c4473b0d27 Add rotation shortcuts and grid placement 2021-03-14 14:27:45 +01:00
Roman Telezhynskyi
a58a783aba Merge branch 'develop' into feature/manual-layout 2020-12-23 18:40:33 +02:00
Ronan Le Tiec
bbe27ec671 Nicer rotate cursor 2020-11-22 12:45:38 +01:00
Ronan Le Tiec
cdff123231 Refactor triangle position marks for tiled pdf 2020-11-21 16:47:05 +01:00
Ronan Le Tiec
dd5970f8ba Improve Piece carrousel icon and drag icon 2020-11-21 15:38:33 +01:00
Ronan Le Tiec
728b2c83c3 Fix piece carrousel context menu crash 2020-11-21 14:28:28 +01:00
Ronan Le Tiec
b9e26f0b3f Add a trash list and delete context menu function 2020-11-21 14:24:07 +01:00
Ronan Le Tiec
b606497c48 Persistence of sheet name 2020-11-21 13:45:26 +01:00
Ronan Le Tiec
898a5a92c3 Ppi after format name added 2020-11-21 13:26:38 +01:00
Ronan Le Tiec
4366cbdec9 Display passmarks and place labels 2020-11-20 17:05:56 +01:00
Ronan Le Tiec
efac90c9bb Icons for templates 2020-11-20 16:24:53 +01:00
Ronan Le Tiec
9140fdcb78 Templates for sheet and tiles 2020-11-20 15:51:24 +01:00
Ronan Le Tiec
073bd93df7 remove the grainline filling 2020-11-19 17:24:48 +01:00
Ronan Le Tiec
7e16c12623 Change the selection sequence with tabs 2020-11-19 16:45:02 +01:00
Ronan Le Tiec
b90a99a0aa Showing internal paths 2020-11-19 16:32:47 +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
Ronan Le Tiec
97351b58dd Add text infos to the tiles 2020-11-16 20:22:38 +01:00
Ronan Le Tiec
db4bd0d616 Improve tiles decoration 2020-11-15 22:34:24 +01:00
Ronan Le Tiec
cbf0651486 All tiles exported 2020-11-15 13:06:57 +01:00
Ronan Le Tiec
f90f8ca01b First tiles export 2020-11-15 12:30:29 +01:00
Ronan Le Tiec
e7cd13b703 Preview grid of the tiles on the sheet 2020-11-14 17:31:34 +01:00
Ronan Le Tiec
dddf1fe654 Tiles functions and persistence 2020-11-14 15:58:42 +01:00
Ronan Le Tiec
40c9e8161b Tiles Tab content 2020-11-14 13:23:32 +01:00
Ronan Le Tiec
ffaca85f49 Test SVG export improved 2020-11-14 12:46:18 +01:00
Ronan Le Tiec
f6e5f67159 Button export with test svg export 2020-11-14 12:37:43 +01:00
Ronan Le Tiec
491d5848b4 Add mouse position functionality 2020-11-14 10:55:57 +01:00
Ronan Le Tiec
d55dbbb61e Add scale spinbox functionality 2020-11-14 10:20:02 +01:00
Ronan Le Tiec
c497e325d8 Zoom functions 2020-11-13 23:31:22 +01:00
Ronan Le Tiec
4ec3e29bb1 add zoom icons to toolbar 2020-11-11 22:04:07 +01:00
Ronan Le Tiec
e1c79b0db5 Icon for the layout tab 2020-11-11 21:09:01 +01:00
Ronan Le Tiec
9fb4a2cc39 init tab refactoring 2020-11-11 19:31:39 +01:00
Ronan Le Tiec
c0c85bb2d5 Layout name und description persistence 2020-11-11 19:14:06 +01:00
Ronan Le Tiec
23c4f81904 Hide some ui elements for MVP 2020-11-10 21:46:23 +01:00
Ronan Le Tiec
f448514c71 take into account Show Seamline 2020-11-10 21:29:23 +01:00
Ronan Le Tiec
6d2b05ccc4 Add uuid to current piece infos 2020-11-10 20:55:39 +01:00
Roman Telezhynskyi
83225958de Cppcheck warnings. 2020-11-10 16:14:51 +02:00
Roman Telezhynskyi
453d120150 Cppcheck warnings. 2020-11-10 16:10:38 +02:00
Roman Telezhynskyi
0371905c0d Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-11-10 16:00:01 +02:00
Ronan Le Tiec
2cc3c93dea Sheet orientation and piece transform 2020-06-25 16:59:48 +02:00
Ronan Le Tiec
4ad2c854b2 VPPiece now inherits form VLayoutPiece 2020-06-25 14:17:31 +02:00
Roman Telezhynskyi
20b797b2c5 Merge branch 'develop' into feature/manual-layout. 2020-06-04 13:45:32 +03:00
Ronan Le Tiec
af40b52988 Refactoring Piece carrousel part 2 2020-05-24 19:53:51 +02:00
Ronan Le Tiec
f00168e59b Refactoring Piece carrousel 2020-05-24 14:55:03 +02:00
Ronan Le Tiec
b4b77c4cdf Introducing VPSheet and refactoring part 3 2020-05-23 17:51:00 +02:00
Ronan Le Tiec
61a2e17a78 Introducing VPSheet and refactoring part 2 2020-05-23 17:47:04 +02:00
Ronan Le Tiec
803a7b6caa Introducing VPSheet and refactoring 2020-05-23 17:46:46 +02:00
Ronan Le Tiec
22a5e2094c Refactoring VPuzzleSettings 2020-05-23 15:44:44 +02:00
Ronan Le Tiec
83666c090f Refactoring VPuzzlePiece 2020-05-23 15:42:51 +02:00
Ronan Le Tiec
6079d69c93 Refactoring VPuzzleMimeDataPiece 2020-05-23 15:38:59 +02:00
Ronan Le Tiec
2accd83d6b Refactoring VPuzzleMainGraphicsView 2020-05-23 15:36:46 +02:00
Ronan Le Tiec
5e785bfa79 Refactoring VPuzzleLayout 2020-05-23 15:34:11 +02:00
Ronan Le Tiec
34b67cc6e3 Refactoring VPuzzleLayer 2020-05-23 15:29:57 +02:00
Ronan Le Tiec
45be7271bb Refactoring VPuzzleGraphicsPiece 2020-05-23 14:50:22 +02:00
Ronan Le Tiec
e43f970ea8 Refactoring VPuzzleGraphicsLayout 2020-05-23 14:48:31 +02:00
Ronan Le Tiec
9e532edc1a Refactoring VPuzzleCommandLine 2020-05-23 14:43:57 +02:00
Ronan Le Tiec
fb78189d29 Refactoring VPieceCarrouselPiecePreview 2020-05-23 14:39:31 +02:00
Ronan Le Tiec
510d1bd931 Refactoring VPieceCarrouselPiece 2020-05-23 14:36:35 +02:00
Ronan Le Tiec
8ca77baef0 Refactoring VPieceCarrouselLayer 2020-05-23 14:33:02 +02:00
Ronan Le Tiec
690606b4e5 Refactoring VPieceCarrousel 2020-05-23 14:29:18 +02:00
Ronan Le Tiec
74112a43ac Refactoring stable 2020-05-23 14:19:12 +02:00
Ronan Le Tiec
1079ef2add Refactoring PuzzleMainWindow 2020-05-23 14:17:20 +02:00
Ronan Le Tiec
e816e4d5a1 Refactoring puzzlecommands 2020-05-23 14:12:07 +02:00
Ronan Le Tiec
5bd695b646 Refactoring PuzzleApplication 2020-05-23 14:10:05 +02:00
Ronan Le Tiec
04e97b6e74 Refactoring class comments 2020-05-23 14:04:39 +02:00
Ronan Le Tiec
13c060f2fc Refactoring VPuzzleLayoutFileWriter 2020-05-23 14:02:39 +02:00
Ronan Le Tiec
d9e3a08eac Refactoring VPuzzleLayoutFileReader 2020-05-23 14:01:03 +02:00
Ronan Le Tiec
63d5ac0158 refactoring layoutliterals 2020-05-23 13:51:57 +02:00
Ronan Le Tiec
213863ae98 refactoring dialog about 2020-05-23 13:49:38 +02:00
Ronan Le Tiec
e2cfe7d0cc Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2020-05-23 13:11:06 +02:00
Ronan Le Tiec
ed3022ae51 isEmpty test of graphic piece 2020-05-23 13:10:25 +02:00
Roman Telezhynskyi
f1057de239 Redesign. Move initialization in ui file. Use QListWidget instead of a custom solution. Basic functions do not work yet. 2020-05-11 17:48:08 +03:00
Roman Telezhynskyi
5fc927b32a Since we store a dockwidget size no need to handle size manually. 2020-05-11 17:46:25 +03:00
Roman Telezhynskyi
56ec768777 GCC warning. 2020-05-11 17:44:53 +03:00
Roman Telezhynskyi
21dd764d53 Code style. 2020-05-11 17:44:30 +03:00
Roman Telezhynskyi
067dd637a7 Cppcheck warning. 2020-05-11 17:40:53 +03:00
Roman Telezhynskyi
a89259d47d Fix issue with VMainGraphicsView. 2020-05-11 17:39:54 +03:00
Roman Telezhynskyi
19fd03b66e Read/write window state. Will help with setting the carousel size. 2020-05-10 18:38:06 +03:00
Roman Telezhynskyi
c1051783f6 Fix code style. 2020-05-10 18:35:25 +03:00
Roman Telezhynskyi
7b1449f11e Redesign settings.
All apps settings classes moved to binaries. Use common part to get access from static libraries. Fixed issues with VMainGraphicsView class.
2020-05-10 18:32:26 +03:00
Roman Telezhynskyi
02b21d818f Use fuzzy functions to compare floats. 2020-05-10 11:51:54 +03:00
Ronan Le Tiec
0e87b10a66 improvement rotation initialisation 2020-05-09 15:13:00 +02:00
Ronan Le Tiec
3fc0924887 Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2020-05-09 14:48:43 +02:00
Ronan Le Tiec
a9d6fae27d optimization angle / rotation 2020-05-09 14:45:36 +02:00
Roman Telezhynskyi
03a8d71e65 qOverload was introduced in Qt 5.7. 2020-05-09 13:57:42 +03:00
Roman Telezhynskyi
33865a06b5 Cppcheck warnings. 2020-05-09 13:25:23 +03:00
Ronan Le Tiec
dc44bef761 enable rotation 2020-05-09 11:13:29 +02:00
Ronan Le Tiec
e72a664c8a context menu for carrousel piece and graphics piece 2020-05-09 09:54:56 +02:00
Ronan Le Tiec
f516d80513 improve unselect behaviour of unplaced pieces 2020-05-09 09:00:27 +02:00
Ronan Le Tiec
6c35dfc78a Work on layer and graphics view behaviour 2020-05-08 23:49:41 +02:00
Ronan Le Tiec
d72be9029f improve multiple selection and add grainline to pieces 2020-05-06 15:05:01 +02:00
Ronan Le Tiec
e2b816f192 work on piece selection and position 2020-05-05 17:40:36 +02:00
Ronan Le Tiec
c4dbea1d56 puzzle main graphics and pieces 2020-05-05 07:44:20 +02:00
Ronan Le Tiec
497cb65cb2 Optimizing the piece carrousel 2020-05-02 12:17:06 +02:00
Ronan Le Tiec
e27e543fbc comments 2020-05-02 09:44:45 +02:00
Ronan Le Tiec
928c57f74b remove uncomment in LoadFile 2020-05-02 09:30:53 +02:00
Ronan Le Tiec
9a8fabc25e optimization current piece tab 2020-05-01 19:08:48 +02:00
Ronan Le Tiec
f5e325a235 Piece carrousel design and piece selection 2020-05-01 18:26:02 +02:00
Ronan Le Tiec
7bca5f41ec Optimize the carrousel piece fitInView 2020-04-26 22:32:08 +02:00
Ronan Le Tiec
4edcbfd0c5 work on the piece and carrousel 2020-04-26 15:36:20 +02:00
Ronan Le Tiec
39c889d43b Piece Name and UUID taken into account in *vlt reader / writer 2020-04-26 14:12:20 +02:00