Relacs Core Library
0.9.8
|
#include <filterselector.h>
Public Slots | |
void | dialogClosed (int code) |
Signals | |
void | newFilterSettings () |
Public Member Functions | |
FilterSelector (QWidget *parent=nullptr) | |
void | setInputTraces (Options &deviceIn) |
void | setFilters (FilterDetectors *filters) |
void | setAvailableFilters () |
Dialog to allow configuration of available and active filters/detectors.
All available filters/detectors are extracted through loaded plugins. Active devices are loaded from FilterDetectors list (indirectely out of config).
All configureable options are defined here, other options aren't displayed in the dialogs and aren't saved.
FilterSelector | ( | QWidget * | parent = nullptr | ) |
void setInputTraces | ( | Options & | deviceIn | ) |
Loads available input traces (analog/digital and events)
References Parameter::size(), and Parameter::text().
Referenced by RELACSWidget::editFilters().
void setFilters | ( | FilterDetectors * | filters | ) |
Loads active filters
References TreeWrapper< T >::Category::add(), FilterDetectors::filterList(), Filter::ident(), ConfigDialog::name(), and name.
Referenced by RELACSWidget::editFilters().
void setAvailableFilters | ( | ) |
Loads available filters
References name.
|
slot |
Called when dialog is closed, triggers saving
References ActiveFilterData::Source.
|
signal |
Called when options were changed, allows reloading filters