Commit Graph

1187 Commits

Author SHA1 Message Date
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
6d638a3080 Class that show line colors.
--HG--
branch : feature
2015-02-07 15:18:08 +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
e64e3a9044 Wrong conversion expression if number has 0 in fractional part. Example 10,0.
Such numbers ignored and left untouched. This cause error in calculation.

--HG--
branch : develop
2015-02-05 13:56:51 +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
Felix ulber
278c4e7ee8 Fixed wrong title in vtooloptionspropertybrowser for curve intersect axis tool.
--HG--
branch : develop
2015-02-03 12:21:01 +01:00
Roman Telezhynskyi
76074f2820 Pattern format 0.1.3 support colors.
--HG--
branch : feature
2015-02-03 13:15:52 +02:00
Felix ulber
e1283c410e Fixed some tooltips in tool dialogs.
--HG--
branch : develop
2015-02-03 11:29:34 +01:00
Roman Telezhynskyi
cf2aea280d Refactoring.
--HG--
branch : feature
2015-02-03 12:17:04 +02:00
Roman Telezhynskyi
4572da85c8 Refactoring.
--HG--
branch : feature
2015-02-03 11:27:33 +02:00
Roman Telezhynskyi
d6a2388762 Refactoring.
--HG--
branch : feature
2015-02-03 10:55:02 +02:00
Roman Telezhynskyi
c52d0a045d Refactoring.
--HG--
branch : feature
2015-02-03 10:45:27 +02:00
Roman Telezhynskyi
f141edad27 Refactoring.
--HG--
branch : feature
2015-02-03 10:32:32 +02:00
Roman Telezhynskyi
493f607cac Refactoring. Deleted additional variables for storing ids.
--HG--
branch : feature
2015-02-03 10:17:59 +02:00
Roman Telezhynskyi
b535460715 Fixed wrong window title.
--HG--
branch : develop
2015-02-03 09:55:27 +02:00
Roman Telezhynskyi
6a9cc6da0a Default style for line Qt::SolidLine.
--HG--
branch : develop
2015-02-03 00:08:39 +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
e3b54789f3 Refactoring. Move inline methods in cpp file.
--HG--
branch : feature
2015-02-02 17:11:48 +02:00
Roman Telezhynskyi
d41308e1f4 Set line color for dialog tool " point along line".
--HG--
branch : feature
2015-02-02 13:55:42 +02:00
Roman Telezhynskyi
9381cc78a6 Initialization color conmbobox.
--HG--
branch : feature
2015-02-02 13:10:02 +02:00
Roman Telezhynskyi
c06938272f Color comboboxs in dialogs.
--HG--
branch : feature
2015-02-02 13:06:58 +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
5dcfa88691 Fix for Mac OS. Issue Makefile overriding commands for target
"bin/valentina.app/Contents/Frameworks/".

--HG--
branch : develop
2015-01-28 17:33:01 +02:00
dismine
d70879276e Fixed bug "Can't get Valentina to pick the .vst initial file (OSX)".
--HG--
branch : develop
2015-01-28 16:46:41 +02:00
dismine
f8c62b9b25 Fixed issue #208. Point from X and Y needs vertical bar to help select point
for X vertical value.

--HG--
branch : develop
2015-01-27 20:17:28 +02:00
dismine
c15c0ac67b Fixed issue #196. Detail Editor crashes on Delete.
--HG--
branch : develop
2015-01-27 18:32:50 +02:00
dismine
12c1b59c79 Fixed issue #218. Pattern disappears when Detail icon on icon bar is selected.
--HG--
branch : develop
2015-01-27 16:14:54 +02:00
dismine
e8329a1294 Merged
--HG--
branch : develop
2015-01-27 15:57:08 +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
Felix Ulber
f9f6ae884f Fixed Issue #212: Tooltip for Tool triangle is unclear. Rename.
--HG--
branch : develop
2015-01-27 11:20:30 +01:00
Felix Ulber
665d276e96 Fixed Issue #205: Point from X and Y needs improved tooltip and user prompts.
--HG--
branch : develop
2015-01-26 23:13:57 +01:00
Felix Ulber
70ffdcc1c6 Fixed Issue #207: Point from intersection of line and arc has incorrect options dialog title.
--HG--
branch : develop
2015-01-26 22:28:54 +01:00
Felix Ulber
acadc898dc Fixed Issue #204. Point from X and Y tool needs X & Y labels in options box.
--HG--
branch : develop
2015-01-26 21:05:59 +01:00
dismine
9875558e49 Fixed issue #222. Move Layout icon on top toolbar so it is next to Detail mode.
--HG--
branch : develop
2015-01-26 17:13:46 +02:00
dismine
aac096d897 Fixed issue #223. Attempt to remove stale lock file.
--HG--
branch : develop
2015-01-26 17:02:57 +02:00
dismine
886f347ba6 To File/Preferences/Paths added path to export a layout.
--HG--
branch : develop
2015-01-26 16:08:09 +02:00
dismine
57c4813255 Refactoring changed word 'Mask' to 'File Name' when saving the layout.
--HG--
branch : develop
2015-01-26 15:38:51 +02:00
dismine
245c6f522b Don't show arrow if edge too short.
--HG--
branch : develop
2015-01-23 17:05:23 +02:00
dismine
878cc2d573 Use pattern file name in mask.
--HG--
branch : develop
2015-01-23 13:40:17 +02:00
dismine
bc2df2b1b3 Changed layout allowence value.
--HG--
branch : develop
2015-01-23 12:59:40 +02:00
dismine
bdc1fa2e7f Merge with develop.
--HG--
branch : feature
2015-01-23 12:11:12 +02:00
dismine
4a9e69d32f Saving the layout paper sheets.
--HG--
branch : feature
2015-01-23 12:07:58 +02:00
dismine
0b85380f20 Show paper preview in list.
--HG--
branch : feature
2015-01-22 18:22:37 +02:00
dismine
c84caa349d Clear layout paper.
--HG--
branch : feature
2015-01-22 16:23:23 +02:00
dismine
2388d8ef29 Avoid window freaze.
--HG--
branch : feature
2015-01-22 16:13:25 +02:00
dismine
ef73b351ed New options: rotatate and rotation increase.
--HG--
branch : feature
2015-01-22 16:11:50 +02:00
dismine
dd098506dd Move rotation to separate method. Preparetion for working with new setting.
--HG--
branch : feature
2015-01-22 13:47:20 +02:00
dismine
0d1725fc11 Allow user more quick stop generation.
--HG--
branch : feature
2015-01-22 13:39:04 +02:00
dismine
d538f2af73 Give program time update GUI.
--HG--
branch : feature
2015-01-22 13:35:12 +02:00
dismine
7a9447f7af Don't set information for debug if no need.
--HG--
branch : feature
2015-01-22 13:29:40 +02:00
dismine
2aa9de5f94 For rotation check only two positions 180 and 0 degree.
--HG--
branch : feature
2015-01-22 13:26:09 +02:00
dismine
9210d31c25 First realization multithreading.
--HG--
branch : feature
2015-01-21 23:49:38 +02:00
dismine
62aa898742 Refactoring. Prepare for support multithreading.
--HG--
branch : feature
2015-01-21 20:56:59 +02:00
dismine
8655460d6e Refactoring.
--HG--
branch : feature
2015-01-21 16:33:06 +02:00
dismine
dac95d00fe Combine edges not enough for all cases. Was added checking position after
rotation around point.

--HG--
branch : feature
2015-01-20 22:58:30 +02:00
dismine
7970678575 Fix for method UniteWithContour.
--HG--
branch : feature
2015-01-20 14:50:24 +02:00
dismine
2355e435a5 Fix for method Crossing.
--HG--
branch : feature
2015-01-19 20:07:32 +02:00
dismine
366519781b Fix for method InsideContour.
--HG--
branch : feature
2015-01-19 20:01:42 +02:00
dismine
120f4cf565 Speed optimization.
--HG--
branch : feature
2015-01-19 16:13:26 +02:00
dismine
3c76f32bed Alwayse first check if workpiece inside of paper sheet rect.
--HG--
branch : feature
2015-01-19 12:36:27 +02:00
dismine
dc2620e0df Need additional point on each edge for check if workpiece inside of global
contour.

--HG--
branch : feature
2015-01-19 12:14:54 +02:00
dismine
2937a9e594 Wrong rule for check true intersection.
--HG--
branch : feature
2015-01-18 22:21:20 +02:00
dismine
c191059ddd Changed Point-In-Polygon Algorithm. Additional field for saving mirror state.
--HG--
branch : feature
2015-01-18 20:56:01 +02:00
dismine
c044b334d7 Fix for method UniteWithContour.
--HG--
branch : feature
2015-01-17 22:51:17 +02:00
dismine
696aaa413b Fixes for method Mirror and debug system.
--HG--
branch : feature
2015-01-17 19:23:54 +02:00
dismine
1d1ae1acb4 Fixed creation global contour.
--HG--
branch : feature
2015-01-17 16:00:46 +02:00
dismine
56aa09a639 Don't save last options for creation a layout.
--HG--
branch : feature
2015-01-17 15:14:28 +02:00
dismine
28b2f97aaa Fixed getting seam allowence points.
--HG--
branch : feature
2015-01-16 21:35:50 +02:00
dismine
b04d1f92e7 Forgot save paper after creation.
--HG--
branch : feature
2015-01-16 21:34:37 +02:00
dismine
f849d16018 Choose first best result.
--HG--
branch : feature
2015-01-16 21:33:18 +02:00
dismine
f8d210e720 Better check more frequently if user want cancel creation layout.
--HG--
branch : feature
2015-01-16 16:45:56 +02:00
dismine
4fb5a048ca Ignore intersection in vertices of edges.
--HG--
branch : feature
2015-01-16 16:22:42 +02:00
dismine
040b9e607b Method Mirror now should work.
--HG--
branch : feature
2015-01-16 15:20:15 +02:00
dismine
ab2b894d69 Better round points if we want avoid errors. Correct way working with QMatrix in
methods translate and rotate.

--HG--
branch : feature
2015-01-16 14:54:37 +02:00
dismine
3d1100bc3d Send arranged count of workpieces.
--HG--
branch : feature
2015-01-16 14:53:14 +02:00
dismine
ce67acc6ff Dialog must do not allow values smaller than 1 pixel.
--HG--
branch : feature
2015-01-15 19:31:42 +02:00
dismine
00e42b4368 Fixed broken seam allowence.
--HG--
branch : feature
2015-01-15 16:24:37 +02:00
dismine
79325fe91f Changes for table widows. All prepare for begin testing.
--HG--
branch : feature
2015-01-15 15:10:05 +02:00
dismine
f6380cf739 Dialog for showing progress of creation.
--HG--
branch : feature
2015-01-14 19:52:16 +02:00
dismine
a121845407 Dialog layout settings.
--HG--
branch : feature
2015-01-14 16:14:51 +02:00
dismine
3ed87757c4 Return QGraphicsItems with sheet and all details for show on scene.
--HG--
branch : feature
2015-01-13 12:38:51 +02:00
dismine
166f2fbcdb Save each frame to png file for debuging creation layout.
--HG--
branch : feature
2015-01-12 22:35:32 +02:00