Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
https://paste.ofcode.org/mjyWqzfaviMN8y5v37LuqL
http://doc.qt.io/qt-5/qpolygon.html#containsPoint
I am aware of the containsPoint but how to use the same in above code ,that I am not able to if you suggest a sample code