Thanks for your advice. Nevertheless, I wasn't able to solve my problem yet.
I tried to subclass QScrollArea with the standard implementation you posted. (Just to have a starting point for modifications) But I wasnt able to compile because of missing "QScrollAreaPrivate" definitions.
Then I tried this:
{
if ( e
->type
() == QEvent::FocusIn ) {
return true;
}
}
bool NonJumpingScrollArea::eventFilter(QObject *o, QEvent *e)
{
if ( e->type() == QEvent::FocusIn )
{
return true;
}
return QScrollArea::eventFilter(o,e);
}
To copy to clipboard, switch view to plain text mode
, but the ScrollArea is still reacting.
Also, changing the filtered signal type to QEvent::EnabledChange didn't help.
Bookmarks