Roman Telezhynskyi
17394e8259
Compiler warnings.
...
--HG--
branch : develop
2017-09-20 14:05:41 +03:00
Roman Telezhynskyi
c004f0fbad
Cppcheck warning.
...
--HG--
branch : develop
2017-09-20 13:28:06 +03:00
Roman Telezhynskyi
f7c75111ce
Added support for operation tools.
...
--HG--
branch : feature
2017-09-20 12:10:57 +03:00
Roman Telezhynskyi
af1e01c243
Hide Show label option for not point objects.
...
--HG--
branch : feature
2017-09-20 10:28:49 +03:00
Roman Telezhynskyi
7864ae9572
Added support for tool True Darts.
...
--HG--
branch : feature
2017-09-20 10:19:02 +03:00
Roman Telezhynskyi
e7db934fb5
Refactor tool clases to pass data in structure.
...
--HG--
branch : feature
2017-09-18 11:37:23 +03:00
Roman Telezhynskyi
b01adfa388
Saving to file works for simple point.
...
--HG--
branch : feature
2017-09-17 19:52:18 +03:00
Roman Telezhynskyi
2e8f113e3e
Tooltip for complex tools.
...
--HG--
branch : feature
2017-09-17 13:58:43 +03:00
Roman Telezhynskyi
6f160ebd9c
Improve tooltip. It should show object label.
...
--HG--
branch : feature
2017-09-17 10:24:34 +03:00
Roman Telezhynskyi
dbe1981eb5
Refactor to avoid hidding class member.
...
--HG--
branch : feature
2017-09-17 09:45:18 +03:00
Roman Telezhynskyi
fa74e32769
First working result.
...
Doesn't change file.
--HG--
branch : feature
2017-09-17 09:19:13 +03:00
Roman Telezhynskyi
f6923a92f4
Show option Show label.
...
--HG--
branch : feature
2017-09-16 17:25:14 +03:00
Roman Telezhynskyi
2864be7342
Refactoring to recognize child that called a contex menu.
...
--HG--
branch : feature
2017-09-15 17:32:23 +03:00
Roman Telezhynskyi
39aa43fe8f
SonarQube warnings.
...
--HG--
branch : develop
2017-09-13 11:52:41 +03:00
Roman Telezhynskyi
66914174d8
Fix tooltip of Elliptical arc tool.
...
--HG--
branch : develop
2017-09-13 07:03:18 +03:00
Roman Telezhynskyi
27f605dc65
Fixed issue #752 . Valentina produces corrupted file if unite two pieces.
...
(grafted from e0e2d27ac2a1f8f43879218a97924481ae674c77)
--HG--
branch : develop
2017-09-11 15:56:18 +03:00
Roman Telezhynskyi
af6e41d8cc
Fix bug. Valentina doesn't update piece label.
...
--HG--
branch : develop
2017-08-23 15:26:48 +03:00
Roman Telezhynskyi
db8b4e0023
Resolved issue #750 . Info Box Beside Mouse.
...
--HG--
branch : develop
2017-08-23 14:50:48 +03:00
Roman Telezhynskyi
ae870b8b2e
Fix conflict of names.
...
--HG--
branch : develop
2017-08-21 17:10:55 +03:00
Roman Telezhynskyi
acf429518d
Added more additional Piece label fields.
...
--HG--
branch : feature
2017-08-21 13:16:43 +03:00
Roman Telezhynskyi
f07fd426dd
Clearing old code.
...
--HG--
branch : feature
2017-08-18 14:22:31 +03:00
Roman Telezhynskyi
ae78373f88
Read/write piece label.
...
--HG--
branch : feature
2017-08-18 07:59:47 +03:00
Roman Telezhynskyi
c368a956b8
Fix bug. Changing pattern or measurements file name do not imidiatelly update
...
pattern label.
--HG--
branch : feature
2017-08-17 19:57:46 +03:00
Roman Telezhynskyi
b212d04d11
Parse template and prepare pattern label.
...
--HG--
branch : feature
2017-08-15 15:22:33 +03:00
Roman Telezhynskyi
6f5199c5d1
Performance optimization.
...
--HG--
branch : develop
2017-08-05 11:03:19 +03:00
Roman Telezhynskyi
3999ebd82e
Fixed bug in Tape. Each Window should has own size and height values.
...
--HG--
branch : develop
2017-08-04 20:29:43 +03:00
Roman Telezhynskyi
2be8bf2206
Fix bug. Set correct brush pattern for seam allowance.
...
--HG--
branch : develop
2017-08-03 15:59:16 +03:00
Roman Telezhynskyi
7734b7a59d
Refactoring. Remove unused method.
...
--HG--
branch : develop
2017-08-02 14:11:03 +03:00
Roman Telezhynskyi
acc340bff1
Performance improvement. Speed up method VDomDocument::elementById.
...
--HG--
branch : develop
2017-08-02 14:10:10 +03:00
Roman Telezhynskyi
ca66c8ebe2
Improve performance. Calling method RefreshDataInFile() slows down parsing.
...
--HG--
branch : develop
2017-08-02 11:34:44 +03:00
Roman Telezhynskyi
0894f686ef
Improve working with mouse cursors. Instead of setting global value set cursor
...
for each item separately.
--HG--
branch : develop
2017-08-01 14:35:48 +03:00
Roman Telezhynskyi
145a0923cb
NodePoint also should show a context menu of piece.
...
--HG--
branch : develop
2017-08-01 13:04:47 +03:00
Roman Telezhynskyi
c822464064
Fix bug. Hiding a main path making impossible to move a piece.
...
--HG--
branch : develop
2017-08-01 12:59:31 +03:00
Roman Telezhynskyi
651d22e488
Fix regression. Heavy method boundingRect() slows down the Details mode.
...
--HG--
branch : develop
2017-08-01 12:57:19 +03:00
Roman Telezhynskyi
b0348cbe9f
Fixed issue #729 . Moved Bezier curves can't be rotated.
...
(grafted from f22c4df1ff3a5d20398f3d07ed02e0c2e1847a3b)
--HG--
branch : develop
2017-07-27 18:20:21 +03:00
Roman Telezhynskyi
d8c5fafbc3
Refactoring.
...
--HG--
branch : develop
2017-07-27 17:43:10 +03:00
Roman Telezhynskyi
f648860c69
Fixed issue #737 . Valentina produces corrupted file if unite two pieces with
...
pins.
(grafted from 0c048c920b8b495e756d87df63133187151e21e9)
--HG--
branch : develop
2017-07-26 13:56:19 +03:00
Roman Telezhynskyi
457c27dbda
Fix Valentina crash.
...
Valentina crashes after uniting two pieces.
--HG--
branch : develop
2017-07-26 11:54:06 +03:00
Roman Telezhynskyi
99de6f8e22
Fix wrong piece bounding rect if disable a main path.
...
--HG--
branch : develop
2017-07-25 16:33:50 +03:00
Roman Telezhynskyi
d09de4155b
Added new option for Internal path. ref #391 .
...
This option is nedded for AAMA to determine a cut contour.
--HG--
branch : develop
2017-07-20 17:38:56 +03:00
Roman Telezhynskyi
9475da34b8
Tool Seam allowance's bounding box should not include passmarks.
...
--HG--
branch : develop
2017-07-11 13:05:48 +03:00
Roman Telezhynskyi
d0cc8902f9
SonarQube warnings.
...
--HG--
branch : develop
2017-07-09 09:02:26 +03:00
Roman Telezhynskyi
1726b55339
GCC warnings.
...
--HG--
branch : develop
2017-07-05 19:35:34 +03:00
Roman Telezhynskyi
d25979f054
Merged with feature.
...
--HG--
branch : develop
2017-07-04 19:53:05 +03:00
Ronan Le Tiec
f080b88cf7
issue #712 new default allowance setting taken into account in seam allowance tool dialog. StrToUnits and UnitsToStr moved from VDomDocument to def
...
--HG--
branch : develop
2017-07-02 13:34:36 +02:00
Roman Telezhynskyi
72ea1997fb
Fixed issue #715 . Build fails with Qt 5.9.1 / clang / macOS.
...
(grafted from d78ca13c4891ccf3542b0704a7d66af0f9b02938)
--HG--
branch : develop
2017-07-01 21:38:26 +03:00
Roman Telezhynskyi
275338da4b
Allow user to setup font family for piece labels.
...
--HG--
branch : feature
2017-07-01 14:41:46 +03:00
Roman Telezhynskyi
a1f4207621
Scale curve direction arrows.
...
--HG--
branch : develop
2017-06-23 14:18:31 +03:00
Roman Telezhynskyi
8d0b2c0af9
Fix a crash.
...
Valentina crahed if create a curve.
--HG--
branch : develop
2017-06-23 12:25:02 +03:00
Roman Telezhynskyi
8e0a7250df
Added new feature Zoom Fit Best Current pattern piece.
...
--HG--
branch : develop
2017-06-16 21:14:33 +03:00
Roman Telezhynskyi
b0f867499c
Resolved issue #244 . New feature: Adjust line and point thickness and label
...
size.
--HG--
branch : develop
2017-06-16 14:53:08 +03:00
Roman Telezhynskyi
5c4f45397d
Fix build on Mac OS X.
...
--HG--
branch : develop
2017-06-05 20:58:38 +03:00
Roman Telezhynskyi
4461caaf0f
Fixed issue #698 . Problem typing in new axis point for new piece.
...
(grafted from 8ad30021d46f5ddcd479b7ec1a9279a5185a2578)
--HG--
branch : develop
2017-06-02 09:23:29 +03:00
Roman Telezhynskyi
7e064f80c5
Thrown away code for support Qt < 5.2.
...
--HG--
branch : develop
2017-05-30 19:52:38 +03:00
Roman Telezhynskyi
2921dbf2a3
Move dialog Piece path.
...
--HG--
branch : develop
2017-05-30 11:56:16 +03:00
Roman Telezhynskyi
56dd8ef3b6
Resolved issue #684 . Proposal: Add option to only show outer edges on detail.
...
--HG--
branch : develop
2017-05-16 15:16:50 +03:00
Roman Telezhynskyi
32a16890a7
Resolved issue #681 . Enhance feature: Dashed line options for curves, arcs, etc.
...
--HG--
branch : develop
2017-05-16 13:07:53 +03:00
Roman Telezhynskyi
f990a5726c
Refactoring. Join similar parts from methods that update labels. ref #672 .
...
Issue #672 that this part better to refactor to eliminate more issues in future.
--HG--
branch : release
2017-04-27 14:30:20 +03:00
Roman Telezhynskyi
795373e74e
Fixed issue #672 . Labels are turning oposite directions.
...
--HG--
branch : release
2017-04-27 13:32:52 +03:00
Roman Telezhynskyi
c9e005c65b
Small improvements for passmark.
...
Added new option that allow localy disable the second passmark on the seam line.
--HG--
branch : release
2017-04-26 11:22:42 +03:00
Roman Telezhynskyi
39a1c50022
Fix bug. Labels created tools from Operation section should be not movable when
...
use a tool.
--HG--
branch : release
2017-04-26 08:19:39 +03:00
Roman Telezhynskyi
7734c0564b
Localization improvements.
...
--HG--
branch : release
2017-04-21 17:28:25 +03:00
Roman Telezhynskyi
a0262e260b
Coverity scan warnings.
...
--HG--
branch : release
2017-04-19 12:48:13 +03:00
Roman Telezhynskyi
124fd657e3
Suppress scene item context menu if a tool was activated.
...
A context menu is allowed only if the Arrow tool is active.
--HG--
branch : release
2017-04-18 11:06:17 +03:00
Roman Telezhynskyi
865af1540b
SonarQube warning.
...
--HG--
branch : release
2017-04-15 18:19:16 +03:00
Roman Telezhynskyi
30a35e723a
Removed unused function.
...
--HG--
branch : release
2017-04-15 18:19:00 +03:00
Roman Telezhynskyi
b433d9cfc4
Clang warning.
...
--HG--
branch : release
2017-04-15 18:11:19 +03:00
Roman Telezhynskyi
c5957846b6
Refactoring. New parent class VInteractiveTool.
...
Helps to share info about tool dialog.
--HG--
branch : release
2017-04-15 17:39:59 +03:00
Roman Telezhynskyi
e8917bd10d
Fixed issue #662 . Valentina closes when creating details on 64 bit systems.
...
--HG--
branch : release
2017-04-15 13:25:07 +03:00
Roman Telezhynskyi
fdd3e9a70c
Fix a crash.
...
If call a visualization and then close the window Valentina will crash.
--HG--
branch : release
2017-04-11 15:02:52 +03:00
Roman Telezhynskyi
d355b4dce8
Cppcheck warnings.
...
--HG--
branch : develop
2017-04-06 15:50:15 +03:00
Roman Telezhynskyi
c0f36dffbe
Resolved issue #652 . Show passmarks for builtin seam allowance.
...
--HG--
branch : develop
2017-04-05 13:22:33 +03:00
Roman Telezhynskyi
862b5823e7
Fixed issue #647 . Shoulder tool broken in latest test builds.
...
--HG--
branch : develop
2017-04-03 13:50:05 +03:00
Roman Telezhynskyi
e2383eb500
Refactoring. Use "=default" instead of the default implementation.
...
--HG--
branch : develop
2017-04-01 17:27:55 +03:00
Roman Telezhynskyi
660406ab35
Refactoring. Improve access to static member.
...
--HG--
branch : develop
2017-03-31 17:25:14 +03:00
Roman Telezhynskyi
b316133dad
Remove unused members.
...
--HG--
branch : develop
2017-03-31 17:21:18 +03:00
Roman Telezhynskyi
f9aa896477
Refactoring. Avoid implicit conversions.
...
--HG--
branch : develop
2017-03-31 17:04:11 +03:00
Roman Telezhynskyi
ebda4292a8
Merge with develop.
...
--HG--
branch : feature
2017-03-28 13:33:31 +03:00
Roman Telezhynskyi
b9bebcaeb4
Show passmarks in the main path.
...
--HG--
branch : feature
2017-03-28 13:09:00 +03:00
Roman Telezhynskyi
c20f94e5f0
Optimize searching special shoulder point.
...
--HG--
branch : develop
2017-03-27 10:30:31 +03:00
Roman Telezhynskyi
6ac1a1247c
Read/write passmark information.
...
--HG--
branch : feature
2017-03-24 14:48:07 +02:00
Roman Telezhynskyi
d696af9a33
"static" members should be accessed statically.
...
--HG--
branch : develop
2017-03-23 10:25:46 +02:00
Roman Telezhynskyi
5ca119bb5b
Spline Path lost data about duplicate.
...
--HG--
branch : develop
2017-03-22 17:04:32 +02:00
Roman Telezhynskyi
08bf90bf48
Trying to prevent a crash.
...
--HG--
branch : develop
2017-03-22 17:03:20 +02:00
Roman Telezhynskyi
e995f6f68a
Added new tool Insert node.
...
--HG--
branch : feature
2017-03-22 12:05:53 +02:00
Roman Telezhynskyi
20ccbaae01
Create modeling items before insert new node.
...
--HG--
branch : feature
2017-03-21 18:00:31 +02:00
Roman Telezhynskyi
7fe86bc319
Successful build.
...
--HG--
branch : feature
2017-03-21 17:18:48 +02:00
Roman Telezhynskyi
ea5010d8f7
Resolved request "Tool Options should show information about parent objects".
...
--HG--
branch : develop
2017-03-19 17:13:02 +02:00
Roman Telezhynskyi
abd10d8f56
Move Seam Allowance tool's dialog.
...
--HG--
branch : feature
2017-03-16 14:49:40 +02:00
Roman Telezhynskyi
88b56f5453
Fix bug with resizing free grainline.
...
--HG--
branch : feature
2017-03-14 12:24:59 +02:00
Roman Telezhynskyi
c271a81b1d
Fix bug with width and height restricted by pin points.
...
--HG--
branch : feature
2017-03-14 11:20:06 +02:00
Roman Telezhynskyi
de6e3d7213
Fix issue with angle direction of grainline.
...
--HG--
branch : feature
2017-03-14 11:11:35 +02:00
Roman Telezhynskyi
011f0eaec0
Label item on scene has clockwise angle direction, we work with counter
...
clockwise.
--HG--
branch : feature
2017-03-13 16:57:54 +02:00
Roman Telezhynskyi
6802c6f154
Write/read label center pin point.
...
--HG--
branch : feature
2017-03-13 16:10:25 +02:00
Roman Telezhynskyi
1ab541236d
Successful build.
...
--HG--
branch : feature
2017-03-13 14:27:29 +02:00
Roman Telezhynskyi
af3735ea23
Grainline now can be controlled by center pin point.
...
--HG--
branch : feature
2017-03-10 16:22:19 +02:00
Roman Telezhynskyi
fb402f84b7
Dialog get/set grainline center pin point.
...
--HG--
branch : feature
2017-03-09 13:10:46 +02:00
Roman Telezhynskyi
5fbdb4f7f0
Block actions with grainline depend on restrictions.
...
--HG--
branch : feature
2017-02-27 22:06:48 +02:00
Roman Telezhynskyi
1d91df5216
Preparetions to be able to control moving actions: rotation and resizing.
...
--HG--
branch : feature
2017-02-27 14:30:02 +02:00
Roman Telezhynskyi
93a59b9371
Use pin points to set size and angle.
...
--HG--
branch : feature
2017-02-27 12:01:38 +02:00
Roman Telezhynskyi
892e5f298f
Fix bug. Piece must increase reference count for each pin.
...
--HG--
branch : feature
2017-02-24 19:48:54 +02:00
Roman Telezhynskyi
02fde1464d
Fix infinite redrawing.
...
--HG--
branch : feature
2017-02-24 19:47:13 +02:00
Roman Telezhynskyi
5f4760f06f
Read/write info about pin points.
...
--HG--
branch : feature
2017-02-23 16:49:20 +02:00
Roman Telezhynskyi
1710e3cdb7
Refactoring. Prepare folder structure for new hierarchy.
...
--HG--
branch : feature
2017-02-23 11:37:19 +02:00
Roman Telezhynskyi
a287913500
Refactoring. Rename class VGrainlineGeometry to VGrainlineData.
...
--HG--
branch : feature
2017-02-23 11:33:17 +02:00
Roman Telezhynskyi
4e3ee3eefd
Refactoring. Rename class VPatternInfoGeometry to VPatternLabelData.
...
--HG--
branch : feature
2017-02-23 11:26:25 +02:00
Roman Telezhynskyi
37efefe1ec
Refactoring. Rename class VPatternPieceData to VPieceLabelData.
...
--HG--
branch : feature
2017-02-23 11:19:27 +02:00
Roman Telezhynskyi
e7651c7194
Merge with develop.
...
--HG--
branch : feature
2017-02-23 09:29:28 +02:00
Roman Telezhynskyi
5a2604d2bd
"catch" a specific exception type.
...
--HG--
branch : develop
2017-02-22 19:49:17 +02:00
Roman Telezhynskyi
34b70cfb02
Add an explicit "return" statement with an expression.
...
--HG--
branch : develop
2017-02-22 19:40:50 +02:00
Roman Telezhynskyi
67d69781f3
Remove the code after "return".
...
--HG--
branch : develop
2017-02-22 19:27:53 +02:00
Roman Telezhynskyi
3bf65edaa6
Merge with develop.
...
--HG--
branch : feature
2017-02-22 14:48:48 +02:00
Roman Telezhynskyi
a0380f4d24
Warning. Initialize member in an initialization list.
...
--HG--
branch : develop
2017-02-22 12:22:04 +02:00
Roman Telezhynskyi
146c936ccf
Clang warning.
...
--HG--
branch : develop
2017-02-22 08:11:13 +02:00
Roman Telezhynskyi
d84fd78a38
Fixed bug. Operation tools did not obey tool selection type.
...
--HG--
branch : develop
2017-02-21 16:16:02 +02:00
Roman Telezhynskyi
38abf5c9a0
Removed redundant forward declaration.
...
--HG--
branch : develop
2017-02-18 11:22:59 +02:00
Roman Telezhynskyi
8f0f2399e2
Use QScopedPointer to prevent memory leaks.
...
--HG--
branch : develop
2017-02-18 10:43:06 +02:00
Roman Telezhynskyi
71ac49a221
Merge with develop.
...
--HG--
branch : feature
2017-02-13 15:29:37 +02:00
Roman Telezhynskyi
a8bd44b63a
Refactoring. Method VDrawTool::AddRecord has sense to call only when do
...
Document::FullParse.
--HG--
branch : develop
2017-02-13 08:55:42 +02:00
Roman Telezhynskyi
6fd45d9e2c
Path should also supports elliptical arc.
...
--HG--
branch : develop
2017-02-10 16:47:15 +02:00
Roman Telezhynskyi
5edc241426
Fix corruption a pattern after using Union Details tool.
...
--HG--
branch : develop
2017-02-08 11:06:17 +02:00
Roman Telezhynskyi
a1774149f6
Fixed issue #622 . Piece lost custom seam allowance data.
...
--HG--
branch : develop
2017-02-08 10:28:18 +02:00
Roman Telezhynskyi
29c61b9778
Fix minore bugs in Seam allowance tool.
...
--HG--
branch : develop
2017-02-04 20:30:32 +02:00
Roman Telezhynskyi
8549e55fec
Union Details tool now supports pin points.
...
--HG--
branch : feature
2017-02-01 13:31:14 +02:00
Roman Telezhynskyi
4831d263b9
Union Details tool. Small improvements and bug fixes.
...
--HG--
branch : develop
2017-02-01 13:27:38 +02:00
Roman Telezhynskyi
3f8dc54acb
Union Details tool. Small improvements and bug fixes.
...
--HG--
branch : feature
2017-02-01 13:27:38 +02:00
Roman Telezhynskyi
415e5a25a5
Merge with develop.
...
--HG--
branch : feature
2017-02-01 12:26:08 +02:00
Roman Telezhynskyi
b5d50288a8
Union Details tool brokes a pattern.
...
--HG--
branch : develop
2017-02-01 12:22:36 +02:00
Roman Telezhynskyi
ad403850bc
Save pin inside a piece.
...
--HG--
branch : feature
2017-01-31 18:09:18 +02:00
Roman Telezhynskyi
a58a479db5
Refactor VPiece class. Instead of method AppendInternalPath() use overloaded
...
getter.
--HG--
branch : feature
2017-01-31 16:26:28 +02:00
Roman Telezhynskyi
f2e88c71da
Added class VToolPin.
...
--HG--
branch : feature
2017-01-31 16:04:51 +02:00
Roman Telezhynskyi
d6c68a4df8
MSVC warning.
...
--HG--
branch : develop
2017-01-27 17:41:08 +02:00
Roman Telezhynskyi
01a04fdb09
Clang warning.
...
--HG--
branch : develop
2017-01-27 14:07:12 +02:00
Roman Telezhynskyi
75efd4021b
All united details should have appropriate flag setted up.
...
--HG--
branch : feature
2017-01-22 15:21:08 +02:00
Roman Telezhynskyi
ded6a9e76c
Clean using class VNodeDetail.
...
--HG--
branch : feature
2017-01-21 17:47:53 +02:00
Roman Telezhynskyi
8b1e9e24d4
Tool path and piece now bring formulas, should cover this fact.
...
--HG--
branch : feature
2017-01-21 17:32:08 +02:00
Roman Telezhynskyi
669d295804
Class VToolDetail removed.
...
--HG--
branch : feature
2017-01-21 16:30:14 +02:00
Roman Telezhynskyi
0ef10c01b0
A piece seam allowance can be controlled by formula.
...
--HG--
branch : feature
2017-01-21 15:24:40 +02:00
Roman Telezhynskyi
121f003e7c
Refactoring. Move grainline and lable to library VWidgets.
...
--HG--
branch : feature
2017-01-19 12:23:42 +02:00
Roman Telezhynskyi
84b285cbe4
Refactoring. Grainline and label have common parent.
...
--HG--
branch : feature
2017-01-19 12:07:26 +02:00
Roman Telezhynskyi
004c83a11f
After each reset label or grainline need to repaint piece image.
...
--HG--
branch : feature
2017-01-18 14:01:51 +02:00
Roman Telezhynskyi
ccc8da800f
Pieces should disappear from the list when deleted.
...
--HG--
branch : feature
2017-01-18 12:22:02 +02:00
Roman Telezhynskyi
d2ff75dedc
Tool Union Details now works.
...
--HG--
branch : feature
2017-01-18 10:17:18 +02:00
Roman Telezhynskyi
8eba46ade1
The tool redesign was finnised. Code is not tested.
...
--HG--
branch : feature
2017-01-16 17:37:15 +02:00
Roman Telezhynskyi
6faa0bc318
First successful build. The redesign is not finished.
...
--HG--
branch : feature
2017-01-16 12:08:13 +02:00
Roman Telezhynskyi
60810c4d04
Use parent implementation for methods incrementReferens() and
...
decrementReferens() where possible.
--HG--
branch : feature
2017-01-16 12:06:50 +02:00
Roman Telezhynskyi
af51e5e240
Seam allowance tool already initializated and can't init the path.
...
--HG--
branch : feature
2017-01-13 19:07:14 +02:00
Roman Telezhynskyi
548f7844f4
Missed to replace VDetail by VPiece.
...
--HG--
branch : feature
2017-01-13 15:19:27 +02:00
Roman Telezhynskyi
f51d32d88e
Move static methods to private section.
...
--HG--
branch : feature
2017-01-13 10:24:48 +02:00
Roman Telezhynskyi
29490b9e66
Removed dialog Detail.
...
--HG--
branch : feature
2017-01-12 19:17:13 +02:00
Roman Telezhynskyi
c9cb6adc36
VToolSeamAllowance add grain line and labels. Only the tool.
...
--HG--
branch : feature
2017-01-12 15:51:08 +02:00
Roman Telezhynskyi
5a95ce9c8a
Merge with develop.
...
--HG--
branch : feature
2017-01-11 14:05:06 +02:00
Roman Telezhynskyi
fe8179d1bf
Do not update labels and grain line if disabled.
...
--HG--
branch : develop
2017-01-05 13:13:44 +02:00
Roman Telezhynskyi
1882833ce7
Fixed issue #607 . Cut tools do not support operation tools.
...
--HG--
branch : develop
2017-01-04 13:38:10 +02:00
Roman Telezhynskyi
0419f60e0b
Merge with develop.
...
--HG--
branch : feature
2016-12-23 12:58:17 +02:00
Roman Telezhynskyi
3a8fd53dc8
Fix memory leak.
...
--HG--
branch : develop
2016-12-21 21:39:44 +02:00
Roman Telezhynskyi
a6a8ef29b0
Refactoring. Merge similar switch cases together.
...
--HG--
branch : develop
2016-12-21 21:35:07 +02:00
Roman Telezhynskyi
731eb9ec89
Refactoring.
...
There is no automatic disconnection when the 'receiver' is destroyed because
it's a functor with no QObject. However, since 5.2 there is an overload which
adds a "context object". When that object is destroyed, the connection is
broken (the context is also used for the thread affinity: the lambda will be
called in the thread of the event loop of the object used as context).
--HG--
branch : develop
2016-12-21 20:45:14 +02:00
Roman Telezhynskyi
e4c90a0809
Fix warning "Explicitly capture the required scope variables".
...
--HG--
branch : develop
2016-12-21 20:08:02 +02:00
Roman Telezhynskyi
5c40a91335
Remove empty statement.
...
--HG--
branch : develop
2016-12-21 17:36:38 +02:00
Roman Telezhynskyi
ffc1bae39c
Remove redundant declaration.
...
--HG--
branch : develop
2016-12-21 15:22:44 +02:00
Roman Telezhynskyi
2d61b87256
Remove empty statement.
...
--HG--
branch : develop
2016-12-20 21:19:21 +02:00
Roman Telezhynskyi
ffab000e0f
Remove empty statement.
...
--HG--
branch : develop
2016-12-20 20:57:20 +02:00
Roman Telezhynskyi
b6d0aa1a1f
Tool seam allowance add support for elliptical arc.
...
--HG--
branch : feature
2016-12-20 17:50:39 +02:00
Roman Telezhynskyi
0882313f1e
Merge with develop.
...
--HG--
branch : feature
2016-12-20 17:42:51 +02:00
Roman Telezhynskyi
2f46634eff
Elliptical arc is an independent scene object.
...
--HG--
branch : develop
2016-12-20 17:05:34 +02:00
Roman Telezhynskyi
f613a3a28f
Refactoring. Use QScopedPointer class.
...
--HG--
branch : develop
2016-12-20 16:58:00 +02:00
Roman Telezhynskyi
1fb0ab4d75
Added VNodeEllipticalArc.
...
--HG--
branch : develop
2016-12-20 16:51:58 +02:00
Roman Telezhynskyi
81eb33fe63
Merge with develop.
...
--HG--
branch : feature
2016-12-20 14:39:05 +02:00
Roman Telezhynskyi
f0b35ddc11
Added support elliptical arc in other tools.
...
--HG--
branch : develop
2016-12-20 13:04:56 +02:00
Valentina Zhuravska
00ab0a225e
Added VToolEllipticalArc.
...
--HG--
branch : feature
2016-12-17 03:01:40 +02:00
Roman Telezhynskyi
067fd97ae3
Merge with develop.
...
--HG--
branch : feature
2016-12-15 11:42:20 +02:00
Roman Telezhynskyi
d45a04feb0
Correct label size according to parent's bounding rect.
...
--HG--
branch : feature
2016-12-15 09:33:01 +02:00
Roman Telezhynskyi
b16ee3a4d1
Minore changes for VTextGraphicsItem.
...
Clearing code. Changed size for control objects.
--HG--
branch : feature
2016-12-15 08:54:52 +02:00
Roman Telezhynskyi
a3f7b9f60f
Fix drawing artifacts.
...
--HG--
branch : feature
2016-12-15 08:52:23 +02:00
Roman Telezhynskyi
97d76957e3
Use font's height.
...
--HG--
branch : feature
2016-12-15 08:46:45 +02:00
Roman Telezhynskyi
4eb9b2da83
Cleaning code.
...
--HG--
branch : feature
2016-12-14 11:59:21 +02:00
BojanKverh
f6122ea8be
Fixed font size calculation, so that the app does not get stuck
...
--HG--
branch : feature
2016-12-14 00:56:30 +01:00
Roman Telezhynskyi
ffa241ea0d
Removed brush for main path.
...
--HG--
branch : feature
2016-12-03 18:51:36 +02:00
Roman Telezhynskyi
641a807f24
Fix VToolPiecePath visualization.
...
--HG--
branch : feature
2016-12-03 18:44:24 +02:00
Roman Telezhynskyi
35f54c5cc7
Added Internal path.
...
--HG--
branch : feature
2016-12-03 18:01:39 +02:00
BojanKverh
21445db240
Fixed the hangup bug because of very long label words
...
--HG--
branch : feature
2016-12-02 00:44:28 +01:00
Roman Telezhynskyi
939644692d
Convert all mx and my values to local seam allowance.
...
--HG--
branch : feature
2016-12-01 20:47:15 +02:00
Roman Telezhynskyi
b3f3f03cc3
Added custom increment and decrement methods for tool VToolPiecePath.
...
--HG--
branch : feature
2016-11-29 14:58:00 +02:00
Roman Telezhynskyi
14962270f6
Refactoring.
...
--HG--
branch : feature
2016-11-29 14:51:46 +02:00
Roman Telezhynskyi
83632bf284
Fix two bugs with VPiecePath.
...
--HG--
branch : feature
2016-11-29 14:11:36 +02:00
Roman Telezhynskyi
5156e0cf25
Read/write piece path include type.
...
--HG--
branch : feature
2016-11-28 14:52:31 +02:00
Roman Telezhynskyi
f56ea24810
Custom Path will work in two modes. The first extend automatic seam allowance,
...
the second show custom deam allowance. In this case a path must have options
for controling seam allowance.
--HG--
branch : feature
2016-11-28 11:58:44 +02:00
Roman Telezhynskyi
fea2ec52fe
New section "Custom seam allowance".
...
--HG--
branch : feature
2016-11-28 10:47:36 +02:00
Roman Telezhynskyi
109e23e40d
Refactor VToolSeamAllowance::InitTool. Enough to pass only tool id.
...
--HG--
branch : feature
2016-11-25 16:41:52 +02:00
Roman Telezhynskyi
20f8da230d
Increment custom seam allowance in tool seam allowance.
...
--HG--
branch : feature
2016-11-25 16:37:32 +02:00
Roman Telezhynskyi
6424a92559
Read/write custom seam allowance record.
...
--HG--
branch : feature
2016-11-25 14:19:44 +02:00
Roman Telezhynskyi
39b27e4b24
New class VToolPiecePath.
...
--HG--
branch : feature
2016-11-24 21:35:54 +02:00
Roman Telezhynskyi
0e78efc714
Move tag strings from VToolSeamAllowance class to VAbstractPattern class. The
...
same strings use also VToolPiecePath class.
--HG--
branch : feature
2016-11-24 21:35:07 +02:00
Roman Telezhynskyi
965e588a9d
New piece attribute "united".
...
--HG--
branch : feature
2016-11-23 18:40:27 +02:00
Roman Telezhynskyi
5d5e677e2c
Added class VPiecePath.
...
--HG--
branch : feature
2016-11-23 12:54:46 +02:00
Roman Telezhynskyi
c21aedc541
A seam allowance node angle. Read, write and set in the dialog. Not handled in
...
seam allowance itself.
--HG--
branch : feature
2016-11-19 13:44:12 +02:00
Roman Telezhynskyi
585bfec12f
Fix bug Tool seam allowance. The tool returned to previous position after
...
selecting Apply or Ok buttons in the tool's dialog.
--HG--
branch : feature
2016-11-12 15:41:15 +02:00
Roman Telezhynskyi
d0b0f55d19
Read and write local seam allowance width (before and after).
...
--HG--
branch : feature
2016-11-12 13:18:16 +02:00
Roman Telezhynskyi
f992bb7bbd
Returned visualization of base seam allowance.
...
--HG--
branch : feature
2016-11-10 14:06:09 +02:00