|
CEBL
2.1
|
#include <TabTraining.hpp>
Public Member Functions | |
| TabTraining (string title, GtkWidget *notebook, CEBLViewGTK *view) | |
| ~TabTraining () | |
| 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 | |
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 | 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 | |
Definition at line 37 of file TabTraining.hpp.
|
inline |
Definition at line 98 of file TabTraining.hpp.
References CreateGUI().
| TabTraining::~TabTraining | ( | ) |
Definition at line 17 of file TabTraining.cpp.
|
protected |
Initialize the tab.
Definition at line 27 of file TabTraining.cpp.
References InterfaceConfigurationWindow::getButton(), DataSourceCombo::getCombo(), InterfaceCombo::getCombo(), CEBLViewGTK::getDataSource(), CEBLViewGTK::getInterfaceCombo(), CEBLViewGTK::getString(), Tab::getView(), Tab::TabAdd(), Tab::TabFrameAdd(), Tab::title, and Tab::view.
Referenced by TabTraining().
|
virtual |
optional function to be called when page is hidden
Reimplemented from Tab.
Definition at line 487 of file TabTraining.cpp.
References CEBLModel::classifierReset(), CEBLGtkWidgetDetachable::getContainer(), CEBLView::getModel(), CEBLGtkWidgetDetachable::hide(), CEBLModel::trainingGetNumClasses(), and CEBLViewGTK::updateInfoBar().
|
virtual |
|
virtual |
Updates the view from the model.
Implements Tab.
Definition at line 217 of file TabTraining.cpp.
References CEBLGtkWidgetDetachable::getContainer(), InterfaceCombo::getInterface(), CEBLViewGTK::getInterfaceCombo(), CEBLView::getModel(), CEBLViewGTK::getString(), Tab::getView(), CEBLGtkWidgetDetachable::hide(), TextUtils::IntToString(), EEGTrainingData::numClasses(), EEGTrainingData::numSamples(), EEGTrainingData::numSequences(), EEGInterface::setBGColor(), CEBLGtkWidget::show(), CEBLModel::trainingDataIsLoaded(), CEBLModel::trainingFeedbackEnabled(), CEBLModel::trainingGetData(), CEBLModel::trainingGetDataFilename(), CEBLModel::trainingGetNumClasses(), CEBLModel::trainingGetNumSequences(), CEBLModel::trainingGetPauseLength(), CEBLModel::trainingGetSequenceLength(), CEBLModel::trainingIsDataFileLoaded(), and Tab::view.
1.8.1.1