qt qss设置中的所有属性有哪些?
Qt QSS(Qt Style Sheets)设置中的所有属性包括:
-
Background(背景样式):background-color、background-image、background-repeat、background-position、background-attachment等。
-
Border(边框样式):border-color、border-width、border-style、border-radius等。
-
Color(字体样式):color、font-size、font-style、font-weight、font-family等。
-
Dimension(尺寸样式):width、height、padding、margin等。
-
Text(文本样式):text-align、text-decoration、text-transform等。
-
Positioning(定位样式):position、top、bottom、left、right等。
-
Other(其他样式):opacity、cursor、outline等。
以上是QSS中常用的样式属性,还有一些特殊的样式属性可以通过查看Qt文档来获取
原文地址: https://gggwd.com/t/topic/daFG 著作权归作者所有。请勿转载和采集!