Commit graph

6446 commits

Author SHA1 Message Date
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
Roman Telezhynskyi a0fb0f8ee3 Merge branch 'feature/manual-layout' into 'feature/manual-layout'
Puzzle, work on the UI, the file reader and writer

See merge request smart-pattern/valentina!5
2020-04-23 08:04:43 +00: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 b9fb53c21a GCC warnings. 2020-04-22 16:17:19 +03:00
Roman Telezhynskyi 46225d641d Merge branch 'develop' into feature/manual-layout 2020-04-22 15:14:50 +03:00
Roman Telezhynskyi 30a27ee85a UUID field for piece. 2020-04-22 14:32:25 +03:00
Roman Telezhynskyi b2fd02b510 Reading the Raw Layout Data file in Puzzle. 2020-04-21 19:03:46 +03:00
Roman Telezhynskyi 3b37d22a0b Actions Open Puzzle, Create Manual Layout, Update Manual Layout in Valentina. 2020-04-21 19:02:21 +03:00
Roman Telezhynskyi a9de60f515 Provide access to showHelp function. 2020-04-21 18:58:01 +03:00
Roman Telezhynskyi 3a675f0552 New default folder Manual layouts. 2020-04-21 18:57:11 +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
Ronan Le Tiec c83ac5e493 Changes for vlt Format version 2020-04-19 10:38:28 +02:00
Ronan Le Tiec 9e2c0e9cc5 Work on the VPuzzleLayoutFileReader 2020-04-18 20:24:25 +02:00
Ronan Le Tiec 596707d5b1 Work on VPuzzleLayoutFileWriter 2020-04-18 16:32:54 +02:00
Ronan Le Tiec 13d42bfa62 Additional function in VPuzzleLayer 2020-04-18 12:12:04 +02:00
Ronan Le Tiec cefb643d54 Definition of the VPuzzleLayer class 2020-04-18 11:54:34 +02:00
Ronan Le Tiec 213814f09f Small changes in VPuzzleLayout class 2020-04-18 11:31:55 +02:00
Ronan Le Tiec 2cb5b8e6aa Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2020-04-18 11:25:42 +02:00
Roman Telezhynskyi adb6419670 Fix closing app in GUI mode.
It must close only in console mode.
2020-04-18 10:53:32 +03:00
Roman Telezhynskyi c7085e42c3 Fix application name in man page. 2020-04-18 09:07:25 +03:00
Roman Telezhynskyi 186be9c272 Merge branch 'feature/manual-layout' into 'feature/manual-layout'
Feature/manual layout

See merge request smart-pattern/valentina!4
2020-04-18 06:03:55 +00:00
vorzelmir b84e47f077 Update vpuzzlecommandline.h 2020-04-17 18:58:34 +00:00
vorzelmir 863ce66f22 Merge branch 'feature/manual-layout' of gitlab.com:vorzelmir/valentina into feature/manual-layout 2020-04-16 00:12:18 +03:00
vorzelmir 831a1caa41 puzzle man page 2020-04-16 00:12:07 +03:00
Roman Telezhynskyi cc3d3e8021 Redesign command-line interface to support client server architecture. 2020-04-14 11:36:21 +03:00
Ronan Le Tiec d12a9c2c0b Cpp checks 2020-04-13 19:03:01 +02:00
Ronan Le Tiec d93e1ace92 Add classes for layer,layout and piece 2020-04-13 18:58:16 +02:00
Roman Telezhynskyi a258d5c7ed GCC warnings. 2020-04-13 15:28:06 +03:00
Roman Telezhynskyi dd68bd8d5e qOverload was introduced in Qt 5.7. 2020-04-13 15:27:52 +03:00
Roman Telezhynskyi 4db705b2c1 Merge branch 'feature/manual-layout' into 'feature/manual-layout'
Feature manual layout

See merge request smart-pattern/valentina!3
2020-04-13 12:17:15 +00:00
Roman Telezhynskyi da26ec832c Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2020-04-13 15:11:40 +03:00
Roman Telezhynskyi 53bd9474be Cppcheck warning. 2020-04-13 15:05:22 +03:00
Roman Telezhynskyi fe281120d5 Remove comments. 2020-04-13 15:02:55 +03:00
Roman Telezhynskyi 2f02e7cdc0 Merge branch 'feature/manual-layout' into 'feature/manual-layout'
Feature manual layout #9

Basic structure of Puzzle (menu, properties and piece carrousel).

See merge request smart-pattern/valentina!1
2020-04-13 11:54:31 +00:00
Ronan Le Tiec e8b119a959 Icons in high definition 2020-04-13 12:56:25 +02:00
Ronan Le Tiec 096f913d33 Corrections of .pro 2020-04-13 12:49:33 +02:00
Ronan Le Tiec ee98cfb05f Updated class comment 2020-04-13 12:43:27 +02:00