void ImageDialog::initWidget()
{
setWindowFlags(Qt::WindowCloseButtonHint | Qt::WindowMinMaxButtonsHint);
setAttribute(Qt::WA_DeleteOnClose, true);
}
ImageDialog *imageDailog = new ImageDialog;
imageDailog->show();
void ImageDialog::initWidget()
{
setWindowFlags(Qt::WindowCloseButtonHint | Qt::WindowMinMaxButtonsHint);
setAttribute(Qt::WA_DeleteOnClose, true);
}
ImageDialog *imageDailog = new ImageDialog;
imageDailog->show();
本文标题:Qt 非模态对话框
本文链接:https://www.haomeiwen.com/subject/sddmtrtx.html
网友评论