Commit graph

2519 commits

Author SHA1 Message Date
Roman Telezhynskyi cc6c178b17 On macOS, the ControlModifier value corresponds to the Command keys on the
keyboard.

--HG--
branch : develop
2018-06-05 18:07:39 +03:00
Roman Telezhynskyi e343cc8018 Fixed issue #854. Union Details Tool version 1 breaks a pattern.
--HG--
branch : develop
2018-06-05 12:22:31 +03:00
Roman Telezhynskyi 6869eab05a Fixed issue #853. Valentina doesn't translate user material placeholder.
--HG--
branch : develop
2018-05-29 17:55:16 +03:00
Roman Telezhynskyi 4109848349 Class QDesktopWidget is obsolete.
Missed two more usages.

--HG--
branch : develop
2018-05-27 12:08:02 +03:00
Roman Telezhynskyi 71e1cc33c0 Class QDesktopWidget is obsolete.
--HG--
branch : develop
2018-05-27 11:34:35 +03:00
Roman Telezhynskyi 81caed8f5f Added new function VAbstractApplication::ClearMessage.
It will help clear messages from unneeded '"' at the start and at the end.
qWarning and others adds them.

--HG--
branch : develop
2018-05-25 17:54:21 +03:00
Roman Telezhynskyi 270f3b44a1 Improve handling errors cases for points of intersection.
Instead of silence setting coordinate to (0;0) show a warning message. Also for
tool "Point of Lines intersection" set coordinates to (0;0) instead of skipping
creating a point. This will prevent failing to open a pattern file.

--HG--
branch : develop
2018-05-25 17:52:35 +03:00
Roman Telezhynskyi bb95c3162b Fixed issue #851. Mouse click on a highlighted object crashes Valentina.
--HG--
branch : develop
2018-05-24 09:56:19 +03:00
Roman Telezhynskyi fc92fd4824 Fix warning "Painter path exceeds +/-32767 pixels."
In this case OpenGL requires using a stencil buffer.

--HG--
branch : develop
2018-05-21 12:14:30 +03:00
Roman Telezhynskyi ffdf42cc7a Improve the debug message. It can contains a piece name. ref #850.
--HG--
branch : develop
2018-05-21 11:35:50 +03:00
Roman Telezhynskyi 9c2527cf9f Fix typo. ref #850.
--HG--
branch : develop
2018-05-21 11:27:28 +03:00
Roman Telezhynskyi f194057b26 Refactoring.
--HG--
branch : develop
2018-05-18 13:51:58 +03:00
Roman Telezhynskyi 89b4642c16 Fix build fail.
--HG--
branch : develop
2018-05-11 13:14:57 +03:00
Roman Telezhynskyi 2ee75fdbab Tab with options to control Scrolling settings. ref #831.
Empiric settings do not work for all.

--HG--
branch : develop
2018-05-11 12:42:20 +03:00
Roman Telezhynskyi 1e0b777bd6 New option to control calling zoom current pattern piece by mouse double click.
--HG--
branch : develop
2018-05-10 14:12:41 +03:00
Roman Telezhynskyi e3cfd7a241 Fix memory leak.
--HG--
branch : develop
2018-05-10 13:46:50 +03:00
Roman Telezhynskyi 56780fa337 Do not send geometry changes when set control point line. ref #842.
--HG--
branch : develop
2018-05-08 12:06:40 +03:00
Roman Telezhynskyi b1d33aa2c6 Adjust line to control point according to scale. ref #842.
--HG--
branch : develop
2018-05-08 12:04:12 +03:00
Roman Telezhynskyi 194a1878df Refactoring. Move getting list of scene items from the loop.
--HG--
branch : develop
2018-05-08 11:33:53 +03:00
Roman Telezhynskyi fc3f8df5b0 Fix bug with caching removed items.
--HG--
branch : develop
2018-05-08 11:32:27 +03:00
Roman Telezhynskyi 4f7099294a Search an item from internal path list to remove in reverse order.
--HG--
branch : develop
2018-05-07 18:01:50 +03:00
Roman Telezhynskyi 180332d279 Refactoring. Removing redundant code.
--HG--
branch : develop
2018-05-07 18:00:02 +03:00
Roman Telezhynskyi f027d92a4c Resolved issue #845. Defining a "closed" internal path.
--HG--
branch : develop
2018-05-07 17:59:21 +03:00
Roman Telezhynskyi b42664ce80 Refactoring.
--HG--
branch : develop
2018-05-07 14:35:01 +03:00
Roman Telezhynskyi ccda742aa8 Refactoring. Specifying the "pointer" part outside of auto.
--HG--
branch : develop
2018-05-07 14:32:17 +03:00
Roman Telezhynskyi 8a255c063e Fixed issue #841. Variables Table won't open again when closed with Esc.
--HG--
branch : develop
2018-05-07 14:28:51 +03:00
Roman Telezhynskyi 3b4007a40c Backed out changeset: 87f0955a62ad ref #841.
--HG--
branch : develop
2018-05-07 14:23:47 +03:00
Roman Telezhynskyi 3d121c8247 Improve scrolling. ref #831.
--HG--
branch : develop
2018-04-26 15:08:04 +03:00
Roman Telezhynskyi fd446a7c1f Fixed issue #841. Variables Table won't open again when closed with Esc.
--HG--
branch : develop
2018-04-23 10:13:19 +03:00
Roman Telezhynskyi 2c6c537d66 String optimization.
--HG--
branch : develop
2018-04-22 19:06:34 +03:00
Roman Telezhynskyi ab59a76bbb String optimization. Replace string " " with signe QChar.
--HG--
branch : develop
2018-04-22 18:39:56 +03:00
Roman Telezhynskyi 862860f016 QString optimizations.
--HG--
branch : develop
2018-04-22 18:32:55 +03:00
Roman Telezhynskyi e845453f95 Optimization. Use FindFirstNotOf() that supports QString natively.
--HG--
branch : develop
2018-04-22 18:32:38 +03:00
Roman Telezhynskyi 279674f491 Make Swap methods inline.
--HG--
branch : develop
2018-04-22 13:32:06 +03:00
Roman Telezhynskyi 29db30548d Refactoring. Use shared data pointer for class QmuParserCallback.
Should speed up copying.

--HG--
branch : develop
2018-04-20 12:47:48 +03:00
Roman Telezhynskyi a128cbd3ec String "Global", comment for translators.
--HG--
branch : develop
2018-04-18 11:17:13 +03:00
Roman Telezhynskyi 2d5f84b4bf Refactoring. Don't use old slot style in QTimer::singleShot.
--HG--
branch : develop
2018-04-18 11:15:53 +03:00
Roman Telezhynskyi be2a706cc0 Mouse double click zoom fit best current pattern piece.
--HG--
branch : develop
2018-04-17 09:56:41 +03:00
Roman Telezhynskyi 29b751b5a2 Refactoring. Remove duplicated blocks of code.
--HG--
branch : develop
2018-04-16 13:15:16 +03:00
Roman Telezhynskyi 50c858ce30 Support for pinch gesture (zooming) on touchpad. ref #831.
--HG--
branch : develop
2018-04-16 11:14:17 +03:00
Roman Telezhynskyi 702c256c87 Fixing issue #831. macOS touchpad gestures glitching.
--HG--
branch : develop
2018-04-16 11:05:57 +03:00
Roman Telezhynskyi 788f27889f Refactoring. Use temporary variable instead of copy.
--HG--
branch : develop
2018-04-14 16:47:55 +03:00
Roman Telezhynskyi 6fa7be60e4 Fix export to DXF-AAMA. Don't "draw" a main path if seam allowance is built-in.
--HG--
branch : develop
2018-04-14 16:47:11 +03:00
Roman Telezhynskyi e7ca9294cf Refactoring. Use QChar instead of QString where possible.
Point and comma.

--HG--
branch : develop
2018-04-13 09:14:55 +03:00
Roman Telezhynskyi 1e5ee0ab8b Optimization. Move literals.
--HG--
branch : develop
2018-04-13 09:00:09 +03:00
Roman Telezhynskyi 2a3948c549 Fix broken conversion after commit abe689e42929.
--HG--
branch : develop
2018-04-13 08:44:51 +03:00
Roman Telezhynskyi e26fcb05b8 Fix typo.
--HG--
branch : develop
2018-04-13 08:43:44 +03:00
Roman Telezhynskyi 3970bbdbc0 Refactoring. Use QChar instead of QString where possible.
--HG--
branch : develop
2018-04-12 13:13:19 +03:00
Roman Telezhynskyi ef87a062fb Clang warnings.
--HG--
branch : develop
2018-04-09 11:51:25 +03:00
Roman Telezhynskyi 962cde8e6e Clazy warning.
--HG--
branch : develop
2018-04-09 11:15:55 +03:00