I have created a widget with:

Qt Code:
  1. setWindowFlags( Qt::Tool | Qt::WindowTitleHint | Qt::FramelessWindowHint );
To copy to clipboard, switch view to plain text mode 

The problem is that the widget inherits the window title of the main window, which is its parent.

I have tried setWindowTitle(""), but it doesn't work.

Any idea how to remove the title?

Regards