Well, I have event filters for child windows similar to the following code segment. The Scroller() class provides an event filter on mouse events. So, could I reap the benefit of an application level event filter that applied to
all windows, and yet have the behavior of a customized version (sort of a class derivation metaphor). I would also need windows that do not currently have event filters work with the application level event filter. I have noticed that
for application windows/widgets which provide processing for mouse depressions (either through an event filter or an override of mousePressEvent()), the parent will not receive a mouse depression event if the child has a handler. I can always emit the signal to the parent, but for deeply nested content, I do not what to have this level of signals and slots to simply close out a context menu.
// Set up scroller event filter
m_scroller = new Scroller();
ui->ProgramListWidget->viewport()->installEventFilter(m_scroller);
// Set up scroller event filter
m_scroller = new Scroller();
ui->ProgramListWidget->viewport()->installEventFilter(m_scroller);
To copy to clipboard, switch view to plain text mode
Bookmarks