MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DISPLIB::ApplyToView Class Reference

Public Member Functions

 ApplyToView (const QString &sSettingsPath="", QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
 ApplyToView. More...
 
void saveSettings ()
 
void loadSettings ()
 
void selectAll (bool)
 
void selectClear (bool)
 
void clearView ()
 
QList< QString > getSelectedViews ()
 
- 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)
 

Protected Attributes

QString m_sSettingsPath
 
QList< QString > m_lViewList
 
Ui::ApplyToViewWidget * m_pUi
 
- Protected Attributes inherited from DISPLIB::AbstractView
bool m_bResearchModeIsActive
 
bool m_bOfflineModeIsActive
 
QString m_sSettingsPath
 

Additional Inherited Members

- Public Types inherited from DISPLIB::AbstractView
enum  StyleMode { Default, Dark }
 
enum  GuiMode { Clinical, Research }
 
enum  ProcessingMode { RealTime, Offline }
 
typedef QSharedPointer< AbstractViewSPtr
 
typedef QSharedPointer< const AbstractViewConstSPtr
 
- Signals inherited from DISPLIB::AbstractView
void guiStyleChanged (DISPLIB::AbstractView::StyleMode style)
 

Detailed Description

Definition at line 69 of file applytoview.h.

Inheritance diagram for DISPLIB::ApplyToView:
Inheritance graph

Constructor & Destructor Documentation

◆ ApplyToView()

ApplyToView::ApplyToView ( const QString &  sSettingsPath = "",
QWidget *  parent = 0,
Qt::WindowFlags  f = Qt::Widget 
)

ApplyToView.

Parameters
[in]sSettingsPathpath for saving view settings.
[in]parentparent of widget.
[in]fflag to denote window porperties of the widget.

Definition at line 53 of file applytoview.cpp.

Member Function Documentation

◆ clearView()

void ApplyToView::clearView ( )
virtual

Clears the view

Implements DISPLIB::AbstractView.

Definition at line 160 of file applytoview.cpp.

◆ loadSettings()

void ApplyToView::loadSettings ( )
virtual

Loads and inits all important settings of this view via QSettings.

Implements DISPLIB::AbstractView.

Definition at line 86 of file applytoview.cpp.

◆ saveSettings()

void ApplyToView::saveSettings ( )
virtual

Saves all important settings of this view via QSettings.

Implements DISPLIB::AbstractView.

Definition at line 79 of file applytoview.cpp.

◆ selectAll()

void ApplyToView::selectAll ( bool  bChecked)

Selects all View Select checkboxes

Definition at line 117 of file applytoview.cpp.

◆ selectClear()

void ApplyToView::selectClear ( bool  bChecked)

Clear all View Select checkboxes

Definition at line 128 of file applytoview.cpp.

◆ updateGuiMode()

void ApplyToView::updateGuiMode ( GuiMode  mode)
protectedvirtual

Update the views GUI based on the set GuiMode (Clinical=0, Research=1).

Parameters
modeThe new mode (Clinical=0, Research=1).

Implements DISPLIB::AbstractView.

Definition at line 93 of file applytoview.cpp.

◆ updateProcessingMode()

void ApplyToView::updateProcessingMode ( ProcessingMode  mode)
protectedvirtual

Update the views GUI based on the set ProcessingMode (RealTime=0, Offline=1).

Parameters
modeThe new mode (RealTime=0, Offline=1).

Implements DISPLIB::AbstractView.

Definition at line 105 of file applytoview.cpp.


The documentation for this class was generated from the following files: