BioSignalPi  v2
Public Slots | Public Member Functions | List of all members
PlotAndCaptureWidget Class Reference

Widget used for capture and plotting of data from the connected DeviceManager. More...

#include <plotandcapturewidget.h>

Inheritance diagram for PlotAndCaptureWidget:
Inheritance graph
[legend]
Collaboration diagram for PlotAndCaptureWidget:
Collaboration graph
[legend]

Public Slots

void startCapture ()
 
void stopCapture ()
 Stop the ECG capture, this will stop the sampling thread so no more samples will be collected. More...
 
void plotSampleVector (QVector< QVector< QPointF > >)
 
void updateStatus (QString)
 
void takeScreen ()
 Take a snapshot of the PLOT. More...
 

Public Member Functions

 PlotAndCaptureWidget (QWidget *=NULL)
 
virtual ~PlotAndCaptureWidget ()
 
void plotSample (double)
 

Detailed Description

Widget used for capture and plotting of data from the connected DeviceManager.

Author
Martin
Jonatan
Todo:
Move comments from .cpp file to header file (.h)

Definition at line 31 of file plotandcapturewidget.h.

Constructor & Destructor Documentation

PlotAndCaptureWidget::PlotAndCaptureWidget ( QWidget *  parent = NULL)

Definition at line 13 of file plotandcapturewidget.cpp.

PlotAndCaptureWidget::~PlotAndCaptureWidget ( )
virtual

Definition at line 66 of file plotandcapturewidget.cpp.

Member Function Documentation

void PlotAndCaptureWidget::plotSample ( double  )
void PlotAndCaptureWidget::plotSampleVector ( QVector< QVector< QPointF > >  sampleVector)
slot

Definition at line 106 of file plotandcapturewidget.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PlotAndCaptureWidget::startCapture ( )
slot

Definition at line 73 of file plotandcapturewidget.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PlotAndCaptureWidget::stopCapture ( )
slot

Stop the ECG capture, this will stop the sampling thread so no more samples will be collected.

The collected samples will be saved and the status label will be updated accordingly.

Definition at line 93 of file plotandcapturewidget.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PlotAndCaptureWidget::takeScreen ( )
slot

Take a snapshot of the PLOT.

Todo:
prevent overwriting previous snapshots

Definition at line 50 of file plotandcapturewidget.cpp.

Here is the caller graph for this function:

void PlotAndCaptureWidget::updateStatus ( QString  status)
slot

Definition at line 59 of file plotandcapturewidget.cpp.

Here is the caller graph for this function:


The documentation for this class was generated from the following files: