Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS如何将窗口设置成模态窗口? #39

Open
douzhongqiang opened this issue Dec 31, 2019 · 0 comments
Open

MacOS如何将窗口设置成模态窗口? #39

douzhongqiang opened this issue Dec 31, 2019 · 0 comments

Comments

@douzhongqiang
Copy link

我将是将CFramelessWindow 继承自QWidget
然后设置
this->setAttribute(Qt::WA_ShowModal, true);
this->setWindowModality(Qt::ApplicationModal);
这部分代码 窗口的标题栏又出来了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant