Qt:在mac中disable窗口的resize按钮

setWindowFlags( (windowFlags() | Qt::CustomizeWindowHint) & ~Qt::WindowMaximizeButtonHint);

你可能感兴趣的:(Qt:在mac中disable窗口的resize按钮)