进度指示器对话框去掉最小化按钮
This commit is contained in:
parent
627463fab8
commit
0bd3e261cd
|
@ -18,7 +18,11 @@ Dialog_progress_ui::Dialog_progress_ui(class Manager *mgr, std::function<void (u
|
|||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
#if defined(HG_CMP_MSC)
|
||||
setWindowFlags(Qt::SubWindow | Qt::Popup | Qt::WindowStaysOnTopHint);
|
||||
#else
|
||||
setWindowFlags(Qt::Dialog | Qt::WindowCloseButtonHint | Qt::WindowStaysOnTopHint);
|
||||
#endif
|
||||
|
||||
ui->pbtn_cancelScan->setVisible(false);
|
||||
ui->pbtn_close->setVisible(false);
|
||||
|
|
Loading…
Reference in New Issue