|
CEBL
2.1
|
#include <Tab.hpp>
Public Member Functions | |
| 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 | updateView ()=0 |
| Updates the view from the model. | |
| virtual void | updateModel ()=0 |
| updates model from 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 | 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. | |
Protected Attributes | |
| 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::Tab | ( | string | title, |
| GtkWidget * | notebook, | ||
| CEBLViewGTK * | view | ||
| ) |
|
inline |
Get the parent view.
Definition at line 79 of file Tab.hpp.
References view.
Referenced by TabEEGRecording::CreateGUI(), TabRealTimeClassification::CreateGUI(), TabDevice::CreateGUI(), TabFeatures::CreateGUI(), TabMonitor::CreateGUI(), TabTraining::CreateGUI(), EEGMonitor::EEGMonitor(), EEGMonitor::initPlot(), TabMonitor::onHide(), TabFeatures::onHide(), TabDecision::updateModel(), TabClassifiers::updateModel(), TabFeatures::updateModel(), TabDecision::updateView(), TabClassifiers::updateView(), TabEEGRecording::updateView(), TabRealTimeClassification::updateView(), TabDevice::updateView(), TabFeatures::updateView(), TabMonitor::updateView(), TabFilter::updateView(), and TabTraining::updateView().
|
inlinevirtual |
optional function to be called when page is hidden
Reimplemented in TabTraining, TabFeatures, TabMonitor, TabRealTimeClassification, and TabDecision.
|
inlinevirtual |
|
protected |
Add a widget to the tab.
Definition at line 47 of file Tab.cpp.
Referenced by TabDecision::CreateGUI(), TabClassifiers::CreateGUI(), TabEEGRecording::CreateGUI(), TabRealTimeClassification::CreateGUI(), TabDevice::CreateGUI(), TabFeatures::CreateGUI(), TabMonitor::CreateGUI(), TabFilter::CreateGUI(), and TabTraining::CreateGUI().
|
protected |
|
protected |
Add a widget to a frame inside the tab.
Definition at line 60 of file Tab.cpp.
Referenced by TabDecision::CreateGUI(), TabClassifiers::CreateGUI(), TabEEGRecording::CreateGUI(), TabRealTimeClassification::CreateGUI(), TabFeatures::CreateGUI(), TabFilter::CreateGUI(), TabMonitor::CreateGUI(), and TabTraining::CreateGUI().
|
protected |
Function to create a standardized from.
Creates a standardized frame containing the widget to add to the tab.
Definition at line 66 of file Tab.cpp.
Referenced by TabEEGRecording::CreateGUI().
|
protected |
|
pure virtual |
updates model from view
Implemented in TabTraining, TabFilter, TabMonitor, TabFeatures, TabDevice, TabRealTimeClassification, TabEEGRecording, TabClassifiers, and TabDecision.
|
pure virtual |
Updates the view from the model.
Implemented in TabTraining, TabFilter, TabMonitor, TabFeatures, TabDevice, TabRealTimeClassification, TabEEGRecording, TabClassifiers, and TabDecision.
|
protected |
|
protected |
title of the tab
Definition at line 47 of file Tab.hpp.
Referenced by TabDecision::CreateGUI(), TabClassifiers::CreateGUI(), TabEEGRecording::CreateGUI(), TabRealTimeClassification::CreateGUI(), TabDevice::CreateGUI(), TabFeatures::CreateGUI(), TabMonitor::CreateGUI(), TabFilter::CreateGUI(), and TabTraining::CreateGUI().
|
protected |
pointer to view
Definition at line 41 of file Tab.hpp.
Referenced by TabDecision::CreateGUI(), TabClassifiers::CreateGUI(), TabEEGRecording::CreateGUI(), TabRealTimeClassification::CreateGUI(), TabTraining::CreateGUI(), getView(), TabRealTimeClassification::onHide(), TabRealTimeClassification::updateView(), and TabTraining::updateView().
1.8.1.1