[Qt-interest] WindowCloseButtonHint support for QMdiSubWindow

Lists lists at sibvisions.org
Mon Jun 22 11:47:30 CEST 2009


Since Qt::WindowCloseButtonHint was implemented we can hide the close button
(when possible and supported) 

of frames.

 

This property doesn’t work with QMdiSubWindow


 

I tried to hide the close button and show the system menu icon but it
doesn’t work.

Attached patch(for current release 4.5.1) contains changes to make this
work. 

The implementation changes QMdiSubWindow and style classes.

 

 

Maybe it’s interesting for the QT developers or other members of this list?

 

Let me know if anything goes wrong or if the original behaviour is
preferred.

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090622/db5cd7a0/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt_patch_v4_5_1
Type: application/octet-stream
Size: 15830 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090622/db5cd7a0/attachment.obj 


More information about the Qt-interest-old mailing list