Commit Graph

203 Commits

Author SHA1 Message Date
Roman Telezhynskyi
8e9b01a93a Decrement/increment custom seam allowance in tool seam allowance undocommands.
--HG--
branch : feature
2016-11-25 16:12:33 +02:00
Roman Telezhynskyi
cb95210d1e Rename VPiece::Missing.
--HG--
branch : feature
2016-11-25 15:35:52 +02:00
Roman Telezhynskyi
6424a92559 Read/write custom seam allowance record.
--HG--
branch : feature
2016-11-25 14:19:44 +02:00
Roman Telezhynskyi
8182f2979b Save VPiecePath in VContainer class.
--HG--
branch : feature
2016-11-24 21:30:26 +02:00
Roman Telezhynskyi
422fb60dcc Each path should know its type.
--HG--
branch : feature
2016-11-24 21:26:51 +02:00
Roman Telezhynskyi
965e588a9d New piece attribute "united".
--HG--
branch : feature
2016-11-23 18:40:27 +02:00
Roman Telezhynskyi
5d5e677e2c Added class VPiecePath.
--HG--
branch : feature
2016-11-23 12:54:46 +02:00
Roman Telezhynskyi
f60c710ee1 Changes angle type allowed only for point nodes.
--HG--
branch : feature
2016-11-19 18:52:47 +02:00
Roman Telezhynskyi
7aa7ba8e57 Handle firt default angle type.
--HG--
branch : feature
2016-11-19 15:29:54 +02:00
Roman Telezhynskyi
c21aedc541 A seam allowance node angle. Read, write and set in the dialog. Not handled in
seam allowance itself.

--HG--
branch : feature
2016-11-19 13:44:12 +02:00
Roman Telezhynskyi
d38f318569 Cppcheck warnings.
--HG--
branch : feature
2016-11-18 13:24:19 +02:00
Roman Telezhynskyi
a284ac024e VSAPoint class should keep data in pixels. Make testing a lot easier.
--HG--
branch : feature
2016-11-17 14:08:23 +02:00
Roman Telezhynskyi
98dad0fb72 Fixed bug the Detail remains in Group list after the detail is deleted in
Details mode.

--HG--
branch : feature
2016-11-16 09:15:16 +02:00
Roman Telezhynskyi
ae7405d44f Method VPiece::CurveSeamAllowanceSegment. When start and end of a curve segment
has standard seam allowance setup only first and last points.

--HG--
branch : feature
2016-11-13 20:13:05 +02:00
Roman Telezhynskyi
caba2db95b Make sure that a point is really lies on curve.
--HG--
branch : feature
2016-11-12 14:00:07 +02:00
Roman Telezhynskyi
e1d559e1d3 Use information about local seam allowance when generating seam allowance in
VPiece class.

--HG--
branch : feature
2016-11-12 13:31:37 +02:00
Roman Telezhynskyi
c5536ab38a Control seam allowance before and after values in a dialog.
--HG--
branch : feature
2016-11-12 12:41:04 +02:00
Roman Telezhynskyi
7490e3f8d6 Calc local seam allowance for curve segment.
--HG--
branch : feature
2016-11-11 20:17:39 +02:00
Roman Telezhynskyi
faad0419cf Using class VSAPoint for drawing base seam allowance.
--HG--
branch : feature
2016-11-11 17:55:02 +02:00
Roman Telezhynskyi
f992bb7bbd Returned visualization of base seam allowance.
--HG--
branch : feature
2016-11-10 14:06:09 +02:00
Roman Telezhynskyi
39d2ea41ac Returned undocommand "Toggle piece in layout".
--HG--
branch : feature
2016-11-09 15:53:22 +02:00
Roman Telezhynskyi
988ce8f7f2 Returned undocommand "Save piece options".
--HG--
branch : feature
2016-11-09 14:11:58 +02:00
Roman Telezhynskyi
a32be533ec Fix crash.
--HG--
branch : feature
2016-11-08 13:07:29 +02:00
Roman Telezhynskyi
37173fb0e4 VPiece class. Added members for storing a piece position.
--HG--
branch : feature
2016-11-08 12:53:14 +02:00
Roman Telezhynskyi
977b52b787 VContainer supports working with VPiece class.
--HG--
branch : feature
2016-11-08 12:52:07 +02:00
Roman Telezhynskyi
65a38141de Added class VisToolPiece.
Show visualization creating piece main path.

--HG--
branch : feature
2016-11-05 10:56:44 +02:00
Roman Telezhynskyi
f40bf977c8 Enable internal move in the list. Helps user quickly make reorder.
--HG--
branch : feature
2016-11-04 17:34:15 +02:00
Roman Telezhynskyi
721d447af1 Refactor member names VPieceNode class.
--HG--
branch : feature
2016-11-04 16:28:10 +02:00
Roman Telezhynskyi
a378922bf6 Piece Node point can't be reversed.
--HG--
branch : feature
2016-11-04 16:25:01 +02:00
Roman Telezhynskyi
22f9fb1e26 Added class VAbstractPiece.
--HG--
branch : feature
2016-11-03 20:15:53 +02:00
Roman Telezhynskyi
27d6198657 Redesing VDetail class. Meet new classes VPiece and VPieceNode.
--HG--
branch : feature
2016-11-03 17:59:53 +02:00
Roman Telezhynskyi
d134e8b367 Clang warnings.
--HG--
branch : develop
2016-11-01 10:42:32 +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
e1a4eeb4e4 Merged develop into feature
--HG--
branch : feature
2016-10-15 11:50:17 +02: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
c53b4fb433 Fixed issue #572. Issue with thousand separator during a formula translations
to user.
(grafted from d1621c1cd816e8b7323639ce41c8592ef4131e31)

--HG--
branch : develop
2016-10-04 16:38:54 +03:00
BojanKverh
3bc3c4bec3 Fixed the grainline formulas editing
--HG--
branch : feature
2016-10-04 02:07:58 +02:00
BojanKverh
60462bc303 Fixed some code style and replaced some code with more appropriate one according to general recommendations
--HG--
branch : feature
2016-09-29 02:13:18 +02:00
BojanKverh
744acbcd3b Merged with develop
--HG--
branch : feature
2016-09-27 22:00:02 +02:00
Roman Telezhynskyi
014ce1e45e Translation for new internal variable.
--HG--
branch : develop
2016-09-26 22:33:28 +03:00
Roman Telezhynskyi
fd8ab6123c Fixed issue #565. Bug : Some informations not saved in "Seam allowance tool" in
Draw Mode.

--HG--
branch : develop
2016-09-24 22:30:33 +03:00
Roman Telezhynskyi
3bb657ea1a New internal variable "Length to spline control point".
--HG--
branch : develop
2016-09-24 20:44:06 +03:00
BojanKverh
2dc19732a0 Prepated detail dialog for formula editing in case of grainline length and rotation
--HG--
branch : feature
2016-09-08 22:35:32 +02:00
BojanKverh
37e16b4626 Removed the vpatterndb.pro changes
--HG--
branch : feature
2016-09-06 23:52:16 +02: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
23d9898154 Use QLocale::c() instead of QLocale(QLocale::C).
--HG--
branch : develop
2016-08-26 12:38:23 +03:00
Roman Telezhynskyi
6281f46a8e Rewrite describing placeholders %size% and %height%. New way will help avoid
translation mistake.

--HG--
branch : develop
2016-08-23 14:02:09 +03:00