在构造函数的初始化列表中添加:
QDialog(parent, Qt::CustomizeWindowHint | Qt::FramelessWindowHint ) //没有边框及标题栏
setAttribute(Qt::WA_TranslucentBackground, true ); //设置属性透明
在构造函数的初始化列表中添加:
QDialog(parent, Qt::CustomizeWindowHint | Qt::FramelessWindowHint ) //没有边框及标题栏
setAttribute(Qt::WA_TranslucentBackground, true ); //设置属性透明
1004

被折叠的 条评论
为什么被折叠?
