##QTabWidget

  • 淡蓝色效果TabWidget(属性值lightblue)
QTabWidget[lightblue = "true"] QTabBar::tab{
border-top:1px solid rgb(249,249,249);
border-top-left-radius: 4px;
border-top-right-radius: 4px;
max-height:20px;
min-height:20px;
min-width:95px;
font-family:microsoft yahei;
color:rgb(50,50,50);
font-size:13px;
padding:0px 0px 0px 0px;
border-image:url();
margin: 0px;
padding-bottom:15px;
} QTabWidget[lightblue = "true"] QTabBar::tab:selected{
border-left:1px solid rgb(192,215,250);
border-right:1px solid rgb(192,215,250);
border-top:1px solid rgb(192,215,250);
color:rgb(50,50,50);
background-color:rgb(249,249,249);
font-size:13px;
border-image:url();
margin: 0px;
} QTabWidget[lightblue = "true"]::pane {
border-top: 1px solid rgb(192,215,250);
position: absolute;
top: -1px;
}

效果如下图所示: 

##QLabel

  • 蓝色标题Label(属性值blueTitle)
QLabel[blueTitle="true"]
{
font-size:18px;
font-family:Microsoft YaHei;
color:rgb(255,255,255);
background-color:rgb(5 ,112, 183 );
padding-left:25px;
}

效果图如下所示:

  • 淡灰色标题Label(属性值lightgrayTitle)
QLabel[lightgrayTitle="true"]
{
font-family:Microsoft YaHei;
font-size:16px;
background-color: rgb(207, 207, 207);
padding-left: 25px;
}

效果图如下所示:

##QPushbutton

  • 蓝色按钮(属性值blueButton)
QPushButton[blueButton="true"]
{
color:rgb(255,255,255);
border-radius:3px;
background-color:rgb(0,109,204);
font-family:Arial;
}
QPushButton[blueButton="true"]:hover
{
background-color:rgb(0 ,119, 224 );
}
QPushButton[blueButton="true"]:pressed
{
background-color:rgb(0 ,149 ,255 );
}

效果图如下所示:

  • 蓝框按钮(属性值)
QPushButton[blueBorderButton = "true"]
{
border:1px solid;
border-color:#afafaf;
font-family:microsoft yahei;
color:#555555
}
QPushButton[blueBorderButton = "true"]:hover
{
border:1px solid;
border-color:#11a9d6;
font-family:microsoft yahei;
color:#555555
}
QPushButton[blueBorderButton = "true"]:pressed
{
background-color:#11a9d6;
border:1px solid;
border-color:#afafaf;
font-family:microsoft yahei;
color:white
}

效果图如下所示:

  •   

QProgressBar

  • 淡红色进度条
QProgressBar[redProgressBar = "true"]{
color : solid gray;
border: 2px solid gray;
border-radius: 5px;
background: transparent;
padding: 0px;
text-align : center ;
}
QProgressBar[redProgressBar = "true"]::chunk{
background: #B22222;
}

http://daodaoliang.com/blog/2014/10/30/Qt%E5%B8%B8%E8%A7%81%E7%9A%AE%E8%82%A4%E7%9A%84QSS.html

最新文章

  1. Linux环境下Android开发环境的搭建
  2. install skype4.3 in ubuntu15.04
  3. 【C#】VS2015开发环境的安装和配置(一)2016-08-03更新
  4. 【转】handler.removeCallbacks失效问题
  5. jdk与jre的区别
  6. lighttpd fastcgi的搭建
  7. Delphi 弹出Windows风格的选择文件夹对话框, 还可以新建文件夹
  8. [LeetCode] Search a 2D Matrix [25]
  9. 通过composer管理工具安装laravel
  10. Anaconda更新和第三方包更新
  11. Java学习笔记之——构造方法
  12. 我们都被GitHub出卖了!逃跑吧兄弟!
  13. (原)Echarts 报Uncaught Error: Initialize failed: invalid dom 根本解决
  14. Python入门之logging模块
  15. [转载]查询json数据结构的8种方式
  16. Java ArrayList 源代码分析
  17. Minimum Palindromic Factorization(最少回文串分割)
  18. Sql server2005 优化查询速度50个方法小结
  19. The SDK platform-tools version ((21)) is too old to check APIs compiled with API 23
  20. bootstrap3-dialog:更强大、更灵活的模态框(封装好的模态框)

热门文章

  1. Centos 6.x 配置hadoop的环境变量
  2. Java_压缩与解压工具类
  3. 《深入浅出WPF》笔记——模板篇
  4. Spring MVC【入门】一篇!
  5. Windows SublimeText内使用NDK编译Android so(不用cygwin)
  6. 采用Fiddler建立Asp.net webapi与Android/IOS调试环境
  7. 超平面(hyperplane)的定义
  8. [WPF]自定义鼠标指针
  9. Android数组和开发List之间的转换
  10. Swift现实