yes, I got it, should be like this:
then we can install event filter for all children, that's perfect!Qt Code:
QList<QWidget*> widgets = qFindChildren<QWidget*>(this); widget->installEventFilter(this); installEventFilter(this);To copy to clipboard, switch view to plain text mode
good luck to every one who want to get this.
Bookmarks