Show QWidget on the Active Window
Solved
Qt for Python
-
wrote on 24 Dec 2021, 11:30 last edited by
Hi team,
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 ?
-
wrote on 27 Dec 2021, 05:44 last edited by HariHaran
-
So you want to do in your application what macOS provides as desktop environment feature ?
-
That's the thing: it's a desktop environment feature not an application feature.
1/7