Commit graph

636 commits

Author SHA1 Message Date
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 8a19d8a0b1 Fix bug with "internal variable" in localized form.
Some tools have internal variables, if click button Apply a dialog lost
information about such a variable.

--HG--
branch : develop
2017-02-06 13:38:47 +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 4831d263b9 Union Details tool. Small improvements and bug fixes.
--HG--
branch : develop
2017-02-01 13:27:38 +02:00
Roman Telezhynskyi b5d50288a8 Union Details tool brokes a pattern.
--HG--
branch : develop
2017-02-01 12:22:36 +02:00
Roman Telezhynskyi dcc36a253a Refactoring and bug fix in dialog Piece path.
--HG--
branch : develop
2017-01-31 14:28:05 +02:00
Roman Telezhynskyi dc3c9511ed QPlainTextEdit widget crash a dialog if do not disable signal when closing a
dialog.

--HG--
branch : develop
2017-01-31 14:27:13 +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 c49f97d695 MSVC warning.
--HG--
branch : develop
2017-01-27 11:15:24 +02:00
Roman Telezhynskyi ede59d003f Update formula value if node was changed.
--HG--
branch : feature
2017-01-25 14:42:51 +02:00
Roman Telezhynskyi 19400f5b83 A seam allowance value can be 0.
--HG--
branch : feature
2017-01-25 14:20:25 +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 426e24dccf Use predefined symbol degree variable.
--HG--
branch : feature
2017-01-22 15:08:59 +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 7490200806 Fix tool Union Details's dialog.
--HG--
branch : feature
2017-01-17 13:49:55 +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 4cc232fc74 Fix crash. Valentina crashes when change name of piece.
--HG--
branch : feature
2017-01-14 12:10:21 +02:00
Roman Telezhynskyi e974f75b51 Make Internal path first in list.
--HG--
branch : feature
2017-01-13 19:09:22 +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 970762d0b3 Allow a user to select a curve covered by visualization.
--HG--
branch : feature
2017-01-13 17:03:15 +02:00
Roman Telezhynskyi 59c9a0b400 Allow a user to select a point covered by visualization.
--HG--
branch : feature
2017-01-13 16:57:49 +02:00
Roman Telezhynskyi dabac6b17d Better help messages.
--HG--
branch : feature
2017-01-13 16:06:39 +02:00
Roman Telezhynskyi c065824306 Fix crash when create an internal path.
--HG--
branch : feature
2017-01-13 16:06:03 +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 297b73a951 VToolSeamAllowance add grainline and labels. Only the dialog.
--HG--
branch : feature
2017-01-12 19:09:00 +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 b4c4a22a4c Merge with develop.
--HG--
branch : feature
2017-01-03 11:48:22 +02:00
Roman Telezhynskyi 86f4b21879 Instead of method QLocale::system() better to use the default constructor.
Usefull in case we will deside change default locale.

--HG--
branch : develop
2017-01-03 10:46:28 +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 7551cfda87 Remove the code after "return".
--HG--
branch : develop
2016-12-21 17:38:27 +02:00