Commit graph

247 commits

Author SHA1 Message Date
Roman Telezhynskyi 2b7851f354 Enable Save button only if document is modified.
--HG--
branch : develop
2017-02-08 12:12:10 +02:00
Roman Telezhynskyi 7d78a0f63f Resolved issue #619. Non writable directory prevents opening.
--HG--
branch : develop
2017-02-04 13:28:47 +02:00
Roman Telezhynskyi d17dda3f9f Clang warning.
--HG--
branch : develop
2017-01-27 14:49:20 +02:00
Roman Telezhynskyi 26c76bbc71 Replace VDetail by VPiece.
--HG--
branch : feature
2017-01-21 19:12:57 +02:00
Roman Telezhynskyi ef9411cf5a Actually we check measurements in two palces. Forgot about this.
--HG--
branch : feature
2017-01-21 16:37:37 +02:00
Roman Telezhynskyi 669d295804 Class VToolDetail removed.
--HG--
branch : feature
2017-01-21 16:30:14 +02:00
Roman Telezhynskyi 24d5aa0f53 The error message should display the translated measurement name.
--HG--
branch : feature
2017-01-21 15:49:43 +02:00
Roman Telezhynskyi c48dc6b4a2 Update scene size after full parse.
--HG--
branch : feature
2017-01-14 11:52:39 +02:00
Roman Telezhynskyi 5a95ce9c8a Merge with develop.
--HG--
branch : feature
2017-01-11 14:05:06 +02:00
Roman Telezhynskyi f4a2d64497 Completely remove unsupported XML editor.
--HG--
branch : develop
2017-01-03 20:16:04 +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 4d277f392e Fix switching to Layout page when enable Layout mode.
--HG--
branch : develop
2016-12-23 11:11:00 +02:00
Roman Telezhynskyi e777c788b4 Cppcheck warning.
--HG--
branch : develop
2016-12-23 10:51:05 +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 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 0882313f1e Merge with develop.
--HG--
branch : feature
2016-12-20 17:42:51 +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 aa24976f9a Added elliptical arc tool to MainWindow.
--HG--
branch : feature
2016-12-17 03:17:29 +02:00
Roman Telezhynskyi 39a8165bd5 Update details list after each full parse.
--HG--
branch : feature
2016-12-04 18:29:12 +02:00
Roman Telezhynskyi f2e0974158 Update details list after each full parse.
--HG--
branch : develop
2016-12-04 18:29:12 +02:00
Roman Telezhynskyi e2579c231c Fix pointer to current scene. Show piece path visualization if the tool dialog
was opened.

--HG--
branch : feature
2016-11-29 19:39:40 +02:00
Roman Telezhynskyi 82d9fcba3f Connect MainWindow with VToolPiecePath.
--HG--
branch : feature
2016-11-25 16:36:56 +02:00
Roman Telezhynskyi 422fb60dcc Each path should know its type.
--HG--
branch : feature
2016-11-24 21:26:51 +02:00
Roman Telezhynskyi 8a5c4a1a37 Check if a path is valid. Should contains at least one object.
--HG--
branch : feature
2016-11-23 18:50:52 +02:00
Roman Telezhynskyi 524e98d372 Get active pattern piece list of pieces.
--HG--
branch : feature
2016-11-23 18:41:01 +02:00
Roman Telezhynskyi 6b89f43e87 Tool button connected to tool dialog.
--HG--
branch : feature
2016-11-22 14:33:08 +02:00
Roman Telezhynskyi 836df6e309 Zoom fit best for details scene again working.
--HG--
branch : feature
2016-11-09 16:29:28 +02:00
Roman Telezhynskyi 8601b2ae2a Returned undocommand "Move piece".
--HG--
branch : feature
2016-11-09 13:06:05 +02:00
Roman Telezhynskyi 2eea6482de From no one we should check count of VPiece.
--HG--
branch : feature
2016-11-08 17:53:38 +02:00
Roman Telezhynskyi bf847bac7b Dialog Detail need pointer to scene Details.
--HG--
branch : feature
2016-11-08 14:04:23 +02:00
Roman Telezhynskyi c5e8a6a529 Refactor templates SetToolButton and SetToolButtonWithApply.
These templates do almost the same. Uniting them looks like a good idea.

--HG--
branch : feature
2016-11-08 13:39:27 +02:00
Roman Telezhynskyi 4a41840ae7 New class VToolSeamAllowance.
--HG--
branch : feature
2016-11-08 12:57:01 +02:00
Roman Telezhynskyi bf306f6101 The visualization connected to tool dialog.
--HG--
branch : feature
2016-11-05 12:49:20 +02:00
Roman Telezhynskyi f58f840488 Merge with develop
--HG--
branch : feature
2016-11-04 16:28:38 +02:00
Roman Telezhynskyi 1dd86e66fb New dialog connected to tool button.
--HG--
branch : feature
2016-11-04 16:16:11 +02:00
Roman Telezhynskyi e6c85fa47a Calling constructor of Preference dialog take some time. Because of this user
have time to call the dialog twice.

--HG--
branch : develop
2016-11-04 13:29:59 +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 0817264a84 New feature. Valentina will highlight a detail selected in the Group list.
--HG--
branch : develop
2016-10-12 14:43:08 +03:00
Roman Telezhynskyi abce5439a5 Resolved issue #573. New tool: 'Move Point'.
--HG--
branch : develop
2016-10-04 17:34:37 +03:00
Roman Telezhynskyi bf1e4aeb0c Fixed issue #539. Infinite alert loop "Gradation doesn't support inches" when
loading standard table.
(grafted from 9e1dee53ca8fb5d116359f9aff4b62220a10bb39)

--HG--
branch : develop
2016-09-27 14:18:08 +03:00
Roman Telezhynskyi 4bd615cda4 Fixed typo.
--HG--
branch : develop
2016-09-27 13:00:56 +03:00
Roman Telezhynskyi 2b26b986bc Fix recalculation scene after creating new PP.
--HG--
branch : develop
2016-09-24 15:05:17 +03:00
Roman Telezhynskyi 74bc4179ef New tool Flipping by axis.
--HG--
branch : feature
2016-09-17 12:10:03 +03:00
Roman Telezhynskyi 9bb88afaa5 New tool Flipping by line.
--HG--
branch : feature
2016-09-13 11:27:44 +03:00