Commit graph

419 commits

Author SHA1 Message Date
Roman Telezhynskyi ef6dd49202 Resolved issue #861. Valentina hangs if pattern has too many loops.
--HG--
branch : develop
2018-07-12 20:21:24 +03:00
Roman Telezhynskyi 63b1eb8068 Cppcheck warning 'missingOverride'.
--HG--
branch : develop
2018-06-26 15:53:48 +03:00
Roman Telezhynskyi 09e8c81d6f Refactoring. Rename GetPPath() to GetPatternPath().
--HG--
branch : develop
2018-06-19 09:18:38 +03:00
Roman Telezhynskyi ffdf42cc7a Improve the debug message. It can contains a piece name. ref #850.
--HG--
branch : develop
2018-05-21 11:35:50 +03:00
Roman Telezhynskyi 9c2527cf9f Fix typo. ref #850.
--HG--
branch : develop
2018-05-21 11:27:28 +03:00
Roman Telezhynskyi 279674f491 Make Swap methods inline.
--HG--
branch : develop
2018-04-22 13:32:06 +03:00
Roman Telezhynskyi 0e3a9533af Refactoring. Use C++11 range-based loop.
--HG--
branch : develop
2018-04-03 14:36:38 +03:00
Roman Telezhynskyi 6b6a2632a9 Refactoring. Replacing all Q_FOREACH/foreach loops with the c++ range-based
loops.

--HG--
branch : develop
2018-04-03 11:15:58 +03:00
Roman Telezhynskyi 3252130f36 Refactoring. Use C++11 range-based loop.
--HG--
branch : develop
2018-04-02 20:38:56 +03:00
Roman Telezhynskyi 2cb7c4c603 Utilize macro QT_DEPRECATED_WARNINGS.
--HG--
branch : develop
2018-03-22 19:57:56 +02:00
Roman Telezhynskyi 6a7405b4d4 Refactoring. Use QString default constructor instead of empty string.
--HG--
branch : develop
2018-03-14 16:01:24 +02:00
Roman Telezhynskyi 1199adf6e4 Fixing bug. When export a piece invisible internal path should not be included.
--HG--
branch : develop
2018-02-13 18:22:38 +02:00
Roman Telezhynskyi 14d5cf25ad Improve flipping control. Export from Details mode also should obey this rule.
ref #783.

--HG--
branch : develop
2018-02-03 15:29:23 +02:00
Roman Telezhynskyi d59fde06b1 Speed optimization for method VLayoutPiece::Create().
--HG--
branch : develop
2018-01-21 22:00:07 +02:00
Roman Telezhynskyi d63cb30935 Remove noisy debug messages.
--HG--
branch : develop
2018-01-20 16:23:12 +02:00
Roman Telezhynskyi 88844ec33f Resolved issue #783. Flipping control.
--HG--
branch : develop
2017-12-17 15:06:46 +02:00
Roman Telezhynskyi 8b4fc33649 Fix check layout allowance size position. ref #782.
We generate layout allowance right just before creating layout. Because before
this we don't know all options.

--HG--
branch : develop
2017-12-12 10:23:46 +02:00
Roman Telezhynskyi 850bb88c6b Show warning when a layout allowance is smaller than main piece path. This is
usually idicates issue with seam allowance. ref #782.

--HG--
branch : develop
2017-12-11 17:46:13 +02:00
Roman Telezhynskyi 7c0d17a7e3 Cppcheck warning.
--HG--
branch : develop
2017-10-25 11:56:24 +03:00
Roman Telezhynskyi 660efa3844 Fix bugs.
* * *
Fix tool union bugs.
* * *
Fix preparing pieces for layout.
* * *
Fix bug with formulas.

--HG--
branch : feature
2017-10-23 10:45:58 +03:00
Roman Telezhynskyi ca79c7ff93 Added place label.
--HG--
branch : feature
2017-10-15 12:25:20 +03:00
Roman Telezhynskyi 38815727bb Fix bugs. ref #657.
--HG--
branch : develop
2017-10-11 11:34:22 +03:00
Roman Telezhynskyi 67b01c0337 Resolved issue #657. Improve feature: Allow more paper formats for printing
tiled PDF.

--HG--
branch : develop
2017-10-10 12:22:59 +03:00
Roman Telezhynskyi 61172d46c4 Fix typo in headers.
--HG--
branch : develop
2017-10-05 12:20:01 +03:00
Roman Telezhynskyi bfe327ee13 If pattern linked to individual measurements it should get customer name from
it.

--HG--
branch : develop
2017-09-19 16:07:48 +03:00
Roman Telezhynskyi c33b178e3c Template recognizes new placeholders.
--HG--
branch : feature
2017-08-30 09:32:39 +03:00
Roman Telezhynskyi 56273f6429 SonarQube warnings.
--HG--
branch : develop
2017-08-21 21:20:42 +03:00
Roman Telezhynskyi ae870b8b2e Fix conflict of names.
--HG--
branch : develop
2017-08-21 17:10:55 +03:00
Roman Telezhynskyi 20f5cb3694 Read measurements size and height from individual measurements file to insert
data into label template.

The size measurement was added as synonym of bust_arc_f.

--HG--
branch : feature
2017-08-21 14:25:27 +03:00
Roman Telezhynskyi acf429518d Added more additional Piece label fields.
--HG--
branch : feature
2017-08-21 13:16:43 +03:00
Roman Telezhynskyi 464a54c7ee Update label after changing date/time format.
--HG--
branch : feature
2017-08-19 19:52:33 +03:00
Roman Telezhynskyi 6d06370f4f Use user define date/time format.
--HG--
branch : feature
2017-08-19 19:37:14 +03:00
Roman Telezhynskyi f07fd426dd Clearing old code.
--HG--
branch : feature
2017-08-18 14:22:31 +03:00
Roman Telezhynskyi 6d967cddf8 Fix bug. Tags should contain only file base name.
--HG--
branch : feature
2017-08-17 16:04:52 +03:00
Roman Telezhynskyi 4d58e05f3e New option Font size increment.
Add value to point size of base font.

--HG--
branch : feature
2017-08-15 18:10:15 +03:00
Roman Telezhynskyi b212d04d11 Parse template and prepare pattern label.
--HG--
branch : feature
2017-08-15 15:22:33 +03:00
Roman Telezhynskyi cc2b991e78 Performance optimization.
--HG--
branch : develop
2017-08-05 08:45:37 +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 99de6f8e22 Fix wrong piece bounding rect if disable a main path.
--HG--
branch : develop
2017-07-25 16:33:50 +03:00
Roman Telezhynskyi 51f89c9799 Do not round a piece data when export.
--HG--
branch : develop
2017-07-21 14:31:47 +03:00
Roman Telezhynskyi 45f860e9b3 By default internal paths should be in draw mode.
--HG--
branch : feature
2017-07-19 10:35:00 +03:00
Roman Telezhynskyi 54eadfdb3c Export to DXF-AAMA.
--HG--
branch : feature
2017-07-16 21:10:48 +03:00
Roman Telezhynskyi 052896b960 Fix bug. Mirrored text had wrong position on layout.
--HG--
branch : develop
2017-07-11 15:14:08 +03:00
Roman Telezhynskyi 3b00e4ad0e Fix grainline position on layout.
--HG--
branch : develop
2017-07-11 13:53:36 +03:00
Roman Telezhynskyi b166ff83b2 Pieces should be positioned as on Detail mode. ref #660.
--HG--
branch : develop
2017-07-09 22:27:54 +03:00
Roman Telezhynskyi 1726b55339 GCC warnings.
--HG--
branch : develop
2017-07-05 19:35:34 +03:00
Roman Telezhynskyi b6e0d97df0 Qmake. Fix masks to support 64 bit versions of compilers.
--HG--
branch : develop
2017-07-05 11:35:32 +03:00
Roman Telezhynskyi d25979f054 Merged with feature.
--HG--
branch : develop
2017-07-04 19:53:05 +03: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 f94967d02e New option Export text as paths.
--HG--
branch : feature
2017-07-01 20:32:54 +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 b18f5fa928 Fix bug. Date on label doesn't obey GUI language locale.
(grafted from b60a78d145f51bef3bc08978e1fe3b0a7d6500ab)

--HG--
branch : develop
2017-06-29 14:47:24 +03:00
Roman Telezhynskyi a59e0e54af Fix bug. Date on label doesn't obey GUI language locale.
--HG--
branch : feature
2017-06-29 14:47:24 +03:00
Roman Telezhynskyi 721165eae3 Export from a layout text instead of paths.
--HG--
branch : feature
2017-06-29 13:00:06 +03:00
Roman Telezhynskyi d514b22611 Because we have been using C++11 we don't need this key.
--HG--
branch : feature
2017-06-20 11:30:44 +03:00
Roman Telezhynskyi cc5641a15c Added gcc’s 4.9.0 Undefined Behavior Sanitizer (ubsan).
--HG--
branch : develop
2017-06-01 10:14:17 +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 965d908663 GCC warnings.
--HG--
branch : develop
2017-05-30 18:44:16 +03:00
Roman Telezhynskyi 4d1c15c2d5 Fixed issue #696. Wrong grainline position on layout.
(grafted from 23e7ca4bff38c47729324aaa081d601351844035)

--HG--
branch : develop
2017-05-29 17:45:55 +03:00
Roman Telezhynskyi cc83d9602a Fixed issue #686. Seam allowance not placed correctly.
--HG--
branch : develop
2017-05-18 15:10:05 +03:00
Roman Telezhynskyi 91a75f6f01 Fix layout internal path support of pen style.
--HG--
branch : develop
2017-05-16 15:19:27 +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 9fd611e2d1 Fixed bug with a grainline.
Grainline arrows were upside down on layout.

--HG--
branch : release
2017-04-28 15:37:31 +03:00
Roman Telezhynskyi 03a9b07eff Fixed issue #673. The Insert Node tool changes Label.
--HG--
branch : release
2017-04-28 09:38:09 +03:00
Roman Telezhynskyi 677ef71626 Added second case when create a passmark for point that lies on line.
--HG--
branch : release
2017-04-27 18:19:23 +03:00
Roman Telezhynskyi 32e3a6340c Fixed issue #671. Weird behaviour of the passmark.
--HG--
branch : release
2017-04-27 16:37:10 +03:00
Roman Telezhynskyi 585213412c Fix case with custom piece path as part of main path. ref #668.
--HG--
branch : release
2017-04-25 20:48:32 +03:00
Roman Telezhynskyi 7840bf04eb Resolved issue #668. Passmarks on Hems.
--HG--
branch : release
2017-04-25 11:42:08 +03:00
Roman Telezhynskyi b2ed7d9db4 Refactoring. Add a move assignment operator to all classes that use
QSharedDataPointer class to keep data.

--HG--
branch : release
2017-04-19 13:27:17 +03:00
Roman Telezhynskyi ef9f9c6af4 Fixed issue #665. Passmark not correct.
--HG--
branch : release
2017-04-18 21:39:13 +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 b9f886d28d Fix building on Mac.
--HG--
branch : develop
2017-04-01 19:53:28 +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 f9aa896477 Refactoring. Avoid implicit conversions.
--HG--
branch : develop
2017-03-31 17:04:11 +03:00
Roman Telezhynskyi b62aaaf992 Layout now works with passmarks.
--HG--
branch : feature
2017-03-30 13:27:57 +03:00
Roman Telezhynskyi d1e28f4d46 Refactoring. Replace PassmarkLength by VAbstractPiece::MaxLocalSA.
--HG--
branch : feature
2017-03-30 11:07:42 +03:00
Roman Telezhynskyi 4907ce584f Fixed issue #646. Wrong seam allowance if node is on line.
--HG--
branch : feature
2017-03-30 11:06:47 +03:00
Roman Telezhynskyi b9bebcaeb4 Show passmarks in the main path.
--HG--
branch : feature
2017-03-28 13:09:00 +03:00
Roman Telezhynskyi d696af9a33 "static" members should be accessed statically.
--HG--
branch : develop
2017-03-23 10:25:46 +02:00
Roman Telezhynskyi e56d3440d2 Fixed issue #642. Detail's main path is cutted.
--HG--
branch : develop
2017-03-20 08:16:35 +02:00
Roman Telezhynskyi 47e50fe06f Fixed bug with internal path in layout piece.
--HG--
branch : develop
2017-03-18 10:44:27 +02:00
Roman Telezhynskyi c6d19c3b9b Grainline obey center pin point on layout.
--HG--
branch : feature
2017-03-13 14:33:04 +02:00
Roman Telezhynskyi 1ab541236d Successful build.
--HG--
branch : feature
2017-03-13 14:27:29 +02:00
Roman Telezhynskyi 778cbb2a70 Cppcheck warnings.
--HG--
branch : develop
2017-03-09 12:23:36 +02:00
Roman Telezhynskyi 20107a35f8 Cppcheck warning.
--HG--
branch : develop
2017-03-02 11:16:02 +02:00
Roman Telezhynskyi 71d10dbdcb Sync grainline and lable position after correcting to parent bounding rect.
--HG--
branch : feature
2017-03-02 09:12:48 +02:00
Roman Telezhynskyi e91d037e0a Use pins to position grainline and label on layout.
--HG--
branch : feature
2017-03-01 11:13:36 +02:00
Roman Telezhynskyi d47505b076 Merge with develop.
--HG--
branch : feature
2017-02-28 17:34:11 +02:00
Roman Telezhynskyi 38740f7ef8 Fix incorrect saving grainline angle and length.
--HG--
branch : feature
2017-02-27 14:28:22 +02:00
Roman Telezhynskyi 3b33eabc22 Clang warning.
--HG--
branch : develop
2017-02-26 15:52:00 +02:00
Roman Telezhynskyi ae5650f1f0 Try to fix MSVC error.
--HG--
branch : develop
2017-02-26 12:25:14 +02:00
Roman Telezhynskyi f36a4d6621 Copy-on-write for class VGrainlineData.
--HG--
branch : feature
2017-02-23 14:04:49 +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 5a2604d2bd "catch" a specific exception type.
--HG--
branch : develop
2017-02-22 19:49:17 +02:00
Roman Telezhynskyi 703a26a5cf Remove useless assignment to variable "date".
--HG--
branch : develop
2017-02-22 19:29:30 +02:00
Roman Telezhynskyi 67d69781f3 Remove the code after "return".
--HG--
branch : develop
2017-02-22 19:27:53 +02:00