[Solved] QLabel->showFullScreen() on multiple monitors
-
Hi, I have a newbie question about using a QLabel to display an image full screen.
Is it possible to set the display ID, such that I can show the QLabel as full screen in the secondary monitor?
Thanks,
-
Take a look "here":http://doc-snapshot.qt-project.org/4.8/qdesktopwidget.html
-
Thanks!
Solution to those that find their way here:
@
q_label_to_show->setGeometry(QApplication::desktop()->screenGeometry(screenID));
q_label_to_show->showFullScreen();
@[Edit: Added @ tags; mlong]