summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel.molkentin@nokia.com>2011-07-11 20:38:53 +0200
committerEike Ziller <eike.ziller@nokia.com>2011-07-12 11:24:51 +0200
commitb1b82e675abb0f89924e36bbd35dd7a1a228f3f8 (patch)
treee908f80baf5b32dcc3206abf45bb49125b321e2a
parent794b9fc29306ae931c21322d05c63987e89f7115 (diff)
downloadqt-creator-b1b82e675abb0f89924e36bbd35dd7a1a228f3f8.tar.gz
WelcomeScreen: Add pointing hand cursors.
Change-Id: Ifdf0db9ec1c95b9947385d038f359d569173d913 Reviewed-on: http://codereview.qt.nokia.com/1463 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
-rw-r--r--share/qtcreator/welcomescreen/widgets/ExampleDelegate.qml3
-rw-r--r--share/qtcreator/welcomescreen/widgets/LinksBar.qml2
2 files changed, 5 insertions, 0 deletions
diff --git a/share/qtcreator/welcomescreen/widgets/ExampleDelegate.qml b/share/qtcreator/welcomescreen/widgets/ExampleDelegate.qml
index bcb68a756b..5452716e23 100644
--- a/share/qtcreator/welcomescreen/widgets/ExampleDelegate.qml
+++ b/share/qtcreator/welcomescreen/widgets/ExampleDelegate.qml
@@ -31,6 +31,7 @@
**************************************************************************/
import QtQuick 1.0
+import components 1.0 as Components
Rectangle {
id: root
@@ -39,6 +40,8 @@ Rectangle {
radius: 6
clip: true
+ Components.QStyleItem { id: styleItem; cursor: "pointinghandcursor"; anchors.fill: parent }
+
Text {
id: title
anchors.left: parent.left
diff --git a/share/qtcreator/welcomescreen/widgets/LinksBar.qml b/share/qtcreator/welcomescreen/widgets/LinksBar.qml
index 17a3c16777..80433248c2 100644
--- a/share/qtcreator/welcomescreen/widgets/LinksBar.qml
+++ b/share/qtcreator/welcomescreen/widgets/LinksBar.qml
@@ -31,6 +31,7 @@
**************************************************************************/
import QtQuick 1.0
+import components 1.0 as Components
Row {
id: tabBar
@@ -42,6 +43,7 @@ Row {
id: tabs
model: parent.model
delegate: Item {
+ Components.QStyleItem { id: styleItem; cursor: "pointinghandcursor"; anchors.fill: parent }
height: tabBar.height
width: index === 1 ? tabWidth : (tabWidth + tabBar.width % tabs.count + 1)
Image {