Commit graph

275 commits

Author SHA1 Message Date
Roman Telezhynskyi 254d9b7b7a Now spline can move by mouse.
--HG--
branch : feature
2015-02-12 12:55:09 +02:00
Roman Telezhynskyi fb8dca8452 After refreshing arc visualization get wrong f1 and f2 angels.
--HG--
branch : develop
2015-02-11 16:45:35 +02:00
Roman Telezhynskyi d550d27d99 Fixed setting f1 and f2 angles for arc visualization.
--HG--
branch : develop
2015-02-11 15:13:17 +02:00
Roman Telezhynskyi 28f806a779 Refactoring. More good looking code.
--HG--
branch : feature
2015-02-11 12:43:50 +02:00
Roman Telezhynskyi c2191dd8d0 Fixed issue #217. Bug with mouse cursor.
--HG--
branch : develop
2015-02-09 11:54:19 +02:00
Roman Telezhynskyi 401e6ea534 Leave line thick if tool was selected.
--HG--
branch : feature
2015-02-08 12:56:32 +02:00
Roman Telezhynskyi eb56288d13 Color property also for cut tools: cut arc, cut spline, cut spline path.
--HG--
branch : feature
2015-02-08 12:23:26 +02:00
Roman Telezhynskyi aa7b2a4112 Use visualization for highlighting tool.
--HG--
branch : feature
2015-02-07 17:18:18 +02:00
Roman Telezhynskyi ff5c6dbb17 Fixed bug. We don't have object for line in data container. Just will send
empty object.

--HG--
branch : feature
2015-02-07 16:48:48 +02:00
Roman Telezhynskyi 619a303e9b Property explorer now show color combobox.
--HG--
branch : feature
2015-02-07 16:42:49 +02:00
Roman Telezhynskyi 805100ec0f Generate translated color names list. Need for property browser.
--HG--
branch : feature
2015-02-07 14:31:10 +02:00
Roman Telezhynskyi c595df7517 Read attribute color from file.
--HG--
branch : feature
2015-02-07 13:17:31 +02:00
Roman Telezhynskyi 5da451a5ce Save tool color attribute to xml.
--HG--
branch : feature
2015-02-06 20:05:52 +02:00
Roman Telezhynskyi 1563193662 Save color from tool option dialog to xml.
--HG--
branch : feature
2015-02-06 19:50:33 +02:00
Roman Telezhynskyi f687105905 Refactoring. Also read attribute color from xml.
--HG--
branch : feature
2015-02-06 19:43:31 +02:00
Roman Telezhynskyi b8e7cbd1ac Use for each tool correct method Disable.
--HG--
branch : feature
2015-02-06 16:25:04 +02:00
Roman Telezhynskyi 25691639d4 This method now can be virtual.
--HG--
branch : feature
2015-02-06 14:34:02 +02:00
Roman Telezhynskyi 4f91c69127 Refactoring, correct disabling tool.
--HG--
branch : feature
2015-02-06 14:31:40 +02:00
Roman Telezhynskyi 5f49394236 Use different colors for different parts of tool.
--HG--
branch : feature
2015-02-06 13:41:30 +02:00
Roman Telezhynskyi 16662a34d5 Use variable "enabled" everywhere.
--HG--
branch : feature
2015-02-06 11:58:04 +02:00
Roman Telezhynskyi e94c5070dc If pattern piece disabled need correct tool color.
--HG--
branch : feature
2015-02-06 11:53:36 +02:00
Roman Telezhynskyi 8b7567c32a Use method setEnabled instead direct change Pen where possible.
--HG--
branch : feature
2015-02-04 15:09:37 +02:00
Roman Telezhynskyi 06d415f320 Disable curve if pattern piece disabled.
--HG--
branch : feature
2015-02-04 14:17:49 +02:00
Roman Telezhynskyi 8aa8438064 Disable label if pattern piece disabled.
--HG--
branch : feature
2015-02-04 13:47:53 +02:00
Roman Telezhynskyi 4d6fae5840 Setter and getter for attribute line color.
--HG--
branch : feature
2015-02-04 11:21:09 +02:00
Roman Telezhynskyi 9d9bc2404b Refactoring. Move line type to VDrawTool class.
--HG--
branch : feature
2015-02-03 16:46:14 +02:00
Roman Telezhynskyi cf2aea280d Refactoring.
--HG--
branch : feature
2015-02-03 12:17:04 +02:00
Roman Telezhynskyi d5836e2fb3 Refactoring. Left method getPointName only in parent class.
--HG--
branch : feature
2015-02-02 18:35:40 +02:00
Roman Telezhynskyi e2fab3345a Test combobox that show colors.
--HG--
branch : feature
2015-02-02 12:28:09 +02:00
Roman Telezhynskyi de1c9d8a77 List of colors.
--HG--
branch : feature
2015-02-02 11:29:50 +02:00
dismine 1b6408c144 Fixed issue #171. QComboBox to show Qt::PenStyle.
--HG--
branch : develop
2015-01-29 17:47:02 +02:00
dismine c15c0ac67b Fixed issue #196. Detail Editor crashes on Delete.
--HG--
branch : develop
2015-01-27 18:32:50 +02:00
dismine 2a27ebfe1f Fixed issue #230. Program hangs when I try to open saved file.
--HG--
branch : develop
2015-01-27 15:56:44 +02:00
dismine 9effd8af02 Layout detail.
--HG--
branch : feature
2015-01-07 18:54:43 +02:00
dismine 7d6f22d01b Better use method here.
--HG--
branch : develop
2015-01-02 13:13:14 +02:00
dismine 08f8fc70e1 Same lenght to point label for draw and detail.
--HG--
branch : develop
2014-12-29 20:19:23 +02:00
dismine ccd06caef9 Fix for line to label.
--HG--
branch : develop
2014-12-25 19:19:31 +02:00
dismine e431388be8 Don't scale points.
--HG--
branch : develop
2014-12-25 18:21:56 +02:00
dismine 44b3064290 Undo moving label.
--HG--
branch : develop
2014-12-25 13:33:27 +02:00
dismine d6c78ca1a1 All points in detail should go clockwise. This mean in some cases need reverse
curves that go anticlockwise. Old method reversing curves doesn't work
correct in all cases. I don't see now way automatically handle this. That's
why now user can choose himself need reverse points for this curve or not.

Also this mean increment in format version to 0.1.2.

--HG--
branch : feature
2014-12-17 14:56:14 +02:00
dismine aed090aed3 New better way select objects for creation a detail.
Now the detail cutting points and use only cutted part for creation paths.

--HG--
branch : feature
2014-12-15 16:25:40 +02:00
dismine 394d54e9c1 Convertor need throw exceptions.
--HG--
branch : feature
2014-12-10 20:01:33 +02:00
dismine 7e86dcc97f One TS file for whole project.
Main reason make posible translate strings from qmuparser library.

--HG--
branch : develop
2014-12-03 16:11:57 +02:00
dismine 9ef9df1b59 Continue creation logging system.
--HG--
branch : develop
2014-11-24 15:03:34 +02:00
dismine cf36ec0b09 Better way check values in dialog arc. Issue 193.
--HG--
branch : develop
2014-11-22 12:57:05 +02:00
dismine 18dc31dd85 Fixed issue. Dialog Detail doesn't remember values after close.
--HG--
branch : develop
2014-11-20 20:13:27 +02:00
dismine 62341c3c5b CutSplPath worked wrong. Simple paths do not inherited the curved path
coefficient of curvature.

--HG--
branch : develop
2014-11-11 12:04:14 +02:00
dismine ba44e4e84d Set angle first. Angle value can be negative.
--HG--
branch : develop
2014-11-09 16:37:15 +02:00
dismine eb75584e19 Icons in detail context menu.
--HG--
branch : develop
2014-10-29 13:31:02 +02:00
dismine 309e15acd4 Refactoring. NULL_ID_STR.
--HG--
branch : develop
2014-10-29 13:06:50 +02:00
dismine 5b15b04a26 Fixed error message after creation detail.
--HG--
branch : develop
2014-10-28 13:33:39 +02:00
dismine 5679158b56 Support delete action if you select tool from label.
--HG--
branch : develop
2014-10-24 21:17:23 +03:00
dismine fd91f45bbb Icons in context menu.
--HG--
branch : develop
2014-10-24 20:33:41 +03:00
dismine 7687a04ded Refactoring. Avoid declaring the same literal in multiple places.
--HG--
branch : develop
2014-10-24 17:23:41 +03:00
dismine 68f25ddf36 New tool curve intersect axis.
--HG--
branch : develop
2014-10-23 11:38:57 +03:00
dismine a21ad603ef New tool line intersect axis.
--HG--
branch : develop
2014-10-20 20:41:02 +03:00
dismine 07ea6c6de5 New way to find point intersection of an arc with a segment.
--HG--
branch : develop
2014-10-18 20:56:25 +03:00
dismine a06a162100 Support build with MSVC.
--HG--
branch : develop
2014-10-17 22:26:30 +02:00
dismine 952e7d06b4 error: use of undeclared identifier 'fabs'.
--HG--
branch : develop
2014-10-05 23:53:58 +03:00
dismine fc083fc667 error: use of undeclared identifier 'sqrt'.
--HG--
branch : develop
2014-10-05 23:41:05 +03:00
dismine 3590ebac74 int instead ptrdiff_t.
--HG--
branch : develop
2014-10-05 23:25:07 +03:00
dismine b81614d1a1 Fixed crash after detele tool.
--HG--
branch : develop
2014-10-04 22:12:46 +03:00
dismine 11641de911 Fixes for tools vizualizations.
--HG--
branch : develop
2014-10-04 09:37:19 +03:00
dismine ea9ba2a11a Building with Clang.
--HG--
branch : develop
2014-10-03 13:32:12 +03:00
dismine 26a95e0964 Fixed wrong point name in dialog ToolShoulderPoint.
--HG--
branch : develop
2014-10-02 17:29:28 +03:00
dismine 50f82eee27 Allow a user interact only with items from active pattern piece.
--HG--
branch : develop
2014-10-02 16:34:49 +03:00
dismine 9d35b4fa5a Always show a curve control points on top.
--HG--
branch : develop
2014-09-27 15:50:00 +03:00
dismine d950acfc23 Disable also deletion tool from keyboard when tool cannot be deleted.
--HG--
branch : develop
2014-09-26 20:09:20 +03:00
dismine 0dc4a33432 Fixed crash after change line type for tool line.
--HG--
branch : develop
2014-09-26 19:48:46 +03:00
dismine 7e6cfe9f70 Change build dependence to Qt 5.0.2.
--HG--
branch : develop
2014-09-25 18:44:06 +03:00
dismine 7673deade8 Fix bug with calculator and tools visualization.
--HG--
branch : develop
2014-09-20 18:00:29 +03:00
dismine 2940c131bc Coverity warnings.
--HG--
branch : develop
2014-09-13 23:42:58 +03:00
dismine 2766628037 Clang warnings.
--HG--
branch : develop
2014-09-11 19:52:02 +03:00
dismine 1d4f0a6a55 Vera++.
--HG--
branch : develop
2014-09-10 20:57:08 +03:00
dismine fc92e0b4a4 Set (restore) cursor only if not active (active).
--HG--
branch : develop
2014-09-08 14:02:14 +03:00
dismine ede640618f Visualization for VToolCutSplinePath. Fixed issue #16.
--HG--
branch : feature
2014-09-08 11:23:53 +03:00
dismine e75ed95561 Visualization for VToolSplinePath.
--HG--
branch : feature
2014-09-07 19:51:22 +03:00
dismine 2a4eef7695 Visualization for VToolCutSpline.
--HG--
branch : feature
2014-09-06 15:47:25 +03:00
dismine d2e5be50b4 Show curve foot if only is selected.
--HG--
branch : feature
2014-09-06 11:51:46 +03:00
dismine 4c913f485d RegExp for validation label name.
--HG--
branch : feature
2014-09-04 16:42:16 +03:00
dismine 6fb280663a Show tool visualization when selected.
--HG--
branch : feature
2014-09-03 16:52:16 +03:00
dismine f59009c5fc Show lite tool options in options browser.
--HG--
branch : feature
2014-09-03 14:10:51 +03:00
dismine df2c9853a1 Setter and getter for options VToolSplinePath.
--HG--
branch : feature
2014-09-01 19:39:16 +03:00
dismine e6f9b81dba Setter and getter for options VToolSpline.
--HG--
branch : feature
2014-09-01 19:36:15 +03:00
dismine 82d82f9b0a Setter and getter for options VToolTriangle.
--HG--
branch : feature
2014-09-01 19:27:30 +03:00
dismine 754901bff1 Setter and getter for options VToolShoulderPoint.
--HG--
branch : feature
2014-09-01 19:25:04 +03:00
dismine 5e304e8415 Setter and getter for options VToolPointOfIntersection.
--HG--
branch : feature
2014-09-01 19:21:42 +03:00
dismine bf79d8f0bd Setter and getter for options VToolPointOfContact.
--HG--
branch : feature
2014-09-01 19:19:41 +03:00
dismine 4a6a3f3cc9 Setter and getter for options VToolNormal.
--HG--
branch : feature
2014-09-01 18:36:08 +03:00
dismine eb6eff3486 Setter and getter for options VToolLineIntersect.
--HG--
branch : feature
2014-09-01 18:32:28 +03:00
dismine 1d33304de4 Setter and getter for options VToolLine.
--HG--
branch : feature
2014-09-01 18:29:43 +03:00
dismine 80d5637bcb Setter and getter for options VToolHeight.
--HG--
branch : feature
2014-09-01 18:27:20 +03:00
dismine 109b071134 Setter and getter for options VToolCut.
--HG--
branch : feature
2014-09-01 18:07:21 +03:00
dismine 162794c70b Setter and getter for options VToolBisector.
--HG--
branch : feature
2014-09-01 17:47:44 +03:00
dismine 3d3282ae61 Setter and getter for options VToolArc.
--HG--
branch : feature
2014-09-01 17:34:45 +03:00
dismine d4a71f7664 Hide options when use context menu.
--HG--
branch : feature
2014-09-01 14:01:50 +03:00
dismine c412d0c51b Refactoring. Prepare for showing tools options.
--HG--
branch : feature
2014-08-30 22:58:31 +03:00
dismine 87d32d9445 Show property tool "Point at distance along line".
--HG--
branch : feature
2014-08-30 13:41:21 +03:00
dismine fa4a7fb7b8 Show Error message when formula broken.
--HG--
branch : feature
2014-08-29 17:38:43 +03:00
dismine ae4bab9d07 Don't set cursor "arrow close hand" after double mouse click.
--HG--
branch : feature
2014-08-29 17:10:47 +03:00