Commit Graph

207 Commits

Author SHA1 Message Date
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