tlerner
21st October 2009, 00:05
Background: Qt 4.4.3, windows xp, visual studio 2005
I would like to be able to maximize my QMainWindow (by clicking on a QPushButton in my main window, not the title bar maximize) and I would like to not have a title bar taking up retail space. Is there anyway to remove it? I have tried setting the window flags to FramelessWindowHint, CustomWindowHint, etc and what happens is that once the window loses focus, it disappears. I cannot ALT-TAB to it, and Task Manager cannot find it as an application.
I am so lost. Thanks for any help.
I would like to be able to maximize my QMainWindow (by clicking on a QPushButton in my main window, not the title bar maximize) and I would like to not have a title bar taking up retail space. Is there anyway to remove it? I have tried setting the window flags to FramelessWindowHint, CustomWindowHint, etc and what happens is that once the window loses focus, it disappears. I cannot ALT-TAB to it, and Task Manager cannot find it as an application.
I am so lost. Thanks for any help.