两条语句就能够实现了:

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

mark一下,防止以后忘了

相关文章: