BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Propagate tab events from focusProxy to parent. More...
Public Member Functions | |
TabFromFocusProxy (QWidget *parent=0) | |
Passing focus-related events from child widget (e.g. More... | |
Protected Member Functions | |
bool | eventFilter (QObject *obj, QEvent *event) |
Protected Attributes | |
QWidget * | m_parent |
Propagate tab events from focusProxy to parent.
Definition at line 97 of file CustomEventFilters.h.
TabFromFocusProxy::TabFromFocusProxy | ( | QWidget * | parent = 0 | ) |
Passing focus-related events from child widget (e.g.
QSpinBox) to parent (e.g. IntEditor) to trigger QTreeView delegate's mechanism to switch editors on "tab" press key. https://stackoverflow.com/questions/12145522/why-pressing-of-tab-key-emits-only-qeventshortcutoverride-event
Definition at line 153 of file CustomEventFilters.cpp.
|
protected |
|
protected |
Definition at line 104 of file CustomEventFilters.h.
Referenced by eventFilter().