Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
QDesktopWidget is a Qt class to get information about the screen/monitor.
The code below, similar to How to get the screen size? shows how to use QDesktopWidget to obtain the screen size, like this screenshot (png).
#include <QApplication> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.