Commit graph

637 commits

Author SHA1 Message Date
Roman Telezhynskyi 475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +02:00
Roman Telezhynskyi 658eafc3d3 Refactoring. Hide compatibility layer behind a function.
toVector().

--HG--
branch : develop
2020-01-16 19:20:55 +02:00
Roman Telezhynskyi 98a88ed529 Refactoring. Hide compatibility layer behind a function.
QLineF::intersects.

--HG--
branch : develop
2020-01-16 17:34:08 +02:00
Roman Telezhynskyi b3f236dbb5 Refactoring. Rename ArrowType enum class.
--HG--
branch : develop
2020-01-07 13:54:23 +02:00
Roman Telezhynskyi cf1e383d7b Don't use 'char' as a type of enum class.
QDataStream doesn't support serialization for this type.

--HG--
branch : develop
2020-01-07 12:54:01 +02:00
Roman Telezhynskyi d74225e63e QLineF::IntersectType QLineF::intersect(const QLineF&, QPointF*) const' is
deprecated: Use intersects() instead.
(grafted from b8646bf40865848ad48eae89cae8419483d56f6b)

--HG--
branch : develop
2020-01-06 18:34:35 +02:00
Roman Telezhynskyi 57b9868316 Cppcheck warning.
(grafted from e996125b7dbe0fb7b439bc80db0b561144628c18)

--HG--
branch : develop
2020-01-06 18:33:37 +02:00
Roman Telezhynskyi 1c6ff72b23 Removed hard coded font value. Kept only its bold status.
--HG--
branch : develop
2019-12-07 08:58:12 +02:00
Roman Telezhynskyi 34c49f3323 Clazy warning.
--HG--
branch : develop
2019-12-07 08:55:52 +02:00
Roman Telezhynskyi 5c7af760d0 Improve Passmark tab by adding a tooltip about a way to define a passmark.
--HG--
branch : develop
2019-12-04 17:50:50 +02:00
Roman Telezhynskyi eeedebbac3 Fix regression in dialog Placelabel.
--HG--
branch : develop
2019-12-03 15:20:47 +02:00
Roman Telezhynskyi 1217616813 Refactoring.
Pass VContainer::AddVariable only a variable, the variable already knows its
name.

--HG--
branch : develop
2019-11-24 13:09:16 +02:00
Roman Telezhynskyi 2d63440549 Fix a crash. ref #984.
Cover cases with VCubicBezier and VCubicBezierPath.

--HG--
branch : develop
2019-11-24 12:49:40 +02:00
Roman Telezhynskyi f8ca985ad7 Fix a crash. ref #984.
--HG--
branch : develop
2019-11-07 18:07:07 +02:00
Roman Telezhynskyi e04f5c70f5 Resolved issue #984. Special variable "CurrentLength" for tools Cut Arc, Cut
Spline and Cut Spline Path.

--HG--
branch : develop
2019-10-29 15:43:25 +02:00
Roman Telezhynskyi 08604f67bb Fix copy paste error.
--HG--
branch : develop
2019-09-20 14:17:32 +03:00
Roman Telezhynskyi c802df2b73 Lupdate warnings.
Lupdate lacks of some features to support all C++ valid declarations.

--HG--
branch : develop
2019-09-10 16:57:31 +03:00
Roman Telezhynskyi 94abb23ae6 Fix translation disambiguation.
--HG--
branch : develop
2019-09-08 10:02:57 +03:00
Roman Telezhynskyi 503e31aee0 Fix error: 'currentIndexChanged' is deprecated: Use currentTextChanged()
instead.

--HG--
branch : develop
2019-07-24 16:45:22 +03:00
Roman Telezhynskyi e37afae597 Allow controlling priority selecting pieces in layout.
--HG--
branch : develop
2019-07-19 10:45:57 +03:00
Roman Telezhynskyi e8804c90bb New layout option --nestQuantity.
--HG--
branch : develop
2019-07-04 14:33:45 +03:00
Roman Telezhynskyi ad07fb3ae5 Fix regression.
Found another way to fix tool Flipping by axis.

--HG--
branch : develop
2019-06-19 18:39:37 +03:00
Roman Telezhynskyi 0ffd46215c Fix for tool Flipping by axis.
--HG--
branch : develop
2019-06-18 19:22:08 +03:00
Roman Telezhynskyi 0deb90af92 Fix regression. Piece duplicate complains about currentSeamAllowance variable.
--HG--
branch : develop
2019-06-03 19:17:17 +03:00
Roman Telezhynskyi aee0861aef Fixing regression in method DialogTool::GetNodeName.
(grafted from 85f1cc324da4971357555e1e1f0aec51eac0f743)

--HG--
branch : develop
2019-05-27 19:14:07 +03:00
Roman Telezhynskyi 2c58263df1 Two new passmark types: U and Box.
--HG--
branch : develop
2019-04-23 20:56:11 +03:00
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 00313493de Changes for travis.
--HG--
branch : develop
2019-02-16 13:42:31 +02:00
Roman Telezhynskyi 230eb0fa54 Fixes for travis.
--HG--
branch : develop
2019-02-16 13:13:17 +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 4bfe5201ad Fix regression.
--HG--
branch : develop
2019-02-12 12:36:51 +02:00
Roman Telezhynskyi 26578c0fba Select formula text in Formula Wizard to help user quickly override it.
--HG--
branch : develop
2019-02-12 12:36:12 +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 194aac3813 Fixing Wclazy-qstring-allocations warning.
--HG--
branch : develop
2019-01-15 16:39:58 +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 4e8ceb6c1e Improve UI. Make placeholder menu scrollable.
--HG--
branch : develop
2018-11-30 17:32:36 +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 09e8c81d6f Refactoring. Rename GetPPath() to GetPatternPath().
--HG--
branch : develop
2018-06-19 09:18: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 d8c3a0ac81 Use native dialog on all platforms except Linux.
We have a bug with native dialog on Linux that's why we cannot use it.

--HG--
branch : develop
2018-04-04 08:34:48 +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 a2c54fc7f3 Some dialogs should behave like windows on mac.
--HG--
branch : develop
2018-03-12 12:42:43 +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 3ae5b3d99a Fix compilation.
--HG--
branch : develop
2018-01-24 22:20:31 +02:00
Roman Telezhynskyi 615decb625 Improve Formula Wizard.
Improve support for multi line expressions.

--HG--
branch : develop
2018-01-24 22:09:45 +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 9b5b8dde04 Improve Formula Wizard. Disable data types not available in certain cases.
--HG--
branch : develop
2018-01-24 19:10:29 +02:00