Commit graph

145 commits

Author SHA1 Message Date
Roman Telezhynskyi 99d6ea5152 Speed optimization for class VFormula.
--HG--
branch : develop
2018-01-20 15:37:15 +02:00
Roman Telezhynskyi 34d1b91225 New hack to restore mouse cursor.
--HG--
branch : develop
2018-01-01 16:16:50 +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 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 d3cf15f5b8 Fix some bugs.
--HG--
branch : develop
2017-10-28 17:31:18 +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 7fce20c98e Removed redundant calls UpdateGObject(). Undocommand for piece label.
--HG--
branch : feature
2017-10-24 20:25:51 +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 71b5a17aa1 Refactor methods names for better readability.
--HG--
branch : develop
2017-10-19 11:24:21 +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 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 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 c004f0fbad Cppcheck warning.
--HG--
branch : develop
2017-09-20 13:28:06 +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 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 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 db8b4e0023 Resolved issue #750. Info Box Beside Mouse.
--HG--
branch : develop
2017-08-23 14:50:48 +03:00
Roman Telezhynskyi 7734b7a59d Refactoring. Remove unused method.
--HG--
branch : develop
2017-08-02 14:11:03 +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 d0cc8902f9 SonarQube warnings.
--HG--
branch : develop
2017-07-09 09:02:26 +03:00
Ronan Le Tiec f080b88cf7 issue #712 new default allowance setting taken into account in seam allowance tool dialog. StrToUnits and UnitsToStr moved from VDomDocument to def
--HG--
branch : develop
2017-07-02 13:34:36 +02: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 8d0b2c0af9 Fix a crash.
Valentina crahed if create a curve.

--HG--
branch : develop
2017-06-23 12:25:02 +03:00
Roman Telezhynskyi 8e0a7250df Added new feature Zoom Fit Best Current pattern piece.
--HG--
branch : develop
2017-06-16 21:14:33 +03:00
Roman Telezhynskyi b0f867499c Resolved issue #244. New feature: Adjust line and point thickness and label
size.

--HG--
branch : develop
2017-06-16 14:53:08 +03:00
Roman Telezhynskyi 4461caaf0f Fixed issue #698. Problem typing in new axis point for new piece.
(grafted from 8ad30021d46f5ddcd479b7ec1a9279a5185a2578)

--HG--
branch : develop
2017-06-02 09:23:29 +03:00
Roman Telezhynskyi 32a16890a7 Resolved issue #681. Enhance feature: Dashed line options for curves, arcs, etc.
--HG--
branch : develop
2017-05-16 13:07:53 +03:00
Roman Telezhynskyi a0262e260b Coverity scan warnings.
--HG--
branch : release
2017-04-19 12:48:13 +03:00
Roman Telezhynskyi c5957846b6 Refactoring. New parent class VInteractiveTool.
Helps to share info about tool dialog.

--HG--
branch : release
2017-04-15 17:39:59 +03:00
Roman Telezhynskyi d355b4dce8 Cppcheck warnings.
--HG--
branch : develop
2017-04-06 15:50:15 +03:00
Roman Telezhynskyi 862b5823e7 Fixed issue #647. Shoulder tool broken in latest test builds.
--HG--
branch : develop
2017-04-03 13:50:05 +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 c20f94e5f0 Optimize searching special shoulder point.
--HG--
branch : develop
2017-03-27 10:30:31 +03:00