QDialog

// 去掉问号,只保留关闭
setWindowFlags(Qt::CustomizeWindowHint | Qt::WindowCloseButtonHint);