12 #include <QListWidget> 14 #include <qwt_plot_curve.h> 18 #include "HRV/rtwtypes.h" 19 #include "HRV/timeDomainHRV.h" 20 #include "HRV/rt_nonfinite.h" 21 #include "HRV/timeDomainHRV_types.h" 22 #include "HRV/freqDomainHRV_types.h" 57 void setupComponents();
66 void performHRV(QString fileName);
67 void printHRV(
const struct0_T *);
68 void printHRV(
const structFreq_T *);
69 void psdPlot(
const structFreq_T *);
70 void saveFreqHrv(
const structFreq_T *);
72 QListWidget *ecgFilesWidget;
74 QVector<Plot *> d_plots;
75 QVector<QVector<QPointF> > ecgVals;
77 QProgressBar *progBar;
79 QComboBox *timeframeComboBox;
85 double freq[102], psd[102];
87 QPushButton *getFilesButton;
88 QPushButton *resetPlotButton;
89 QTextBrowser *headerTextArea;
91 QTextBrowser *mainTextArea;
93 QwtPlotCurve *myCurve;
102 void getEcgFileList();
108 void fileSelected(QListWidgetItem*);
118 void performHRV(QVector<double> ibiData, QVector<double> timeData);
Extension of QwtPlot used for plotting data.
Collection of functions used to interact with the Matlab Coder generated HRV-functions.