|
CEBL
2.1
|
#include <TabEEGRecording.hpp>
Public Member Functions | |
| TabEEGRecording (string title, GtkWidget *notebook, CEBLViewGTK *view) | |
| ~TabEEGRecording () | |
| void | updateView () |
| Updates the view from the model. | |
| void | updateModel () |
| updates model from view | |
Public Member Functions inherited from Tab | |
| Tab (string title, GtkWidget *notebook, CEBLViewGTK *view) | |
| virtual | ~Tab () |
| string | GetTitle () |
| Get the title of the tab. | |
| GtkWidget * | GetContainer () |
| Get the container widget. | |
| CEBLViewGTK * | getView () |
| Get the parent view. | |
| virtual void | onHide () |
| optional function to be called when page is hidden | |
| virtual void | onShow () |
| optional function to be called when page is selected | |
Protected Member Functions | |
| void | CreateGUI () |
| Initialize the tab. | |
Protected Member Functions inherited from Tab | |
| void | TabAdd (GtkWidget *, bool expand, bool fill, int padding) |
| Add a widget to the tab. | |
| void | TabAdd (GtkWidget *) |
| Add a widget to the tab;. | |
| void | TabFrameAdd (GtkWidget *, const char *title="", bool expand=false, bool fill=false) |
| Add a widget to a frame inside the tab. | |
| GtkWidget * | TabFrameCreate (GtkWidget *widget, const char *title="") |
| Function to create a standardized from. | |
| void | TabRemove (GtkWidget *) |
| Remove a widget from the tab. | |
Additional Inherited Members | |
Protected Attributes inherited from Tab | |
| CEBLViewGTK * | view |
| pointer to view | |
| GtkWidget * | container |
| main container to hold tab contents | |
| string | title |
| title of the tab | |
| int | notebook_id |
| id of tab in notebook | |
Tab containing parameters for the recording of EEG
Definition at line 31 of file TabEEGRecording.hpp.
|
inline |
Definition at line 73 of file TabEEGRecording.hpp.
References CreateGUI().
| TabEEGRecording::~TabEEGRecording | ( | ) |
Definition at line 14 of file TabEEGRecording.cpp.
|
protected |
Initialize the tab.
Definition at line 24 of file TabEEGRecording.cpp.
References CEBLModel::channelsGetConfigFilename(), CEBLModel::channelsGetMaxNumChannels(), COL, COL_CHECK, COL_VALUE, CEBLView::getModel(), CEBLViewGTK::getString(), Tab::getView(), TextUtils::IntToString(), NUM_COLS, PROCESS_ENABLED, PROCESS_FILTER, PROCESS_REFERENCE, Tab::TabAdd(), Tab::TabFrameAdd(), Tab::TabFrameCreate(), Tab::title, updateView(), and Tab::view.
Referenced by TabEEGRecording().
|
virtual |
|
virtual |
Updates the view from the model.
Implements Tab.
Definition at line 307 of file TabEEGRecording.cpp.
References CEBLModel::channelsGetConfigFilename(), CEBLModel::channelsGetElectrodeEnabled(), CEBLModel::channelsGetElectrodeName(), CEBLModel::channelsGetElectrodeReference(), COL, COL_CHECK, CEBLView::getModel(), Tab::getView(), PROCESS_ENABLED, PROCESS_FILTER, and PROCESS_REFERENCE.
Referenced by CreateGUI().
1.8.1.1