aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel.molkentin@nokia.com>2011-08-22 20:16:41 +0200
committerEike Ziller <eike.ziller@nokia.com>2011-08-24 13:39:19 +0200
commit636c2699158f766234198a10ce5c1c2250bc5483 (patch)
tree77b44832dce0a327dc49b08aa1431710cb701b81 /share
parent2fc048ecad4dd92f7412fcfb2852ee64bbef1a70 (diff)
WelcomeScreen: Re-add lost hover-state on tabs
Change-Id: I373544cd1fc6ad3b1518571f0a4c36ea160e9600 Reviewed-on: http://codereview.qt.nokia.com/3340 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/welcomescreen/widgets/LinksBar.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/qtcreator/welcomescreen/widgets/LinksBar.qml b/share/qtcreator/welcomescreen/widgets/LinksBar.qml
index 8be29fa349f..8e5b35d3983 100644
--- a/share/qtcreator/welcomescreen/widgets/LinksBar.qml
+++ b/share/qtcreator/welcomescreen/widgets/LinksBar.qml
@@ -70,6 +70,10 @@ Row {
}
states: [
State {
+ id: hoverState; when: mouseArea.containsMouse && tabBar.current != index
+ PropertyChanges { target: tabBackground; source:"qrc:welcome/images/tab_hover.png" }
+ },
+ State {
id: activeState; when: tabBar.current == index
PropertyChanges { target: tabBackground; source:"qrc:welcome/images/tab_active.png" }
PropertyChanges { target: text; color: "white" }