Relacs
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 Options::find(), Parameter::size(), and Parameter::text().
Referenced by RELACSWidget::editFilters().
void setFilters | ( | FilterDetectors * | filters | ) |
Loads active filters
References relacs::ActiveFilters(), TreeWrapper< T >::Category::add(), relacs::AvailableInputs(), relacs::FilterList(), FilterDetectors::filterList(), Filter::ident(), name, ConfigDialog::name(), and Options::read().
Referenced by RELACSWidget::editFilters().
void setAvailableFilters | ( | ) |
Loads available filters
References name.
|
slot |
Called when dialog is closed, triggers saving
References relacs::ActiveFilters(), relacs::FilterList(), Options::name(), and ActiveFilterData::Source.
|
signal |
Called when options were changed, allows reloading filters