Advice on bulding a frameless window QT application
-
Hello!
I'm trying to build a qt application with no window frame. I am experimenting with many solutions and am having trouble with resizing specifiacally(I want to be able to resize on all sides, so I'm not using a grip). Right now I am using the boarderlless window flag but that also plays havok with window managers. How would you guys go about building a frameless window. Has anyone done it successfuly? I would be nice if you could do somehting like hide the taskbar (so I still get all the windowing behavior that comes with a framed window, like snap resizing).
Thanks for all of the advice!
-
setWindowFlags(screenOne->windowFlags()| Qt::FramelessWindowHint);
setWindowFlags(windowFlags()|Qt::WindowStaysOnBottomHint); -
I'm currently using this for my window flags, but this comes with many problems, mostly that the way qt draws when resizing from the top it causes a notable delay for drawing, making it look like the window is jittering. Every platform can make resizeble boarderless windows, like on windows you override the drawing loop to make it stop before the window boarder is drawn. I was wondering if there was any other way to make a boarderless window that is less glichy.
-
I heard that setmask(rect) can cover over the windows boarder, has anyone have any advice on that