Commit graph

803 commits

Author SHA1 Message Date
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
Roman Telezhynskyi fb6e3b29ff Updated the tool "Point of intersection curves" to new correct way work with
references.

--HG--
branch : develop
2016-02-02 15:50:15 +02:00
Roman Telezhynskyi 233415bc67 Fixed combobox width in Dialog "Tool True Dart point".
(grafted from 969110d32207c05d2ce53d6446d2e9835e3b1b67)

--HG--
branch : develop
2016-02-02 15:38:37 +02:00
Roman Telezhynskyi 78799d3d83 Resolved issue #441. Broken reference incrementation for tool "True Dart point".
(grafted from 0c13c14f9829e53dbbbe850053947b646bd800bd)

--HG--
branch : develop
2016-02-02 15:38:30 +02:00
Roman Telezhynskyi 9e9689e16a Resolved issue #439. Widen Formula Dialog.
(grafted from 5a638f3f6092284070e985b98debbd155a48d96d)

--HG--
branch : develop
2016-02-01 21:16:53 +02:00
Roman Telezhynskyi a8f97c8fdb Fixed broken tool dialogs "Intersection arcs" and "Point from arc and tangent".
(grafted from 68d37d7921c6ad9e0d99e6593df27dacba7f6465)

--HG--
branch : develop
2016-02-01 21:16:32 +02:00
Roman Telezhynskyi 46b9fe65e6 Fixed issue #442. 'Broken Formula' error when using Intersect Circles tool.
(grafted from cd5fd09824ab95db402d187bc296ac126922cdea)

--HG--
branch : develop
2016-02-01 21:16:23 +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 2069713ff6 Fixed bugs.
--HG--
branch : feature
2016-01-25 16:46:24 +02:00
Roman Telezhynskyi 387c33e9e0 Refactoring. Smooth scrolling.
--HG--
branch : feature
2016-01-25 15:49:37 +02:00
Roman Telezhynskyi ea0000fea6 First successful build. Tool working was not tested!
--HG--
branch : feature
2016-01-24 18:15:08 +02:00
Roman Telezhynskyi 8b050eee31 Resolved issue #265. Add 'Read only' attribute.
--HG--
branch : develop
2016-01-22 12:45:18 +02:00
Roman Telezhynskyi e000486633 Fixed broken tests.
--HG--
branch : develop
2016-01-21 17:20:47 +02:00
Roman Telezhynskyi f0d4aaf1fb Added language Chinese (China).
--HG--
branch : develop
2016-01-21 17:14:47 +02:00
Roman Telezhynskyi d466e53e5d Fixed typos.
(grafted from 5212bd0c72b44da2d16dab9e1592c2843ab0ff1e)

--HG--
branch : develop
2016-01-21 16:21:58 +02:00
Roman Telezhynskyi be8503664f Fixed issue #325. Check pattern for inverse compatibility.
--HG--
branch : develop
2016-01-19 17:25:46 +02:00
Roman Telezhynskyi 7982e48e4e If item's rect is bigger than view's rect ensureVisible works very unstable.
(grafted from d807a6fc7a9c1abc588dfda621ac7b70f90b401b)

--HG--
branch : develop
2016-01-15 14:57:47 +02:00
Roman Telezhynskyi aadac5772d Showing/hiding control points require recalculation scene size.
(grafted from 6f9642ea3c32ce5a333fa85339fd761aa992acc6)

--HG--
branch : develop
2016-01-15 14:57:41 +02:00
Roman Telezhynskyi 3026f9dfc6 Call ensureVisible() only in mouseMoveEvent() method. Alwayse update size of
scene.
(grafted from a080e8c10e0817579d802539e4ef30b4b51f43a8)

--HG--
branch : develop
2016-01-15 14:57:23 +02:00
Roman Telezhynskyi 5517b96613 Ensure cursor visibility when move curve.
(grafted from e7cbd25ec5f67ef9b413244b32a543b2a2a0603f)

--HG--
branch : develop
2016-01-15 14:57:09 +02:00
Roman Telezhynskyi 6a28f464b9 Fix recalculation the scene when move detail.
(grafted from 2a58800bc48bc82057c7bec08d007eb133849b5b)

--HG--
branch : develop
2016-01-15 14:56:33 +02:00
Roman Telezhynskyi 73f0f4ca58 Show scene origins.
--HG--
branch : develop
2016-01-15 14:55:56 +02:00
Roman Telezhynskyi e1f3456027 Begin developing new version 0.5.0.
--HG--
branch : develop
2016-01-14 11:55:14 +02:00
Roman Telezhynskyi 8745a78c67 Calculate items bounding rect without hidden items.
--HG--
branch : develop
2016-01-13 15:47:38 +02:00
Roman Telezhinskyi 62b47197f7 Merged in ValentinaZhuravska/valentina/feature (pull request #92)
Retranslate

--HG--
branch : develop
2016-01-11 15:16:57 +02:00
Roman Telezhynskyi 6be6eb80b0 Parse expression also in the attribute radius.
--HG--
branch : develop
2016-01-11 13:28:48 +02:00
Roman Telezhynskyi 4977604106 Correct disabling line to the label.
--HG--
branch : develop
2016-01-11 13:24:37 +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 3d6f8e0caa Brush detail.
--HG--
branch : develop
2016-01-10 15:31:43 +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 b9f8e19236 Test issue with method IsPointOnLineSegment.
--HG--
branch : develop
2016-01-09 11:42:06 +02:00
Roman Telezhynskyi 1c92165467 Have found case where the program returns wrong curve segment.
--HG--
branch : develop
2016-01-08 17:59:51 +02:00
Roman Telezhynskyi 45454a8955 Fix tool UnionDetails. Always left last poit of detail, save children ids,
save in correct section.

--HG--
branch : develop
2016-01-07 18:43:08 +02:00
Valentina Zhuravska 31aee635e4 Little optimization: change 'cansel' to 'cancel'
--HG--
branch : feature
2016-01-06 08:05:41 +02:00