diff options
author | Daniel Molkentin <daniel.molkentin@nokia.com> | 2011-06-29 17:30:23 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@nokia.com> | 2011-06-29 17:53:45 +0200 |
commit | 17c8833c05cd1a671828a907d294f0d5a913f986 (patch) | |
tree | 3b797c5b28cf202223fc023fb3f336523cfa544a /share/qtcreator | |
parent | 0627498500a5100e414db18c1c801e36ef55e581 (diff) | |
download | qt-creator-17c8833c05cd1a671828a907d294f0d5a913f986.tar.gz |
WelcomeScreen: Pointing cursor for News
Change-Id: Ib327f70354296f5237e4783502329e64e02b53cd
Reviewed-on: http://codereview.qt.nokia.com/890
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'share/qtcreator')
-rw-r--r-- | share/qtcreator/welcomescreen/widgets/NewsListing.qml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/share/qtcreator/welcomescreen/widgets/NewsListing.qml b/share/qtcreator/welcomescreen/widgets/NewsListing.qml index 7ccc33decf..a756ef7fc3 100644 --- a/share/qtcreator/welcomescreen/widgets/NewsListing.qml +++ b/share/qtcreator/welcomescreen/widgets/NewsListing.qml @@ -1,4 +1,5 @@ import Qt 4.7 +import "../components/" as Components Item { id: root @@ -50,10 +51,17 @@ Item { Image { id: icon; source: blogIcon; asynchronous: true } Text { id: heading2; text: blogName; font.italic: true; wrapMode: Text.WrapAtWordBoundaryOrAnywhere; textFormat: Text.RichText; width: parent.width-icon.width-5 } } - Text { id: text; text: description; wrapMode: Text.WrapAtWordBoundaryOrAnywhere; textFormat: Text.RichText ; width: parent.width-10 } + Text { + id: text; + text: description; + wrapMode: Text.WrapAtWordBoundaryOrAnywhere + textFormat: Text.RichText + width: parent.width-10 + } Text { visible: link !== ""; id: readmore; text: qsTr("Click to read more..."); font.italic: true; wrapMode: Text.WrapAtWordBoundaryOrAnywhere; textFormat: Text.RichText } } - MouseArea { anchors.fill: parent; onClicked: Qt.openUrlExternally(link); hoverEnabled: true; id: mouseArea } + Components.QStyleItem { id: styleItem; cursor: "pointinghandcursor"; anchors.fill: column } + MouseArea { anchors.fill: column; onClicked: Qt.openUrlExternally(link); hoverEnabled: true; id: mouseArea } StateGroup { id: activeState |