Show QWidget on the Active Window
I want to show the QWidget on the active screen (or) window. It can be an external screen(Monitor) or it can be an another screen like Desktop 2 in Mission control Mac OS.
Any hints ?
Hi and welcome to devnet,
Are you thinking of something like QGuiApplication::primaryScreen ?
HariHaran last edited by HariHaran
I want to show in this active desktop or to show in all the desktops. I have attached an image from mission control in mac os.
QtGuiApplication.primaryScreen() doesn't work as expected.
So you want to do in your application what macOS provides as desktop environment feature ?
@SGaist Yes . Actually the same feature is available in windows too.
That's the thing: it's a desktop environment feature not an application feature.
@SGaist Ok then, thanks for the confirmation. :-)