1、设置没有标题栏 和边框
QDialog(parent, Qt::CustomizeWindowHint | Qt::FramelessWindowHint)
2、设置窗口透明
setAttribute(Qt::WA_TranslucentBackground, true );
1、设置没有标题栏 和边框
QDialog(parent, Qt::CustomizeWindowHint | Qt::FramelessWindowHint)
2、设置窗口透明
setAttribute(Qt::WA_TranslucentBackground, true );