add this code to your QWinWidget constructor:

Qt Code:
  1. setAttribute(Qt::WA_TranslucentBackground);
  2. setWindowFlags(Qt::FramelessWindowHint);
To copy to clipboard, switch view to plain text mode