this->setWindowFlags
(Qt::FramelessWindowHint | Qt::Tool | Qt::WindowStaysOnTopHint);
// 去掉标题栏,去掉任务栏显示,窗口置顶
window.setWindowFlags
(Qt.Qt.FramelessWindowHint|Qt.Qt.WindowStaysOnTopHint|Qt.Qt.Tool)
this->setWindowFlags
(Qt::FramelessWindowHint | Qt::Tool | Qt::WindowStaysOnTopHint);
// 去掉标题栏,去掉任务栏显示,窗口置顶
window.setWindowFlags
(Qt.Qt.FramelessWindowHint|Qt.Qt.WindowStaysOnTopHint|Qt.Qt.Tool)