18 #ifndef AUDIOWAVEFORMSCOPEWIDGET_H
19 #define AUDIOWAVEFORMSCOPEWIDGET_H
21 #include "scopewidget.h"
25 class AudioWaveformScopeWidget Q_DECL_FINAL :
public ScopeWidget
30 explicit AudioWaveformScopeWidget();
31 ~AudioWaveformScopeWidget();
36 void refreshScope(const QSize& size,
bool full) Q_DECL_OVERRIDE;
37 void createGrid(const QSize& size);
40 void paintEvent(QPaintEvent*) Q_DECL_OVERRIDE;
41 void mouseMoveEvent(QMouseEvent *event) Q_DECL_OVERRIDE;
42 void leaveEvent(QEvent *event) Q_DECL_OVERRIDE;
46 int m_graphTopPadding;
47 int m_graphLeftPadding;
60 #endif // AUDIOWAVEFORMSCOPEWIDGET_H