Commit Graph

259 Commits

Author SHA1 Message Date
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
dismine
37ec49065a Show line type for tool endLine.
--HG--
branch : feature
2014-08-28 14:23:28 +03:00
dismine
a9667aac09 New property list of objects (points, arcs, curves).
--HG--
branch : feature
2014-08-28 14:05:58 +03:00
dismine
35b5a65eed Save label name.
--HG--
branch : feature
2014-08-27 10:31:58 +03:00
dismine
bdfd292386 First build.
--HG--
branch : feature
2014-08-26 21:31:28 +03:00
dismine
ca32f1c9df Fixed issue 168.
--HG--
branch : develop
2014-08-21 15:44:40 +03:00
dismine
4e1742ded5 Show cursor if item can move.
--HG--
branch : develop
2014-08-19 14:16:00 +03:00
dismine
6ed576a71e Visualization for VToolSpline.
--HG--
branch : develop
2014-08-18 17:42:53 +03:00
dismine
aec154e43c If point intersects with rect the line to the label wrong.
--HG--
branch : develop
2014-08-17 22:34:01 +03:00
dismine
b72f5511b4 Refactoring.
--HG--
branch : develop
2014-08-17 18:50:33 +03:00
dismine
a33ab27909 New define NULL_ID.
--HG--
branch : develop
2014-08-17 18:20:55 +03:00
dismine
036979a68c Fixed issue 107.
--HG--
branch : develop
2014-08-17 17:22:30 +03:00
dismine
62f573ec55 Renamed classes to more correct names.
--HG--
branch : develop
2014-08-15 20:27:30 +03:00
dismine
2cfe392322 Filter in dialog curves that was created after cutting.
--HG--
branch : develop
2014-08-15 20:07:26 +03:00
dismine
3f582123db Visualization for VToolLineIntersect.
--HG--
branch : develop
2014-08-14 18:48:31 +03:00
dismine
3b129aa94e Visualization for VToolPointOfContact.
--HG--
branch : develop
2014-08-14 16:43:30 +03:00
dismine
c7c86cf416 Max label distance from point seek in mm.
--HG--
branch : develop
2014-08-14 14:21:13 +03:00