Commit Graph

195 Commits

Author SHA1 Message Date
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
Ronan Le Tiec
25cb7f9e6e Optimization piece carrousel 2020-04-26 14:03:43 +02:00
Ronan Le Tiec
bf09544d87 Piece Carrousel 2020-04-26 12:09:28 +02:00
Ronan Le Tiec
1c598ab069 extend Q_ASSERT of ReadLayer function 2020-04-24 16:23:06 +02:00
Ronan Le Tiec
9c5b23e7eb Slot auto connection, name convention and comments 2020-04-24 16:10:42 +02:00
Roman Telezhynskyi
e09c8de9c8 Fix build on Mac OS X. 2020-04-23 21:17:49 +03:00
Roman Telezhynskyi
a6677523b8 Clang warnings. 2020-04-23 19:16:17 +03:00
Roman Telezhynskyi
b9c5aed236 Clang warnings. 2020-04-23 18:41:34 +03:00
Roman Telezhynskyi
e9f44d01e9 Cppcheck warning. 2020-04-23 18:09:48 +03:00
Roman Telezhynskyi
82ce2aadfe Added initial support for the manual layout format version converter. 2020-04-23 18:05:00 +03:00
Roman Telezhynskyi
aeebd2a095 Specialized methods to write attribute value.
Certain types must be treated in a certain way.
2020-04-23 17:24:06 +03:00
Roman Telezhynskyi
b2f26f02bc Specialized functions to read tag attributes.
Provide easier conversion, return default value if an attribute is not provided, throw exception in case of error.
2020-04-23 17:22:58 +03:00
Roman Telezhynskyi
dcfb00aec8 Fix warning about unsafe usage. 2020-04-23 15:51:07 +03:00
Roman Telezhynskyi
61effa2a82 Define literals of each tags and attributes in manual layout format.
More efficient. A lot easier to maintain. Remove redundancy.
2020-04-23 15:51:07 +03:00
Roman Telezhynskyi
8138c1b430 Disable copy methods as in parent class. 2020-04-23 15:51:07 +03:00
Roman Telezhynskyi
abb0862c89 Cppcheck warning. 2020-04-23 15:51:07 +03:00
Roman Telezhynskyi
a4e01d514b More issues with code style. 2020-04-23 15:51:07 +03:00
Roman Telezhynskyi
222db34589 Fix potential memory leaks. 2020-04-23 15:51:07 +03:00
Roman Telezhynskyi
55e4dceb06 Refactoring. Follow code style. 2020-04-23 15:51:07 +03:00
Roman Telezhynskyi
7a46b98f5b Use brace initialization to define default value for class members.
Requires less code.
2020-04-23 15:50:56 +03:00
Roman Telezhynskyi
d769e9d3e2 Use forward declaration where possible. 2020-04-23 15:50:56 +03:00
Roman Telezhynskyi
0e7149a695 Pass a variable as constant reference. 2020-04-23 15:50:56 +03:00
Roman Telezhynskyi
ffe8ffa322 Getters can be const. 2020-04-23 15:50:20 +03:00
Ronan Le Tiec
828bd8dd3f Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2020-04-22 17:36:50 +02:00
Roman Telezhynskyi
b2fd02b510 Reading the Raw Layout Data file in Puzzle. 2020-04-21 19:03:46 +03:00
Roman Telezhynskyi
a9de60f515 Provide access to showHelp function. 2020-04-21 18:58:01 +03:00
Ronan Le Tiec
f2ed6a12f2 Work on file opening and reader 2020-04-19 16:01:46 +02:00
Ronan Le Tiec
83f5d70f98 Persistence of Layout in UI 2020-04-19 12:47:38 +02:00
Ronan Le Tiec
8be95376f1 work on units, layout and reader 2020-04-19 11:58:43 +02:00