TTKMusicPlayer
4.1.3.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the float gif label mask widget. More...
#include <musicgiflabelwidget.h>
Public Member Functions | |
MusicGifLabelMaskWidget (QWidget *parent=nullptr) | |
~MusicGifLabelMaskWidget () | |
void | run (bool run) |
bool | isRunning () const |
Protected Member Functions | |
virtual void | paintEvent (QPaintEvent *event) override |
Protected Attributes | |
MusicGifLabelWidget * | m_loadingLabel |
The class of the float gif label mask widget.
Definition at line 132 of file musicgiflabelwidget.h.
|
explicit |
Object constructor.
Definition at line 256 of file musicgiflabelwidget.cpp.
References MusicGifLabelWidget::CicleBlue, and m_loadingLabel.
MusicGifLabelMaskWidget::~MusicGifLabelMaskWidget | ( | ) |
Object destructor.
Definition at line 268 of file musicgiflabelwidget.cpp.
References m_loadingLabel.
bool MusicGifLabelMaskWidget::isRunning | ( | ) | const |
Get current running state.
Definition at line 289 of file musicgiflabelwidget.cpp.
References MusicGifLabelWidget::isRunning(), and m_loadingLabel.
Referenced by MusicLocalManagerWidget::refreshItems().
|
overrideprotectedvirtual |
Override the widget event.
Reimplemented in MusicGifLabelValueWidget.
Definition at line 294 of file musicgiflabelwidget.cpp.
void MusicGifLabelMaskWidget::run | ( | bool | run | ) |
Run the gif.
Definition at line 273 of file musicgiflabelwidget.cpp.
References MusicGifLabelWidget::isRunning(), m_loadingLabel, and MusicGifLabelWidget::run().
Referenced by MusicLocalManagerWidget::refreshItems().
|
protected |
Definition at line 161 of file musicgiflabelwidget.h.
Referenced by isRunning(), MusicGifLabelMaskWidget(), MusicGifLabelValueWidget::MusicGifLabelValueWidget(), run(), and ~MusicGifLabelMaskWidget().