10#ifndef RTP_AUDIO_GRAPH_H
11#define RTP_AUDIO_GRAPH_H
15#include <ui/qt/widgets/qcustomplot.h>
59 void setData(
const QVector<double> &keys,
const QVector<double> &values,
bool alreadySorted=
false);
65 void remove(QCustomPlot *audioPlot);
83 QColor selection_color_;
Manages the visual rendering of an RTP audio stream as a waveform graph.
Definition rtp_audio_graph.h:25
void setData(const QVector< double > &keys, const QVector< double > &values, bool alreadySorted=false)
Updates the data points plotted on the graph.
Definition rtp_audio_graph.cpp:69
bool isMyPlottable(QCPAbstractPlottable *plottable)
Checks if a given plottable object belongs to this graph.
Definition rtp_audio_graph.cpp:79
void setMuted(bool isMuted)
Sets the muted state of the graph, adjusting its opacity.
Definition rtp_audio_graph.cpp:34
void setSelected(bool isSelected)
Sets the selection state of the graph, altering its color.
Definition rtp_audio_graph.cpp:57
void remove(QCustomPlot *audioPlot)
Removes the graph from the plot widget.
Definition rtp_audio_graph.cpp:74
void setHighlight(bool isHighlighted)
Sets the highlight state of the graph, drawing it more prominently.
Definition rtp_audio_graph.cpp:45