Commit graph

43 commits

Author SHA1 Message Date
Roman Telezhynskyi e60ba5bedb Support for dark theme for custom icons. 2023-08-05 17:52:34 +03:00
Roman Telezhynskyi bc1f47921f Refactoring.
Code style.
2023-08-05 17:51:47 +03:00
Roman Telezhynskyi 9f04b0feb3 Add missing includes. 2023-06-26 10:33:03 +03:00
Roman Telezhynskyi 81141acf6d Support for single-line fonts. 2023-06-22 18:30:43 +03:00
Roman Telezhynskyi 3a7803b78f Add missing include. 2023-05-22 18:27:01 +03:00
Roman Telezhynskyi 7410d188ce Piece labels line break. 2023-05-22 17:30:18 +03:00
Roman Telezhynskyi e540c6292c Refactoring.
Fix code style.
2023-05-22 17:27:42 +03:00
Roman Telezhynskyi 03630fb273 Refactoring. 2023-05-03 14:07:08 +03:00
Roman Telezhynskyi 171b3be090 Backward compatibility for type qsizetype. 2023-02-09 17:27:43 +02:00
Roman Telezhynskyi 70168ebe6c Fix support Visual Studio 2015. 2022-09-02 17:14:03 +03:00
Roman Telezhynskyi 19f95c8e54 Refactoring. Use TextWidth to simplify code. 2022-02-19 21:26:30 +02:00
Roman Telezhynskyi 499ec96691 Move literals to separate header. 2022-02-18 10:36:38 +02:00
Roman Telezhynskyi d10f20f399 Extend placeholders list with list of measurements. 2020-10-16 13:43:54 +03:00
Roman Telezhynskyi 475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +02:00
Roman Telezhynskyi 4ad06e28b2 Clazy warning.
--HG--
branch : develop
2019-07-24 13:43:12 +03:00
Roman Telezhynskyi 4a4351b73d Fix error: 'width' is deprecated: Use QFontMetrics::horizontalAdvance.
--HG--
branch : develop
2019-07-24 13:42:22 +03:00
Roman Telezhynskyi 0330869796 Serialization/deserialization for class VLayoutPiece.
--HG--
branch : develop
2019-07-01 11:02:09 +03:00
Roman Telezhynskyi c9fb50e9a3 Make piece labels transparent.
50% opacity.

--HG--
branch : develop
2019-06-03 11:37:02 +03:00
Roman Telezhynskyi 7be1d35d8f Fixed issue #869. Pattern piece label size limited.
--HG--
branch : develop
2018-08-01 19:21:49 +03:00
Roman Telezhynskyi d63cb30935 Remove noisy debug messages.
--HG--
branch : develop
2018-01-20 16:23:12 +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 d3cf15f5b8 Fix some bugs.
--HG--
branch : develop
2017-10-28 17:31:18 +03:00
Roman Telezhynskyi 61172d46c4 Fix typo in headers.
--HG--
branch : develop
2017-10-05 12:20:01 +03:00
Roman Telezhynskyi 39aa43fe8f SonarQube warnings.
--HG--
branch : develop
2017-09-13 11:52:41 +03:00
Roman Telezhynskyi 464a54c7ee Update label after changing date/time format.
--HG--
branch : feature
2017-08-19 19:52:33 +03:00
Roman Telezhynskyi b212d04d11 Parse template and prepare pattern label.
--HG--
branch : feature
2017-08-15 15:22:33 +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 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 e4099ec4ed Fix build on Mac OS X.
--HG--
branch : develop
2017-06-05 21:22:51 +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 cf47ab8aa9 Fix bug with resize cursor.
--HG--
branch : feature
2017-03-14 12:53:35 +02:00
Roman Telezhynskyi 2eac3e0643 Fix bug with rotation mode.
--HG--
branch : feature
2017-03-14 11:24:36 +02:00
Roman Telezhynskyi 698eaa7736 Don't change position when restricted by center pin point.
--HG--
branch : feature
2017-03-13 16:20:58 +02:00
Roman Telezhynskyi 94ec43d85e Fix moving label according to restrictions.
--HG--
branch : feature
2017-03-13 15:54:38 +02:00
Roman Telezhynskyi af3735ea23 Grainline now can be controlled by center pin point.
--HG--
branch : feature
2017-03-10 16:22:19 +02:00
Roman Telezhynskyi 247dc910d5 Block actions with label depend on restrictions.
--HG--
branch : feature
2017-03-01 07:39:13 +02:00
Roman Telezhynskyi 1d91df5216 Preparetions to be able to control moving actions: rotation and resizing.
--HG--
branch : feature
2017-02-27 14:30:02 +02:00
Roman Telezhynskyi 37efefe1ec Refactoring. Rename class VPatternPieceData to VPieceLabelData.
--HG--
branch : feature
2017-02-23 11:19:27 +02:00
Roman Telezhynskyi 38abf5c9a0 Removed redundant forward declaration.
--HG--
branch : develop
2017-02-18 11:22:59 +02:00
Roman Telezhynskyi 289157a511 Resolve broken dependecy.
--HG--
branch : develop
2017-01-25 18:07:18 +02:00
Roman Telezhynskyi 121f003e7c Refactoring. Move grainline and lable to library VWidgets.
--HG--
branch : feature
2017-01-19 12:23:42 +02:00
Renamed from src/libs/vtools/tools/vtextgraphicsitem.cpp (Browse further)