How to customize the Qt:BDiagPattern(widen the lines)
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?
Thanks in advance,
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
Thanks for your reply. Unfortunately, it does NOT work. From my current investiagtion, the pattern is not related to Qpen, but related to QBrush.
Do you have any idea on it?
Thanks a lot,
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