鼠标穿透(必须在第一行), 顶置,背景透明
setAttribute(Qt::WA_TransparentForMouseEvents, true);
setWindowFlags(Qt::WindowStaysOnTopHint);
setAttribute(Qt::WA_TranslucentBackground, true);
setAttribute(Qt::WA_TransparentForMouseEvents, true);
setWindowFlags(Qt::WindowStaysOnTopHint);
setAttribute(Qt::WA_TranslucentBackground, true);