Commit graph

205 commits

Author SHA1 Message Date
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
Roman Telezhynskyi 7d991584fb Fixed wrong calulation tool True darts.
--HG--
branch : develop
2016-02-22 11:02:24 +02:00
Roman Telezhynskyi 122827f74a New file in the collection.
--HG--
branch : develop
2016-02-19 16:55:03 +02:00
Valentina Zhuravska 9eb385c7a2 Added tests for VEllipticalArc
--HG--
branch : feature
2016-02-19 11:45:36 +02:00
Valentina Zhuravska 6fc86543ec Little fixes
--HG--
branch : feature
2016-02-19 11:43:46 +02:00
Roman Telezhynskyi be24d6f503 New file in the collection.
--HG--
branch : develop
2016-02-09 17:48:59 +02:00
Roman Telezhynskyi 302e7e3552 Refactoring. Alignment.
--HG--
branch : develop
2016-01-29 17:48:39 +02:00
Roman Telezhynskyi 8d61121e1b New file in collection.
--HG--
branch : develop
2016-01-29 17:46:31 +02:00
Roman Telezhynskyi c1fecafda9 Refactoring.
--HG--
branch : feature
2016-01-25 19:10:39 +02:00
Roman Telezhynskyi d86c79f290 Unit test. Check VToolPointOfIntersectionCurves::FindPoint() method.
--HG--
branch : feature
2016-01-25 19:06:36 +02:00
Roman Telezhynskyi afe36d69d5 New file in the collection.
--HG--
branch : develop
2016-01-11 13:31:19 +02:00
Roman Telezhynskyi ac5c8d8201 Do not remove a loop created by intersection point when it is the first or
the last point of lines that intersect.

--HG--
branch : develop
2016-01-10 21:41:46 +02:00
Roman Telezhynskyi f240a3d599 Fix failed tests
--HG--
branch : develop
2016-01-10 17:43:48 +02:00
Roman Telezhynskyi 7ef6ed4726 New files in collection.
--HG--
branch : develop
2016-01-10 17:02:44 +02:00
Roman Telezhynskyi c2976614ba Correct removing loop if a path contains them several. Seek and remove the last.
In this way we will correct remove them all.

--HG--
branch : develop
2016-01-09 23:53:17 +02:00
Roman Telezhynskyi 975a528560 New test. Check correct seam allowance in the file jacketМ6_30-110.val.
--HG--
branch : develop
2016-01-09 18:16:03 +02:00
Roman Telezhynskyi 13fbc0b8b9 New files in collection.
--HG--
branch : develop
2016-01-09 12:29:50 +02:00
Roman Telezhynskyi b9f8e19236 Test issue with method IsPointOnLineSegment.
--HG--
branch : develop
2016-01-09 11:42:06 +02:00
Roman Telezhynskyi d227ce68c2 Show dialog "Fix broken formula" only in GUI mode.
--HG--
branch : develop
2015-12-22 20:12:09 +02:00
Roman Telezhynskyi fbd3c05b92 Resolved issue #93. Create test set of patterns.
--HG--
branch : develop
2015-12-22 16:42:00 +02:00
Roman Telezhynskyi 6e394a20f2 Resolved issue #256. Crash if open pattern with wrong measurements file.
--HG--
branch : develop
2015-12-22 15:29:16 +02:00
Roman Telezhynskyi 4bdb788c50 New tests of localizations. Lupdate.
--HG--
branch : develop
2015-12-17 12:52:10 +02:00
Roman Telezhynskyi 24c6eed4a7 Refactoring. More optimized run a test.
--HG--
branch : develop
2015-12-16 14:52:00 +02:00
Roman Telezhynskyi 2409b1cc8b Refactoring tests.
--HG--
branch : develop
2015-12-15 16:38:37 +02:00
Roman Telezhynskyi afaaffd52f Updated test TST_TSTranslation.
--HG--
branch : develop
2015-12-14 18:05:09 +02:00
Roman Telezhynskyi 45ee787a3f New test check if string contain correct place markers, i.e., %1, %2, ..., %99.
--HG--
branch : develop
2015-12-14 12:49:48 +02:00
Roman Telezhynskyi 0cb4447230 Refactoring test methods.
--HG--
branch : develop
2015-12-14 11:56:21 +02:00
Roman Telezhynskyi bceb18d4a5 New test that help find and remove '...' string inside localization.
--HG--
branch : develop
2015-12-14 09:41:42 +02:00
Roman Telezhynskyi b56849e33c Fixed bug in the test.
--HG--
branch : develop
2015-12-13 19:29:39 +02:00
Roman Telezhynskyi 5343e4e68d Test that allow to fix issues in English localization.
--HG--
branch : develop
2015-12-13 18:33:00 +02:00
Roman Telezhynskyi 93a52bd889 Allow user to set default size and height for a pattern.
--HG--
branch : develop
2015-12-11 16:19:11 +02:00
Roman Telezhynskyi 3ebac9ce59 Test limited gradation list.
--HG--
branch : develop
2015-12-10 12:19:31 +02:00
Roman Telezhynskyi 589bf173ae Improved calculation arc points.
--HG--
branch : develop
2015-12-07 23:33:11 +02:00
Roman Telezhynskyi 75701f8cad New test. Testing arc points.
--HG--
branch : develop
2015-12-07 18:35:55 +02:00
Roman Telezhynskyi ae43c66bd9 Fixed issue #412. Error in Detail using 'Segment a Simple Curve' tool.
--HG--
branch : develop
2015-12-03 21:56:40 +02:00
Roman Telezhynskyi 8f47af2c56 GCC warning.
--HG--
branch : develop
2015-11-22 19:45:20 +02:00
Valentina Zhuravska 88503bb806 Added comments to tests for SumTrapezoids
--HG--
branch : feature
2015-11-22 18:56:49 +02:00
Valentina Zhuravska 56d655f2ff Tests for SumTrapezoids method in VAbstractDetail class
--HG--
branch : feature
2015-11-22 17:08:22 +02:00
Roman Telezhynskyi 5eed97c640 Enable #pragma message in Clang.
--HG--
branch : develop
2015-11-16 12:28:21 +02:00
Roman Telezhynskyi 7038c25c39 Turn on PCH on mac os x.
--HG--
branch : develop
2015-11-16 12:22:34 +02:00
Roman Telezhynskyi 14e3c06833 Improved test TST_QmuParserErrorMsg::TestEErrorCodes().
--HG--
branch : develop
2015-11-15 21:09:52 +02:00
Roman Telezhynskyi 428175944e New test cases.
--HG--
branch : develop
2015-11-12 13:06:14 +02:00
Roman Telezhynskyi e79d21e06d Updated test VIT and VST test files.
--HG--
branch : develop
2015-11-12 10:42:28 +02:00
Roman Telezhynskyi 833c507148 New measurement (N08) rise_length_side.
--HG--
branch : feature
2015-11-11 16:26:48 +02:00
Roman Telezhynskyi fa822dda24 (N04) 'rise_length_side' renamed to 'rise_length_side_sitting'.
--HG--
branch : feature
2015-11-11 14:37:32 +02:00
Roman Telezhynskyi e286ae8476 New measurements: (H41) neck_back_to_across_back, (H42) across_back_to_waist_b,
​(L22) arm_neck_side_to_outer_elbow, (G46) hip_circ_with_abdomen.

--HG--
branch : feature
2015-11-11 14:23:39 +02:00
Roman Telezhynskyi 9545db280d Test that all command line option names are unique.
--HG--
branch : develop
2015-11-09 20:02:38 +02:00
Roman Telezhynskyi a5345946bb Show more data about failed test.
--HG--
branch : develop
2015-11-03 22:28:53 +02:00
Roman Telezhynskyi 18a3a289ff New test. Each translated measurement name should be unique.
--HG--
branch : develop
2015-11-03 18:19:52 +02:00
Roman Telezhynskyi f52d609b9c Refactoring. Test functions RelativeMPath and AbsoluteMPath.
--HG--
branch : develop
2015-10-31 14:41:52 +02:00
Roman Telezhynskyi 9ffeeec298 Three new languages: English (Canada), English (India), Romanian (Romania).
--HG--
branch : develop
2015-10-30 12:44:10 +02:00
Roman Telezhynskyi a4bc4a75c0 Integrate QmuParserTests in main testing set.
--HG--
branch : develop
2015-10-28 19:57:34 +02:00
Roman Telezhynskyi 88324a11f2 Static Code Analysis.
--HG--
branch : develop
2015-10-28 16:22:36 +02:00
Roman Telezhynskyi 7102071b19 Test VLockGuard.
--HG--
branch : develop
2015-10-26 10:31:36 +02:00
Roman Telezhynskyi b516ceb8e1 "CONFIG += silent" doesn't work correct with msvc. Do not create target
"make distclean" with msvc.

--HG--
branch : develop
2015-10-24 14:13:59 +03:00
Roman Telezhynskyi d6653ca9af Successful build with MSVC 2012.
--HG--
branch : develop
2015-10-23 20:47:33 +03:00
Roman Telezhynskyi 467ffbd132 ICC warnings.
--HG--
branch : develop
2015-10-20 17:32:01 +03:00