BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Event filter to prevent loss of the focus. More...
Public Member Functions | |
LostFocusFilter (QObject *parent=nullptr) | |
Protected Member Functions | |
bool | eventFilter (QObject *obj, QEvent *event) override |
Event filter to prevent loss of the focus.
Can be used in the context of QTreeView and similar widgets to call external editor. Such an editor is created by clicking on a cell of a tree and it appears as modal window on top of a tree.
Definition at line 28 of file customeventfilters.h.
LostFocusFilter::LostFocusFilter | ( | QObject * | parent = nullptr | ) |
Definition at line 22 of file customeventfilters.cpp.
|
overrideprotected |
Definition at line 24 of file customeventfilters.cpp.