diff options
author | Andy Shaw <andy.shaw@qt.io> | 2018-02-01 20:59:58 +0100 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2018-02-08 21:25:01 +0000 |
commit | c48f4bde0044bd5b23af231f3639d0779ecbdb03 (patch) | |
tree | 8aa425ef2b68f8afd990cb0268173cc3644b86b8 /tests/manual/touchGraphicsItem/touchGraphicsItem.pro | |
parent | 83b0abf928af6cd9f301e3367c439eca22aab323 (diff) |
Set the ellipseDiameters back to the original size in QGraphicsView
When calling setSceneRect() on a QTouchPoint it will cause the
ellipseDiameters to be changed, whereas this should not be affected by
the scene rectangle as it should be in logical pixels.
Also add a manual test for visually checking the ellipse diameters on
various devices.
Change-Id: I1ee9207cb1a63cfef33fe904594c73aba221af5c
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/manual/touchGraphicsItem/touchGraphicsItem.pro')
-rw-r--r-- | tests/manual/touchGraphicsItem/touchGraphicsItem.pro | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/manual/touchGraphicsItem/touchGraphicsItem.pro b/tests/manual/touchGraphicsItem/touchGraphicsItem.pro new file mode 100644 index 0000000000..67799ce9c4 --- /dev/null +++ b/tests/manual/touchGraphicsItem/touchGraphicsItem.pro @@ -0,0 +1,5 @@ +QT+=widgets +TEMPLATE = app +TARGET = touchGraphicsItem +INCLUDEPATH += . +SOURCES += main.cpp |