Commit graph

39 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 fbbcf5320f Fix build issues. 2023-05-09 19:27:56 +03:00
Roman Telezhynskyi 1311c794c3 Improve handling four ways grainlines. 2023-05-02 17:38:44 +03:00
Roman Telezhynskyi 857e384221 New grainline type: Four way. 2023-04-07 10:05:29 +03:00
Roman Telezhynskyi 499ec96691 Move literals to separate header. 2022-02-18 10:36:38 +02:00
Roman Telezhynskyi 2bb95154cd Fix Tape crash. 2021-02-06 15:52:21 +02:00
Roman Telezhynskyi d30ca54297 Fix width of a grainline on export. 2021-01-23 18:54:07 +02:00
Roman Telezhynskyi f81babbf7b Refactoring. 2021-01-23 15:25:01 +02:00
Roman Telezhynskyi 5eb8784cd4 New warning. Grainline is not valid. 2021-01-23 15:24:44 +02:00
Roman Telezhynskyi 475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +02:00
Roman Telezhynskyi b3f236dbb5 Refactoring. Rename ArrowType enum class.
--HG--
branch : develop
2020-01-07 13:54:23 +02:00
Roman Telezhynskyi 2678ab9c2c Don't allow a user to make a grainline too short.
--HG--
branch : develop
2018-08-01 19:22:43 +03: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 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 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 03e6a4304f Fix painting outside of grainline bounding rect.
(grafted from cfbfaefb91a4efd42df937bd5d87a2f9459b6f86)

--HG--
branch : develop
2017-07-11 12:32:07 +03:00
Roman Telezhynskyi 7e064f80c5 Thrown away code for support Qt < 5.2.
--HG--
branch : develop
2017-05-30 19:52:38 +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 f48325cc52 Fix bug with resize rectangle. Wrong scale factor.
--HG--
branch : feature
2017-03-14 13:19:34 +02:00
Roman Telezhynskyi 88b56f5453 Fix bug with resizing free grainline.
--HG--
branch : feature
2017-03-14 12:24:59 +02:00
Roman Telezhynskyi 76748f7688 Fix grainline's resize rectangle position.
--HG--
branch : feature
2017-03-14 11:56:41 +02:00
Roman Telezhynskyi de6e3d7213 Fix issue with angle direction of grainline.
--HG--
branch : feature
2017-03-14 11:11:35 +02:00
Roman Telezhynskyi eb675f49ce If selected center pin point resize by extending both sides.
--HG--
branch : feature
2017-03-10 17:07:23 +02:00
Roman Telezhynskyi bf409006f5 Fix grainline's resize rectangle position.
--HG--
branch : feature
2017-03-10 16:45:41 +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 0a94c5036b Fix label rotation.
--HG--
branch : feature
2017-03-01 07:38:43 +02:00
Roman Telezhynskyi e3fdad1321 Update grainline after selecting each type.
--HG--
branch : feature
2017-03-01 07:10:04 +02:00
Roman Telezhynskyi 04009746d5 Improve user expirience. Added grainline hover.
--HG--
branch : feature
2017-02-28 17:33:53 +02:00
Roman Telezhynskyi 5fbdb4f7f0 Block actions with grainline depend on restrictions.
--HG--
branch : feature
2017-02-27 22:06:48 +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 2be9110955 Override method shape() to improve selection of grainline.
--HG--
branch : feature
2017-02-27 11:59:08 +02:00
Roman Telezhynskyi 02fde1464d Fix infinite redrawing.
--HG--
branch : feature
2017-02-24 19:47:13 +02:00
Roman Telezhynskyi f36a4d6621 Copy-on-write for class VGrainlineData.
--HG--
branch : feature
2017-02-23 14:04:49 +02:00
Roman Telezhynskyi a287913500 Refactoring. Rename class VGrainlineGeometry to VGrainlineData.
--HG--
branch : feature
2017-02-23 11:33:17 +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/vgrainlineitem.cpp (Browse further)