//背景透明
this->setAttribute(Qt::WA_TranslucentBackground);
//无边框
this->setWindowFlags(Qt::FramelessWindowHint);
未设置之前:
设置之后:
微信扫一扫
//背景透明
this->setAttribute(Qt::WA_TranslucentBackground);
//无边框
this->setWindowFlags(Qt::FramelessWindowHint);
未设置之前:
设置之后:
相关推荐