Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
rtp_audio_graph.h
Go to the documentation of this file.
1
10#ifndef RTP_AUDIO_GRAPH_H
11#define RTP_AUDIO_GRAPH_H
12
13#include "config.h"
14
15#include <ui/qt/widgets/qcustomplot.h>
16
17//class QCPItemStraightLine;
18//class QCPAxisTicker;
19//class QCPAxisTickerDateTime;
20
21class RtpAudioGraph : public QObject
22{
23 Q_OBJECT
24public:
25 explicit RtpAudioGraph(QCustomPlot *audioPlot, QRgb color);
26 void setMuted(bool isMuted);
27 void setHighlight(bool isHighlighted);
28 void setSelected(bool isSelected);
29 void setData(const QVector<double> &keys, const QVector<double> &values, bool alreadySorted=false);
30 void remove(QCustomPlot *audioPlot);
31 bool isMyPlottable(QCPAbstractPlottable *plottable);
32
33
34private:
35 QCPGraph *wave_;
36 QRgb color_;
37 QColor selection_color_;
38};
39
40#endif // RTP_AUDIO_GRAPH_H
Definition rtp_audio_graph.h:22