From: Eike Ziller Date: Mon, 11 Jul 2011 14:20:21 +0000 (+0200) Subject: Change welcome page tab highlighting X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=28bdff735036e6d1e7cf9bc9bedeb507893fc203;p=qt-creator-jp%2Fqt-creator-jp.git Change welcome page tab highlighting Change-Id: I5005f451eeed5b3d1280312f28878caa6985199b Reviewed-on: http://codereview.qt.nokia.com/1444 Reviewed-by: Qt Sanity Bot Reviewed-by: Daniel Molkentin --- diff --git a/share/qtcreator/welcomescreen/welcomescreen.qml b/share/qtcreator/welcomescreen/welcomescreen.qml index ac74e7d1bb..b8306b2da7 100644 --- a/share/qtcreator/welcomescreen/welcomescreen.qml +++ b/share/qtcreator/welcomescreen/welcomescreen.qml @@ -50,28 +50,34 @@ Image { anchors.bottom: feedback.top anchors.margins: 10 - BorderImage { + Item { id: news - opacity: 0.7 - source: "qrc:welcome/images/rc_combined.png" - border.left: 5; border.top: 5 - border.right: 5; border.bottom: 5 anchors.top: parent.top anchors.bottom: parent.bottom anchors.left: parent.left anchors.rightMargin: 5 width: 270 + BorderImage { + anchors.fill: parent + opacity: 0.7 + source: "qrc:welcome/images/rc_combined.png" + border.left: 5; border.top: 5 + border.right: 5; border.bottom: 5 + } FeaturedAndNewsListing { anchors.fill: parent anchors.margins: 8 } } - BorderImage { + Item { id: tabFrame - source: "qrc:welcome/images/rc_combined_transparent.png" - border.left: 5; border.top: 5 - border.right: 5; border.bottom: 5 + BorderImage { + anchors.fill: parent + source: "qrc:welcome/images/rc_combined_transparent.png" + border.left: 5; border.top: 5 + border.right: 5; border.bottom: 5 + } anchors.top: parent.top anchors.bottom: parent.bottom diff --git a/share/qtcreator/welcomescreen/widgets/LinksBar.qml b/share/qtcreator/welcomescreen/widgets/LinksBar.qml index ede5c18dae..45f83f32be 100644 --- a/share/qtcreator/welcomescreen/widgets/LinksBar.qml +++ b/share/qtcreator/welcomescreen/widgets/LinksBar.qml @@ -57,7 +57,7 @@ Row { anchors.fill: parent text: model.modelData.title elide: Text.ElideRight - color: "white" + color: "black" } MouseArea { id: mouseArea @@ -69,7 +69,7 @@ Row { State { id: activeState; when: tabBar.current == index PropertyChanges { target: tabBackground; source:"qrc:welcome/images/tab_active.png" } - PropertyChanges { target: text; color: "black" } + PropertyChanges { target: text; color: "white" } }, State { id: hoverState; when: mouseArea.containsMouse diff --git a/src/plugins/welcome/images/tab_active.png b/src/plugins/welcome/images/tab_active.png index 7bed3d9d89..04e804c0fc 100644 Binary files a/src/plugins/welcome/images/tab_active.png and b/src/plugins/welcome/images/tab_active.png differ diff --git a/src/plugins/welcome/images/tab_hover.png b/src/plugins/welcome/images/tab_hover.png index d11cdd71fe..618ab6e1db 100644 Binary files a/src/plugins/welcome/images/tab_hover.png and b/src/plugins/welcome/images/tab_hover.png differ diff --git a/src/plugins/welcome/images/tab_inactive.png b/src/plugins/welcome/images/tab_inactive.png index 04e804c0fc..7bed3d9d89 100644 Binary files a/src/plugins/welcome/images/tab_inactive.png and b/src/plugins/welcome/images/tab_inactive.png differ