Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Windows without title bar but with border
I'm trying to create a dialog in Qt without titlebar but with a border. I've tried Qt::FramelessWindowHint but this removes also the border.
I've tried also Qt::CustomizeWindowHint but in this case I obtain a partial and ugly blue border.
I'm using Qt embedded with the qws window system.
Thanks for the help.
May be this "example":http://doc.qt.nokia.com/4.7/widgets-windowflags.html is good for you. Many types of windows are demonstrated.
It is also there in QtCreator welcome->choose an example ->widgets -> window flags. Worth looking, i guess. Good Luck.
Thank you for your reply. Unfortunately none of these examples it's what I need. So I ended up by doing a custom dialog without frame decorations. In this dialog I've placed a dark background color and then I've used an overlying element a little smaller so the background looks like a border.
Thats cool. :) So, it is solved :)
More or less...it's a dirty workaround.
andre last edited by
Split off a "new issue":http://developer.qt.nokia.com/forums/viewthread/11793/ on this, but on the linux desktop.
devastheempty last edited by
I had the sam problem and accidentally found acceptable solution?
this will produce resizeable window without title: