QTabWidget {  
    background-color:#0f2033;
    border-top: 2px solid #C2C7CB;  

QTabWidget::pane { /* The tab widget frame */  
    border-top: 0px solid #C2C7CB;  

 /* Style the tab using the tab sub-control. Note that 
    it reads QTabBar _not_ QTabWidget */  
QTabBar::tab {  
    background-color:#0f2033;
    border: 1px solid #4973b4;  
    min-width: 100px; 
    min-height:22px;
    padding: 0px  2px; 
    color: rgb(255, 255, 255);
    margin-left: 1px;
    font: 75 12pt "微软雅黑";
}  
  
QTabBar::tab:selected, QTabBar::tab:hover {  
    background-color: rgb(42,87,147);
    margin-top: 0px;
    
}  
  
QTabBar::tab:selected {  
    
    background-image: url(:/Images/Tab_Hover.png);
    

  
QTabBar::tab:!selected {  
    margin-top: 0px; /* make non-selected tabs look smaller */  
}  

技术
今日推荐
PPT
阅读数 99
下载桌面版
GitHub
百度网盘(提取码:draw)
Gitee
云服务器优惠
阿里云优惠券
腾讯云优惠券
华为云优惠券
站点信息
问题反馈
邮箱:ixiaoyang8@qq.com
QQ群:766591547
关注微信