Hi.
My widget has his own paintEvent where, depending on some variable I draw different figures (ellipse or rect).
So I though that I'll configure drawing params and colors from styleSheet. But somehow it doesn't won't to work. Heres my css.
Qt Code:
RP3DevicePaint { border-width: 2px; border-style: solid; border-color: black; background: white; }To copy to clipboard, switch view to plain text mode
PS. Is there possibility to set widget figure (like circle or rectangle) from within css?
Bookmarks