[Interest] Unable to create QDialog popup with resizeable border but no title bar

Tony Rietwyk tony at rightsoft.com.au
Tue Jan 21 02:15:27 CET 2014


Hi Philipp, 

 

Have you tried adding Qt::CustomizeWindowHint without Qt::WindowTitleHint in your window flags?  

 

Regards, 

 

Tony

 

 

Sent: Tuesday, 21 January 2014 9:27 AM



In Win32 thats pretty easy to achieve. However I found no way to create a resizable popup dialog in Qt. Specifying the Popup style does not even generate the WM_NCHITTEST Win32 messages I would need to add resizing behaviour. But I would also be happy to use the system provided thick resize frame for QDialog, but there seems to be no way to force a QDialog, which is not a QWindow subclass to have such frame and no title bar. I tried the FramelessWindowHint, to no avail.

 

Any ideas?

 

I need the popup style, cause it guarantees easy dismissal of the popup when the popup is not the active window anymore.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140121/86b2722c/attachment.html>


More information about the Interest mailing list