Introduction - If you have any usage issues, please Google them yourself
Screen software based on Qt4
Using QPixmap:: grabWindow (QApplication:: desktop () ->winId ())) to get the image of the screen
And save it in an object fullScreenMap of the QPixmap
Then the image from a QWidget and showFullScreen () to cover the screen
The next operation is done on this QWidget
It's a bit like the QQ screenshot
After the completion of the right mouse button, there is a ContextMenu pop-up
Esc is the exit, the space key saves the image (and of course, it can be saved on the right menu)