|
MNE-CPP
0.1.9
A Framework for Electrophysiology
|
The FilterSettingsView class provides a view to select between different modalities. More...
#include <filtersettingsview.h>
Public Types | |
| typedef QSharedPointer< FilterSettingsView > | SPtr |
| typedef QSharedPointer< const FilterSettingsView > | ConstSPtr |
Public Types inherited from DISPLIB::AbstractView | |
| enum | StyleMode { Default, Dark } |
| enum | GuiMode { Clinical, Research } |
| enum | ProcessingMode { RealTime, Offline } |
| typedef QSharedPointer< AbstractView > | SPtr |
| typedef QSharedPointer< const AbstractView > | ConstSPtr |
Signals | |
| void | filterActivationChanged (bool activated) |
Signals inherited from DISPLIB::AbstractView | |
| void | guiStyleChanged (DISPLIB::AbstractView::StyleMode style) |
Public Member Functions | |
| FilterSettingsView (const QString &sSettingsPath="", QWidget *parent=0, Qt::WindowFlags f=Qt::Widget) | |
| ~FilterSettingsView () | |
| QSharedPointer< FilterDesignView > | getFilterView () |
| bool | getFilterActive () |
| void | setSamplingRate (double dSFreq) |
| void | saveSettings () |
| void | loadSettings () |
| void | clearView () |
Public Member Functions inherited from DISPLIB::AbstractView | |
| AbstractView (QWidget *parent=0, Qt::WindowFlags f=Qt::Widget) | |
| virtual void | setGuiMode (GuiMode mode) |
| virtual void | setProcessingMode (ProcessingMode mode) |
Protected Member Functions | |
| void | updateGuiMode (GuiMode mode) |
| void | updateProcessingMode (ProcessingMode mode) |
| void | onShowFilterView () |
| void | onFilterActivationChanged () |
| void | onFilterFromChanged () |
| void | onFilterToChanged () |
| void | onFilterChannelTypeChanged (const QString &sType) |
Protected Attributes | |
| QString | m_sSettingsPath |
| QSharedPointer< FilterDesignView > | m_pFilterView |
| Ui::FilterSettingsViewWidget * | m_pUi |
Protected Attributes inherited from DISPLIB::AbstractView | |
| bool | m_bResearchModeIsActive |
| bool | m_bOfflineModeIsActive |
| QString | m_sSettingsPath |
The FilterSettingsView class provides a view to select between different modalities.
DECLARE CLASS FilterSettingsView
Definition at line 84 of file filtersettingsview.h.

| typedef QSharedPointer<const FilterSettingsView> DISPLIB::FilterSettingsView::ConstSPtr |
Const shared pointer type for FilterSettingsView.
Definition at line 90 of file filtersettingsview.h.
| typedef QSharedPointer<FilterSettingsView> DISPLIB::FilterSettingsView::SPtr |
Shared pointer type for FilterSettingsView.
Definition at line 89 of file filtersettingsview.h.
| FilterSettingsView::FilterSettingsView | ( | const QString & | sSettingsPath = "", |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = Qt::Widget |
||
| ) |
Constructs a FilterSettingsView which is a child of parent.
| [in] | parent | parent of widget. |
Definition at line 68 of file filtersettingsview.cpp.
| FilterSettingsView::~FilterSettingsView | ( | ) |
Destroys the FilterSettingsView.
Definition at line 114 of file filtersettingsview.cpp.
|
virtual |
Clears the view
Implements DISPLIB::AbstractView.
Definition at line 270 of file filtersettingsview.cpp.
|
signal |
Signal emited when the filter activation box's state is changed.
| bool FilterSettingsView::getFilterActive | ( | ) |
Returns true if the filters a set as active.
Definition at line 129 of file filtersettingsview.cpp.
| QSharedPointer< FilterDesignView > FilterSettingsView::getFilterView | ( | ) |
Returns the filter design view used to design filters.
Definition at line 122 of file filtersettingsview.cpp.
|
virtual |
Loads and inits all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 173 of file filtersettingsview.cpp.
|
protected |
This function is called whenever the filter activation changed
Definition at line 228 of file filtersettingsview.cpp.
|
protected |
This function is called whenever the channel type changed
| [in] | sType | the channel type. |
Definition at line 261 of file filtersettingsview.cpp.
|
protected |
This function is called whenever the filter parameters From changed
Definition at line 237 of file filtersettingsview.cpp.
|
protected |
This function is called whenever the filter parameters To changed
Definition at line 246 of file filtersettingsview.cpp.
|
protected |
Show the filter option screen to the user.
Definition at line 215 of file filtersettingsview.cpp.
|
virtual |
Saves all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 157 of file filtersettingsview.cpp.
| void FilterSettingsView::setSamplingRate | ( | double | dSFreq | ) |
Sets the sampling frequency and setups this view accrodingly.
| [in] | dSFreq | the new sampling frequency. |
Definition at line 136 of file filtersettingsview.cpp.
|
protectedvirtual |
Update the views GUI based on the set GuiMode (Clinical=0, Research=1).
| [in] | mode | The new mode (Clinical=0, Research=1). |
Implements DISPLIB::AbstractView.
Definition at line 189 of file filtersettingsview.cpp.
|
protectedvirtual |
Update the views GUI based on the set ProcessingMode (RealTime=0, Offline=1).
| [in] | mode | The new mode (RealTime=0, Offline=1). |
Implements DISPLIB::AbstractView.
Definition at line 203 of file filtersettingsview.cpp.
|
protected |
The filter view.
Definition at line 204 of file filtersettingsview.h.
|
protected |
The filter settings GUI view.
Definition at line 206 of file filtersettingsview.h.
|
protected |
The settings path to store the GUI settings to.
Definition at line 202 of file filtersettingsview.h.
1.8.17