qt中去掉最大,最小窗口,关闭按钮。

setWindowFlags(windowFlags()|Qt::FramelessWindowHint|Qt::WindowTitleHint);

原文地址:https://www.cnblogs.com/cute/p/2242528.html