Commit graph

543 commits

Author SHA1 Message Date
Ronan Le Tiec be44126c94 add remove item from group and add item to group in tool context menu
--HG--
branch : issue826
2018-03-24 23:42:17 +01:00
Roman Telezhynskyi 6a7405b4d4 Refactoring. Use QString default constructor instead of empty string.
--HG--
branch : develop
2018-03-14 16:01:24 +02:00
Roman Telezhynskyi c1cea4c441 Clazy warnings.
--HG--
branch : develop
2018-03-14 15:39:15 +02:00
Roman Telezhynskyi cb5b7fcfcd Resolved issue #818. Improve Piece path validation. Check uniqueness.
--HG--
branch : develop
2018-03-05 12:05:59 +02:00
Roman Telezhynskyi c56992407e Resolved issue #667. Check for updates - Test version.
--HG--
branch : develop
2018-02-06 13:38:05 +02:00
Roman Telezhynskyi 72d832c93a Resolved issue #807. Issue with "Intersection" passmark.
--HG--
branch : develop
2018-02-04 12:35:27 +02:00
Roman Telezhynskyi f938cc04fe Instead of refresing with time call cache refresh only if missed.
--HG--
branch : develop
2018-01-27 12:04:22 +02:00
Roman Telezhynskyi ac94ef8a94 Cppcheck warning.
--HG--
branch : develop
2018-01-26 14:49:42 +02:00
Roman Telezhynskyi 01acee890b Refresh cache for method VDomDocument::elementById() in separate thread.
--HG--
branch : develop
2018-01-26 14:43:52 +02:00
Roman Telezhynskyi 54d3ae7561 Improve parsing formulas.
Enable subexpressions. Allow user to define local variables.

--HG--
branch : develop
2018-01-24 22:08:53 +02:00
Roman Telezhynskyi a91b1a3816 Speed optimization for method VAbstractPattern::ListMeasurements().
--HG--
branch : develop
2018-01-24 13:16:29 +02:00
Roman Telezhynskyi 27af6ac833 Resolved issue #392. Improve feature: Show progress bar while opening pattern
file.

--HG--
branch : develop
2018-01-22 14:26:53 +02:00
Roman Telezhynskyi 7f84a09342 Optimization. Avoid expensive exception calls.
--HG--
branch : develop
2018-01-20 12:31:12 +02:00
Roman Telezhynskyi 4e79aaa77f Improve error message for incompatible format version.
--HG--
branch : develop
2018-01-13 13:42:12 +02:00
Roman Telezhynskyi f52b690827 Resolved issue #792. New feature. Visibility trigger for internal path.
--HG--
branch : develop
2018-01-03 19:31:50 +02:00
Roman Telezhynskyi 88844ec33f Resolved issue #783. Flipping control.
--HG--
branch : develop
2017-12-17 15:06:46 +02:00
Roman Telezhynskyi debc37d78a Removed unused postfix operator.
--HG--
branch : develop
2017-12-04 14:32:17 +02:00
Roman Telezhynskyi 604baa61d3 Improve Move tool. It should provide optional rotation origin point field.
ref #726.

--HG--
branch : develop
2017-11-17 12:28:57 +02:00
Roman Telezhynskyi 3510843e44 Resolved issue #726. Improve Move tool. Add optional rotate option.
--HG--
branch : develop
2017-11-13 19:39:11 +02:00
Roman Telezhynskyi 1ce645fa16 Fix bug in undocommands.
--HG--
branch : develop
2017-10-29 19:49:51 +02:00
Roman Telezhynskyi 29b23bbce3 Toggle piece node point label. ref #755.
--HG--
branch : develop
2017-10-27 11:53:35 +03:00
Roman Telezhynskyi 51e670bd84 Duplicate from GUI.
--HG--
branch : feature
2017-10-26 16:57:52 +03:00
Roman Telezhynskyi 9b54b0c069 Dialog Duplicate Detail.
--HG--
branch : feature
2017-10-25 17:49:04 +03:00
Roman Telezhynskyi ca79c7ff93 Added place label.
--HG--
branch : feature
2017-10-15 12:25:20 +03:00
Roman Telezhynskyi baa2f4fd92 Resolved issue #768. New feature. Custom curve approximation scale.
--HG--
branch : develop
2017-10-11 13:51:06 +03:00
Roman Telezhynskyi 61172d46c4 Fix typo in headers.
--HG--
branch : develop
2017-10-05 12:20:01 +03:00
Roman Telezhynskyi d7b3ddc2d5 Resolved issue #758. Intersection Passmark - select which side is shown.
--HG--
branch : develop
2017-09-28 21:18:13 +03:00
Roman Telezhynskyi 657c445e46 Extract formulas from final measurements.
--HG--
branch : feature
2017-09-28 16:39:27 +03:00
Roman Telezhynskyi 8c84cff91d Read/write list of final measurements.
--HG--
branch : feature
2017-09-26 12:54:52 +03:00
Roman Telezhynskyi 6bd1a460e6 Refactor method VPattern::setCurrentData().
It should use method VAbstractPattern::getLocalHistory().

--HG--
branch : develop
2017-09-25 18:15:28 +03:00
Roman Telezhynskyi 3a358f7633 Improve dialog Increments. It should show all internal variables instead it
showed only those who were in currently selected pattern piece.

--HG--
branch : develop
2017-09-25 16:36:04 +03:00
Roman Telezhynskyi 28cd003bcc Improve converting customer name.
--HG--
branch : develop
2017-09-21 09:55:59 +03:00
Roman Telezhynskyi 795438c202 Merge with develop.
--HG--
branch : feature
2017-09-20 08:53:44 +03:00
Roman Telezhynskyi bfe327ee13 If pattern linked to individual measurements it should get customer name from
it.

--HG--
branch : develop
2017-09-19 16:07:48 +03:00
Roman Telezhynskyi 783f2f1296 Merge with develop.
--HG--
branch : feature
2017-09-18 09:13:47 +03:00
Roman Telezhynskyi 0bfeb859f8 Fixed issue #754. Converting to new label template system cause error in cut
number.

--HG--
branch : develop
2017-09-18 09:11:39 +03:00
Roman Telezhynskyi b01adfa388 Saving to file works for simple point.
--HG--
branch : feature
2017-09-17 19:52:18 +03:00
Roman Telezhynskyi d6a956b7fa Improve VDomDocument::CollectId warning message.
--HG--
branch : develop
2017-09-11 11:45:38 +03:00
Roman Telezhynskyi d77acc524c Resolved issue #731. Improve tab Increments. Separate the tab on two:
Increments and Preview Calculation.

--HG--
branch : develop
2017-09-02 14:47:44 +03:00
Roman Telezhynskyi b7db0804dc Our new website.
--HG--
branch : develop
2017-09-01 17:04:19 +03:00
Roman Telezhynskyi 4ed21eb4d5 Clang warning.
--HG--
branch : develop
2017-08-30 10:16:40 +03:00
Roman Telezhynskyi a97821edce Read and write pattern materials.
--HG--
branch : feature
2017-08-30 08:55:07 +03:00
Roman Telezhynskyi 842dfafcd6 Fix bug. Valentina doesn't update pattern label.
--HG--
branch : develop
2017-08-23 20:54:20 +03:00
Roman Telezhynskyi af6e41d8cc Fix bug. Valentina doesn't update piece label.
--HG--
branch : develop
2017-08-23 15:26:48 +03:00
Roman Telezhynskyi 9d84412823 SonarQube warnings.
--HG--
branch : develop
2017-08-21 19:20:50 +03:00
Roman Telezhynskyi c4262903d8 Clang warning.
--HG--
branch : develop
2017-08-21 18:59:11 +03:00
Roman Telezhynskyi 6a5e684d90 Fix conversion a piece label with multiple materials.
--HG--
branch : develop
2017-08-21 18:07:30 +03:00
Roman Telezhynskyi ae870b8b2e Fix conflict of names.
--HG--
branch : develop
2017-08-21 17:10:55 +03:00
Roman Telezhynskyi 31beeb0756 Clang warnings.
--HG--
branch : develop
2017-08-21 16:03:43 +03:00
Roman Telezhynskyi be548269f6 Cppcheck warnings.
--HG--
branch : develop
2017-08-21 15:39:05 +03:00
Roman Telezhynskyi acf429518d Added more additional Piece label fields.
--HG--
branch : feature
2017-08-21 13:16:43 +03:00
Roman Telezhynskyi 464a54c7ee Update label after changing date/time format.
--HG--
branch : feature
2017-08-19 19:52:33 +03:00
Roman Telezhynskyi a8d8efd889 Dialog DateTimeEditor.
--HG--
branch : feature
2017-08-19 19:10:57 +03:00
Roman Telezhynskyi 5961f52a73 Fix label conversion.
--HG--
branch : feature
2017-08-18 14:56:18 +03:00
Roman Telezhynskyi f07fd426dd Clearing old code.
--HG--
branch : feature
2017-08-18 14:22:31 +03:00
Roman Telezhynskyi 12fa4399e8 Convert piece label to new format.
--HG--
branch : feature
2017-08-18 09:02:03 +03:00
Roman Telezhynskyi ae78373f88 Read/write piece label.
--HG--
branch : feature
2017-08-18 07:59:47 +03:00
Roman Telezhynskyi c368a956b8 Fix bug. Changing pattern or measurements file name do not imidiatelly update
pattern label.

--HG--
branch : feature
2017-08-17 19:57:46 +03:00
Roman Telezhynskyi d6898af23e Refactoring. Rename method.
--HG--
branch : feature
2017-08-17 19:42:48 +03:00
Roman Telezhynskyi bc36e9bac3 Clear unused tags from code.
--HG--
branch : feature
2017-08-16 16:56:07 +03:00
Roman Telezhynskyi 3cd0c10f07 Convert old pattern label to new form.
--HG--
branch : feature
2017-08-16 16:39:16 +03:00
Roman Telezhynskyi 4d58e05f3e New option Font size increment.
Add value to point size of base font.

--HG--
branch : feature
2017-08-15 18:10:15 +03:00
Roman Telezhynskyi b212d04d11 Parse template and prepare pattern label.
--HG--
branch : feature
2017-08-15 15:22:33 +03:00
Roman Telezhynskyi 3b60eaff08 List to speed up reading a template by many pieces.
--HG--
branch : feature
2017-08-15 11:38:36 +03:00
Roman Telezhynskyi 882cf360e2 We use implicit conversion. That's why check if values are still the same as
excpected.

--HG--
branch : feature
2017-08-15 11:23:48 +03:00
Roman Telezhynskyi cd06b70c6f New pattern format version 0.6.0.
--HG--
branch : feature
2017-08-15 11:17:54 +03:00
Roman Telezhynskyi 8466e84eef Read/Write pattern label.
--HG--
branch : feature
2017-08-15 10:44:00 +03:00
Roman Telezhynskyi c989cdf048 Added import the template.
--HG--
branch : feature
2017-08-10 19:32:05 +03:00
Roman Telezhynskyi 16ec3a3ea8 User should be able to rename increments.
--HG--
branch : develop
2017-08-08 17:43:41 +03:00
Roman Telezhynskyi 6f5199c5d1 Performance optimization.
--HG--
branch : develop
2017-08-05 11:03:19 +03:00
Roman Telezhynskyi 474c0949e2 Fix translation variables.
(grafted from dff11ab321d8eb16de58f01b70913190f527809c)

--HG--
branch : develop
2017-08-04 10:28:44 +03:00
Roman Telezhynskyi 07a7b033b7 Performance improvement. Speed up method VDomDocument::elementById.
Use integer key instead of string.

--HG--
branch : develop
2017-08-02 14:40:17 +03:00
Roman Telezhynskyi acc340bff1 Performance improvement. Speed up method VDomDocument::elementById.
--HG--
branch : develop
2017-08-02 14:10:10 +03:00
Roman Telezhynskyi ca66c8ebe2 Improve performance. Calling method RefreshDataInFile() slows down parsing.
--HG--
branch : develop
2017-08-02 11:34:44 +03:00
Roman Telezhynskyi a6bafb77e1 Resolved issue #734. Optimization. Stop increments/variables table from
updating immediately.

--HG--
branch : develop
2017-07-23 16:52:57 +03:00
Roman Telezhynskyi d09de4155b Added new option for Internal path. ref #391.
This option is nedded for AAMA to determine a cut contour.

--HG--
branch : develop
2017-07-20 17:38:56 +03:00
Ronan Le Tiec 46f70788cf issue #654 refactoring the code so that the functions and variables are called xxx multisize xxx instead of xxx standard xxx
--HG--
branch : develop
2017-07-12 20:21:48 +02:00
Ronan Le Tiec f080b88cf7 issue #712 new default allowance setting taken into account in seam allowance tool dialog. StrToUnits and UnitsToStr moved from VDomDocument to def
--HG--
branch : develop
2017-07-02 13:34:36 +02:00
Roman Telezhynskyi d110dc3325 Fixed issue #706. Default unit in preferences not changing new file unit.
(grafted from f1ce177213a46538a840fc789e4e2ce3d78d98e4)

--HG--
branch : develop
2017-06-16 16:01:09 +03:00
Roman Telezhynskyi 5c4f45397d Fix build on Mac OS X.
--HG--
branch : develop
2017-06-05 20:58:38 +03:00
Roman Telezhynskyi 7e064f80c5 Thrown away code for support Qt < 5.2.
--HG--
branch : develop
2017-05-30 19:52:38 +03:00
Roman Telezhynskyi 965d908663 GCC warnings.
--HG--
branch : develop
2017-05-30 18:44:16 +03:00
Roman Telezhynskyi 9287acf90e Add Valentina version info inside each file before saving.
Many misunderstand purpose of tag "version" and think that this tag contains
information about the Valentina version. More info in the comment should help.

--HG--
branch : develop
2017-05-29 16:33:36 +03:00
Roman Telezhynskyi 32a16890a7 Resolved issue #681. Enhance feature: Dashed line options for curves, arcs, etc.
--HG--
branch : develop
2017-05-16 13:07:53 +03:00
Roman Telezhynskyi c9e005c65b Small improvements for passmark.
Added new option that allow localy disable the second passmark on the seam line.

--HG--
branch : release
2017-04-26 11:22:42 +03:00
Roman Telezhynskyi 7840bf04eb Resolved issue #668. Passmarks on Hems.
--HG--
branch : release
2017-04-25 11:42:08 +03:00
Roman Telezhynskyi 7734c0564b Localization improvements.
--HG--
branch : release
2017-04-21 17:28:25 +03:00
Roman Telezhynskyi 6c047b140d Resolved issue #666. QDomDocument produces random attribute order.
--HG--
branch : release
2017-04-20 19:01:08 +03:00
Roman Telezhynskyi a0262e260b Coverity scan warnings.
--HG--
branch : release
2017-04-19 12:48:13 +03:00
Roman Telezhynskyi bab0adfebc Refactoring method MUnit(). All formats have the same syntax.
--HG--
branch : release
2017-04-18 11:46:53 +03:00
Roman Telezhynskyi a1caf972a9 Warn a user when need to update a file format version.
--HG--
branch : release
2017-04-12 09:49:05 +03:00
Roman Telezhynskyi c0f36dffbe Resolved issue #652. Show passmarks for builtin seam allowance.
--HG--
branch : develop
2017-04-05 13:22:33 +03:00
Roman Telezhynskyi e2383eb500 Refactoring. Use "=default" instead of the default implementation.
--HG--
branch : develop
2017-04-01 17:27:55 +03:00
Roman Telezhynskyi 9433a6b358 Refactoring. Remove unused private functions.
--HG--
branch : develop
2017-04-01 15:27:24 +03:00
Roman Telezhynskyi 6ac1a1247c Read/write passmark information.
--HG--
branch : feature
2017-03-24 14:48:07 +02:00
Roman Telezhynskyi e995f6f68a Added new tool Insert node.
--HG--
branch : feature
2017-03-22 12:05:53 +02:00
Roman Telezhynskyi 7fe86bc319 Successful build.
--HG--
branch : feature
2017-03-21 17:18:48 +02:00
Roman Telezhynskyi 96255ef093 Dialog Insert node tool.
--HG--
branch : feature
2017-03-21 15:39:14 +02:00
Roman Telezhynskyi 3a630b1ce3 Strip HTML from XSD Validator error message.
--HG--
branch : develop
2017-03-18 18:07:05 +02:00
Roman Telezhynskyi 814c2307ee Refactoring. Minor changes.
--HG--
branch : develop
2017-03-18 14:06:40 +02:00
Roman Telezhynskyi bd656bcfff Refactoring. Remove the code after these statements.
--HG--
branch : develop
2017-03-18 11:21:52 +02:00
Roman Telezhynskyi 6499c73d0c Refactoring. Merge identical cases.
--HG--
branch : develop
2017-03-18 11:04:12 +02:00
Roman Telezhynskyi 4f38a31f25 Convert label width and height to pattern units.
--HG--
branch : feature
2017-03-14 13:54:15 +02:00
Roman Telezhynskyi 3442da18ee Fix pattern format version after the merge.
--HG--
branch : feature
2017-03-10 19:14:14 +02:00
Roman Telezhynskyi 77a3845374 Updated multisize file format version.
--HG--
branch : feature
2017-03-10 11:39:20 +02:00
Roman Telezhynskyi 3e1cde0719 Updated file format version.
--HG--
branch : feature
2017-03-10 11:22:15 +02:00
Murloc 506ca0612c Add 200 in heights
--HG--
branch : feature
2017-03-09 21:41:48 +01:00
Roman Telezhynskyi 3bf65edaa6 Merge with develop.
--HG--
branch : feature
2017-02-22 14:48:48 +02:00
Roman Telezhynskyi b31a8d4c6b Extend max size to 72 cm.
Request from a user. See
http://forum.valentina-project.org/t/extension-of-standard-measurements/957

--HG--
branch : develop
2017-02-22 07:54:42 +02:00
Roman Telezhynskyi 71ac49a221 Merge with develop.
--HG--
branch : feature
2017-02-13 15:29:37 +02:00
Roman Telezhynskyi a740d52861 Fix bug. QTemporaryFile blocks a file on Windows.
--HG--
branch : develop
2017-02-07 13:44:33 +02:00
Roman Telezhynskyi 685f8a7d70 Create reserve copy only if a file is not a template.
--HG--
branch : develop
2017-02-05 11:27:30 +02:00
Roman Telezhynskyi 7d78a0f63f Resolved issue #619. Non writable directory prevents opening.
--HG--
branch : develop
2017-02-04 13:28:47 +02:00
Roman Telezhynskyi 85078691ca New version of pattern format.
--HG--
branch : feature
2017-02-01 14:18:45 +02:00
Roman Telezhynskyi ad403850bc Save pin inside a piece.
--HG--
branch : feature
2017-01-31 18:09:18 +02:00
Roman Telezhynskyi b9d635dab2 Dialog Pin tool.
--HG--
branch : feature
2017-01-31 14:28:48 +02:00
Roman Telezhynskyi 6e054e2008 Clang warning.
--HG--
branch : develop
2017-01-27 12:12:27 +02:00
Roman Telezhynskyi 7f1de2e044 Refactoring. Made strings static.
--HG--
branch : feature
2017-01-25 15:47:55 +02:00
Roman Telezhynskyi 7817936d3e Fix conversion bug.
--HG--
branch : feature
2017-01-23 14:03:07 +02:00
Roman Telezhynskyi 8b1e9e24d4 Tool path and piece now bring formulas, should cover this fact.
--HG--
branch : feature
2017-01-21 17:32:08 +02:00
Roman Telezhynskyi 669d295804 Class VToolDetail removed.
--HG--
branch : feature
2017-01-21 16:30:14 +02:00
Roman Telezhynskyi 0ef10c01b0 A piece seam allowance can be controlled by formula.
--HG--
branch : feature
2017-01-21 15:24:40 +02:00
Roman Telezhynskyi ac58338fc4 Convert old tool union to format version 0.4.0.
--HG--
branch : feature
2017-01-18 15:17:16 +02:00
Roman Telezhynskyi ccc8da800f Pieces should disappear from the list when deleted.
--HG--
branch : feature
2017-01-18 12:22:02 +02:00
Roman Telezhynskyi 7aebc22d88 Use MessageHandler to show better error message when load xsd schema.
--HG--
branch : feature
2017-01-17 12:26:25 +02:00
Roman Telezhynskyi 8eba46ade1 The tool redesign was finnised. Code is not tested.
--HG--
branch : feature
2017-01-16 17:37:15 +02:00
Roman Telezhynskyi 5442eb40b9 Move methods to class VAbstractPattern to be able to use them for tool Unite
Details.

--HG--
branch : feature
2017-01-16 11:59:02 +02:00
Roman Telezhynskyi b4c4a22a4c Merge with develop.
--HG--
branch : feature
2017-01-03 11:48:22 +02:00
Roman Telezhynskyi 0467033855 Fix potential memory leak.
--HG--
branch : develop
2017-01-03 10:58:52 +02:00
Roman Telezhynskyi 0419f60e0b Merge with develop.
--HG--
branch : feature
2016-12-23 12:58:17 +02:00
Roman Telezhynskyi 2d61b87256 Remove empty statement.
--HG--
branch : develop
2016-12-20 21:19:21 +02:00
Roman Telezhynskyi ffab000e0f Remove empty statement.
--HG--
branch : develop
2016-12-20 20:57:20 +02:00
Roman Telezhynskyi 0882313f1e Merge with develop.
--HG--
branch : feature
2016-12-20 17:42:51 +02:00
Roman Telezhynskyi 1fb0ab4d75 Added VNodeEllipticalArc.
--HG--
branch : develop
2016-12-20 16:51:58 +02:00
Roman Telezhynskyi 81eb33fe63 Merge with develop.
--HG--
branch : feature
2016-12-20 14:39:05 +02:00
Roman Telezhynskyi 1c9360ff1c Complete conversion to v0.3.9.
--HG--
branch : feature
2016-12-19 15:14:13 +02:00
Roman Telezhynskyi 24970440b7 Elliptic arc bring new formulas that we should also cover.
--HG--
branch : feature
2016-12-19 14:56:39 +02:00
Valentina Zhuravska a8a3487996 Added new schema v0.3.9.
--HG--
branch : feature
2016-12-17 03:53:47 +02:00
Valentina Zhuravska aa24976f9a Added elliptical arc tool to MainWindow.
--HG--
branch : feature
2016-12-17 03:17:29 +02:00
Roman Telezhynskyi 641a807f24 Fix VToolPiecePath visualization.
--HG--
branch : feature
2016-12-03 18:44:24 +02:00
Roman Telezhynskyi 939644692d Convert all mx and my values to local seam allowance.
--HG--
branch : feature
2016-12-01 20:47:15 +02:00
Roman Telezhynskyi f56ea24810 Custom Path will work in two modes. The first extend automatic seam allowance,
the second show custom deam allowance. In this case a path must have options
for controling seam allowance.

--HG--
branch : feature
2016-11-28 11:58:44 +02:00
Roman Telezhynskyi 6c04b2e7ca Remove attribute "typeObject" since 0.4.0.
--HG--
branch : feature
2016-11-25 13:19:38 +02:00
Roman Telezhynskyi 0e78efc714 Move tag strings from VToolSeamAllowance class to VAbstractPattern class. The
same strings use also VToolPiecePath class.

--HG--
branch : feature
2016-11-24 21:35:07 +02:00
Roman Telezhynskyi 826411d595 Make method GetActivDrawElement protected.
--HG--
branch : feature
2016-11-23 18:38:08 +02:00
Roman Telezhynskyi 6b89f43e87 Tool button connected to tool dialog.
--HG--
branch : feature
2016-11-22 14:33:08 +02:00
Roman Telezhynskyi a5fc19d7ec Returned storing and reading base seam allowance values: width and
enable/disable.

--HG--
branch : feature
2016-11-10 12:53:02 +02:00
Roman Telezhynskyi de6015de4d Method GetParametrBool() should allow convert strings "1" and "0" to boolean.
--HG--
branch : feature
2016-11-10 12:51:06 +02:00
Roman Telezhynskyi df20415e9e Returned "Forbid flipping" feature.
--HG--
branch : feature
2016-11-10 11:56:40 +02:00
Roman Telezhynskyi 39d2ea41ac Returned undocommand "Toggle piece in layout".
--HG--
branch : feature
2016-11-09 15:53:22 +02:00
Roman Telezhynskyi 8601b2ae2a Returned undocommand "Move piece".
--HG--
branch : feature
2016-11-09 13:06:05 +02:00
Roman Telezhynskyi 5f6b394934 Added more static asserts to check minimally supported file format versions.
--HG--
branch : feature
2016-11-08 17:07:16 +02:00
Roman Telezhynskyi 4cfcf5ad8d New pattern format version 0.4.0.
Convert tag detail to new version.

--HG--
branch : feature
2016-11-08 16:32:18 +02:00
Roman Telezhynskyi 4a41840ae7 New class VToolSeamAllowance.
--HG--
branch : feature
2016-11-08 12:57:01 +02:00
Roman Telezhynskyi db1cdc3d53 Fixed typo.
--HG--
branch : develop
2016-10-31 09:30:10 +02:00
Roman Telezhynskyi 3e8f8a8069 Resolved issue #582. Issue with standard path to shared data on Linux.
--HG--
branch : develop
2016-10-30 14:34:55 +02:00
Roman Telezhynskyi b644209406 Resolved issue #580. Extend the list of heights.
--HG--
branch : develop
2016-10-26 14:49:09 +03:00
BojanKverh 96cfc52202 At least one arrow has to be present on a grainline
--HG--
branch : feature
2016-10-25 23:00:42 +02:00
BojanKverh 21cd56463c User can now turn on/off grainline arrows
--HG--
branch : feature
2016-10-25 00:53:01 +02:00
Bojan Kverh 01c068ddd0 Merged develop into feature
--HG--
branch : feature
2016-10-23 15:28:40 +02:00
Ronan Le Tiec ae9da263ab issue #570 tiled pdf case when margin smaller than min
--HG--
branch : feature
2016-10-23 11:11:00 +02:00
Ronan Le Tiec 588da2c9a8 corrections to support pattern schema v0.3.7
--HG--
branch : feature
2016-10-16 20:38:29 +02:00
Ronan Le Tiec f91b3dc955 10 new colors added for the lines #577
--HG--
branch : feature
2016-10-16 19:23:40 +02:00
Bojan Kverh e1a4eeb4e4 Merged develop into feature
--HG--
branch : feature
2016-10-15 11:50:17 +02:00
Roman Telezhynskyi 972c70e608 Selected detail is also selected in the list.
--HG--
branch : develop
2016-10-14 21:33:12 +03:00
Roman Telezhynskyi d38e81cecb Added new option "In layout" to context menu tool Detail.
--HG--
branch : develop
2016-10-14 20:41:37 +03:00
BojanKverh b755762aec Merged develop into feature
--HG--
branch : feature
2016-10-05 20:27:57 +02:00
Roman Telezhynskyi abce5439a5 Resolved issue #573. New tool: 'Move Point'.
--HG--
branch : develop
2016-10-04 17:34:37 +03:00
Roman Telezhynskyi 0127f745c6 Improve efficiency using QStringLiteral macros.
--HG--
branch : develop
2016-10-04 16:44:11 +03:00
Roman Telezhynskyi 9103c8ef15 Remove thousand seaparator according to xml specification for type xs:decimal.
--HG--
branch : develop
2016-10-04 16:43:06 +03:00
BojanKverh 5f1d7a357a Merged develop into feature, removing the conflicts
--HG--
branch : feature
2016-09-20 19:29:49 +02:00
Roman Telezhynskyi 74bc4179ef New tool Flipping by axis.
--HG--
branch : feature
2016-09-17 12:10:03 +03:00
Roman Telezhynskyi 9bb88afaa5 New tool Flipping by line.
--HG--
branch : feature
2016-09-13 11:27:44 +03:00
BojanKverh 287f8fc41e Added VGrainlineGeometry class to hold grainline parameters and methods to save, load and edit it
--HG--
branch : feature
2016-09-06 23:50:46 +02:00
Roman Telezhynskyi 038863fbdf Resolved issue #560. Flipped pattern pieces in Layout.
--HG--
branch : develop
2016-09-06 13:24:52 +03:00
Roman Telezhynskyi 9cd3fc8bcb Fix for compiler specific code.
--HG--
branch : develop
2016-08-21 23:04:23 +03:00
Roman Telezhynskyi 8c6e2e4432 GCC 4.6 doesn't allow constexpr and const together.
--HG--
branch : develop
2016-08-21 12:28:23 +03:00
Roman Telezhynskyi 0563df117d <QLoggingCategory> available since Qt 5.2. Use vmisc/logging.h instead.
--HG--
branch : develop
2016-08-21 11:54:32 +03:00
Roman Telezhynskyi 3fe7ffa7eb Cppcheck warnings.
--HG--
branch : develop
2016-08-20 21:08:25 +03:00
Roman Telezhynskyi afeeca30f6 Fixed regression after changing behaviour of tool cut curve (arc, spline,
splinePath).

The tool doesn't produce substrings anymore. All links to substrings were
replaced by link to base curve. The regression happened between format version
0.2.7 and 0.3.0.

--HG--
branch : develop
2016-08-20 17:32:45 +03:00
Roman Telezhynskyi 24e8a42aa7 VPatternConverter use QStringLiteral where possible.
--HG--
branch : develop
2016-08-20 12:14:53 +03:00
Roman Telezhynskyi e333c9bc08 QtDebug and QDebug lead to the same header. Leave only QtDebug.
--HG--
branch : develop
2016-08-16 20:35:21 +03:00
Roman Telezhynskyi 7585db6a58 Fix build on Qt\5.3\msvc2013_64_opengl.
--HG--
branch : develop
2016-08-09 16:55:46 +03:00
Roman Telezhynskyi 9035382238 Cppcheck warnings.
--HG--
branch : develop
2016-08-09 14:18:49 +03:00
Roman Telezhynskyi 6c04438a02 Changed macros to be sure that <sys/sysmacros.h> is not included on Windows.
--HG--
branch : develop
2016-08-08 17:57:05 +03:00
Roman Telezhynskyi 83df3f46b7 Fixed error: sys/sysmacros.h No such file or directory on Windows.
--HG--
branch : develop
2016-08-08 15:14:21 +03:00
Roman Telezhynskyi 80f00b361d Use "Include What You Use" tool for optimizing #includes.
--HG--
branch : develop
2016-08-08 14:44:49 +03:00
Roman Telezhynskyi c9cdd2cd8d Using macros QT_WARNING_DISABLE_*.
--HG--
branch : develop
2016-08-06 21:42:40 +03:00
Roman Telezhynskyi 75e9e9b2ee Fixed issues with include paths.
--HG--
branch : develop
2016-08-05 13:41:02 +03:00
Roman Telezhynskyi 88ddf8021e Use macros Q_DECL_CONSTEXPR instead of direct constexpr.
constexpr supported since MSVC 2015.

--HG--
branch : develop
2016-08-05 13:17:05 +03:00
Roman Telezhynskyi ffb6f1fbd5 cppcheck warnings.
--HG--
branch : develop
2016-08-02 15:12:13 +03:00
BojanKverh 88055db170 Show measurements option is now disabled and not hidden, if there are no measurements associated with the current pattern. Finished pattern converter and refactored measurement file extraction in text manager class
--HG--
branch : feature
2016-07-25 19:10:13 +02:00
BojanKverh 1b5ca4e23d Fixed the pattern converter
--HG--
branch : feature
2016-07-24 19:48:31 +02:00
BojanKverh a6e38b54d0 Added the optional measurements line to the pattern info label
--HG--
branch : feature
2016-07-24 12:30:10 +02:00
BojanKverh 455befa493 Removed printf commands, added Q_REQUIRED_RESULT macros, replaced v[i] with v.at(i) where needed, replaced 1,0 with true,false when creating boolean XML attributes
--HG--
branch : feature
2016-07-22 12:40:02 +02:00
BojanKverh 0e7b369c2e Corrected all the issues reported by Roman till 10:11 AM
--HG--
branch : feature
2016-07-22 11:56:45 +02:00
BojanKverh 5ba40aad8c Fixed alignments
--HG--
branch : feature
2016-07-21 16:49:26 +02:00
Bojan Kverh 4138d30fb6 Merged develop into feature
--HG--
branch : feature
2016-07-21 08:30:51 +02:00
Roman Telezhynskyi 8d56b872dc Refactoring method VDomDocument::SetAttribute().
--HG--
branch : develop
2016-07-20 18:59:35 +03:00
Roman Telezhynskyi 1bffa92127 Using QLatin1String instead of QLatin1Literal.
QLatin1Literal is just a typedef of QLatin1String lefter for compatibility with
Qt 4.x.

--HG--
branch : develop
2016-07-20 11:39:15 +03:00
Bojan Kverh 608b566006 Merged develop into feature
--HG--
branch : feature
2016-07-19 23:00:37 +02:00
BojanKverh 948102e74e Current date is always used to show the pattern creation date
--HG--
branch : feature
2016-07-19 22:59:14 +02:00
Roman Telezhynskyi fc7e0bb6cb Fixed Valentina crash after undo deleting detail.
Emitting signal in lambda was not really good idea.

--HG--
branch : develop
2016-07-19 20:50:42 +03:00
BojanKverh 25a58421cc Added pattern size field and creation date visibility flag to pattern properties
--HG--
branch : feature
2016-07-16 01:12:51 +02:00
Bojan Kverh 37425be026 Merged develop into feature
--HG--
branch : feature
2016-07-15 23:06:50 +02:00
Roman Telezhynskyi a94daf6834 First implementation of Update Notification.
--HG--
branch : feature
2016-07-15 12:00:00 +03:00
Bojan Kverh f7ebda3c6e Merged develop into feature
--HG--
branch : feature
2016-07-13 23:11:49 +02:00
Roman Telezhynskyi e4d6df06b7 Refactoring. Instead of using proxy slots emit signals directly from lambda
expressions.

--HG--
branch : develop
2016-07-13 14:41:44 +03:00
Bojan Kverh 5aa75f2aff Merged develop into feature
--HG--
branch : feature
2016-07-07 20:47:16 +02:00
Roman Telezhynskyi a2acb032a2 Use static assert to check if minimal version is high enough to delete code that
needed for backward compatibility.

--HG--
branch : develop
2016-07-07 18:04:26 +03:00
BojanKverh f52f97740d Moved pattern info geometry into VDetail class
--HG--
branch : feature
2016-07-02 01:49:38 +02:00
BojanKverh 6effc2b5cd Rotation bugs fixed
--HG--
branch : feature
2016-07-01 01:45:16 +02:00
BojanKverh 6577d82771 Added new schema to accomodate for new parameters and did some other minor changes. There is a bug with Undo on details label, will check that later
--HG--
branch : feature
2016-06-27 17:18:43 +02:00
BojanKverh 80fcf30776 Moving, resizing and editing both labels now works
--HG--
branch : feature
2016-06-27 11:06:51 +02:00
BojanKverh fa105537d2 Moving and resizing pattern info label (has few bugs still, probably just XML parsing)
--HG--
branch : feature
2016-06-27 01:17:27 +02:00
BojanKverh 28c4eddbd7 Merged
--HG--
branch : feature
2016-06-26 19:35:21 +02:00
BojanKverh 065621f8c2 Added general info parameters to VPattern and updated pattern properties dialog accordingly
--HG--
branch : feature
2016-06-26 16:49:51 +02:00
Roman Telezhynskyi a0585a4c2b Fixed bug with not unique id if Group is the last object that was created in
file.

Reparsing did not update max available id in file. This cause creating
duplicate ids.

--HG--
branch : develop
2016-06-26 15:41:48 +03:00
Roman Telezhynskyi 5306415d92 Conversion to new file format.
--HG--
branch : feature
2016-06-26 14:45:39 +03:00
Bojan Kverh 3480f33922 Merged develop into feature
--HG--
branch : feature
2016-06-24 17:57:52 +02:00
Roman Telezhynskyi e7455cdabc Option "Use last tool" worked incorrect in case of tool "Arc intersect axis".
--HG--
branch : develop
2016-06-23 20:45:45 +03:00
Roman Telezhynskyi 7eaadf1761 Resolved issue #480. New tool: Midpoint between two points.
--HG--
branch : develop
2016-06-23 20:20:21 +03:00
BojanKverh c05c51e078 Finished the detail dialog
--HG--
branch : feature
2016-06-21 00:49:22 +02:00
BojanKverh 1899abc39e Added pattern piece data dialog, which can be accessed with right mouse click in Detail mode
--HG--
branch : feature
2016-06-18 16:00:01 +02:00
BojanKverh 05b094deec Added a class to hold pattern piece data
--HG--
branch : feature
2016-06-17 16:42:38 +02:00
Roman Telezhynskyi f046624b36 Clean a file. Tool Cut doesn't need color attribute anymore.
--HG--
branch : feature
2016-05-19 15:40:55 +03:00
Roman Telezhynskyi 180903b807 Automatically generate suffix.
--HG--
branch : feature
2016-05-18 15:35:07 +03:00
Roman Telezhynskyi 35c1267672 Try catch more cases where adding new tool will produce issues.
--HG--
branch : feature
2016-05-16 22:14:59 +03:00
Roman Telezhynskyi 048a49f784 Return all formulas that provide tag Operation.
--HG--
branch : feature
2016-05-16 21:11:48 +03:00
Roman Telezhynskyi ac49d298f8 Refactoring. Use tag names from class VAbstractPattern.
--HG--
branch : feature
2016-05-16 20:59:04 +03:00
Roman Telezhynskyi 7dbba35919 Parse the tool in a file.
--HG--
branch : feature
2016-05-16 20:27:51 +03:00
Roman Telezhynskyi 80eb2649b9 Refactoring.
--HG--
branch : feature
2016-05-13 20:40:55 +03:00
Roman Telezhynskyi 4537106991 Updated XSD scheme.
--HG--
branch : feature
2016-05-13 20:33:52 +03:00
Roman Telezhynskyi 80b415f258 Merge with develop.
--HG--
branch : feature
2016-05-12 22:52:31 +03:00
Roman Telezhynskyi 910c40a5b3 Commit successful build.
--HG--
branch : feature
2016-05-12 22:11:21 +03:00
Roman Telezhynskyi 6f56b46d26 Fixed Clang warnings.
--HG--
branch : develop
2016-05-03 19:50:37 +03:00
Roman Telezhynskyi 42e356ccbd New pattern format version 0.3.0.
--HG--
branch : feature
2016-04-07 19:56:41 +03:00
Roman Telezhynskyi a0842b0f48 Merge with develop.
--HG--
branch : feature
2016-04-07 17:59:07 +03:00
Roman Telezhynskyi 48e411a3ce Working with group widget.
--HG--
branch : feature
2016-04-07 17:57:53 +03:00
Roman Telezhynskyi 5697af33e8 Fixed tests.
--HG--
branch : develop
2016-04-07 12:35:08 +03:00
Roman Telezhynskyi 9c63c4f794 The method SetGroupName.
--HG--
branch : feature
2016-04-06 12:36:33 +03:00
Roman Telezhynskyi cb67249b54 New undo command Add Group.
--HG--
branch : feature
2016-04-06 12:03:34 +03:00
Valentina Zhuravska 8911fb5e11 Overrided setTagText method
--HG--
branch : feature
2016-04-06 05:34:08 +03:00
Valentina Zhuravska de221559f3 CheckTagExists returns QDomElement
--HG--
branch : feature
2016-04-06 05:31:42 +03:00
Valentina Zhuravska 9eeeb7baa8 Optimization
--HG--
branch : feature
2016-04-06 04:11:14 +03:00
Roman Telezhynskyi d73256f119 The method CreateGroup.
--HG--
branch : feature
2016-04-05 20:53:49 +03:00
Roman Telezhynskyi ada64305c0 Dialog Group.
--HG--
branch : feature
2016-04-05 20:14:12 +03:00
Valentina Zhuravska c002aec49a Little fixes
--HG--
branch : feature
2016-04-04 20:57:36 +03:00
Valentina Zhuravska 84d6e157bb Fixed InsertTag method
--HG--
branch : feature
2016-04-02 11:37:37 +03:00
Valentina Zhuravska 56db3f6f1a Optimization. Make const in InsertTag method
--HG--
branch : feature
2016-04-02 10:25:21 +03:00