[Interest] Making screenshot of a primary screen. Qt 4.8.4, openSUSE 12.3

Thiago Macieira thiago.macieira at intel.com
Fri Oct 11 23:20:00 CEST 2013


On sexta-feira, 11 de outubro de 2013 19:51:53, Alexander Syvak wrote:
> Hello,
> 
> the code below makes a screenshot of all screens
> 
> QPixmap
> <http://harmattan-dev.nokia.com/docs/library/html/qt4/qpixmap.html>::grabWi
> ndow(QApplication
> <http://harmattan-dev.nokia.com/docs/library/html/qt4/qapplication.html>::d
> esktop()->winId());
> 
> How to make a screenshot of a primary screen?

What's the primary screen for you? The one your main window is located? If so, 
which of your main windows?

The leftmost screen? The one that the computer was booted with? The one that 
the user arbitrarily defined as Screen #1?

If you can, please describe what it is in terms of QDesktopWidget.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131011/81411826/attachment.sig>


More information about the Interest mailing list