#include <audioplayerwidget.h>
◆ AudioPlayerWidget()
| AudioPlayerWidget::AudioPlayerWidget |
( |
const QString & | audioFilePath, |
|
|
QWidget * | parent = nullptr ) |
|
explicit |
◆ ~AudioPlayerWidget()
| AudioPlayerWidget::~AudioPlayerWidget |
( |
| ) |
|
|
default |
◆ connectSignalsAndSlots()
| void AudioPlayerWidget::connectSignalsAndSlots |
( |
| ) |
|
|
private |
◆ durationChanged
| void AudioPlayerWidget::durationChanged |
( |
qint64 | duration | ) |
|
|
privateslot |
◆ getAudioFileName()
| QString AudioPlayerWidget::getAudioFileName |
( |
bool | includeExtension = true | ) |
const |
◆ handleError
| void AudioPlayerWidget::handleError |
( |
QMediaPlayer::Error | error, |
|
|
const QString & | errorString ) |
|
privateslot |
◆ playbackRate()
| qreal AudioPlayerWidget::playbackRate |
( |
| ) |
const |
|
private |
◆ playClicked
| void AudioPlayerWidget::playClicked |
( |
| ) |
|
|
slot |
◆ positionChanged
| void AudioPlayerWidget::positionChanged |
( |
qint64 | progress | ) |
|
|
privateslot |
◆ seek
| void AudioPlayerWidget::seek |
( |
int | mseconds | ) |
|
|
slot |
◆ setState
| void AudioPlayerWidget::setState |
( |
QMediaPlayer::PlaybackState | state | ) |
|
|
privateslot |
◆ setupUi()
| void AudioPlayerWidget::setupUi |
( |
| ) |
|
|
private |
◆ state()
| QMediaPlayer::PlaybackState AudioPlayerWidget::state |
( |
| ) |
const |
◆ stop
| void AudioPlayerWidget::stop |
( |
| ) |
|
|
slot |
◆ updateDurationInfo()
| void AudioPlayerWidget::updateDurationInfo |
( |
qint64 | currentInfo | ) |
|
|
private |
◆ updateRate
| void AudioPlayerWidget::updateRate |
( |
| ) |
|
|
slot |
◆ m_audioFilePath
| QString AudioPlayerWidget::m_audioFilePath |
|
private |
◆ m_audioOutput
| std::unique_ptr<QAudioOutput> AudioPlayerWidget::m_audioOutput |
|
private |
◆ m_duration
| qint64 AudioPlayerWidget::m_duration = 0 |
|
private |
◆ m_labelDuration
| QLabel* AudioPlayerWidget::m_labelDuration |
|
private |
◆ m_mediaPlayer
| std::unique_ptr<QMediaPlayer> AudioPlayerWidget::m_mediaPlayer |
|
private |
◆ m_playButton
| QToolButton* AudioPlayerWidget::m_playButton |
|
private |
◆ m_playerState
| QMediaPlayer::PlaybackState AudioPlayerWidget::m_playerState = QMediaPlayer::StoppedState |
|
private |
◆ m_rateBox
| QComboBox* AudioPlayerWidget::m_rateBox |
|
private |
◆ m_slider
| QSlider* AudioPlayerWidget::m_slider |
|
private |
◆ m_stopButton
| QToolButton* AudioPlayerWidget::m_stopButton |
|
private |
The documentation for this class was generated from the following files: