大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。
Jetbrains全系列IDE稳定放心使用
1、QTabWidget模型,来自于网络:
2、样式设置:
this->setStyleSheet("QTabWidget::pane{border-width:1px;border-color:rgb(48, 104, 151);\
border-style: outset;background-color: rgb(132, 171, 208);\
background: transparent;} \
QTabWidget::tab-bar{width:600; subcontrol-position:left;}\
QTabBar::tab{border-bottom-color: #C2C7CB;\
background: #3498DB;\
border: 2px solid #C2C7CB;\
border-radius:0;\
border-top-left-radius: 5px;\
border-top-right-radius: 5px;\
max-width: 75px; min-width:75px; min-height:25px;\
font:14px Times New Roman;\
padding: 5px;}\
QTabBar::tab:hover{background-color:#30587B;}\
QTabBar::tab:selected{background-color:#20C8
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/190247.html原文链接:https://javaforall.net