Is there a way that I can disable the restore down buttons that开发者_如何学编程 appear at the top of the main window when I maximize my sub window in Qt?
I think you can use
QWidget::setWindowFlags( Qt::WindowMaximizeButtonHint | Qt::WindowCloseButtonHint )
There is an example in the Qt Docs called Window Flags (or something similar).
精彩评论