Hello friends,

I have a question. I have a 2 Qmainwindow. I put the one in the other as centralwidget to achieve the full height of the left and the right Dockwidget.I now have an outer QMainWindow and an inner QMainwindow. Then I add a buttomdockwidget with a textedit to inner QMainwindow. I would like to handle the event in the outer QMainwindow (
Qt Code:
  1. MainWindow::eventFilter(QObject *obj, QEvent *event)
To copy to clipboard, switch view to plain text mode 
) and I intall it
Qt Code:
  1. this->mytextedit->installEventFilter(this);
To copy to clipboard, switch view to plain text mode 
By this I mean the outer QMainwindow. So now when I hit a "s" for example I have an output like this "ss". It doubles my input.

Where is the misunderstanding of mine here?

Thanx in advance