Commit graph

635 commits

Author SHA1 Message Date
Ronan Le Tiec 597f021139 issue 826 improvement to be able to add
--HG--
branch : feature
2018-03-29 23:13:33 +02:00
Ronan Le Tiec 67c0e7ed45 issue826 improvement for the handling of groups with the same name
--HG--
branch : feature
2018-03-25 20:01:36 +02:00
Ronan Le Tiec 6ce7ac1248 issue 826 sort group names in alphabetical case insensitive order
--HG--
branch : feature
2018-03-25 18:21:55 +02:00
Ronan Le Tiec e3f48b797f merge issue826 into feature
--HG--
branch : feature
2018-03-25 16:56:16 +02:00
Ronan Le Tiec be44126c94 add remove item from group and add item to group in tool context menu
--HG--
branch : issue826
2018-03-24 23:42:17 +01:00
Roman Telezhynskyi 47d86413d0 Minore cleaning.
--HG--
branch : develop
2018-03-23 15:40:36 +02:00
Roman Telezhynskyi 45a4a280b0 Fixed issue #825. Curve path editing - undo.
--HG--
branch : develop
2018-03-23 15:39:53 +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 c1cea4c441 Clazy warnings.
--HG--
branch : develop
2018-03-14 15:39:15 +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 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 85afe83f6a Fix reappearing internal piece path after scene update.
--HG--
branch : develop
2018-02-11 13:15:07 +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 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 2bf477ca8a Fix bug in copy piece tool.
--HG--
branch : develop
2018-01-25 10:31:59 +02:00
Roman Telezhynskyi f78f191843 Fix bug in copy piece tool.
--HG--
branch : develop
2018-01-24 16:50:25 +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 919633440f Fixed issue #799. Copy piece tool crashes Valentina.
--HG--
branch : develop
2018-01-16 19:32:25 +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 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 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 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 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 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 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 736d21d71c Fix bug with mouse cursor when use line tool.
--HG--
branch : develop
2017-11-13 11:03:12 +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 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 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 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 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 7fce20c98e Removed redundant calls UpdateGObject(). Undocommand for piece label.
--HG--
branch : feature
2017-10-24 20:25:51 +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 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 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 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 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 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