Commit graph

1147 commits

Author SHA1 Message Date
Roman Telezhynskyi c1cea4c441 Clazy warnings.
--HG--
branch : develop
2018-03-14 15:39:15 +02:00
Roman Telezhynskyi a2c54fc7f3 Some dialogs should behave like windows on mac.
--HG--
branch : develop
2018-03-12 12:42:43 +02:00
Roman Telezhynskyi cb5b7fcfcd Resolved issue #818. Improve Piece path validation. Check uniqueness.
--HG--
branch : develop
2018-03-05 12:05:59 +02:00
Roman Telezhynskyi 1a231872b5 Improve roatation tool.
It's not really logical for a user that a center of rotation no need to select.
To fix this issue we just silently remove it from the list.

--HG--
branch : develop
2018-03-04 13:54:28 +02:00
Roman Telezhynskyi f605777495 Fixed issue #817. Piece label is not rotatable by mouse.
--HG--
branch : develop
2018-02-27 13:06:37 +02:00
Roman Telezhynskyi 5f3ee65501 Fix bug in tool property browser. Too strict check makes impossible to fix
formula value.

--HG--
branch : develop
2018-02-22 14:59:39 +02:00
Roman Telezhynskyi d39fea54cd Resolved issue #810. Performance regression in c9abc05 (macOS).
--HG--
branch : develop
2018-02-15 11:20:34 +02:00
Roman Telezhynskyi 7b3ab26832 Improve dialog Piece path. Hide unused tabs depending on path type.
--HG--
branch : develop
2018-02-13 19:43:32 +02:00
Roman Telezhynskyi 551d11f298 Fix bug in Dialog piece path. Dialog was blocked if piece path is internal
path.

--HG--
branch : develop
2018-02-13 19:37:45 +02:00
Roman Telezhynskyi 85afe83f6a Fix reappearing internal piece path after scene update.
--HG--
branch : develop
2018-02-11 13:15:07 +02:00
Roman Telezhynskyi e15c6eca08 Fix issue with Piece path dialog. Path should be active tab by default.
--HG--
branch : develop
2018-02-09 15:00:47 +02:00
Roman Telezhynskyi 575068e181 Fix bug in control point.
Do not draw control point in constructor. It creates artefacts if they enabled
from start.

--HG--
branch : develop
2018-02-06 21:05:43 +02:00
Roman Telezhynskyi 89d01f3fe5 Arrow length should follow line width.
--HG--
branch : develop
2018-02-06 20:45:07 +02:00
Roman Telezhynskyi 6e50832578 Fix bug with pen width.
--HG--
branch : develop
2018-02-06 20:08:50 +02:00
Roman Telezhynskyi 6c438f92e0 Resolved issue #808. New feature. Global line width option.
--HG--
branch : develop
2018-02-06 19:30:27 +02:00
Roman Telezhynskyi 72d832c93a Resolved issue #807. Issue with "Intersection" passmark.
--HG--
branch : develop
2018-02-04 12:35:27 +02:00
Roman Telezhynskyi 8b7494fb08 Show Forbid flipping and Force flipping options in piece context menu.
--HG--
branch : develop
2018-02-03 14:18:32 +02:00
Roman Telezhynskyi 63fd000443 Separate node point settings and piece settings in context menu.
--HG--
branch : develop
2018-02-03 13:18:00 +02:00
Roman Telezhynskyi 0cfe0b5936 Fix Valentina's crash.
Valentina crashes when delete several selected pieces.

--HG--
branch : develop
2018-01-30 10:31:50 +02:00
Roman Telezhynskyi 3bdf60705d Clang warning.
--HG--
branch : develop
2018-01-28 12:58:11 +02:00
Roman Telezhynskyi 525a8b0dc2 Copy piece tool should copy more point information: label position and
show/hide state.

--HG--
branch : develop
2018-01-25 11:39:37 +02:00
Roman Telezhynskyi 762f88579a Fix crash in dialog Seeam allowance tool.
--HG--
branch : develop
2018-01-25 10:32:40 +02:00
Roman Telezhynskyi 2bf477ca8a Fix bug in copy piece tool.
--HG--
branch : develop
2018-01-25 10:31:59 +02:00
Roman Telezhynskyi 3ae5b3d99a Fix compilation.
--HG--
branch : develop
2018-01-24 22:20:31 +02:00
Roman Telezhynskyi 615decb625 Improve Formula Wizard.
Improve support for multi line expressions.

--HG--
branch : develop
2018-01-24 22:09:45 +02:00
Roman Telezhynskyi 54d3ae7561 Improve parsing formulas.
Enable subexpressions. Allow user to define local variables.

--HG--
branch : develop
2018-01-24 22:08:53 +02:00
Roman Telezhynskyi 9b5b8dde04 Improve Formula Wizard. Disable data types not available in certain cases.
--HG--
branch : develop
2018-01-24 19:10:29 +02:00
Roman Telezhynskyi f78f191843 Fix bug in copy piece tool.
--HG--
branch : develop
2018-01-24 16:50:25 +02:00
Roman Telezhynskyi 2aaffd0e0d Fix bug in Formula Wizard. It did not show description for preview calculations.
--HG--
branch : develop
2018-01-22 20:51:17 +02:00
Roman Telezhynskyi 7bdc10419c Speed optimization translating internal variables.
--HG--
branch : develop
2018-01-21 16:00:53 +02:00
Roman Telezhynskyi cf8c12f16a Seep up method VToolSeamAllowance::RefreshGeometry() with multithread.
--HG--
branch : develop
2018-01-20 17:59:11 +02:00
Roman Telezhynskyi 99d6ea5152 Speed optimization for class VFormula.
--HG--
branch : develop
2018-01-20 15:37:15 +02:00
Roman Telezhynskyi 64e2341f10 Forbid a user to have in piece's main path two neighbor points with identical
coordinates.

--HG--
branch : develop
2018-01-20 11:47:01 +02:00
Roman Telezhynskyi 919633440f Fixed issue #799. Copy piece tool crashes Valentina.
--HG--
branch : develop
2018-01-16 19:32:25 +02:00
Roman Telezhynskyi f8b673d5eb Fixed issue #798. Formula Wizard crashes with translated increments.
--HG--
branch : develop
2018-01-15 19:53:17 +02:00
Roman Telezhynskyi dd6cc1edc6 Enhancement. Disable a label options if a label template is empty.
Many user confused by not visible label even if "all" data filed. Valentina
should warn about this situation and force user to fill a label template.

--HG--
branch : develop
2018-01-14 18:19:43 +02:00
Roman Telezhynskyi 6e0584e848 Fix bug in Label template editor.
User material placeholders were wrong in combobox.

--HG--
branch : develop
2018-01-13 10:52:01 +02:00
Roman Telezhynskyi 5c8c940f32 Refactoring. Backport QOverload template.
--HG--
branch : develop
2018-01-12 15:25:20 +02:00
Roman Telezhynskyi b8c8c284a8 Fix disappearing tooltip for tool place label.
--HG--
branch : develop
2018-01-12 13:34:46 +02:00
Roman Telezhynskyi fdd7f6c2a3 Disable rubber band after objects have been selected.
--HG--
branch : develop
2018-01-05 22:01:35 +02:00
Roman Telezhynskyi 8b16cead24 Improve elliptical arc tooltip.
--HG--
branch : develop
2018-01-05 19:49:50 +02:00
Roman Telezhynskyi 55e0ef6549 Allow equal angles for elliptical arc.
--HG--
branch : develop
2018-01-05 19:42:28 +02:00
Roman Telezhynskyi 7a77ad0e19 Fix cursor for curves after closing a tool.
--HG--
branch : develop
2018-01-05 13:49:32 +02:00
Roman Telezhynskyi 8b2b9d3ee3 Move "Name of detail" field to Main path tab.
--HG--
branch : develop
2018-01-03 20:07:55 +02:00
Roman Telezhynskyi f52b690827 Resolved issue #792. New feature. Visibility trigger for internal path.
--HG--
branch : develop
2018-01-03 19:31:50 +02:00
Roman Telezhynskyi 34d1b91225 New hack to restore mouse cursor.
--HG--
branch : develop
2018-01-01 16:16:50 +02:00
Roman Telezhynskyi ae39a2b488 Resolved issue #790. Generate unique name for each detail.
--HG--
branch : develop
2017-12-30 22:19:49 +02:00
Roman Telezhynskyi 88844ec33f Resolved issue #783. Flipping control.
--HG--
branch : develop
2017-12-17 15:06:46 +02:00
Roman Telezhynskyi d1ec8e90dd Fix Valentina crash adding internal path did not increment this object
reference.

--HG--
branch : develop
2017-12-04 14:08:13 +02:00
Roman Telezhynskyi a0ec8ecb64 Fixed issue #775. Insert node tool craches.
--HG--
branch : develop
2017-12-04 13:35:58 +02:00
Roman Telezhynskyi 925e74af9c Fix file filter.
--HG--
branch : develop
2017-11-29 15:59:50 +02:00
Roman Telezhynskyi 20e4ab1980 Fix selecting piece labels and grainline.
--HG--
branch : develop
2017-11-29 15:58:58 +02:00
Roman Telezhynskyi 9aad1b43cb Fix bug. Valentina doesn't save additional rotation angle for tool Move when
use options dialog.

--HG--
branch : develop
2017-11-28 12:12:33 +02:00
Roman Telezhynskyi 98ebfd11c6 Fix stand-alone piece updating. It should call updating internal paths in this
case.

--HG--
branch : develop
2017-11-21 11:55:37 +02:00
Roman Telezhynskyi 9162b58417 Fix bug in Move tool. Dialog doesn't pass optional rotate origin point.
ref #726.

--HG--
branch : develop
2017-11-19 17:31:04 +02:00
Roman Telezhynskyi 8dbcfb4874 Fix issue with elliptical arc. It should read but ignore attribute 'aScale'.
ref #768.

--HG--
branch : develop
2017-11-18 13:48:03 +02:00
Roman Telezhynskyi 604baa61d3 Improve Move tool. It should provide optional rotation origin point field.
ref #726.

--HG--
branch : develop
2017-11-17 12:28:57 +02:00
Roman Telezhynskyi e6c59de3ca Fix bug in dialog Seam allowance tool.
Don't show the dialog if a main path doesn't contain at least one item.

--HG--
branch : develop
2017-11-15 15:25:38 +02:00
Roman Telezhynskyi 037d1daaaa Fix bug in dialog Seam allowance tool.
When create a piece and call a context menu Valentina blocks creating because
of wrong formulas.

--HG--
branch : develop
2017-11-15 15:25:05 +02:00
Roman Telezhynskyi a0643e5712 Optimize tool piece visualization.
--HG--
branch : develop
2017-11-15 13:23:19 +02:00
Roman Telezhynskyi 016883110f Allow an arc to have the same start and end angles.
In such a case full circle will be drawn.

--HG--
branch : develop
2017-11-15 13:22:16 +02:00
Roman Telezhynskyi 12761dcfa6 SonarQube warning.
--HG--
branch : develop
2017-11-14 15:08:19 +02:00
Roman Telezhynskyi bbee47fe35 Fix compatibility with Qt below version 5.5.
--HG--
branch : develop
2017-11-14 15:06:22 +02:00
Roman Telezhynskyi 5f0d4ea586 Resolved issue #774. New feature. Matching Parentheses.
--HG--
branch : develop
2017-11-14 13:46:28 +02:00
Roman Telezhynskyi 3510843e44 Resolved issue #726. Improve Move tool. Add optional rotate option.
--HG--
branch : develop
2017-11-13 19:39:11 +02:00
Roman Telezhynskyi 5fb0eb42fd Fix Valentina crash.
Valentina crashes if remove piece node parent.

--HG--
branch : develop
2017-11-13 11:29:29 +02:00
Roman Telezhynskyi 8e44628b57 Fix bug. Update details list after creating or deleting a detail.
--HG--
branch : develop
2017-11-13 11:08:48 +02:00
Roman Telezhynskyi 736d21d71c Fix bug with mouse cursor when use line tool.
--HG--
branch : develop
2017-11-13 11:03:12 +02:00
Roman Telezhynskyi c180a26e09 Improve tool Point on middle visualization.
Show point on middle position when creating a point.

--HG--
branch : develop
2017-11-11 11:24:30 +02:00
Roman Telezhynskyi ec3750e087 Resolved issue #773. Tool Point intersection curve and axis cannot find
desired intersection poin.
(grafted from 86bc49a9552fc4555956815a4d32abfa091ccfc1)

--HG--
branch : develop
2017-11-11 11:01:45 +02:00
Roman Telezhynskyi b453d2b2d6 Fix bug in dialog Seam allowance tool.
The dialog should prevent user to save a detail with broken formula.

--HG--
branch : develop
2017-11-01 11:40:19 +02:00
Roman Telezhynskyi e9abab4eb2 Fix bug in Valentina.
Each QGaphicsItem should make accepted mouse press event if it accept an event.

--HG--
branch : develop
2017-10-31 10:31:50 +02:00
Roman Telezhynskyi 790e276102 SonarQube warnings.
--HG--
branch : develop
2017-10-30 12:16:58 +02:00
Roman Telezhynskyi 7a11b3497a Fix bug with setting cursor QGraphicsPathItem without hover events.
--HG--
branch : develop
2017-10-30 11:08:25 +02:00
Roman Telezhynskyi cbf3e4d5df When create group selecting a control point should also select a curve.
--HG--
branch : develop
2017-10-30 08:34:18 +02:00
Roman Telezhynskyi 55754d227b Fix bug with spline path.
--HG--
branch : develop
2017-10-30 08:20:03 +02:00
Roman Telezhynskyi 1ce645fa16 Fix bug in undocommands.
--HG--
branch : develop
2017-10-29 19:49:51 +02:00
Roman Telezhynskyi 8309fa8c7a Save show curve details state between sessions.
--HG--
branch : develop
2017-10-29 15:13:13 +02:00
Roman Telezhynskyi f16d26b659 Improve EnsureVisibleWithDelay feature.
Margins should to be scaled according to scene scale factor.

--HG--
branch : develop
2017-10-29 13:46:58 +02:00
Roman Telezhynskyi 09f3ba234c Fix bug with item highligh selected.
--HG--
branch : develop
2017-10-29 11:06:17 +02:00
Roman Telezhynskyi def801a626 Call item update if curve detailed mode changed.
Need to show/hide a curve direction.

--HG--
branch : develop
2017-10-29 10:53:47 +02:00
Roman Telezhynskyi 969dd163bf Fix bug with spline's control point.
Fix infinite redrawing.

--HG--
branch : develop
2017-10-28 19:21:47 +03:00
Roman Telezhynskyi d3cf15f5b8 Fix some bugs.
--HG--
branch : develop
2017-10-28 17:31:18 +03:00
Roman Telezhynskyi 46d6fcd29d Fix creating pieces.
--HG--
branch : develop
2017-10-28 14:11:52 +03:00
Roman Telezhynskyi 72dde072af New feature. Allow to exclude piece node point from it's context menu.
--HG--
branch : develop
2017-10-27 14:02:17 +03:00
Roman Telezhynskyi 91b4c7c8fa Fix bug with returning a piece to original position.
--HG--
branch : develop
2017-10-27 12:28:08 +03:00
Roman Telezhynskyi dd5b276e5d Fix bug with exclude objects.
--HG--
branch : develop
2017-10-27 12:11:29 +03:00
Roman Telezhynskyi 29b23bbce3 Toggle piece node point label. ref #755.
--HG--
branch : develop
2017-10-27 11:53:35 +03:00
Roman Telezhynskyi 3df6c09934 Optimize adjusting scene rect after moving label.
--HG--
branch : develop
2017-10-27 10:36:55 +03:00
Roman Telezhynskyi 4af32961b0 Optimize adjusting new scene rect.
If we know an object that cause adjustment no need to recalc bounding rect for
all scene items.

--HG--
branch : develop
2017-10-27 09:13:51 +03:00
Roman Telezhynskyi 5a07871a8d Fix Tool union Reatin pieces option.
--HG--
branch : feature
2017-10-26 17:22:12 +03:00
Roman Telezhynskyi 51e670bd84 Duplicate from GUI.
--HG--
branch : feature
2017-10-26 16:57:52 +03:00
Roman Telezhynskyi e8ca7f575d Fix bug. Modeling objects should be separated from calculation objects and stay
in not copied container.

--HG--
branch : feature
2017-10-26 12:54:08 +03:00
Roman Telezhynskyi 9b54b0c069 Dialog Duplicate Detail.
--HG--
branch : feature
2017-10-25 17:49:04 +03:00
Roman Telezhynskyi feaa43a712 SonarCloud warning.
--HG--
branch : develop
2017-10-25 13:54:15 +03:00
Roman Telezhynskyi 19fb13affe Resolved issue #771. Improve tool Point at intersection of arc and line.
--HG--
branch : develop
2017-10-25 11:27:43 +03:00
Roman Telezhynskyi 7fce20c98e Removed redundant calls UpdateGObject(). Undocommand for piece label.
--HG--
branch : feature
2017-10-24 20:25:51 +03:00
Roman Telezhynskyi f78c122cb0 Show place label rect.
--HG--
branch : feature
2017-10-24 16:42:09 +03:00
Roman Telezhynskyi 14e19ced4b Refactoring. Move dialogs related to pieces.
--HG--
branch : feature
2017-10-24 14:14:59 +03:00
Roman Telezhynskyi 05cad85ab3 Fix bug with tool seam allowance cursor.
--HG--
branch : feature
2017-10-23 14:31:01 +03:00
Roman Telezhynskyi 6f5969a357 Use icon from default theme.
--HG--
branch : feature
2017-10-23 11:33:34 +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 f4c5ad7213 Fix undo bug. Undocommand doesn't increment/decrement reference counters.
--HG--
branch : feature
2017-10-17 19:35:39 +03:00
Roman Telezhynskyi ca79c7ff93 Added place label.
--HG--
branch : feature
2017-10-15 12:25:20 +03:00
Roman Telezhynskyi dd0025456b Fix crash in Free curve mode.
--HG--
branch : develop
2017-10-19 16:26:51 +03:00
Roman Telezhynskyi 52a8fb5bae Fix scale problem with selecting points.
We scaled point circle size, but forgot to adjust test size according to scale
too.

--HG--
branch : develop
2017-10-19 15:56:57 +03:00
Roman Telezhynskyi 71b5a17aa1 Refactor methods names for better readability.
--HG--
branch : develop
2017-10-19 11:24:21 +03:00
Roman Telezhynskyi 8eecfe78a3 New feature multi deletion pieces.
--HG--
branch : develop
2017-10-19 11:20:19 +03:00
Roman Telezhynskyi 6bbd54f6ef Improve Add piece undocommand.
Performance improvement.

--HG--
branch : develop
2017-10-18 18:02:02 +03:00
Roman Telezhynskyi 614fd3a0f9 Improve Delete piece undocommand.
Performance improvement.

--HG--
branch : develop
2017-10-18 16:40:20 +03:00
Roman Telezhynskyi 1fbb65d21d Fix SavePiecePathOptions undocommand.
Bug with increment/decrement reference counter.

--HG--
branch : develop
2017-10-18 11:58:01 +03:00
Roman Telezhynskyi 6b6c7aff52 Improve Save piece options undocommand.
Performance improvement.

--HG--
branch : develop
2017-10-18 11:56:29 +03:00
Roman Telezhynskyi ef41c700f8 Improve Move piece undocommand.
Performance improvement.

--HG--
branch : develop
2017-10-18 11:24:15 +03:00
Roman Telezhynskyi baa2f4fd92 Resolved issue #768. New feature. Custom curve approximation scale.
--HG--
branch : develop
2017-10-11 13:51:06 +03:00
Roman Telezhynskyi 61172d46c4 Fix typo in headers.
--HG--
branch : develop
2017-10-05 12:20:01 +03:00
Roman Telezhynskyi daa539378f Resolved issue #765. New feature. Free curve mode.
--HG--
branch : develop
2017-10-03 13:01:56 +03:00
Roman Telezhynskyi 08df3b4486 Scrolling delay.
When object is close to edge of view Valentina begins scrolling scene to ensure
that the object is visible. In many cases this happens to fast for user. As
solution after correction Valentina will wait 80 milliseconds before procedding
next move. This will give users enough time to react. Such delay is called only
if view was scrolled.

--HG--
branch : develop
2017-10-02 16:25:18 +03:00
Roman Telezhynskyi d7b3ddc2d5 Resolved issue #758. Intersection Passmark - select which side is shown.
--HG--
branch : develop
2017-09-28 21:18:13 +03:00
Roman Telezhynskyi 5551b853b9 Extend number of user material placeholders up to 20.
--HG--
branch : develop
2017-09-28 17:45:57 +03:00
Roman Telezhynskyi 661e71bad0 Refactoring use static methods VTranslateVars::TryFormula*User().
--HG--
branch : feature
2017-09-26 17:46:28 +03:00
Roman Telezhynskyi 29972118ff Lupdate.
--HG--
branch : develop
2017-09-24 10:33:49 +03:00
Roman Telezhynskyi d44638eab2 SonarQube warnings.
--HG--
branch : develop
2017-09-21 10:05:58 +03:00
Roman Telezhynskyi dismine@gmail.com 679830ba20 Clang warnings.
--HG--
branch : develop
2017-09-21 09:46:48 +03:00
Roman Telezhynskyi dismine@gmail.com 542ab7e648 Clang warnings.
--HG--
branch : develop
2017-09-20 19:41:12 +03:00
Roman Telezhynskyi 40662bb948 Fixed bug. After full parse undocommand Move labe losts connection to tool.
--HG--
branch : develop
2017-09-20 15:39:42 +03:00
Roman Telezhynskyi f2b07a482c GCC warning.
--HG--
branch : develop
2017-09-20 14:27:43 +03:00
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 795438c202 Merge with develop.
--HG--
branch : feature
2017-09-20 08:53:44 +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 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 6689fc89d7 Fix Elliptical arc tool dialog.
--HG--
branch : develop
2017-09-13 07:07:15 +03:00
Roman Telezhynskyi 66914174d8 Fix tooltip of Elliptical arc tool.
--HG--
branch : develop
2017-09-13 07:03:18 +03:00
Roman Telezhynskyi d820191e8a User "home" folder now supports label templates.
--HG--
branch : develop
2017-09-12 11:50:23 +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 fd2f977e44 Improve Formula Wizard. Added additional radio button to separate increments
and preview calculations. ref #731.

--HG--
branch : develop
2017-09-02 15:25:53 +03:00
Roman Telezhynskyi c33b178e3c Template recognizes new placeholders.
--HG--
branch : feature
2017-08-30 09:32:39 +03:00
Roman Telezhynskyi 51f6176ede Resolved issue #722. Rename "Seam Allowance" tool to "Workpiece" tool.
--HG--
branch : develop
2017-08-27 11:15:57 +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 54dec078da Clang warning.
--HG--
branch : develop
2017-08-21 21:12:24 +03:00
Roman Telezhynskyi ae870b8b2e Fix conflict of names.
--HG--
branch : develop
2017-08-21 17:10:55 +03:00
Roman Telezhynskyi 3d9e4e7555 Promote QLineEdit to VLineEdit.
--HG--
branch : develop
2017-08-21 15:41:42 +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 6d06370f4f Use user define date/time format.
--HG--
branch : feature
2017-08-19 19:37:14 +03:00
Roman Telezhynskyi db6de640ce Fix crash.
--HG--
branch : feature
2017-08-18 14:56:31 +03:00
Roman Telezhynskyi f07fd426dd Clearing old code.
--HG--
branch : feature
2017-08-18 14:22:31 +03:00
Roman Telezhynskyi 96df1db48e Cleaning GUI.
--HG--
branch : feature
2017-08-18 09:25:57 +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 09c67a099a UI changes for piece label.
--HG--
branch : feature
2017-08-17 19:18:03 +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 b9bd1b60e4 Method SetTemplate.
--HG--
branch : feature
2017-08-14 20:00:19 +03:00
Roman Telezhynskyi d5c2b1b50d GetTemplate after editing.
--HG--
branch : feature
2017-08-14 19:34:33 +03:00
Roman Telezhynskyi 0b3342fe3d Translation from/to user text.
--HG--
branch : feature
2017-08-14 15:48:14 +03:00
Roman Telezhynskyi 89ed92e93f Added more placeholders.
--HG--
branch : feature
2017-08-14 15:11:14 +03:00
Roman Telezhynskyi 4aa002f510 Added Preview tab.
--HG--
branch : feature
2017-08-12 13:19:13 +03:00
Roman Telezhynskyi 0c13d610eb Еext in QLineEdit selected on edit start.
--HG--
branch : feature
2017-08-12 11:57:46 +03:00
Roman Telezhynskyi d81be4f778 Added placeholders list.
--HG--
branch : feature
2017-08-12 11:40:58 +03:00
Roman Telezhynskyi 9202418d7c Fix bug. Values "0" and "1" mean for us the same.
--HG--
branch : feature
2017-08-10 19:36:31 +03:00
Roman Telezhynskyi c989cdf048 Added import the template.
--HG--
branch : feature
2017-08-10 19:32:05 +03:00
Roman Telezhynskyi b4c0651de4 Added export the template.
--HG--
branch : feature
2017-08-10 17:14:39 +03:00
Roman Telezhynskyi 209a281cdc New standard path for label templates.
--HG--
branch : feature
2017-08-10 14:51:17 +03:00
Roman Telezhynskyi 7f570106db Finished basic functions.
--HG--
branch : feature
2017-08-10 14:47:56 +03:00
Roman Telezhynskyi 7b13020e4e Button to call Label editor.
--HG--
branch : feature
2017-08-09 19:32:14 +03:00
Roman Telezhynskyi 80f6a5a7d1 Redesign. The Label editor should be in separate dialog window.
--HG--
branch : feature
2017-08-09 17:33:20 +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 349a5cade0 Fixed issue #743. Valentina doesn't update update pattern after adding item.
(grafted from 9488967913032bb6c97488a8540309db771e7728)

--HG--
branch : develop
2017-08-03 15:25:14 +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