Quote Originally Posted by ChrisW67 View Post
Is the aim of the exercise for the user to draw a single filled rectangle with a thick border by click and drag? You can use the QRubberBand to give the user an idea what size the box will be as they move the mouse then draw the final rectangle and hide the rubber band when the mouse button is released.

You will need to think about how the rectangle will be drawn (painted). Painting should occur in the widget's paintEvent(). Have a look at the Scribble Example which draws in an off-screen QImage and then paints that.
The aim IS to simply select the area, however there is a specific look I am trying to achieve.
When the program starts, it 'freezes' the screen and blurs it (takes a screenshot, blurs it, displays it in the label that takes up the entire screen). Then the user should select an area of the screen to capture. Inside the captured area, the screen should be crystal clear (i.e. not blurry).

I did this in Java yesterday, but due to Java's limitations (i couldn't get native keyboard input), I set out to do this using C++. Here is the exact effect that i am trying to achieve:
Untitled.jpg