SpikeStream Application Library
0.2
|
#include <MembranePotentialGraphWidget.h>
Public Member Functions | |
MembranePotentialGraphWidget (QWidget *parent=0) | |
~MembranePotentialGraphWidget () | |
void | addData (float membranePotential, timestep_t timeStep) |
virtual void | paintLabels (QPainter &painter) |
virtual void | paintData (QPainter &painter) |
Definition at line 13 of file MembranePotentialGraphWidget.h.
MembranePotentialGraphWidget::MembranePotentialGraphWidget | ( | QWidget * | parent = 0 | ) |
Constructor
Definition at line 10 of file MembranePotentialGraphWidget.cpp.
Destructor
Definition at line 23 of file MembranePotentialGraphWidget.cpp.
void MembranePotentialGraphWidget::addData | ( | float | membranePotential, |
timestep_t | timeStep | ||
) |
Adds a membrane potential value to the plot
Definition at line 34 of file MembranePotentialGraphWidget.cpp.
void MembranePotentialGraphWidget::paintData | ( | QPainter & | painter | ) | [virtual] |
Paints a line between the last 2 data points
Implements spikestream::AbstractGraphWidget.
Definition at line 54 of file MembranePotentialGraphWidget.cpp.
void MembranePotentialGraphWidget::paintLabels | ( | QPainter & | painter | ) | [virtual] |
Paints the labels
Implements spikestream::AbstractGraphWidget.
Definition at line 63 of file MembranePotentialGraphWidget.cpp.