try this in ctor
Qt Code:
  1. ...
  2. setWindowFlags(windowFlags() | Qt::WindowTitleHint | Qt::CustomizeWindowHint);
  3. ...
To copy to clipboard, switch view to plain text mode