建了一个对话框,我不想把边框去掉,只想去掉关闭按钮,
setWindowFlags(windowFlags()&~Qt::WindowCloseButtonHint&~Qt::WindowContextHelpButtonHint);setWindowFlags(window
建了一个对话框,我不想把边框去掉,只想去掉关闭按钮,
setWindowFlags(windowFlags()&~Qt::WindowCloseButtonHint&~Qt::WindowContextHelpButtonHint);setWindowFlags(window