Thank you all very much.<br><br>@P.Thompson: Using qFuzzyCompare() from QtCore rather than QtGui worked. It's interesting to have the same method in both of packages.<br>@C. Nahler: That's another way but I thought default drawing mechanism might be better in performance and I couldn't figure out how to draw dashed lines.<br>

<br>