Commit Graph

1390 Commits

Author SHA1 Message Date
Roman Telezhynskyi
caba2db95b Make sure that a point is really lies on curve.
--HG--
branch : feature
2016-11-12 14:00:07 +02:00
Roman Telezhynskyi
e1d559e1d3 Use information about local seam allowance when generating seam allowance in
VPiece class.

--HG--
branch : feature
2016-11-12 13:31:37 +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
6706f3b39d Use QDoubleSpinBox setSuffix() method instead independent label.
--HG--
branch : feature
2016-11-12 12:45:53 +02:00
Roman Telezhynskyi
c5536ab38a Control seam allowance before and after values in a dialog.
--HG--
branch : feature
2016-11-12 12:41:04 +02:00
Roman Telezhynskyi
7490e3f8d6 Calc local seam allowance for curve segment.
--HG--
branch : feature
2016-11-11 20:17:39 +02:00
Roman Telezhynskyi
ebd58376d9 Use method VAbstractCurve::PathLength to get length.
--HG--
branch : feature
2016-11-11 20:15:44 +02:00
Roman Telezhynskyi
dd8067e47f Convert local seam allowance to pixels.
--HG--
branch : feature
2016-11-11 20:15:06 +02:00
Roman Telezhynskyi
2fc2491484 Set local seam allowance when building an equdistant.
--HG--
branch : feature
2016-11-11 17:58:13 +02:00
Roman Telezhynskyi
faad0419cf Using class VSAPoint for drawing base seam allowance.
--HG--
branch : feature
2016-11-11 17:55:02 +02:00
Roman Telezhynskyi
703c2d589b Refactoring, prepare to use VSAPoint class.
--HG--
branch : feature
2016-11-11 16:26:00 +02:00
Roman Telezhynskyi
b84b9cf387 New class VSAPoint;
--HG--
branch : feature
2016-11-11 12:54:17 +02:00
Roman Telezhynskyi
49208a640d Fix few bugs with apllying changes for seam allowance.
--HG--
branch : feature
2016-11-10 14:15:43 +02:00
Roman Telezhynskyi
f992bb7bbd Returned visualization of base seam allowance.
--HG--
branch : feature
2016-11-10 14:06:09 +02:00
Roman Telezhynskyi
a5fc19d7ec Returned storing and reading base seam allowance values: width and
enable/disable.

--HG--
branch : feature
2016-11-10 12:53:02 +02:00
Roman Telezhynskyi
de6015de4d Method GetParametrBool() should allow convert strings "1" and "0" to boolean.
--HG--
branch : feature
2016-11-10 12:51:06 +02:00
Roman Telezhynskyi
df20415e9e Returned "Forbid flipping" feature.
--HG--
branch : feature
2016-11-10 11:56:40 +02:00
Roman Telezhynskyi
0dbf26a109 Merge with develop
--HG--
branch : feature
2016-11-10 11:28:08 +02:00
Roman Telezhynskyi
2489f525f7 Added tab Seam allowance. Disabled if Apply button is not active.
--HG--
branch : feature
2016-11-10 11:27:59 +02:00
Roman Telezhynskyi
c4b9346021 Fixed issue #586. Valentina crashes if clear input filter string.
--HG--
branch : develop
2016-11-10 11:15:52 +02:00
Roman Telezhynskyi
91d43c4b26 Added missed signal. Little refactoring. ref #581.
--HG--
branch : develop
2016-11-10 08:53:44 +02:00
Roman Telezhynskyi
7e3ebe7ca2 Merged in rsskga/valentina-develop/feature (pull request #150)
Resolved issue #581. Filter lists by keyword in function wizard.

--HG--
branch : develop
2016-11-10 06:14:35 +00:00
Raina
88130f1084 Resolves #581. User can now filter input lists by keyword in function wizard.
--HG--
branch : feature
2016-11-09 18:25:52 -08:00
Roman Telezhynskyi
1c0dced61d Apply button now works.
--HG--
branch : feature
2016-11-09 16:27:55 +02:00
Roman Telezhynskyi
39d2ea41ac Returned undocommand "Toggle piece in layout".
--HG--
branch : feature
2016-11-09 15:53:22 +02:00
Roman Telezhynskyi
988ce8f7f2 Returned undocommand "Save piece options".
--HG--
branch : feature
2016-11-09 14:11:58 +02:00
Roman Telezhynskyi
8601b2ae2a Returned undocommand "Move piece".
--HG--
branch : feature
2016-11-09 13:06:05 +02:00
Roman Telezhynskyi
b88663dcb4 Returned undocommand "Delete piece".
--HG--
branch : feature
2016-11-09 11:57:39 +02:00
Roman Telezhynskyi
f593d4ca5b Dialog seam allowance tool should show visualization only when user is creating
new piece.

--HG--
branch : feature
2016-11-08 19:11:47 +02:00
Roman Telezhynskyi
11e9b40cb1 Forgot to return a pointer.
--HG--
branch : feature
2016-11-08 17:52:56 +02:00
Roman Telezhynskyi
5f6b394934 Added more static asserts to check minimally supported file format versions.
--HG--
branch : feature
2016-11-08 17:07:16 +02:00
Roman Telezhynskyi
b5061038ba Fix mistake. The next pattern format will be 0.4.0.
--HG--
branch : feature
2016-11-08 16:34:44 +02:00
Roman Telezhynskyi
4cfcf5ad8d New pattern format version 0.4.0.
Convert tag detail to new version.

--HG--
branch : feature
2016-11-08 16:32:18 +02:00
Roman Telezhynskyi
a32be533ec Fix crash.
--HG--
branch : feature
2016-11-08 13:07:29 +02:00
Roman Telezhynskyi
731456f714 Merge with develop
--HG--
branch : feature
2016-11-08 12:57:19 +02:00
Roman Telezhynskyi
4a41840ae7 New class VToolSeamAllowance.
--HG--
branch : feature
2016-11-08 12:57:01 +02:00
Roman Telezhynskyi
721b9b638b Fixed VPiece class method name. CountNode -> CountNodes.
--HG--
branch : feature
2016-11-08 12:55:57 +02:00
Roman Telezhynskyi
2b75519d66 Undocommand "add piece".
--HG--
branch : feature
2016-11-08 12:54:33 +02:00
Roman Telezhynskyi
37173fb0e4 VPiece class. Added members for storing a piece position.
--HG--
branch : feature
2016-11-08 12:53:14 +02:00
Roman Telezhynskyi
977b52b787 VContainer supports working with VPiece class.
--HG--
branch : feature
2016-11-08 12:52:07 +02:00
Roman Telezhynskyi
32c7db68e0 Resolved issue #504. Suppress message about absolute measurement path.
I decided to completely eliminate warning strings because they do not change
anything.

--HG--
branch : develop
2016-11-07 15:04:00 +02:00
Roman Telezhynskyi
940a1e404b Merge with develop
--HG--
branch : feature
2016-11-05 15:31:40 +02:00
Roman Telezhynskyi
2ed35461b6 Forbid delete objects if user is creating a piece.
--HG--
branch : feature
2016-11-05 15:31:20 +02:00
Roman Telezhynskyi
bff5462ef3 Changes in dialog: reverse and internal move update the visualization
automatically.

--HG--
branch : feature
2016-11-05 15:27:19 +02:00
Roman Telezhynskyi
b7def444ef Visialization. Highlight first and last point of main path.
--HG--
branch : feature
2016-11-05 14:08:26 +02:00
Roman Telezhynskyi
bf306f6101 The visualization connected to tool dialog.
--HG--
branch : feature
2016-11-05 12:49:20 +02:00
Roman Telezhynskyi
65a38141de Added class VisToolPiece.
Show visualization creating piece main path.

--HG--
branch : feature
2016-11-05 10:56:44 +02:00
Roman Telezhynskyi
68ef544ac4 Collection test. Make timeout 2 minutes.
--HG--
branch : develop
2016-11-04 19:42:23 +02:00
Roman Telezhynskyi
f8ee078ef7 When user creates new piece button Apply should be disabled.
--HG--
branch : feature
2016-11-04 19:36:36 +02:00
Roman Telezhynskyi
f40bf977c8 Enable internal move in the list. Helps user quickly make reorder.
--HG--
branch : feature
2016-11-04 17:34:15 +02:00
Roman Telezhynskyi
eb84ae7526 Added list context menu with options Delete and Reverse (except for point).
--HG--
branch : feature
2016-11-04 17:04:18 +02:00
Roman Telezhynskyi
f58f840488 Merge with develop
--HG--
branch : feature
2016-11-04 16:28:38 +02:00
Roman Telezhynskyi
721d447af1 Refactor member names VPieceNode class.
--HG--
branch : feature
2016-11-04 16:28:10 +02:00
Roman Telezhynskyi
e261d02f89 Check keyboard modificator and add object reversed if pressed Shift.
--HG--
branch : feature
2016-11-04 16:25:57 +02:00
Roman Telezhynskyi
a378922bf6 Piece Node point can't be reversed.
--HG--
branch : feature
2016-11-04 16:25:01 +02:00
Roman Telezhynskyi
1dd86e66fb New dialog connected to tool button.
--HG--
branch : feature
2016-11-04 16:16:11 +02:00
Roman Telezhynskyi
4c3f65b0ab Refactoring AbstractTest::Run.
To be able to see more appropriate warnings we should compare only exit codes.

--HG--
branch : develop
2016-11-04 15:15:11 +02:00
Roman Telezhynskyi
1bc0378b69 Enable attribute Qt::AA_UseHighDpiPixmaps only since Qt 5.6.0. ref #584.
--HG--
branch : develop
2016-11-04 12:44:57 +02:00
Roman Telezhynskyi
22f9fb1e26 Added class VAbstractPiece.
--HG--
branch : feature
2016-11-03 20:15:53 +02:00
Roman Telezhynskyi
27d6198657 Redesing VDetail class. Meet new classes VPiece and VPieceNode.
--HG--
branch : feature
2016-11-03 17:59:53 +02:00
Roman Telezhynskyi
a50df3a33c GCC warnings.
--HG--
branch : develop
2016-11-03 15:09:48 +02:00
Roman Telezhynskyi
2c7bb5d5fc Clang warnings.
--HG--
branch : develop
2016-11-01 11:46:51 +02:00
Roman Telezhynskyi
d134e8b367 Clang warnings.
--HG--
branch : develop
2016-11-01 10:42:32 +02:00
Roman Telezhynskyi
db1cdc3d53 Fixed typo.
--HG--
branch : develop
2016-10-31 09:30:10 +02:00
Roman Telezhynskyi
d8114a18f1 Cppcheck warning.
--HG--
branch : develop
2016-10-30 16:25:14 +02:00
Roman Telezhynskyi
3e8f8a8069 Resolved issue #582. Issue with standard path to shared data on Linux.
--HG--
branch : develop
2016-10-30 14:34:55 +02:00
Roman Telezhynskyi
4930414432 Fixed missed values for baseHeight in XSD files. ref #580.
--HG--
branch : develop
2016-10-27 12:43:57 +03:00
Roman Telezhynskyi
b644209406 Resolved issue #580. Extend the list of heights.
--HG--
branch : develop
2016-10-26 14:49:09 +03:00
Bojan Kverh
f5ab3d80c3 Merged develop into feature
--HG--
branch : feature
2016-10-25 23:01:41 +02:00
BojanKverh
96cfc52202 At least one arrow has to be present on a grainline
--HG--
branch : feature
2016-10-25 23:00:42 +02:00
Roman Telezhynskyi
be10c88b7e Added new language Greek (Greece).
--HG--
branch : develop
2016-10-25 21:29:54 +03:00
Roman Telezhynskyi
214c4a50b6 Fixed path to translations and standard measurements on Mac OS X.
--HG--
branch : develop
2016-10-25 17:54:51 +03:00
BojanKverh
21cd56463c User can now turn on/off grainline arrows
--HG--
branch : feature
2016-10-25 00:53:01 +02:00
Roman Telezhynskyi
0a7097f259 Fix MSVC warning.
--HG--
branch : develop
2016-10-24 12:57:27 +03:00
Roman Telezhynskyi
1aa896eff1 Merged in BojanKverh/valentina-issue331/feature (pull request #147)
Grainline implementation. ref #331.

--HG--
branch : develop
2016-10-23 20:05:50 +00:00
BojanKverh
5862264a1d Fixed saving grainline formulas when grainline is set to not visible
--HG--
branch : feature
2016-10-23 21:24:16 +02:00
BojanKverh
e82f65fc6a Fixed the grainline tab icon in details dialog
--HG--
branch : feature
2016-10-23 20:59:38 +02:00
Roman Telezhynskyi
7d935add5b Fix building. Error about private members.
--HG--
branch : develop
2016-10-23 19:45:45 +03:00
Roman Telezhynskyi
c203986111 Fix support Qt 5.0.
--HG--
branch : develop
2016-10-23 19:38:34 +03:00
BojanKverh
0ca37fdecb Merged grainline data into v0.3.7 schema
--HG--
branch : feature
2016-10-23 17:59:03 +02:00
Bojan Kverh
01c068ddd0 Merged develop into feature
--HG--
branch : feature
2016-10-23 15:28:40 +02:00
Ronan Le Tiec
ae9da263ab issue #570 tiled pdf case when margin smaller than min
--HG--
branch : feature
2016-10-23 11:11:00 +02:00
Ronan Le Tiec
8da35622d1 Merged develop into feature
--HG--
branch : feature
2016-10-22 10:42:27 +02:00
Roman Telezhynskyi
5c821e331d Refactoring function MapDiagrams(). ref #576.
--HG--
branch : develop
2016-10-17 16:55:58 +03:00
Roman Telezhynskyi
fdc1eac734 Refactoring DialogTool::GetComboBoxCurrentData. Returned wrong default value.
--HG--
branch : develop
2016-10-17 14:53:46 +03:00
Ronan Le Tiec
588da2c9a8 corrections to support pattern schema v0.3.7
--HG--
branch : feature
2016-10-16 20:38:29 +02:00
Ronan Le Tiec
f91b3dc955 10 new colors added for the lines #577
--HG--
branch : feature
2016-10-16 19:23:40 +02:00
BojanKverh
8ab094c40d Grainline should now be visible in Layout mode
--HG--
branch : feature
2016-10-16 15:00:53 +02:00
BojanKverh
46eb6dfaa3 Added grainline to layout
--HG--
branch : feature
2016-10-16 11:38:08 +02:00
Bojan Kverh
e1a4eeb4e4 Merged develop into feature
--HG--
branch : feature
2016-10-15 11:50:17 +02:00
Roman Telezhynskyi
972c70e608 Selected detail is also selected in the list.
--HG--
branch : develop
2016-10-14 21:33:12 +03:00
Roman Telezhynskyi
d38e81cecb Added new option "In layout" to context menu tool Detail.
--HG--
branch : develop
2016-10-14 20:41:37 +03:00
Roman Telezhynskyi
710558812a Improved performans commands Select all/Select none in the list of details in
layout.

--HG--
branch : develop
2016-10-14 17:11:15 +03:00
BojanKverh
e192ff54ec Finished interactive rotation of the grainline and fixed cursor in the Grainline tab of detail dialog
--HG--
branch : feature
2016-10-13 23:33:32 +02:00
Bojan Kverh
39afb81321 Merged develop into feature
--HG--
branch : feature
2016-10-13 19:53:49 +02:00
Roman Telezhynskyi
87209bc850 Fixed broken visuzlization for tool Move.
--HG--
branch : develop
2016-10-12 16:36:58 +03:00
Roman Telezhynskyi
0817264a84 New feature. Valentina will highlight a detail selected in the Group list.
--HG--
branch : develop
2016-10-12 14:43:08 +03:00
BojanKverh
fce2849208 Worked on grainline rotation
--HG--
branch : feature
2016-10-12 02:45:01 +02:00
Roman Telezhynskyi
585618e3fc Cppcheck warnings.
--HG--
branch : develop
2016-10-11 17:10:28 +03:00
BojanKverh
dc36337663 Implemented interactive resizing for grainline item
--HG--
branch : feature
2016-10-11 00:27:14 +02:00