That's strange, have you tried messing with the various window hints? Try
Qt Code:
  1. setWindowFlags(Qt::CustomizeWindowHint | Qt::Dialog);
To copy to clipboard, switch view to plain text mode