1.去掉标题栏

this->setWindowFlags(Qt::FramelessWindowHint);//去掉标题栏

2.设置窗体透明

setAttribute(Qt::WA_TranslucentBackground, true);  //ubuntu上窗体透明

下面的图中的设置可使开发板主窗体透明,能显示背景视频

qt去掉标题栏和设置窗体透明的方法

 

相关文章:

  • 2022-12-23
  • 2021-05-27
  • 2022-12-23
  • 2021-10-29
  • 2021-04-10
  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2021-09-17
相关资源
相似解决方案