Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Which CSS standard is supported by QWidget setStyleSheet?

Which CSS standard is supported by QWidget setStyleSheet?

Problem

As far as I understand, QtWidgets can be styled via CSS using the method setStyleSheet.

See reference: QtWidgets styleSheet

The problem is I couldn't figure out if it supports CSS3 or since which version of Qt CSS3 capabilities are supported and to which extend.

Any clarifying information highly appreciated!

Problem courtesy of: Mobiletainment

Solution

Qt stylesheets are not standardized. Not all CSS3 properties are supported by Qt, and some of Qt-supported properties aren't supported by regular browsers. You should look at Qt Style Sheets Reference and other docs to know supported features list.

Solution courtesy of: Pavel Strakhov

Discussion

View additional discussion.



This post first appeared on CSS3 Recipes - The Solution To All Your Style Problems, please read the originial post: here

Share the post

Which CSS standard is supported by QWidget setStyleSheet?

×

Subscribe to Css3 Recipes - The Solution To All Your Style Problems

Get updates delivered right to your inbox!

Thank you for your subscription

×