Commit Graph

1221 Commits

Author SHA1 Message Date
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
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
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
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
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