Unsolved Background image
-
Hi
Simple question
Is it possible to retrieve the image being used as a background ?
I have set the image to be used qss but would like to retrieve this in code?
Thanks -
I have set the image to be used qss
hi, I haven't tested it, but you can request the applied StyleSheet via QWdiget::styleSheet()
that should give you a QString of the used stylesheet. You'll have to parse it for your object and property but it should be in there
-
Thanks I'll give it a go