优化Combo

This commit is contained in:
duanshengchao 2025-04-08 20:25:47 +08:00
parent ac9858146f
commit 8256e3f964
2 changed files with 16 additions and 1 deletions

View File

@ -38,6 +38,21 @@ border:1px solid rgb(235,235,235);
border-bottom:1px solid rgb(0,0,0);
}
QComboBox QAbstractItemView
{
outline: 0px; /* 去除选中虚线框 */
}
QComboBox QAbstractItemView::item:hover
{
color:rgb(0,0,0);
background-color: rgb(240, 248, 255);
}
QComboBox QAbstractItemView::item:selected
{
color:rgb(0,0,0);
background-color: rgb(211, 241, 250);
}
QTabWidget
{

View File

@ -134,7 +134,7 @@ background-color:rgb(67,160,249);
color: rgb(250, 250, 250);
font: 10pt;
border:0px;
border-radius:2px;
border-radius:5px;
background-color:rgb(67,160,249);
}
QPushButton:hover