Windows without title bar but with border
-
Hi everyone,
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.
-
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.
-
Split off a "new issue":http://developer.qt.nokia.com/forums/viewthread/11793/ on this, but on the linux desktop.
-
I had the sam problem and accidentally found acceptable solution?
this will produce resizeable window without title:
@w->setWindowFlags(Qt::Tool|Qt::CustomizeWindowHint);@