QTabWidget::pane{
border: 2px solid rgb(210, 210, 210);
background:rgb(246, 246, 246);
border-top-color:transparent;
}
QTabWidget::tab-bar{
background:rgb(0, 0, 0);
subcontrol-position:left;
}
QTabBar::tab{
width:173px;/*宽度根据实际需要进行调整*/
height:45px;
background:rgb(210, 210, 210);
border: 2px solid rgb(210, 210, 210);
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
QTabBar::tab:selected{
background:rgb(246, 246, 246);
border-bottom-color:rgb(246, 246, 246);
}
QTabBar::tab:!selected{
background:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(240, 240, 240, 255), stop:0.5 rgba(210, 210, 210, 255), stop:1 rgba(225, 225, 225, 255));
}
05-12
3413
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-24
7558
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
04-07
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交