Commit graph

837 commits

Author SHA1 Message Date
Roman Telezhynskyi 02cb84c4a1 Show list of points from the begin of the list.
--HG--
branch : feature
2016-03-19 16:29:26 +02:00
Roman Telezhynskyi 505cec891d Several bug fixes.
--HG--
branch : feature
2016-03-19 16:20:09 +02:00
Roman Telezhynskyi 19265e1f93 Succesful build.
--HG--
branch : feature
2016-03-18 23:11:14 +02:00
Roman Telezhynskyi ca020c4c7f Improved visualization for tool Cubic Bezier.
--HG--
branch : feature
2016-03-18 12:28:28 +02:00
Roman Telezhynskyi 56496aaa59 Refactoring. More switch tests. Added tool button for tool Cubic bezier path.
--HG--
branch : feature
2016-03-17 20:12:48 +02:00
Roman Telezhynskyi 037e91484a For tool Cubic Bezier curve show connection to control points.
--HG--
branch : feature
2016-03-17 16:26:25 +02:00
Roman Telezhynskyi 2c4312046c New classes VAbstractCubicBezierPath and VCubicBezierPath.
--HG--
branch : feature
2016-03-16 20:07:50 +02:00
Roman Telezhynskyi c5c3862bfc More human readable angle of line.
--HG--
branch : develop
2016-03-16 14:09:56 +02:00
Valentina Zhuravska d2e0c7822f Added delete button
--HG--
branch : feature
2016-03-15 20:32:52 +02:00
Roman Telezhynskyi f5c5995117 Fixed issue with deleting detail nodes.
(grafted from dc69de0a2dd73ae3cbbc6ce6b7007407540e4c4c)

--HG--
branch : develop
2016-03-15 17:38:36 +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 4a9302ee4e For modeling no need to seek parent tool id.
(grafted from b84438717fd8436e747b3982461cee3c4124d935)

--HG--
branch : develop
2016-03-15 17:32:12 +02:00
Roman Telezhynskyi a56c3354e1 Better way to seek value of t.
--HG--
branch : develop
2016-03-15 17:31:58 +02:00
Valentina Zhuravska ae66acd4d6 Fixed schema version
--HG--
branch : feature
2016-03-13 21:13:58 +02:00
Roman Telezhynskyi 5befd6770b Use new connect syntax everywhere where is possible.
--HG--
branch : develop
2016-03-13 15:02:11 +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 2d69e1a46f The tool Detail now supports Cubic Bezier curve.
--HG--
branch : feature
2016-03-10 19:08:37 +02:00
Roman Telezhynskyi 2548697a9e The tool Cut Spline now supports Cubic Bezier curve.
--HG--
branch : feature
2016-03-10 18:09:38 +02:00
Roman Telezhynskyi 53250a4dc4 Simple curve which uses point as control handle.
--HG--
branch : feature
2016-03-10 15:55:04 +02:00
Roman Telezhynskyi f37b3361b2 Merge with develop.
--HG--
branch : feature
2016-03-10 09:42:51 +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
Valentina Zhuravska 821bafbdee Now we can add image to file.val
--HG--
branch : feature
2016-03-09 21:01:37 +02:00
Valentina Zhuravska ab78ee2550 Fixed build on Win7
--HG--
branch : feature
2016-03-09 20:59:08 +02:00
Roman Telezhynskyi c93dd1a69f Merge with develop.
--HG--
branch : feature
2016-03-09 10:15:45 +02:00
Roman Telezhynskyi c65a320c45 Added new language Portuguese (Brazil).
--HG--
branch : develop
2016-03-08 20:27:25 +02:00
Roman Telezhynskyi d72ea565cb Fixed wrong handling with true darts points inside tool detail.
(grafted from c84b1a66716faa7e171e5acb2824a7fb5702dd27)

--HG--
branch : develop
2016-03-08 19:49:16 +02:00
Roman Telezhynskyi 1395e39c39 New classes VCubicBezier and VAbstractCubicBezier.
--HG--
branch : feature
2016-03-08 19:48:10 +02:00
Roman Telezhynskyi 5be84df289 The file stable.cpp is useful only with MSVC.
--HG--
branch : develop
2016-03-06 21:21:21 +02:00
Roman Telezhynskyi dc162f5085 Fixed build problem on Win7
(grafted from 4d6b1388a31f2f0092699ea73ac5a8de3ec97b18)

--HG--
branch : develop
2016-03-06 14:03:22 +02:00
Roman Telezhynskyi fe220f6305 Removed tag "zorder".
--HG--
branch : develop
2016-03-05 23:11:02 +02:00
Roman Telezhynskyi f53fe379c6 Movable spline path.
--HG--
branch : feature
2016-03-05 23:06:54 +02:00
Roman Telezhynskyi 2b3c13eb1d Write warnings to log file.
--HG--
branch : feature
2016-03-05 18:31:16 +02:00
Roman Telezhynskyi 2e6be9119c Fixed crash.
--HG--
branch : feature
2016-03-05 18:30:45 +02:00
Roman Telezhynskyi 504a334717 The method FormulaFromUser throw an exception. In many places we don't catch the
exception and i think this is wrong. New method TryFormulaFromUser was
introduced for fixing situation.

--HG--
branch : feature
2016-03-05 17:27:07 +02:00
Roman Telezhynskyi b12ede529f Fixed bug with wrong last spline path angle.
--HG--
branch : feature
2016-03-05 15:37:47 +02:00
Roman Telezhynskyi e120fc1d0a Calculate a formula immediately.
--HG--
branch : feature
2016-03-05 15:22:24 +02:00
Roman Telezhynskyi e948a0ba27 Refactoring ValFormulaChanged. Continue fix bugs in the dialog spline path.
--HG--
branch : feature
2016-03-05 14:30:18 +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 564da52eb1 Changed <../vmisc/vabstractapplication.h> to "../vmisc/vabstractapplication.h"
--HG--
branch : feature
2016-02-28 21:43:23 +02:00
Valentina Zhuravska 771a72711c We don't need to use qApp->fromPixel for angles
--HG--
branch : feature
2016-02-28 21:37:30 +02:00
Valentina Zhuravska e8bf8a80e3 Changed QString("%1").arg() to QString().number() in VArc
--HG--
branch : feature
2016-02-28 21:24:56 +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
Valentina Zhuravska 3d628d815b Fixed merge conflicts
--HG--
branch : feature
2016-02-27 16:53:17 +02:00
Roman Telezhynskyi 8d628404df Curve factor was removed.
--HG--
branch : feature
2016-02-27 16:49:10 +02:00
Valentina Zhuravska 39b404673d Merge with develop
--HG--
branch : feature
2016-02-27 16:20:40 +02:00
Roman Telezhynskyi a2561bc7da Updated property dialog for tool Spline.
--HG--
branch : feature
2016-02-27 12:28:15 +02:00
Roman Telezhynskyi 53cb607f34 Block moving a control point if a formula was used.
--HG--
branch : feature
2016-02-27 10:29:32 +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
Roman Telezhynskyi 773383ec70 Fixed moving a spline by dragging.
--HG--
branch : feature
2016-02-26 19:19:30 +02:00
Roman Telezhynskyi a9112a29cb Create, save, open and edit simple curve by dialog. Editing by mouse still not
prepared.

--HG--
branch : feature
2016-02-26 16:38:42 +02:00
Roman Telezhynskyi 4eca4f97c6 Fixed issue "Warning: Z-order assignment: '' is not a valid widget."
--HG--
branch : feature
2016-02-25 21:40:39 +02:00
Roman Telezhynskyi 9b02bde691 Release a dialog size for deploying a formula field.
--HG--
branch : feature
2016-02-25 21:39:21 +02:00
Roman Telezhynskyi 990c03c697 Updated dialog for the tool Spline.
--HG--
branch : feature
2016-02-25 21:23:16 +02:00
Roman Telezhynskyi 9219b05a5b Fixed broken formula when for system locale thousand separator is space.
--HG--
branch : feature
2016-02-25 21:21:48 +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 389504b548 Fixed GetPoints in VEllipticalArc
--HG--
branch : feature
2016-02-24 17:34:33 +02:00
Valentina Zhuravska 06637f2103 Added FindF2 in VEllipticalArc
--HG--
branch : feature
2016-02-24 17:34:03 +02:00
Roman Telezhynskyi 335a4db2d1 For vlayout library enable speed optimizations.
--HG--
branch : develop
2016-02-23 14:30:56 +02:00
Roman Telezhynskyi 595e5b0bf5 Resolved issue #306. Layout generator optimization. Divide into strips.
--HG--
branch : develop
2016-02-23 14:13:10 +02:00
Roman Telezhynskyi fcd254f08c Fixed bug disabling tool True darts.
(grafted from 8c5aeccb775c10068c8f20a881994b3b4fac808a)

--HG--
branch : develop
2016-02-22 11:38:18 +02:00
Roman Telezhynskyi 7d991584fb Fixed wrong calulation tool True darts.
--HG--
branch : develop
2016-02-22 11:02:24 +02:00
Roman Telezhynskyi c3db8bab68 For avoiding errors in future better seek the first tag draw and insert before
it.

--HG--
branch : develop
2016-02-20 10:05:18 +02:00
Roman Telezhynskyi 936a7fef07 Fixed issue #405. Crash after deleting first pattern piece in the list.
--HG--
branch : develop
2016-02-19 16:34:32 +02:00
Valentina Zhuravska da2c6d3242 Fixed GetPoints function in VEllipticalArc
--HG--
branch : feature
2016-02-19 11:47:42 +02:00
Valentina Zhuravska 03086c946e Fixed GetPoint function in VEllipticalArc
--HG--
branch : feature
2016-02-19 11:47:22 +02:00
Valentina Zhuravska 6fc86543ec Little fixes
--HG--
branch : feature
2016-02-19 11:43:46 +02:00
Roman Telezhynskyi 04ae26d1bd Regesign dialogs tool 'Spline' and 'Spline Path' for avoiding text squeeze.
--HG--
branch : develop
2016-02-16 18:08:51 +02:00
Roman Telezhynskyi 0ea99175b4 New VAL pattern format version that supports attribute 'duplicate'.
--HG--
branch : feature
2016-02-16 15:38:08 +02:00
Roman Telezhynskyi 0846d3c282 Read and save a spline path attribute 'duplicate'.
--HG--
branch : feature
2016-02-16 15:37:01 +02:00
Roman Telezhynskyi c80fe9c61b Show name in a property browser.
--HG--
branch : feature
2016-02-16 15:04:21 +02:00
Roman Telezhynskyi c36f1eb8ef Working with Spline Path.
--HG--
branch : feature
2016-02-16 14:00:56 +02:00
Roman Telezhynskyi be3fc296f4 Untested changes for the tool Spline.
--HG--
branch : feature
2016-02-15 16:30:48 +02:00
Roman Telezhynskyi f264206aab Refactoring DialogSpline.
--HG--
branch : feature
2016-02-15 11:02:55 +02:00
Roman Telezhynskyi 35b9dea4b2 Fixes creating spline path.
--HG--
branch : feature
2016-02-13 23:39:47 +02:00
Roman Telezhynskyi b124b8402e The control point should be on some distance before we will begin count this
distance.

--HG--
branch : feature
2016-02-13 18:30:21 +02:00
Roman Telezhynskyi e68c64e8f1 Implementation for tool Spline path.
--HG--
branch : feature
2016-02-13 18:24:32 +02:00
Valentina Zhuravska 37eb0e9e21 Fixed GetLength and changed the rotation of point
--HG--
branch : feature
2016-02-12 22:02:54 +02:00
Roman Telezhynskyi 0405a54bf8 Removed unused QGraphicsLineItem item.
--HG--
branch : feature
2016-02-12 21:43:33 +02:00
Roman Telezhynskyi 1924b30f6f Don't show control points if too close to start and end points.
--HG--
branch : feature
2016-02-12 20:32:31 +02:00
Roman Telezhynskyi 6dd26ddd73 Refactoring. Use qFuzzyIsNull.
--HG--
branch : feature
2016-02-12 20:31:08 +02:00
Valentina Zhuravska 560a3dc1d1 Added rotation of points
--HG--
branch : feature
2016-02-12 20:19:46 +02:00
Valentina Zhuravska 894ad4ea66 Fixed GetLength method in VEllipticalArc
--HG--
branch : feature
2016-02-12 20:17:55 +02:00
Roman Telezhynskyi 0f747ede7e The first implementation for tool Spline.
--HG--
branch : feature
2016-02-12 20:10:01 +02:00
Roman Telezhynskyi 791d874c9a Little refactoring.
--HG--
branch : feature
2016-02-12 15:49:59 +02:00
Roman Telezhynskyi 8683b69f13 Select an item inside mousePressEvent() instead mouseReleaseEvent().
--HG--
branch : feature
2016-02-11 13:05:08 +02:00
Roman Telezhynskyi 623c28eb9f Fixed getting correct reversed segment for single in the list curve.
(grafted from c45cc62df72241692b4bf035f779a34add622b37)

--HG--
branch : develop
2016-02-10 21:39:26 +02:00
Roman Telezhynskyi 44aac2179b Fixed triggering validation a detail.
Two new cases: has been changed Reverse option and the list
has been scrolled. Fixed validation when the list conatains only curve.
(grafted from 87af46985d0867d550605810c5c5a9c2c72f4a0b)

--HG--
branch : develop
2016-02-10 21:39:20 +02:00
Roman Telezhynskyi aa67e04a3e Improved exporting to dxf. QPainterPath export as Polyline.
--HG--
branch : develop
2016-02-10 19:32:26 +02:00
Roman Telezhynskyi 85f5df4b21 Removing objects before each FullParse. NodeArc, NodeSpline, NodeSplinePath are
not part of a scene anymore.

--HG--
branch : develop
2016-02-10 18:45:49 +02:00
Roman Telezhynskyi 9eac04654c Refactoring. Always use AddTool method.
--HG--
branch : develop
2016-02-10 12:13:34 +02:00
Valentina Zhuravska c587826a56 Added VEllipticalArc
--HG--
branch : feature
2016-02-10 06:59:29 +02:00
Roman Telezhynskyi 61adfbaef5 Handle all tools when creating the history records.
--HG--
branch : develop
2016-02-09 17:26:59 +02:00
Roman Telezhynskyi 6b4b79a1b5 Little fix tools visuzlization.
(grafted from 7ef2dcf85f7b9da986105ad524382ba47efb177f)

--HG--
branch : develop
2016-02-09 17:19:25 +02:00
Roman Telezhynskyi 7deed94604 Fixed broken path to measurements after using Save As option.
(grafted from 2e63a19d717ad4ef5d6f38da7ed3b1ed6d7311a6)

--HG--
branch : develop
2016-02-09 17:19:19 +02:00
Roman Telezhynskyi aa64076a36 Tool line. Block selecting the same point twice.
(grafted from 0029c3e3b5ae45d21f834f0d36023d8ef9734345)

--HG--
branch : develop
2016-02-09 17:19:14 +02:00
Roman Telezhynskyi 863b62cd6e Resolved issue #443. Not valid dxf file.
- libdxf updated to version 3.12.2.0.
- Fixed wrong pen width.
- Fixed drawPath() method. Drawing subpaths.
(grafted from f587dae3fa6cd75f987f54aa282caf73225da8fe)

--HG--
branch : develop
2016-02-09 17:19:07 +02:00