Commit graph

534 commits

Author SHA1 Message Date
Roman Telezhynskyi 57d6d79a53 New placelabel shape Circle.
--HG--
branch : develop
2019-04-23 17:42:09 +03:00
Roman Telezhynskyi 000062b7b7 Refactoring. Move static functions to dialogtoolbox.h.
--HG--
branch : develop
2019-04-20 19:30:35 +03:00
Roman Telezhynskyi 1fe7223096 Fix checking double curve.
--HG--
branch : develop
2019-04-20 19:04:03 +03:00
Roman Telezhynskyi 52dfb912ee Resolved issue #965. Control passmark length with formula.
--HG--
branch : develop
2019-04-17 13:02:22 +03:00
Roman Telezhynskyi 419095300e Disable seam allowance options if seam allowance is built in.
--HG--
branch : develop
2019-04-15 21:15:56 +03:00
Roman Telezhynskyi 0987428a93 Increase required Qt version up to 5.4.
--HG--
branch : develop
2019-04-05 15:42:22 +03:00
Roman Telezhynskyi 782b257c04 Fixed issue #954. Valentina produces empty rotation operation.
(grafted from 0108ef767e2447e5b5f39378bcf245e25947a25d)

--HG--
branch : develop
2019-02-24 17:29:12 +02:00
Roman Telezhynskyi 5472bef03e Fixed issue #948. Not possible to create point at 0 degrees.
--HG--
branch : develop
2019-02-19 17:18:14 +02:00
Roman Telezhynskyi e1cd58db03 Fixed issue #946. Impossible to create pattern in detail mode.
--HG--
branch : develop
2019-02-18 14:37:39 +02:00
Roman Telezhynskyi c118b36579 Fix regression.
--HG--
branch : develop
2019-02-14 17:20:56 +02:00
Roman Telezhynskyi 9b1cdb1848 Improve localization of modifier keys.
--HG--
branch : develop
2019-02-14 13:18:16 +02:00
Roman Telezhynskyi 62d6463753 Fix more regressions in dialogs.
--HG--
branch : develop
2019-02-12 11:27:51 +02:00
Roman Telezhynskyi 3e821a7b83 Fix regression.
--HG--
branch : develop
2019-02-12 11:08:40 +02:00
Roman Telezhynskyi 0c3cce5122 Refactoring tool dialogs.
--HG--
branch : develop
2019-02-11 13:25:27 +02:00
Roman Telezhynskyi 66d2aeb026 Improve Dialog Seam Allowance tab Labels. Remove unnecessary spaces.
--HG--
branch : develop
2019-02-07 15:50:52 +02:00
Roman Telezhynskyi 3b3d1e1b4f Fixed issue #938. Dialog Seam Allowance doesn't block user from saving broken
formula.
(grafted from 829e2d26bb6e63c8bdbf541caac22a1e7f76602b)

--HG--
branch : develop
2019-02-07 15:42:17 +02:00
Roman Telezhynskyi 864d3568c0 Resolved issue #932. 2nd version V passmarks.
--HG--
branch : develop
2019-01-24 09:26:57 +02:00
Roman Telezhynskyi e91c92d4a9 Resolved issue #929. New variable type: Separator.
--HG--
branch : develop
2019-01-16 16:24:41 +02:00
Roman Telezhynskyi 6403941406 Fixed issue #914. Filtering custom seam allowance paths prevent including more
than one.
(grafted from 07fec74fad050330a1161776e27bb6c877354a59)

--HG--
branch : develop
2018-12-21 13:01:32 +02:00
Roman Telezhynskyi 5bed94c31b Fixed issue #913. Unable to save changes for piece path if it doesn't contain a
point.
(grafted from 0cf04b80083754dc5ed7e54ed95be63b97a7503a)

--HG--
branch : develop
2018-12-20 17:54:54 +02:00
Roman Telezhynskyi e23438347a Fixed issue #912. Labels in inactive state return to initial color.
(grafted from b222072d66ff164252223728d913226b500df73a)

--HG--
branch : develop
2018-12-20 17:50:33 +02:00
Roman Telezhynskyi ead254ab6b Resolve issue #895. Improve path validation. Do not allow repeat the same curve
twice.

--HG--
branch : develop
2018-10-22 15:43:58 +03:00
Roman Telezhynskyi 978a8ba0c3 Added missed passmark option in Piece Path dialog.
Dialog should provide the same amount of options because a piece path can be
used as a custom seam allowance included as main path.

--HG--
branch : release
2018-09-29 21:46:39 +03:00
Roman Telezhynskyi e252de9e80 Refactoring method DialogTool::GetNodeName().
Renamed an argument. Show node details only if requested.

--HG--
branch : release
2018-09-24 14:41:34 +03:00
Roman Telezhynskyi 56e05ab953 Improve context menu in dialog piece path.
This menu should povide exclude option. Also Passmark option should be available
only when a piece path included as main path.

--HG--
branch : release
2018-09-24 14:40:02 +03:00
Roman Telezhynskyi 60b323cf8e Fixed issue #882. VContainer class doesn't support multi document mode.
--HG--
branch : release
2018-09-18 16:38:16 +03:00
Roman Telezhynskyi 37428a4d82 Warn users about empty piece list when they use one of the tools those require
a piece to continue work.

--HG--
branch : release
2018-08-12 10:03:39 +03:00
Roman Telezhynskyi 8a29755a36 Resolved issue #868. New feature. Connect internal path with cutting contour.
--HG--
branch : develop
2018-07-26 20:00:24 +03:00
Roman Telezhynskyi d35684a44a Fix regression. Valentina doesn't show a notch mark in a custom seam allowance
list.

--HG--
branch : develop
2018-07-24 15:29:53 +03:00
Roman Telezhynskyi fbafe9f052 Forbid enabling notches before completed creation of main path.
--HG--
branch : develop
2018-07-24 10:12:44 +03:00
Roman Telezhynskyi 16d8c5fc65 Valentina doesn't allow to continue creating a customer seam allowance after
calling a context menu.

--HG--
branch : develop
2018-07-24 10:09:00 +03:00
Roman Telezhynskyi a8d9795dc3 Improve tooltip for option Cut on fabric.
Because this option has effect only on export to DXF-AAMA it confuses users.

--HG--
branch : develop
2018-07-22 11:40:27 +03:00
Roman Telezhynskyi 9d778378d8 Improve Piece Path dialog. Hide posibility to enable passmark for internal path.
--HG--
branch : develop
2018-07-22 11:31:57 +03:00
Roman Telezhynskyi 1ae08d6020 Resolved issue #867. Visibility control for place labels.
--HG--
branch : develop
2018-07-20 10:30:05 +03:00
Roman Telezhynskyi 6c19748802 Improve tooltip. Users are still confused by the message.
--HG--
branch : develop
2018-07-13 14:14:16 +03:00
Roman Telezhynskyi 63b1eb8068 Cppcheck warning 'missingOverride'.
--HG--
branch : develop
2018-06-26 15:53:48 +03:00
Roman Telezhynskyi 6c3ef7580a Fix restriction for Detail name.
--HG--
branch : develop
2018-06-22 22:16:38 +03:00
Roman Telezhynskyi 4f7099294a Search an item from internal path list to remove in reverse order.
--HG--
branch : develop
2018-05-07 18:01:50 +03:00
Roman Telezhynskyi 180332d279 Refactoring. Removing redundant code.
--HG--
branch : develop
2018-05-07 18:00:02 +03:00
Roman Telezhynskyi ccda742aa8 Refactoring. Specifying the "pointer" part outside of auto.
--HG--
branch : develop
2018-05-07 14:32:17 +03:00
Roman Telezhynskyi 8a255c063e Fixed issue #841. Variables Table won't open again when closed with Esc.
--HG--
branch : develop
2018-05-07 14:28:51 +03:00
Roman Telezhynskyi 3b4007a40c Backed out changeset: 87f0955a62ad ref #841.
--HG--
branch : develop
2018-05-07 14:23:47 +03:00
Roman Telezhynskyi fd446a7c1f Fixed issue #841. Variables Table won't open again when closed with Esc.
--HG--
branch : develop
2018-04-23 10:13:19 +03:00
Roman Telezhynskyi ab59a76bbb String optimization. Replace string " " with signe QChar.
--HG--
branch : develop
2018-04-22 18:39:56 +03:00
Roman Telezhynskyi 3970bbdbc0 Refactoring. Use QChar instead of QString where possible.
--HG--
branch : develop
2018-04-12 13:13:19 +03:00
Roman Telezhynskyi 0281b5508c Additional controls for Label template editor. ref #824.
--HG--
branch : develop
2018-04-09 10:20:38 +03:00
Roman Telezhynskyi 64029c249a Refactoring. Added special section for string literals.
--HG--
branch : develop
2018-04-08 19:45:23 +03:00
Roman Telezhynskyi 00f9139150 Since we get previous piece from database we don't need to save them in dialog.
--HG--
branch : develop
2018-04-08 17:41:48 +03:00
Roman Telezhynskyi f90c612287 Because Seam allowance tool dialog doesn't control all piece options some of
them were lost. ref #836.

--HG--
branch : develop
2018-04-08 17:40:25 +03:00
Roman Telezhynskyi 0e3a9533af Refactoring. Use C++11 range-based loop.
--HG--
branch : develop
2018-04-03 14:36:38 +03:00
Roman Telezhynskyi 218c2cc518 Resolved issue #830. Seam allowance tool - object selection and preview.
--HG--
branch : develop
2018-04-02 16:49:53 +03:00
Roman Telezhynskyi 3d8cdb6630 Additional controls to cover issue with Internal move. ref #824.
--HG--
branch : develop
2018-03-23 11:16:23 +02: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 1a231872b5 Improve roatation tool.
It's not really logical for a user that a center of rotation no need to select.
To fix this issue we just silently remove it from the list.

--HG--
branch : develop
2018-03-04 13:54:28 +02:00
Roman Telezhynskyi 7b3ab26832 Improve dialog Piece path. Hide unused tabs depending on path type.
--HG--
branch : develop
2018-02-13 19:43:32 +02:00
Roman Telezhynskyi 551d11f298 Fix bug in Dialog piece path. Dialog was blocked if piece path is internal
path.

--HG--
branch : develop
2018-02-13 19:37:45 +02:00
Roman Telezhynskyi e15c6eca08 Fix issue with Piece path dialog. Path should be active tab by default.
--HG--
branch : develop
2018-02-09 15:00:47 +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 762f88579a Fix crash in dialog Seeam allowance tool.
--HG--
branch : develop
2018-01-25 10:32:40 +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 64e2341f10 Forbid a user to have in piece's main path two neighbor points with identical
coordinates.

--HG--
branch : develop
2018-01-20 11:47:01 +02:00
Roman Telezhynskyi dd6cc1edc6 Enhancement. Disable a label options if a label template is empty.
Many user confused by not visible label even if "all" data filed. Valentina
should warn about this situation and force user to fill a label template.

--HG--
branch : develop
2018-01-14 18:19:43 +02:00
Roman Telezhynskyi 5c8c940f32 Refactoring. Backport QOverload template.
--HG--
branch : develop
2018-01-12 15:25:20 +02:00
Roman Telezhynskyi b8c8c284a8 Fix disappearing tooltip for tool place label.
--HG--
branch : develop
2018-01-12 13:34:46 +02:00
Roman Telezhynskyi fdd7f6c2a3 Disable rubber band after objects have been selected.
--HG--
branch : develop
2018-01-05 22:01:35 +02:00
Roman Telezhynskyi 8b2b9d3ee3 Move "Name of detail" field to Main path tab.
--HG--
branch : develop
2018-01-03 20:07:55 +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 ae39a2b488 Resolved issue #790. Generate unique name for each detail.
--HG--
branch : develop
2017-12-30 22:19:49 +02:00
Roman Telezhynskyi 88844ec33f Resolved issue #783. Flipping control.
--HG--
branch : develop
2017-12-17 15:06:46 +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 e6c59de3ca Fix bug in dialog Seam allowance tool.
Don't show the dialog if a main path doesn't contain at least one item.

--HG--
branch : develop
2017-11-15 15:25:38 +02:00
Roman Telezhynskyi 037d1daaaa Fix bug in dialog Seam allowance tool.
When create a piece and call a context menu Valentina blocks creating because
of wrong formulas.

--HG--
branch : develop
2017-11-15 15:25:05 +02:00
Roman Telezhynskyi 016883110f Allow an arc to have the same start and end angles.
In such a case full circle will be drawn.

--HG--
branch : develop
2017-11-15 13:22:16 +02:00
Roman Telezhynskyi 5f0d4ea586 Resolved issue #774. New feature. Matching Parentheses.
--HG--
branch : develop
2017-11-14 13:46:28 +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 c180a26e09 Improve tool Point on middle visualization.
Show point on middle position when creating a point.

--HG--
branch : develop
2017-11-11 11:24:30 +02:00
Roman Telezhynskyi b453d2b2d6 Fix bug in dialog Seam allowance tool.
The dialog should prevent user to save a detail with broken formula.

--HG--
branch : develop
2017-11-01 11:40:19 +02:00
Roman Telezhynskyi e8ca7f575d Fix bug. Modeling objects should be separated from calculation objects and stay
in not copied container.

--HG--
branch : feature
2017-10-26 12:54:08 +03:00
Roman Telezhynskyi 9b54b0c069 Dialog Duplicate Detail.
--HG--
branch : feature
2017-10-25 17:49:04 +03:00
Roman Telezhynskyi f78c122cb0 Show place label rect.
--HG--
branch : feature
2017-10-24 16:42:09 +03:00
Roman Telezhynskyi 14e19ced4b Refactoring. Move dialogs related to pieces.
--HG--
branch : feature
2017-10-24 14:14:59 +03:00
Roman Telezhynskyi 6f5969a357 Use icon from default theme.
--HG--
branch : feature
2017-10-23 11:33:34 +03:00
Roman Telezhynskyi 660efa3844 Fix bugs.
* * *
Fix tool union bugs.
* * *
Fix preparing pieces for layout.
* * *
Fix bug with formulas.

--HG--
branch : feature
2017-10-23 10:45:58 +03:00
Roman Telezhynskyi ca79c7ff93 Added place label.
--HG--
branch : feature
2017-10-15 12:25:20 +03:00
Roman Telezhynskyi 52a8fb5bae Fix scale problem with selecting points.
We scaled point circle size, but forgot to adjust test size according to scale
too.

--HG--
branch : develop
2017-10-19 15:56:57 +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 661e71bad0 Refactoring use static methods VTranslateVars::TryFormula*User().
--HG--
branch : feature
2017-09-26 17:46:28 +03:00
Roman Telezhynskyi 39aa43fe8f SonarQube warnings.
--HG--
branch : develop
2017-09-13 11:52:41 +03:00
Roman Telezhynskyi 6689fc89d7 Fix Elliptical arc tool dialog.
--HG--
branch : develop
2017-09-13 07:07:15 +03:00
Roman Telezhynskyi 51f6176ede Resolved issue #722. Rename "Seam Allowance" tool to "Workpiece" tool.
--HG--
branch : develop
2017-08-27 11:15:57 +03:00
Roman Telezhynskyi ae870b8b2e Fix conflict of names.
--HG--
branch : develop
2017-08-21 17:10:55 +03:00
Roman Telezhynskyi 3d9e4e7555 Promote QLineEdit to VLineEdit.
--HG--
branch : develop
2017-08-21 15:41:42 +03:00
Roman Telezhynskyi acf429518d Added more additional Piece label fields.
--HG--
branch : feature
2017-08-21 13:16:43 +03:00
Roman Telezhynskyi 96df1db48e Cleaning GUI.
--HG--
branch : feature
2017-08-18 09:25:57 +03:00
Roman Telezhynskyi 09c67a099a UI changes for piece label.
--HG--
branch : feature
2017-08-17 19:18:03 +03:00
Roman Telezhynskyi 3999ebd82e Fixed bug in Tape. Each Window should has own size and height values.
--HG--
branch : develop
2017-08-04 20:29:43 +03:00