Qt screenshot application - How to select a screen area

I am trying to encode an application in Qt for capture, and then use screenshots. While my application captures a screenshot, shows a preview and saves it. I have yet to download. but before that I would like to be able to select the area of ​​the screen on which the screenshot should be taken.

I tried searching and did not find useful articles or documents in Qt. So can someone help me?

PS: The idea is to create a similar application similar to fire and other similar tools.

Thanks in advance

+4
source share
1 answer

Two methods can be used for this: -

1) , , .

2) , , . , , , .

, - , .

+5

Source: https://habr.com/ru/post/1546782/


All Articles