Hi all,
Anybody knows if it is possible to create variables in a Qt Stylesheet (.qss)?
For instance, I know CSS accepts the following:
Qt Code:
@variables { myColour: #fe8d12; } div { background-color: var(myColour); }To copy to clipboard, switch view to plain text mode
I tried the same in qt (with QWidget instead of div) with no avail.
Any suggestions?
If it is not possible it would be a nice feature request.
Bookmarks