网站介绍:文章浏览阅读1k次。前言窗口透明搜了一下,很多说要改源码,其实不需要,QT5支持背景调整:WA_TranslucentBackground设置背景透明MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow){ ui->setupUi(this); this->setAttribute( Qt::WA_TranslucentBackground,true )_qt5 背景透明
- 链接地址:https://blog.csdn.net/haysonzeng/article/details/106287430
- 链接标题:QT5 背景透明-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:6740
- 网站标签:qt5 背景透明