qt qss支持的屬性

記錄,方便以後查找:

{ "-qt-background-role", QtBackgroundRole },
{ "-qt-block-indent", QtBlockIndent },
{ "-qt-list-indent", QtListIndent },
{ "-qt-list-number-prefix", QtListNumberPrefix },
{ "-qt-list-number-suffix", QtListNumberSuffix },
{ "-qt-paragraph-type", QtParagraphType },
{ "-qt-style-features", QtStyleFeatures },
{ "-qt-table-type", QtTableType },
{ "-qt-user-state", QtUserState },
{ "alternate-background-color", QtAlternateBackground },
{ "background", Background },
{ "background-attachment", BackgroundAttachment },
{ "background-clip", BackgroundClip },
{ "background-color", BackgroundColor },
{ "background-image", BackgroundImage },
{ "background-origin", BackgroundOrigin },
{ "background-position", BackgroundPosition },
{ "background-repeat", BackgroundRepeat },
{ "border", Border },
{ "border-bottom", BorderBottom },
{ "border-bottom-color", BorderBottomColor },
{ "border-bottom-left-radius", BorderBottomLeftRadius },
{ "border-bottom-right-radius", BorderBottomRightRadius },
{ "border-bottom-style", BorderBottomStyle },
{ "border-bottom-width", BorderBottomWidth },
{ "border-color", BorderColor },
{ "border-image", BorderImage },
{ "border-left", BorderLeft },
{ "border-left-color", BorderLeftColor },
{ "border-left-style", BorderLeftStyle },
{ "border-left-width", BorderLeftWidth },
{ "border-radius", BorderRadius },
{ "border-right", BorderRight },
{ "border-right-color", BorderRightColor },
{ "border-right-style", BorderRightStyle },
{ "border-right-width", BorderRightWidth },
{ "border-style", BorderStyles },
{ "border-top", BorderTop },
{ "border-top-color", BorderTopColor },
{ "border-top-left-radius", BorderTopLeftRadius },
{ "border-top-right-radius", BorderTopRightRadius },
{ "border-top-style", BorderTopStyle },
{ "border-top-width", BorderTopWidth },
{ "border-width", BorderWidth },
{ "bottom", Bottom },
{ "color", Color },
{ "float", Float },
{ "font", Font },
{ "font-family", FontFamily },
{ "font-size", FontSize },
{ "font-style", FontStyle },
{ "font-variant", FontVariant },
{ "font-weight", FontWeight },
{ "height", Height },
{ "image", QtImage },
{ "image-position", QtImageAlignment },
{ "left", Left },
{ "line-height", LineHeight },
{ "list-style", ListStyle },
{ "list-style-type", ListStyleType },
{ "margin" , Margin },
{ "margin-bottom", MarginBottom },
{ "margin-left", MarginLeft },
{ "margin-right", MarginRight },
{ "margin-top", MarginTop },
{ "max-height", MaximumHeight },
{ "max-width", MaximumWidth },
{ "min-height", MinimumHeight },
{ "min-width", MinimumWidth },
{ "outline", Outline },
{ "outline-bottom-left-radius", OutlineBottomLeftRadius },
{ "outline-bottom-right-radius", OutlineBottomRightRadius },
{ "outline-color", OutlineColor },
{ "outline-offset", OutlineOffset },
{ "outline-radius", OutlineRadius },
{ "outline-style", OutlineStyle },
{ "outline-top-left-radius", OutlineTopLeftRadius },
{ "outline-top-right-radius", OutlineTopRightRadius },
{ "outline-width", OutlineWidth },
{ "padding", Padding },
{ "padding-bottom", PaddingBottom },
{ "padding-left", PaddingLeft },
{ "padding-right", PaddingRight },
{ "padding-top", PaddingTop },
{ "page-break-after", PageBreakAfter },
{ "page-break-before", PageBreakBefore },
{ "position", Position },
{ "right", Right },
{ "selection-background-color", QtSelectionBackground },
{ "selection-color", QtSelectionForeground },
{ "spacing", QtSpacing },
{ "subcontrol-origin", QtOrigin },
{ "subcontrol-position", QtPosition },
{ "text-align", TextAlignment },
{ "text-decoration", TextDecoration },
{ "text-indent", TextIndent },
{ "text-transform", TextTransform },
{ "text-underline-style", TextUnderlineStyle },
{ "top", Top },
{ "vertical-align", VerticalAlignment },
{ "white-space", Whitespace },
{ "width", Width }
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章