Commit graph

103 commits

Author SHA1 Message Date
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