Trasparent QMainWiondow
Unsolved
General and Desktop
-
Hi, with these lines of code I have a transparent QMainWindow (in Windows).
setAttribute(Qt::WA_TranslucentBackground); setWindowFlags(Qt::FramelessWindowHint);
The problem is that I need do move and resize the window but the second line of code removes the main bar and so I cant move and resize the window. Is there a solution?
The second line of code is mandatory in Windows. -
Hi,
Since you removed the decoration, it's your job now to implement moving the window.
See this stack overflow answer to get started.
-
Hi
This worked pretty well
https://github.com/Bringer-of-Light/Qt-Nice-Frameless-Window