开发者

Disabling restore down button in Qt MDIWindow

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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜