Please give me a simple example on how to resize my paintEvent
So when a user clicks a point it displays a point(working)
& when window is resized that point is adjusted accordingly

I'm stuck, tried many plausible theories to no avail though
Assistance please

example code appreciated