MNE-CPP
beta 1.0
|
The EventWindow class provides the event dock window. More...
#include <eventwindow.h>
Public Member Functions | |
EventWindow (QWidget *parent=0) | |
~EventWindow () | |
void | init () |
QTableView * | getEventTableView () |
EventModel * | getEventModel () |
EventDelegate * | getEventDelegate () |
Protected Slots | |
void | jumpToEvent (const QModelIndex ¤t, const QModelIndex &previous) |
void | removeEventfromEventModel () |
void | addEventToEventModel () |
void | addNewEventType () |
The EventWindow class provides the event dock window.
DECLARE CLASS EventWindow
Definition at line 80 of file eventwindow.h.
EventWindow::EventWindow | ( | QWidget * | parent = 0 | ) |
Constructs a EventWindow dialog which is a child of parent.
[in] | parent | pointer to parent widget; If parent is 0, the new EventWindow becomes a window. If parent is another widget, EventWindow becomes a child window inside parent. EventWindow is deleted when its parent is deleted. |
Definition at line 58 of file eventwindow.cpp.
EventWindow::~EventWindow | ( | ) |
Destroys the EventWindow. All EventWindow's children are deleted first. The application exits if EventWindow is the main widget.
Definition at line 81 of file eventwindow.cpp.
|
protectedslot |
Adds an event to the event model and its QTableView
Definition at line 301 of file eventwindow.cpp.
|
protectedslot |
call this function whenever a new event type is to be added
Definition at line 309 of file eventwindow.cpp.
EventDelegate * EventWindow::getEventDelegate | ( | ) |
Returns the EventModel of this window
Definition at line 117 of file eventwindow.cpp.
EventModel * EventWindow::getEventModel | ( | ) |
Returns the EventModel of this window
Definition at line 109 of file eventwindow.cpp.
QTableView * EventWindow::getEventTableView | ( | ) |
Returns the QTableView of this window.
Definition at line 101 of file eventwindow.cpp.
void EventWindow::init | ( | ) |
Initialises this window.
Definition at line 89 of file eventwindow.cpp.
|
protectedslot |
jumpToEvent jumps to a event specified in the event table view
[in] | current | model item focused in the view |
[in] | previous | model item focused in the view |
Definition at line 260 of file eventwindow.cpp.
|
protectedslot |
jumpToEvent jumps to a event specified in the event table view
Definition at line 290 of file eventwindow.cpp.