23 label =
new QLabel(msg);
24 QHBoxLayout* layout =
new QHBoxLayout;
26 layout->addWidget(
label);
28 setWindowFlags(Qt::Window | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint | Qt::CustomizeWindowHint |
29 Qt::X11BypassWindowManagerHint);
30 setAttribute(Qt::WA_ShowWithoutActivating);
31 setFocusPolicy(Qt::NoFocus);