MNE-CPP
0.1.9
A Framework for Electrophysiology
|
The ProjectSettingsView class provides a viewer to setup and manage the file name before the acquisition starts. More...
#include <projectsettingsview.h>
Signals | |
void | timerChanged (int secs) |
void | recordingTimerStateChanged (bool state) |
void | newProject (const QString &sCurrentProject) |
void | newSubject (const QString &sCurrentSubject) |
void | newParadigm (const QString &sCurrentParadigm) |
void | fileNameChanged (const QString &sCurrentFileName) |
Signals inherited from DISPLIB::AbstractView | |
void | guiStyleChanged (DISPLIB::AbstractView::StyleMode style) |
Public Member Functions | |
ProjectSettingsView (const QString &sSettingsPath="", const QString &sDataPath="/TestData", const QString &sCurrentProject="TestProject", const QString &sCurrentSubject="TestSubject", const QString &sCurrentParadigm="UnknownParadigm", QWidget *parent=0) | |
void | setRecordingElapsedTime (int mSecsElapsed) |
QString | getCurrentFileName () |
void | triggerFileNameUpdate () |
void | hideFileNameUi () |
void | showFileNameUi () |
void | hideParadigmUi () |
void | showParadigmUi () |
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) |
Additional Inherited Members | |
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 |
Protected Attributes inherited from DISPLIB::AbstractView | |
bool | m_bResearchModeIsActive |
bool | m_bOfflineModeIsActive |
QString | m_sSettingsPath |
The ProjectSettingsView class provides a viewer to setup and manage the file name before the acquisition starts.
The ProjectSettingsView class provides a viewer to setup and manage the file name before the acquisition starts.
Definition at line 79 of file projectsettingsview.h.
|
virtual |
Clears the view
Implements DISPLIB::AbstractView.
Definition at line 508 of file projectsettingsview.cpp.
QString ProjectSettingsView::getCurrentFileName | ( | ) |
Updates and gets current file name based on project and subject.
Definition at line 244 of file projectsettingsview.cpp.
void ProjectSettingsView::hideFileNameUi | ( | ) |
Hides file name ui elements.
Definition at line 539 of file projectsettingsview.cpp.
void ProjectSettingsView::hideParadigmUi | ( | ) |
Hides paradigm ui elements.
Definition at line 557 of file projectsettingsview.cpp.
|
virtual |
Loads and inits all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 184 of file projectsettingsview.cpp.
|
virtual |
Saves all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 172 of file projectsettingsview.cpp.
void ProjectSettingsView::setRecordingElapsedTime | ( | int | mSecsElapsed | ) |
Sets elapsed time to input parameter
[in] | mSecsElapsed | elapsed tim in milliseconds |
Definition at line 220 of file projectsettingsview.cpp.
void ProjectSettingsView::showFileNameUi | ( | ) |
Shows file name ui elements.
Definition at line 548 of file projectsettingsview.cpp.
void ProjectSettingsView::showParadigmUi | ( | ) |
Shows paradigm ui elements.
Definition at line 565 of file projectsettingsview.cpp.
void ProjectSettingsView::triggerFileNameUpdate | ( | ) |
Updates file name based on current project and subject.
Definition at line 515 of file projectsettingsview.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 196 of file projectsettingsview.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 208 of file projectsettingsview.cpp.