hi.

Is some function for drawLine in painter, but without drawing line in some QRect?

example:

i can drawLine from 0,5 to 10,5, but I have rect (5,2,2,5) which is transparent and in this rect i don't want this line