Qt中切换窗口功能的实现 两条语句就能够实现了: 1 this->newNC.setWindowFlags(Qt::WindowStaysOnTopHint); 2 this->newNC.show(); mark一下,防止以后忘了