CEBL
2.1
|
#include <TabRealTimeClassification.hpp>
Public Member Functions | |
TabRealTimeClassification (string title, GtkWidget *notebook, CEBLViewGTK *view) | |
~TabRealTimeClassification () | |
void | updateView () |
Updates the view from the model. | |
void | updateModel () |
updates model from view | |
void | onHide () |
optional function to be called when page is hidden | |
![]() | |
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 | onShow () |
optional function to be called when page is selected |
Protected Member Functions | |
void | CreateGUI () |
Initialize the 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 | |
![]() | |
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 |
Definition at line 36 of file TabRealTimeClassification.hpp.
|
inline |
Definition at line 75 of file TabRealTimeClassification.hpp.
References CreateGUI().
TabRealTimeClassification::~TabRealTimeClassification | ( | ) |
Tab for classifying real-time data and controlling interface.
Definition at line 20 of file TabRealTimeClassification.cpp.
|
protected |
Initialize the tab.
Definition at line 30 of file TabRealTimeClassification.cpp.
References InterfaceConfigurationWindow::getButton(), DataSourceCombo::getCombo(), InterfaceCombo::getCombo(), CEBLViewGTK::getDataSource(), CEBLViewGTK::getInterfaceCombo(), Tab::getView(), Tab::TabAdd(), Tab::TabFrameAdd(), Tab::title, and Tab::view.
Referenced by TabRealTimeClassification().
|
virtual |
optional function to be called when page is hidden
Reimplemented from Tab.
Definition at line 247 of file TabRealTimeClassification.cpp.
References CEBLGtkWidgetDetachable::getContainer(), CEBLGtkWidgetDetachable::hide(), CEBLViewGTK::updateInfoBar(), and Tab::view.
|
virtual |
updates model from view
Implements Tab.
Definition at line 151 of file TabRealTimeClassification.cpp.
|
virtual |
Updates the view from the model.
Implements Tab.
Definition at line 115 of file TabRealTimeClassification.cpp.
References CEBLGtkWidgetDetachable::getContainer(), InterfaceCombo::getInterface(), CEBLViewGTK::getInterfaceCombo(), Tab::getView(), CEBLGtkWidgetDetachable::hide(), EEGInterface::setBGColor(), EEGInterface::setUseMode(), CEBLGtkWidget::show(), and Tab::view.