两条语句就能够实现了:

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

mark一下,防止以后忘了

相关文章:

  • 2021-06-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-19
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2022-01-21
  • 2021-12-28
  • 2022-12-23
相关资源
相似解决方案