diff --git a/share/qtcreator/qmldesigner/connectionseditor/ConnectionsListView.qml b/share/qtcreator/qmldesigner/connectionseditor/ConnectionsListView.qml index a8159056fc0..a9075c59b1b 100644 --- a/share/qtcreator/qmldesigner/connectionseditor/ConnectionsListView.qml +++ b/share/qtcreator/qmldesigner/connectionseditor/ConnectionsListView.qml @@ -104,9 +104,11 @@ ListView { property alias delegateMouseArea: mouseArea + property bool hovered: mouseArea.containsMouse || toolTipArea.containsMouse + width: ListView.view.width height: root.style.squareControlSize.height - color: mouseArea.containsMouse ? + color: itemDelegate.hovered ? itemDelegate.ListView.isCurrentItem ? root.style.interactionHover : root.style.background.hover : "transparent" @@ -170,10 +172,12 @@ ListView { height: root.style.squareControlSize.height color: toolTipArea.containsMouse ? - itemDelegate.ListView.isCurrentItem ? root.style.interactionHover - : root.style.background.hover + itemDelegate.ListView.isCurrentItem ? root.style.interactionGlobalHover + : root.style.background.globalHover : "transparent" + visible: itemDelegate.hovered || itemDelegate.ListView.isCurrentItem + Text { anchors.fill: parent diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/ControlStyle.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/ControlStyle.qml index 460ff6db3f3..60ca3148fc5 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/ControlStyle.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/ControlStyle.qml @@ -76,6 +76,7 @@ QtObject { // Special colors property color interaction: Values.themeInteraction property color interactionHover: Values.themeInteractionHover + property color interactionGlobalHover: "#ffB0E1FC" // TODO needs to removed in the future property color thumbnailLabelBackground: Values.themeThumbnailLabelBackground