From 1b59d8e2ce03337db4645677c30a43a3564d6d2d Mon Sep 17 00:00:00 2001
From: Thomas Hartmann <Thomas.Hartmann@digia.com>
Date: Wed, 9 Oct 2013 16:13:26 +0200
Subject: [PATCH] QmlDesigner.PropertyEditor: Adding MouseAreaSpecifics

Change-Id: I1bbab5f662788644e7190b0880e434c51a380eeb
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
---
 .../QtQuick/MouseAreaSpecifics.qml            | 74 +++++++++++++++++++
 1 file changed, 74 insertions(+)
 create mode 100644 share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/MouseAreaSpecifics.qml

diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/MouseAreaSpecifics.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/MouseAreaSpecifics.qml
new file mode 100644
index 00000000000..153c2cf49ed
--- /dev/null
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/MouseAreaSpecifics.qml
@@ -0,0 +1,74 @@
+/****************************************************************************
+**
+** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia.  For licensing terms and
+** conditions see http://qt.digia.com/licensing.  For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Digia gives you certain additional
+** rights.  These rights are described in the Digia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+****************************************************************************/
+
+import QtQuick 2.1
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+    anchors.left: parent.left
+    anchors.right: parent.right
+
+    Section {
+        anchors.left: parent.left
+        anchors.right: parent.right
+        caption: qsTr("Mouse Area")
+
+        SectionLayout {
+            Label {
+                text: qsTr("Enabled")
+                toolTip: qsTr("This property holds whether the item accepts mouse events.")
+            }
+
+            SecondColumnLayout {
+                CheckBox {
+                    backendValue: backendValues.enabled
+                }
+
+                ExpandingSpacer {
+
+                }
+            }
+
+            Label {
+                text: qsTr("Hover Enabled")
+                toolTip: qsTr("This property holds whether hover events are handled.")
+            }
+
+            SecondColumnLayout {
+                CheckBox {
+                    backendValue: backendValues.hoverEnabled
+                }
+
+                ExpandingSpacer {
+                }
+            }
+        }
+    }
+}
-- 
GitLab