Qt CSS

2016-12-23  本文已影响0人  厝弧

/*

/* 字体选择推荐
(小米米官网):font-family: "Arial","Microsoft YaHei","黑体","宋体",sans-serif
(淘宝技术研发中心):font: 12px/1.5 Tahoma,Helvetica,Arial,'宋体',sans-serif;
(加网 ):font: 14px/1.5 'Microsoft YaHei',arial,tahoma,\5b8b\4f53,sans-serif;
(淘宝UED):font: 12px/1 Tahoma,Helvetica,Arial,"\5b8b\4f53",sans-serif;
(一淘UX):font-family: Helvetica, 'Hiragino Sans GB', 'Microsoft Yahei', '微软雅黑', Arial, sans-serif;

字体列表
宋体 SimSun
黑体 SimHei
微软雅黑 Microsoft YaHei
微软正黑体 Microsoft JhengHei
新宋体 NSimSun
新细明体 PMingLiU
细明体 MingLiU
标楷体 DFKai-SB
仿宋 FangSong
楷体 KaiTi
仿宋_GB2312 FangSong_GB2312
楷体_GB2312 KaiTi_GB2312
*/
*{
selection-color: black;
selection-background-color: gray;
background:gray;
font: 14px;
font-family: "Arial","Microsoft YaHei","黑体","宋体",sans-serif;
padding: 2px;
font-weight: bold;
}
QPushButton{
color: black;
font: 12px;
}
QPushButton:hover
{
color: black;
}
QRadioButton:!hover
{
color: red;
}
QPushButton:disable
{
color: blue;
}
QPushButton:enabled
{
color: black;
}

上一篇 下一篇

猜你喜欢

热点阅读