Inverse-method / regularisation panel (MNE, dSPM, sLORETA) for the on-line source estimator. More...
#include <minimumnormsettingsview.h>
Public Types | |
| typedef QSharedPointer< MinimumNormSettingsView > | SPtr |
| typedef QSharedPointer< const MinimumNormSettingsView > | 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 | methodChanged (const QString &method) |
| void | triggerTypeChanged (const QString &triggerType) |
| void | timePointChanged (int iTimePoint) |
| void | modelCheckpointChanged (const QString &sPath) |
| Signals inherited from DISPLIB::AbstractView | |
| void | guiStyleChanged (DISPLIB::AbstractView::StyleMode style) |
Public Member Functions | |
| MinimumNormSettingsView (const QString &sSettingsPath="", const QString &sMethod="", QWidget *parent=0, Qt::WindowFlags f=Qt::Widget) | |
| ~MinimumNormSettingsView () | |
| void | setTriggerTypes (const QStringList &lTriggerTypes) |
| void | setModelCheckpoint (const QString &sPath) |
| QString | getModelCheckpoint () const |
| 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 | onMethodChanged (const QString &method) |
| void | onTriggerTypeChanged (const QString &sTriggerType) |
| void | onTimePointValueChanged () |
| void | updateCmneWidgetVisibility (const QString &method) |
| void | onBrowseModelCheckpointClicked () |
Protected Attributes | |
| Ui::MinimumNormSettingsViewWidget * | m_pUi |
| QString | m_sMethod |
| QString | m_sModelCheckpoint |
| Protected Attributes inherited from DISPLIB::AbstractView | |
| bool | m_bResearchModeIsActive |
| bool | m_bOfflineModeIsActive |
| QString | m_sSettingsPath |
Inverse-method / regularisation panel (MNE, dSPM, sLORETA) for the on-line source estimator.
Combo boxes pick the inverse method, spinboxes set the SNR lambda and the time-frame window; edits propagate via Qt signals to the rtprocessing inverse job.
Definition at line 67 of file minimumnormsettingsview.h.

| typedef QSharedPointer<const MinimumNormSettingsView> DISPLIB::MinimumNormSettingsView::ConstSPtr |
Const shared pointer type for MinimumNormSettingsView.
Definition at line 73 of file minimumnormsettingsview.h.
| typedef QSharedPointer<MinimumNormSettingsView> DISPLIB::MinimumNormSettingsView::SPtr |
Shared pointer type for MinimumNormSettingsView.
Definition at line 72 of file minimumnormsettingsview.h.
| MinimumNormSettingsView::MinimumNormSettingsView | ( | const QString & | sSettingsPath = "", |
| const QString & | sMethod = "", | ||
| QWidget * | parent = 0, | ||
| Qt::WindowFlags | f = Qt::Widget ) |
Constructs a MinimumNormSettingsView which is a child of parent.
| [in] | parent | parent of widget. |
Definition at line 47 of file minimumnormsettingsview.cpp.
| MinimumNormSettingsView::~MinimumNormSettingsView | ( | ) |
Destroys the MinimumNormSettingsView.
Definition at line 87 of file minimumnormsettingsview.cpp.
|
virtual |
Clears the view
Implements DISPLIB::AbstractView.
Definition at line 226 of file minimumnormsettingsview.cpp.
| QString MinimumNormSettingsView::getModelCheckpoint | ( | ) | const |
Returns the current model checkpoint path.
Definition at line 180 of file minimumnormsettingsview.cpp.
|
virtual |
Loads and inits all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 119 of file minimumnormsettingsview.cpp.
|
signal |
Emit signal whenever the method changed.
| [in] | method | The new method. |
|
signal |
Emit signal whenever the CMNE model checkpoint path changed.
| [in] | sPath | The new model checkpoint path. |
|
protected |
Slot called when the user clicks the "browse model checkpoint" button.
Definition at line 197 of file minimumnormsettingsview.cpp.
|
protected |
Slot called when the method changed.
| [in] | method | The new method. |
Definition at line 159 of file minimumnormsettingsview.cpp.
|
protected |
Slot called when the time point changes.
Definition at line 219 of file minimumnormsettingsview.cpp.
|
protected |
Slot called when the trigger type changed.
| [in] | sTriggerType | The new trigger type. |
Definition at line 212 of file minimumnormsettingsview.cpp.
|
virtual |
Saves all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 106 of file minimumnormsettingsview.cpp.
| void MinimumNormSettingsView::setModelCheckpoint | ( | const QString & | sPath | ) |
Sets the model checkpoint path shown in the read-only line edit.
| [in] | sPath | Absolute path to the model checkpoint file (e.g. .onnx). |
Definition at line 167 of file minimumnormsettingsview.cpp.
| void MinimumNormSettingsView::setTriggerTypes | ( | const QStringList & | lTriggerTypes | ) |
Destroys the MinimumNormSettingsView.
| [in] | lTriggerTypes | The new trigger types. |
Definition at line 95 of file minimumnormsettingsview.cpp.
|
signal |
Emit signal whenever the time point changed.
| [in] | iTimePoint | The new time point. |
|
signal |
Emit signal whenever the trigger type changed.
| [in] | triggerType | The new trigger type. |
|
protected |
Show or hide the CMNE-only model checkpoint widgets based on the active method.
| [in] | method | The currently selected inverse method. |
Definition at line 187 of file minimumnormsettingsview.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 135 of file minimumnormsettingsview.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 147 of file minimumnormsettingsview.cpp.
|
protected |
Definition at line 185 of file minimumnormsettingsview.h.
|
protected |
Definition at line 186 of file minimumnormsettingsview.h.
|
protected |
Persisted model-checkpoint path for CMNE.
Definition at line 187 of file minimumnormsettingsview.h.