Commit Graph

1303 Commits

Author SHA1 Message Date
Roman Telezhynskyi
d8c1c8e4d4 Generate new uuid for a piece duplicate. 2020-11-20 20:39:42 +02:00
Roman Telezhynskyi
b82d6f1bb1 Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-11-20 13:40:39 +02:00
Roman Telezhynskyi
80d9fbc107 New function Warning. 2020-11-20 13:18:38 +02:00
Roman Telezhynskyi
1e3f11d1a1 Fix crash when save notes for the line tool.
(cherry picked from commit 66fc63c04b)
2020-11-13 15:27:24 +02:00
Roman Telezhynskyi
66fc63c04b Fix crash when save notes for the line tool. 2020-11-13 15:27:06 +02:00
Roman Telezhynskyi
9ae51c937f Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-11-13 11:52:10 +02:00
Roman Telezhynskyi
9e4fa8337d Fix validation issue. Treat empty attribute as default value. 2020-11-12 16:19:08 +02:00
Roman Telezhynskyi
48bc720daa Add missing signals. 2020-11-12 14:00:14 +02:00
Roman Telezhynskyi
0371905c0d Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-11-10 16:00:01 +02:00
Roman Telezhynskyi
545f2d33fe Independent pen style and color after a group operation. 2020-11-10 12:40:37 +02:00
Roman Telezhynskyi
49b43674c3 Free bug in VToolSplinePath::UpdateControlPoints. 2020-11-09 14:24:55 +02:00
Roman Telezhynskyi
adab733202 Use an object name together with alias everywhere where is possible. 2020-11-07 16:20:35 +02:00
Roman Telezhynskyi
91da094f2b Alias support for pattern recipe. 2020-11-07 15:34:50 +02:00
Roman Telezhynskyi
e5a9092e25 Fix potential crash with too big shift for a label. 2020-11-07 15:14:46 +02:00
Roman Telezhynskyi
99985d43e0 Alias support for group operations. 2020-11-07 15:02:30 +02:00
Roman Telezhynskyi
3feddb9ce9 Fix alias validation bug. 2020-11-07 11:18:13 +02:00
Roman Telezhynskyi
061c9b502a Use a regex to validate alias. 2020-11-06 14:48:37 +02:00
Roman Telezhynskyi
3e682b180c Alias field for tool Cut Spline Path. 2020-11-04 18:14:34 +02:00
Roman Telezhynskyi
abff41813a Alias field for tool Cut Spline. 2020-11-04 18:14:34 +02:00
Roman Telezhynskyi
2574ecda0e Alias field for tool Cut Arc. 2020-11-04 18:14:34 +02:00
Roman Telezhynskyi
b1f9327393 Alias field for tool Spline Path. 2020-11-04 17:36:54 +02:00
Roman Telezhynskyi
648d1f1897 Alias field for tool Spline. 2020-11-04 17:36:54 +02:00
Roman Telezhynskyi
7fe316c876 Alias field for tool Cubic Bezier Path. 2020-11-04 17:36:54 +02:00
Roman Telezhynskyi
a5f65c319c Alias field for tool Cubic Bezier. 2020-11-04 17:36:54 +02:00
Roman Telezhynskyi
0301c8289f Alias field for tool Elliptical arc. 2020-11-04 17:36:54 +02:00
Roman Telezhynskyi
7542fc5dc2 Alias field for tool Arc with length. 2020-11-04 17:36:54 +02:00
Roman Telezhynskyi
1246aba24d Alias field for tool Arc. 2020-11-04 16:17:16 +02:00
Roman Telezhynskyi
25a5a564b5 Lupdate. 2020-10-30 13:23:11 +02:00
Roman Telezhynskyi
9e3e59d267 Fix error: 'width' is deprecated: Use QFontMetrics::horizontalAdvance. 2020-10-28 17:22:47 +02:00
Roman Telezhynskyi
8927abe99a Reading/writing a draw tool notes. 2020-10-28 14:09:56 +02:00
Roman Telezhynskyi
460683c942 Show Notes field for all draw mode tools in the property browser. 2020-10-28 11:52:07 +02:00
Roman Telezhynskyi
de401b2d06 Add notes for the base point tool to property browser. 2020-10-27 18:26:33 +02:00
Roman Telezhynskyi
b820107b4d Notes for tool Base point. 2020-10-27 16:21:51 +02:00
Roman Telezhynskyi
b15a11dac2 Improve editing a spline path through control points for locked angles.
When a user locks one segment of a spline path, the neighboring segment must not be able to override it.
2020-10-26 13:15:28 +02:00
Roman Telezhynskyi
de02bedd36 Cppcheck warning. 2020-10-26 08:05:13 +02:00
Roman Telezhynskyi
34e1391ecb Remove translation for label placeholders. 2020-10-16 13:55:51 +03:00
Roman Telezhynskyi
d10f20f399 Extend placeholders list with list of measurements. 2020-10-16 13:43:54 +03:00
Roman Telezhynskyi
1b2343e537 Extend list of placeholders.
Added customer email and birth date, all dimensions.
2020-10-16 11:37:49 +03:00
Roman Telezhynskyi
0eaf15f09d Show a measurement special units in description. 2020-10-16 09:47:27 +03:00
Roman Telezhynskyi
4cea74d63b Loading measurements in Valentina. 2020-10-15 18:05:21 +03:00
Roman Telezhynskyi
047ace3f26 Fix removing a pin in the Seam Allowance tool dialog.
(cherry picked from commit b83fec62bf)
2020-09-23 14:58:34 +03:00
Roman Telezhynskyi
158edcc093 Use of QButtonGroup::buttonClicked has been deprecated since Qt 5.15. 2020-07-08 11:29:40 +03:00
Roman Telezhynskyi
5f2bec91d9 DRY. Refactoring item move code. smart-pattern/valentina#53 2020-06-20 12:20:39 +03:00
Roman Telezhynskyi
d08da56764 Improve moving items on scene smart-pattern/valentina#53.
Increase delay to 160 ms. Set static margins.
2020-06-20 12:08:59 +03:00
Roman Telezhynskyi
20b797b2c5 Merge branch 'develop' into feature/manual-layout. 2020-06-04 13:45:32 +03:00
Roman Telezhynskyi
8d68cde576 Don't show null lines. smart-pattern/valentina#32.
If both points, start and end, of a line are equal such a line is invalid. To avoid incorrect representation do not draw it.
2020-06-02 16:35:40 +03:00
Roman Telezhynskyi
42ed025afa Fix validation of Curved path tool. Closes smart-pattern/valentina#41. 2020-05-30 18:14:50 +03:00
Roman Telezhynskyi
f06c85753b Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-05-09 13:21:29 +03:00
Roman Telezhynskyi
4970254607 Fix issue. Elide a variable description in the formula wizard.
(cherry picked from commit 56ec62580c)
2020-05-08 19:41:42 +03:00
Roman Telezhynskyi
8aa93f8757 Fix disappearing a visibility group tags after Apply -> OK sequence. 2020-05-07 17:02:16 +03:00
Roman Telezhynskyi
30a27ee85a UUID field for piece. 2020-04-22 14:32:25 +03:00
Roman Telezhynskyi
51e0694f36 Merge branch 'develop' into feature/manual-layout. 2020-04-11 10:38:14 +03:00
Roman Telezhynskyi
2f4ac3deb9 Fix possible cause of crashes. 2020-03-28 19:43:01 +02:00
Roman Telezhynskyi
ca186be41d Lupdate. 2020-03-27 11:25:31 +02:00
Roman Telezhynskyi
6583b8ab01 Fix another crash.
When we add group there is no reason to update a tool tooltip.
2020-03-26 19:51:40 +02:00
Roman Telezhynskyi
1edceea8bc error: 'QLatin1Literal' is deprecated: Use QLatin1String. 2020-03-26 12:23:33 +02:00
Roman Telezhynskyi
e0ca7e5d80 Valentina crashes when remove a group operation. 2020-03-26 11:57:02 +02:00
Roman Telezhynskyi
c6c4edb893 Merge branch 'develop' into feature/manual-layout 2020-03-25 15:28:23 +02:00
Roman Telezhynskyi
6e0bf20bc4 Clang warnings. 2020-03-24 17:57:32 +02:00
Roman Telezhynskyi
c1453f1715 Organization of groups - groups categories. Closes smart-pattern/valentina#15. 2020-03-24 17:31:32 +02:00
Roman Telezhynskyi
a84857afda Show linked visibility group in group operation tooltip. 2020-03-24 17:27:16 +02:00
Roman Telezhynskyi
11718f6f44 Refactoring. Set Visibility group data in parent class. 2020-03-24 16:58:34 +02:00
Roman Telezhynskyi
82570bf9db Remove the linked visibility group when deleting a group operation. 2020-03-24 16:54:17 +02:00
Roman Telezhynskyi
5a367a8d85 Clang warning. 2020-03-18 15:36:00 +02:00
Roman Telezhynskyi
80880f9b7b GCC warning. 2020-03-18 15:22:27 +02:00
Roman Telezhynskyi
526892ed5a Auto-created Visibility Group for group operation. Closes smart-pattern/valentina#18. 2020-03-18 14:45:47 +02:00
Roman Telezhynskyi
9869ae249f Refactoring. Move all related to the visibility group undo command classes in one file. 2020-03-18 14:37:30 +02:00
Roman Telezhynskyi
3429e5ae11 Tool Point at distance and angle now allows negative length.
Because length cannot be negative a line will change direction on opposite.
2020-03-12 16:31:57 +02:00
Roman Telezhynskyi
f4908dafd4 Change default values for grainline length and pattern label size to 10 cm. 2020-03-12 10:49:12 +02:00
Roman Telezhynskyi
ad87577ec8 Translation functions descriptions. 2020-02-27 17:26:32 +02:00
Roman Telezhynskyi
6d1b7a9212 Call Piece Options and Delete Piece from the piece list context menu. 2020-02-20 19:18:19 +02:00
Roman Telezhynskyi
475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +02:00
Roman Telezhynskyi
716192e520 Refactoring. Hide compatibility layer behind a function.
constLast(), move(), append().

--HG--
branch : develop
2020-01-17 15:14:00 +02:00
Roman Telezhynskyi
7998687b03 Refactoring. Hide compatibility layer behind a function.
fromList().

--HG--
branch : develop
2020-01-16 19:46:05 +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
9c9c4f9abd Catch missed warning to pattern messages log.
--HG--
branch : develop
2020-01-16 14:17:18 +02:00
Roman Telezhynskyi
1847b068b5 Fix deprecation warnings.
--HG--
branch : develop
2020-01-12 18:42:58 +02:00
Roman Telezhynskyi
48fbc9262e Fix deprecation warnings.
--HG--
branch : develop
2020-01-12 18:16:53 +02:00
Roman Telezhynskyi
2a95c41bb7 Cover case when we can safely ignore broken union details operation.
--HG--
branch : develop
2020-01-11 15:08:55 +02:00
Roman Telezhynskyi
f13ec746a9 Enable/Disable Passmark through Context Menu in detail mode.
--HG--
branch : develop
2020-01-10 14:04:41 +02:00
Roman Telezhynskyi
078f6fad64 Tracking changes/prevent "OK" recalculation after "Apply".
--HG--
branch : develop
2020-01-09 18:56:37 +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
e301b3a91a Cppcheck warning.
(grafted from 3469aa8b4edb138d68672a9b9350d7d6fb79053b)

--HG--
branch : develop
2020-01-06 20:10:48 +02:00
Roman Telezhynskyi
1f6285aef9 Fix deprecation warnings.
(grafted from 686129d90f37b8d0c428092668673d44f06545d8)

--HG--
branch : develop
2020-01-06 20:10:09 +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
3c74c03c59 Fix crash after uniting three pieces in sequence.
(grafted from 7f649df048328d449e1de01794d238eeef0c39be)

--HG--
branch : develop
2019-12-29 13:49:57 +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
9cc97ef602 Clazy warnings.
--HG--
branch : develop
2019-11-24 13:09:30 +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
0c0207aa6f Fix dialog for tool Point along perpendicular. No memory of line color settings.
(grafted from d65f796893e4f8c04b535f711bd8d93275e2ddff)

--HG--
branch : develop
2019-11-19 10:52:53 +02:00
Roman Telezhynskyi
f8ca985ad7 Fix a crash. ref #984.
--HG--
branch : develop
2019-11-07 18:07:07 +02:00
Roman Telezhynskyi
82792dba6c Speed up bulk removing pieces.
Optimizations for 'do' and 'undo' operations.

--HG--
branch : develop
2019-10-30 15:25:25 +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