Starting with Qt 4.5 there is a new window hint for controlling close button Qt::WindowCloseButtonHint:
Qt Code:
QWidget w; w.setWindowFlags(Qt::Window | Qt::CustomizeWindowHint | Qt::WindowTitleHint| Qt::WindowSystemMenuHint | Qt::WindowMinMaxButtonHint);To copy to clipboard, switch view to plain text mode




Reply With Quote
Bookmarks