Commit graph

58 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 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 499ec96691 Move literals to separate header. 2022-02-18 10:36:38 +02:00
Roman Telezhynskyi e5105e4eed Merge branch 'develop' into feature/manual-layout 2021-07-26 16:47:54 +03:00
Roman Telezhynskyi 7ea984f194 Fix crash. 2021-07-01 16:54:49 +03:00
Roman Telezhynskyi 0138e5a321 Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2021-02-24 16:26:11 +02:00
Roman Telezhynskyi 2bb95154cd Fix Tape crash. 2021-02-06 15:52:21 +02:00
Roman Telezhynskyi 453d120150 Cppcheck warnings. 2020-11-10 16:10:38 +02:00
Roman Telezhynskyi cebd4995c8 Cppcheck warning. 2020-10-16 15:52:38 +03:00
Roman Telezhynskyi 4cea74d63b Loading measurements in Valentina. 2020-10-15 18:05:21 +03:00
Roman Telezhynskyi 5f2bec91d9 DRY. Refactoring item move code. smart-pattern/valentina#53 2020-06-20 12:20:39 +03:00
Roman Telezhynskyi d08da56764 Improve moving items on scene smart-pattern/valentina#53.
Increase delay to 160 ms. Set static margins.
2020-06-20 12:08:59 +03:00
Roman Telezhynskyi 475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +02:00
Roman Telezhynskyi 11fd215364 Cppcheck warning.
--HG--
branch : develop
2019-09-10 17:13:35 +03:00
Roman Telezhynskyi d07c27a96c Allow setting destination point.
Destination point is anchor to which connected a label.

--HG--
branch : develop
2019-05-11 18:37:08 +03:00
Roman Telezhynskyi 5838537033 Resolved issue #725. Improve labels on drawing.
--HG--
branch : develop
2019-05-08 19:22:55 +03:00
Roman Telezhynskyi 3b51ccb31d Refactoring. Move drawing passmarks to separate class.
--HG--
branch : develop
2019-05-08 15:19:03 +03:00
Roman Telezhynskyi 218ef45d1e Resolved issue #969. Fix length to label after soom.
--HG--
branch : develop
2019-05-05 17:31:45 +03:00
Roman Telezhynskyi 1d95b36377 Resolved issue #892. Show tooltip for piece node point.
--HG--
branch : develop
2018-10-22 13:28:58 +03:00
Roman Telezhynskyi 34d1b91225 New hack to restore mouse cursor.
--HG--
branch : develop
2018-01-01 16:16:50 +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 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 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 d3cf15f5b8 Fix some bugs.
--HG--
branch : develop
2017-10-28 17:31:18 +03:00
Roman Telezhynskyi 104a491a67 Fixing font problem on Windows.
Calc start label scale based on start font size and minimal visible font size.

--HG--
branch : develop
2017-10-28 13:02:51 +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 6dfe04e2bc Fixing issue with slow zooming.
Check if need to update scene rect before actual update.

--HG--
branch : develop
2017-10-26 22:59:28 +03:00
Roman Telezhynskyi 7777646a16 Fix font problem on Windows.
--HG--
branch : develop
2017-10-26 19:57:52 +03:00
Roman Telezhynskyi 3362e8a4dc Fix font problem on Windows.
--HG--
branch : develop
2017-10-25 22:34:28 +03:00
Roman Telezhynskyi f27c7e4e35 Fix recursive repaint after label scale.
--HG--
branch : feature
2017-10-23 21:10:48 +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 da2cc857df Fix scaling point label.
--HG--
branch : develop
2017-09-30 21:13:22 +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 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 663ab8aff1 SonarCloud warnings.
--HG--
branch : develop
2017-06-19 17:44:18 +03:00
Roman Telezhynskyi e982df63c0 Move scaling font size to appropriate class.
--HG--
branch : develop
2017-06-19 15:26:29 +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 38abf5c9a0 Removed redundant forward declaration.
--HG--
branch : develop
2017-02-18 11:22:59 +02:00
Roman Telezhynskyi 2d61b87256 Remove empty statement.
--HG--
branch : develop
2016-12-20 21:19:21 +02:00
Roman Telezhynskyi ffab000e0f Remove empty statement.
--HG--
branch : develop
2016-12-20 20:57:20 +02:00
Roman Telezhynskyi 80f00b361d Use "Include What You Use" tool for optimizing #includes.
--HG--
branch : develop
2016-08-08 14:44:49 +03:00
Roman Telezhynskyi d13937fb40 Clicking on notselectable object do not clean previous selections.
--HG--
branch : develop
2016-05-24 12:43:30 +03:00
Roman Telezhynskyi 49bee0cada Delete key did not work.
--HG--
branch : develop
2016-05-08 18:04:18 +03:00
Roman Telezhynskyi ada64305c0 Dialog Group.
--HG--
branch : feature
2016-04-05 20:14:12 +03:00
Roman Telezhynskyi 9f5fd98865 Fixed tools Spline and Spline Path. For their work need section by mouse press
event, all other better work with mouse release event.

--HG--
branch : feature
2016-03-31 20:10:20 +03:00