How to customize the Qt:BDiagPattern(widen the lines)
-
Hi All,
I need implement the style as below link(please ignore the text), but Qt:BDiagPattern can not reach my requirements. Does anyone know how to implement this?
http://i43.tinypic.com/se4ob8.png
Thanks in advance,
Songtao -
Hi and welcome to devnet,
IIRC you have to set the pen color and width of painter before applying the pattern and you should be good
Hope it helps
-
Indeed, I've mixed up two things from memory, sorry.
What you can do however is create a texture that contains the pattern looking like you want and then use it with the brush