
Originally Posted by
wysota
I don't see how you intend to solve any of your problems if you're not even trying solutions you are given but instead trust what you think the solution does.
When did I say that I wasn't trying? I even sad:
(...) because I tried to implement it with the wrong funtion (...)
in post 5, and in post 7 I described the results of my tests!
---
the hint makes a window stay on top of other windows regardless of which application they belong to.
Actually you're right, it does; the problem is that the help file wasn't clear enough (for me) regarding how to USE the hint; I was trying wrongly
setWindowFlags(Qt::WindowStaysOnTopHint);
setWindowFlags(Qt::WindowStaysOnTopHint);
To copy to clipboard, switch view to plain text mode
when actually it should be
setWindowFlags(Qt::Window | Qt::WindowStaysOnTopHint);
setWindowFlags(Qt::Window | Qt::WindowStaysOnTopHint);
To copy to clipboard, switch view to plain text mode
as the help files says:
Window flags are a combination of a type (e.g. Qt:

ialog) and zero or more hints to the window system (e.g. Qt::FramelessWindowHint).
Unfortunately the lack of e.g.: "in using this function, you should first enter the type of the form you're using (e.g. QDialog, QWindow, etc.) and combined with it the hint you want to use it, if applicable (e.g. Qt::WindowStaysOnTopHint)" was the problem I got.
Anyway, thanks for the help. Unfortunately, though, there is still the problem that the hint isn't able to cover 100% the taskbar; when another software is started during the usage of the hint, the taskbar turns visible to show the flashing icon of the new opened software.
Momergil
Bookmarks