Qt中切换窗口功能的实现

两条语句就能够实现了:

1 this->newNC.setWindowFlags(Qt::WindowStaysOnTopHint);
2 this->newNC.show();

mark一下,防止以后忘了

原文地址:https://www.cnblogs.com/-wang-cheng/p/4874151.html