setGeometry(QStyle::alignedRect(
Qt::RightToLeft,
Qt::AlignCenter,
size(),
qApp->desktop()->availableGeometry()));
setGeometry(QStyle::alignedRect(
Qt::RightToLeft,
Qt::AlignBottom,
size(),
qApp->desktop()->availableGeometry()));
show();
setAttribute(Qt::WA_ShowWithoutActivating);
setWindowFlags(
Qt::Window | // Add if popup doesn't show up
Qt::FramelessWindowHint | // No window border
Qt::WindowDoesNotAcceptFocus | // No focus
Qt::WindowStaysOnTopHint // Always on top
);