Draws waveform profile or frenquency spectrum of the stream. More...
#include <graphique.h>
Public Slots | |
| void | updateScrolling () |
| Updates the chart when time is elapsed. | |
Public Member Functions | |
| Graphique (QWidget *parent=0) | |
| Default constructor. Initializes everything. | |
| void | paintEvent (QPaintEvent *) |
| Redraws the diagram. | |
| void | appendData (uint16_t *data, int size) |
| Adds new data to the chart. | |
| void | appendData (std::vector< int > data) |
| Adds new data to the chart. | |
| void | setData (uint16_t *data, int size) |
| Sets the data of the chart. | |
| void | setData (std::vector< int > data) |
| Sets the data of the chart. | |
| void | cleanData () |
| Removes unused data. | |
| void | appendDummyData () |
| Appends test data at the end of the stream (useful in a debugging process) | |
| void | setDrawBars (bool drawBars) |
| Sets the draw mode of the chart (bars or lines) | |
Draws waveform profile or frenquency spectrum of the stream.
1.8.1.1