Re: [Interest] Qt5 CSS StyleSheet Variables

2018-05-21 Thread Tony Rietwyk
Hi Mike, QStyleSheets are pretty limited, so we: - load a sass file from Qt resources, - inject some calculated variables at the start relating to the specific app and client screen size, - process the sass to css - set the output into QApplication. This occurs at startup, and whenever

Re: [Interest] Qt5 CSS StyleSheet Variables

2018-05-21 Thread Christian Ehrlicher
Am 21.05.2018 um 15:47 schrieb Michael Jackson: Just to confirm, but does Qt accept CSS variables as describe here: ? I tried and I get the error that the style sheet could not be parsed. I have a style sheet with a LOT of color settings and

[Interest] Qt5 CSS StyleSheet Variables

2018-05-21 Thread Michael Jackson
Just to confirm, but does Qt accept CSS variables as describe here: ? I tried and I get the error that the style sheet could not be parsed. I have a style sheet with a LOT of color settings and having to do a bunch of search/replace to change