diff options
author | Aleksei German <aleksei.german@qt.io> | 2020-04-24 18:29:22 +0200 |
---|---|---|
committer | Aleksei German <aleksei.german@qt.io> | 2020-04-28 13:31:31 +0000 |
commit | 7f1b42f3717946e286ead216ad75fda4d8db66cb (patch) | |
tree | 5f2fd83ec61886d74bd5b81e592c0546bb871203 /src/plugins/qmldesigner/components/formeditor/resizemanipulator.h | |
parent | 7300f6344a6a237262c41837b5da8a9eca813bf8 (diff) |
QmlDesigner: Accept key modifiers while resizing
Task: QDS-2017
Change-Id: Ided02c5c6600c035ac4bfc3b857910e5850305ed
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/plugins/qmldesigner/components/formeditor/resizemanipulator.h')
-rw-r--r-- | src/plugins/qmldesigner/components/formeditor/resizemanipulator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/formeditor/resizemanipulator.h b/src/plugins/qmldesigner/components/formeditor/resizemanipulator.h index ab4f97f9cb..551006d161 100644 --- a/src/plugins/qmldesigner/components/formeditor/resizemanipulator.h +++ b/src/plugins/qmldesigner/components/formeditor/resizemanipulator.h @@ -46,7 +46,8 @@ public: void removeHandle(); void begin(const QPointF& beginPoint); - void update(const QPointF& updatePoint, Snapper::Snapping useSnapping); + void update(const QPointF& updatePoint, Snapper::Snapping useSnapping, + Qt::KeyboardModifiers keyMods = Qt::NoModifier); void end(Snapper::Snapping useSnapping); void moveBy(double deltaX, double deltaY); |