From e802690dbdf0ad8fb967a2432f2f932697cfdbe2 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Tue, 28 Jun 2011 17:33:41 +0200 Subject: QmlDesigner.propertyEditor: adding MouseAreaSpecifics.qml Change-Id: I407d72f904dc34f5c26d0724a6ec2ae134021d96 Reviewed-on: http://codereview.qt.nokia.com/847 Reviewed-by: Qt Sanity Bot Reviewed-by: Thomas Hartmann --- .../propertyeditor/Qt/MouseAreaSpecifics.qml | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 share/qtcreator/qmldesigner/propertyeditor/Qt/MouseAreaSpecifics.qml (limited to 'share/qtcreator') 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 + } + } + } +} + -- cgit v1.2.1