Commit graph

161 commits

Author SHA1 Message Date
Valentina Zhuravska 15145fd10a Added tests for VToolLineIntersectAxis::FindPoint and VToolTriangle::FindPoint.
--HG--
branch : feature
2016-06-28 05:13:26 +03:00
Roman Telezhynskyi 7eaadf1761 Resolved issue #480. New tool: Midpoint between two points.
--HG--
branch : develop
2016-06-23 20:20:21 +03:00
Roman Telezhynskyi c3ddf18063 Fixed broken path to vit file.
--HG--
branch : develop
2016-06-17 16:18:44 +03:00
Roman Telezhynskyi 2744f89ff3 Fix broken test.
--HG--
branch : develop
2016-06-17 16:03:52 +03:00
Roman Telezhynskyi 0be2cd2b17 Close #513. Trousers pattern.
The pattern added to collection.

--HG--
branch : develop
2016-06-17 15:54:37 +03:00
Roman Telezhynskyi 3c5d6aa500 Fixed issue #515. Seam allowance wrong way.
--HG--
branch : develop
2016-06-17 15:39:54 +03:00
Roman Telezhynskyi 972dd36fcf Redesign printing system. ref #494. Printing is not working.
Made complete redesign of printing code. Now the code check printer's dpi and
calculate  scale factor. Instead of printing with QImage buffer the code print
directly on printer. Help avoid limitations of QImage class.

Also removed menu option "Save as PDF". The option duplicate option "Export As"
and also mislead a user about purpose of option "Print preview".

--HG--
branch : develop
2016-06-15 13:55:43 +03:00
Roman Telezhynskyi 17bc0c3ff0 New test case. Male shirt.
--HG--
branch : develop
2016-06-05 16:54:39 +03:00
Valentina Zhuravska 096976b682 Better to use ifndef Q_OS_WIN.
--HG--
branch : feature
2016-06-01 21:59:34 +03:00
Valentina Zhuravska 12ae761527 Merge with develop
--HG--
branch : feature
2016-06-01 20:44:50 +03:00
Valentina Zhuravska bcdedaf659 Fixed TST_VMeasurements tests in Windows.
--HG--
branch : feature
2016-06-01 20:14:42 +03:00
Valentina Zhuravska 8c5f14937d Fixed TST_VPoster::BigPoster test in Windows.
--HG--
branch : feature
2016-06-01 17:40:01 +03:00
Roman Telezhynskyi ce720450f0 Fixed issue #493. Error in seam allowance drawing.
(grafted from 776b5b71c7e5aa6b9755c280f3f4e20e159c8150)

--HG--
branch : develop
2016-05-26 11:26:54 +03:00
Roman Telezhynskyi 73ad3a8376 Fixed issue with method IsPointOnLineSegment.
--HG--
branch : develop
2016-05-25 13:55:15 +03:00
Roman Telezhynskyi b820d5a6ea Fixed issue #491. Valentina doesn't update fractional separator.
(grafted from c658843945e37cd7f1d3e4e0ca4967d7a01b1c4d)

--HG--
branch : develop
2016-05-23 18:23:39 +03:00
Valentina Zhuravska db014092a3 Fixed TST_ValentinaCommandLine tests in Windows.
--HG--
branch : feature
2016-05-19 15:22:27 +03:00
Valentina Zhuravska fbd5203491 Fixed TST_Misc tests in Windows.
--HG--
branch : feature
2016-05-19 14:56:35 +03:00
Roman Telezhynskyi 60ad8d2fd1 Fixed test. Wrong conversion to QPointF.
--HG--
branch : feature
2016-05-19 13:16:33 +03:00
Roman Telezhynskyi 6187f16c6a Refactoring. Use conversion operator for conversion VPointF to QPointF.
--HG--
branch : feature
2016-05-14 22:28:09 +03:00
Roman Telezhynskyi 80b415f258 Merge with develop.
--HG--
branch : feature
2016-05-12 22:52:31 +03:00
Roman Telezhynskyi 637ca7015e Unit test for the issue #485.
--HG--
branch : develop
2016-05-07 16:14:43 +03:00
Curious One f5f915cbe0 Again, made compilable with msvc by adding compiler directive where necessary...
--HG--
branch : develop
2016-05-04 21:35:35 +10:00
Roman Telezhynskyi 8713c628dc Refactoring VArc and VEllipticalArc classes.
--HG--
branch : feature
2016-04-10 17:40:55 +03:00
Roman Telezhynskyi 1d76a59ae7 Rotation VPointF, VArc, VCubicBezier and VCubicBezierPath.
--HG--
branch : feature
2016-04-10 14:40:04 +03:00
Roman Telezhynskyi f83c016c54 Updated description measurements N06 and N07. Add new measurements A23 and J10.
(grafted from cf140cecff83698ca48fcf563a5e8a857466f531)

--HG--
branch : develop
2016-04-08 13:21:18 +03:00
Roman Telezhynskyi 9470f76ba9 New method curve length by given point.
--HG--
branch : develop
2016-04-02 14:59:43 +03:00
Roman Telezhynskyi c99cdb69ec Added new curve path segment variables.
--HG--
branch : develop
2016-04-02 00:15:04 +03:00
Roman Telezhynskyi be7277eeba Refactoring. Use more safe function VFuzzyComparePossibleNulls.
--HG--
branch : develop
2016-03-23 16:09:30 +02:00
Roman Telezhynskyi 910dadc871 New test. Check if epsilon value in method GetParmT() is enough for calculation.
--HG--
branch : develop
2016-03-23 13:23:03 +02:00
Roman Telezhynskyi 505cec891d Several bug fixes.
--HG--
branch : feature
2016-03-19 16:20:09 +02:00
Roman Telezhynskyi ba5ac8a04b Fixed issue #458. Issue with segment of curve.
(grafted from 4d70b5b863bcad171e8185265cdcf4e177c5c90d)

--HG--
branch : develop
2016-03-15 17:38:07 +02:00
Roman Telezhynskyi 55400c5a73 Fixed disappearing curve if start and finish points of a segment are equal.
(grafted from 36e5071fc3f50bb7f5261d48dae2a2fe961993a2)

--HG--
branch : develop
2016-03-10 20:18:26 +02:00
Roman Telezhynskyi 8b0026709f Improved the comment.
(grafted from 0daf799ddd8466ddbf7e4c29954990f68895269b)

--HG--
branch : develop
2016-03-10 09:42:21 +02:00
Roman Telezhynskyi 7ec2e6d988 Fixed bug case where an open equidistant point is too far from a main path.
(grafted from cd63aeaa6228a84e977e06e9d006705103eb6c35)

--HG--
branch : develop
2016-03-10 09:42:09 +02:00
Roman Telezhynskyi 40436a5c57 Successfull build, bugs was not fixed.
--HG--
branch : feature
2016-03-04 18:08:29 +02:00
Roman Telezhynskyi 018fd88f25 GCC warnings. Fixed broken tests.
--HG--
branch : develop
2016-02-28 22:00:45 +02:00
Roman Telezhynskyi 33b6256896 Merge with feature. A simple curve controled by formulas.
--HG--
branch : develop
2016-02-28 21:49:52 +02:00
Valentina Zhuravska 088f0a6987 Changed QString("%1").arg() to QString().number() in VEllipticalArc
--HG--
branch : feature
2016-02-28 21:20:33 +02:00
Roman Telezhynskyi 8ec60b22b1 Test the C locale options. Better be sure that the C locale have not thousand
separator.

--HG--
branch : feature
2016-02-28 19:58:41 +02:00
Valentina Zhuravska e1981a56c5 Fixed tests for VEllipticalArc
--HG--
branch : feature
2016-02-28 17:51:27 +02:00
Valentina Zhuravska 91f5300b0f Little fixes for VEllipticalArc tests
--HG--
branch : feature
2016-02-28 16:16:34 +02:00
Valentina Zhuravska 3d628d815b Fixed merge conflicts
--HG--
branch : feature
2016-02-27 16:53:17 +02:00
Valentina Zhuravska 39b404673d Merge with develop
--HG--
branch : feature
2016-02-27 16:20:40 +02:00
Valentina Zhuravska cafd3ee583 Added CutArc in VEllipticalArc
--HG--
branch : feature
2016-02-26 21:30:20 +02:00
Valentina Zhuravska 22a3e9d1a0 Little fixes in VEllipticalArc
--HG--
branch : feature
2016-02-26 21:27:55 +02:00
Roman Telezhynskyi 679f90d627 Block moving a spline by dragging if a formula was used.
--HG--
branch : feature
2016-02-26 19:44:51 +02:00
Valentina Zhuravska bea2a32e85 Divide one big test into several little tests in TST_VEllipticalArc
--HG--
branch : feature
2016-02-25 02:18:52 +02:00
Roman Telezhynskyi f2ee4cfd35 Class VSpline now can be controlled by formulas.
--HG--
branch : feature
2016-02-24 21:47:39 +02:00
Valentina Zhuravska 06637f2103 Added FindF2 in VEllipticalArc
--HG--
branch : feature
2016-02-24 17:34:03 +02:00
Valentina Zhuravska e1837d1b03 Little optimization: change parent = 0 to parent = nullptr
--HG--
branch : feature
2016-02-24 17:31:44 +02:00