Commit Graph

232 Commits

Author SHA1 Message Date
Roman Telezhynskyi
cdeddbfa1e Check pointers.
--HG--
branch : develop
2015-02-25 20:12:15 +02:00
Roman Telezhynskyi
890c87e228 Set color for curved path.
--HG--
branch : develop
2015-02-18 18:04:27 +02:00
Roman Telezhynskyi
7db74d4f20 We don't need anymore simple curves. First step just hide them.
--HG--
branch : feature
2015-02-13 11:26:02 +02:00
Roman Telezhynskyi
99ebbc3ed9 Simple curve ignore press event and allow move curve by mouse.
--HG--
branch : feature
2015-02-12 18:10:47 +02:00
Roman Telezhynskyi
f16cccd89f Curved path can move by mouse.
--HG--
branch : feature
2015-02-12 17:42:44 +02:00
Roman Telezhynskyi
d6069c9201 Avoid declaring the same literal in multiple places.
--HG--
branch : feature
2015-02-12 13:55:35 +02:00
Roman Telezhynskyi
d5eded4eda Show "move cursor".
--HG--
branch : feature
2015-02-12 13:43:38 +02:00
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