Qt 6.11 is out! See what's new in the release
blog
How to let Qt Application stay on desktop and translucent?
General and Desktop
2
Posts
2
Posters
924
Views
1
Watching
-
Have a look at this (don't worry about the frameless window part):
http://qt-project.org/forums/viewthread/1107Also, what do you mean remain on desktop? Do you mean, you don't want it to be able to minimize?
If so, you can override the changeEvent(QEvent *event) in your window class and check if the window is being minimized, then show how ever which way you want it.
For example:
@
// change event (protected)
void MainWindow::changeEvent(QEvent *event){
if (event->type() == QEvent::WindowStateChange){
if (isMinimized()) // check if the window is minimized
show();
}
}
@