summaryrefslogtreecommitdiff
path: root/share/qtcreator
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2011-06-28 17:33:41 +0200
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2011-06-28 17:34:11 +0200
commite802690dbdf0ad8fb967a2432f2f932697cfdbe2 (patch)
tree349f21d5fea8151463d5f1eb9bf0d13038f407f1 /share/qtcreator
parent7cce88efdb4288ae13fe3abe428f89ff90d61f96 (diff)
downloadqt-creator-e802690dbdf0ad8fb967a2432f2f932697cfdbe2.tar.gz
QmlDesigner.propertyEditor: adding MouseAreaSpecifics.qml
Change-Id: I407d72f904dc34f5c26d0724a6ec2ae134021d96 Reviewed-on: http://codereview.qt.nokia.com/847 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Diffstat (limited to 'share/qtcreator')
-rw-r--r--share/qtcreator/qmldesigner/propertyeditor/Qt/MouseAreaSpecifics.qml53
1 files changed, 53 insertions, 0 deletions
diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/MouseAreaSpecifics.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/MouseAreaSpecifics.qml
new file mode 100644
index 0000000000..9a7777c23d
--- /dev/null
+++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/MouseAreaSpecifics.qml
@@ -0,0 +1,53 @@
+import Qt 4.7
+import Bauhaus 1.0
+
+QWidget {
+ layout: QVBoxLayout {
+ topMargin: 0
+ bottomMargin: 0
+ leftMargin: 0
+ rightMargin: 0
+ spacing: 0
+ GroupBox {
+ finished: finishedNotify;
+ caption: qsTr("MouseArea")
+
+ layout: VerticalLayout {
+
+ QWidget {
+ layout: HorizontalLayout {
+ Label {
+ text: qsTr("Enabled")
+ toolTip: qsTr("This property holds whether the item accepts mouse events.")
+ }
+
+ CheckBox {
+ text: ""
+ toolTip: qsTr("This property holds whether the item accepts mouse events.")
+ backendValue: backendValues.enabled
+ baseStateFlag: isBaseState
+ checkable: true
+ }
+ }
+ } //QWidget
+ QWidget {
+ layout: HorizontalLayout {
+ Label {
+ text: qsTr("Hover Enabled")
+ toolTip: qsTr("This property holds whether hover events are handled.")
+ }
+
+ CheckBox {
+ text: ""
+ toolTip: qsTr("This property holds whether hover events are handled.")
+ backendValue: backendValues.hoverEnabled
+ baseStateFlag: isBaseState
+ checkable: true
+ }
+ }
+ } //QWidget
+ }
+ }
+ }
+}
+