15 #ifndef BORNAGAIN_GUI_VIEW_COMMON_CUSTOMEVENTFILTERS_H
16 #define BORNAGAIN_GUI_VIEW_COMMON_CUSTOMEVENTFILTERS_H
28 bool eventFilter(QObject* obj, QEvent* event)
override;
37 static void install(QObject* obj);
41 bool eventFilter(QObject* obj, QEvent* event)
override;
55 bool eventFilter(QObject* dist, QEvent* event)
override;
69 bool eventFilter(QObject* obj, QEvent* event)
override;
83 bool eventFilter(QObject* obj, QEvent* event)
override;
96 bool eventFilter(QObject* obj, QEvent* event)
override;
107 bool eventFilter(QObject* obj, QEvent* event)
override;
Lisens for press-del-key events.
DeleteEventFilter(QObject *parent=nullptr)
bool eventFilter(QObject *dist, QEvent *event) override
Event filter to prevent lost of focus by custom material editor.
bool eventFilter(QObject *obj, QEvent *event) override
LostFocusFilter(QObject *parent=nullptr)
Event filter for global tracking of shortcodes.
ShortcodeFilter(QString shortcode, QObject *parent=nullptr)
bool eventFilter(QObject *obj, QEvent *event) override
Filter out space bar key events, which is special case for dialog windows.
SpaceKeyEater(QObject *parent=nullptr)
bool eventFilter(QObject *obj, QEvent *event) override
Propagate tab events from focusProxy to parent.
TabFromFocusProxy(QWidget *parent=nullptr)
Passing focus-related events from child widget (e.g. QSpinBox) to parent (e.g. IntEditor) to trigger ...
bool eventFilter(QObject *obj, QEvent *event) override
Event filter to install on combo boxes and spin boxes to not to react on wheel events during scrollin...
static void install(QObject *obj)
bool eventFilter(QObject *obj, QEvent *event) override
WheelEventEater(QObject *parent=nullptr)