Commit 31eae7bd authored by Thomas Hartmann's avatar Thomas Hartmann Committed by Alessandro Portale

QmlDesigner: Remove hover effect from tab bar

In the property editor there is no hover effect.
The hover effect is simply not required.

Change-Id: I7e918be7e0ac2186fa02c2cae30ad19e90e8ac75
Reviewed-by: Alessandro Portale's avatarAlessandro Portale <alessandro.portale@qt.io>
parent 89baea00
...@@ -130,11 +130,6 @@ QTabBar::tab { ...@@ -130,11 +130,6 @@ QTabBar::tab {
color: #EEEEEE; color: #EEEEEE;
} }
QTabBar::tab:hover {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #3c3c3c, stop: 1 #666666);
}
QTabBar::tab:selected { QTabBar::tab:selected {
border: none; /* no border for a flat push button */ border: none; /* no border for a flat push button */
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
......
<RCC> <RCC>
<qresource prefix="/connectionview"> <qresource prefix="/connectionview">
<file>stylesheet.css</file> <file>stylesheet.css</file>
<file>panelselected.png</file>
<file>plus.png</file> <file>plus.png</file>
<file>minus.png</file> <file>minus.png</file>
</qresource> </qresource>
......
...@@ -123,11 +123,6 @@ QStackedWidget { ...@@ -123,11 +123,6 @@ QStackedWidget {
background-color: #4f4f4f; background-color: #4f4f4f;
} }
QTabBar::tab:hover {
image: url(:/connectionview/panelselected.png);
border-width: 2px;
}
QTabBar::tab:selected { QTabBar::tab:selected {
border: none; border: none;
border-image: none; border-image: none;
......
...@@ -584,7 +584,6 @@ Project { ...@@ -584,7 +584,6 @@ Project {
"connectioneditor/dynamicpropertiesmodel.cpp", "connectioneditor/dynamicpropertiesmodel.cpp",
"connectioneditor/dynamicpropertiesmodel.h", "connectioneditor/dynamicpropertiesmodel.h",
"connectioneditor/minus.png", "connectioneditor/minus.png",
"connectioneditor/panelselected.png",
"connectioneditor/plus.png", "connectioneditor/plus.png",
"connectioneditor/stylesheet.css", "connectioneditor/stylesheet.css",
"pathtool/controlpoint.cpp", "pathtool/controlpoint.cpp",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment