OSX Fullscreen QWidget over MenuBar and Dock
Unsolved
General and Desktop
-
Qt5.6, OS X El Capitan. I need to select an area on the screen to take a screenshot, but the menu bar and dock are always on my window.
My code:
QScreen *screen = QGuiApplication::primaryScreen(); QRect desktop = screen->virtualGeometry(); region = new SelectRegion; region->setGeometry(desktop); region->show(); region->focusWidget(); region->activateWindow(); region->raise();
-
Hi and welcome to devnet,
From your screenshot, it looks like you are trying to take a screenshot with OS X tools but not from a fullscreen application. So what exactly are you doing ?