BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Event filter to install on combo boxes and spin boxes to not to react on wheel events during scrolling of InstrumentComponentWidget.
Definition at line 34 of file CustomEventFilters.h.
Public Member Functions | |
WheelEventEater (QObject *parent=nullptr) | |
Static Public Member Functions | |
static void | install (QObject *obj) |
Protected Member Functions | |
bool | eventFilter (QObject *obj, QEvent *event) override |
WheelEventEater::WheelEventEater | ( | QObject * | parent = nullptr | ) |
Definition at line 41 of file CustomEventFilters.cpp.
Referenced by install().
|
overrideprotected |
Definition at line 52 of file CustomEventFilters.cpp.
|
static |
Definition at line 46 of file CustomEventFilters.cpp.
References WheelEventEater().
Referenced by InterferenceForm::InterferenceForm(), MesoCrystalForm::createBasisCombo(), GUI::Util::createSelectionCombo(), and AbstractSelectionContainerForm::initUI().