aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/formeditor/movetool.h
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2016-10-11 13:04:07 +0200
committerThomas Hartmann <Thomas.Hartmann@theqtcompany.com>2016-10-11 12:29:36 +0000
commit9ad8ec385e8cf93dcadff0c5482edb725e89f2d7 (patch)
tree4f719df315f7772f87fcdb1d769fae6a8af7fcee /src/plugins/qmldesigner/components/formeditor/movetool.h
parentf175d0c5896e66b073f799e56c2a487f9b62df89 (diff)
QmlDesigner: If the scene looses focus change to selection tool
* We forward the focusOut event to the tools * The text tool now commits the data if the focus is lost * Adding override Task-number: QTCREATORBUG-16085 Change-Id: Ibdf6f60fc53e3c6c03222741c16cd8dd665618e1 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/qmldesigner/components/formeditor/movetool.h')
-rw-r--r--src/plugins/qmldesigner/components/formeditor/movetool.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/formeditor/movetool.h b/src/plugins/qmldesigner/components/formeditor/movetool.h
index 7c6b2bf621..8aab108eb5 100644
--- a/src/plugins/qmldesigner/components/formeditor/movetool.h
+++ b/src/plugins/qmldesigner/components/formeditor/movetool.h
@@ -67,6 +67,8 @@ public:
void formEditorItemsChanged(const QList<FormEditorItem*> &itemList) override;
+ void focusLost() override;
+
protected:
static bool haveSameParent(const QList<FormEditorItem*> &itemList);