TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MusicGifLabelValueWidget Class Reference

The class of the float gif label value widget. More...

#include <musicgiflabelwidget.h>

+ Inheritance diagram for MusicGifLabelValueWidget:

Public Member Functions

 MusicGifLabelValueWidget (QWidget *parent=nullptr)
 
void setValue (int value)
 
int value () const
 
- Public Member Functions inherited from MusicGifLabelMaskWidget
 MusicGifLabelMaskWidget (QWidget *parent=nullptr)
 
 ~MusicGifLabelMaskWidget ()
 
void run (bool run)
 
bool isRunning () const
 

Private Member Functions

virtual void paintEvent (QPaintEvent *event) overridefinal
 

Private Attributes

int m_value
 

Additional Inherited Members

- Protected Attributes inherited from MusicGifLabelMaskWidget
MusicGifLabelWidgetm_loadingLabel
 

Detailed Description

The class of the float gif label value widget.

Author
Greedysky greed.nosp@m.ysky.nosp@m.@163..nosp@m.com

Definition at line 169 of file musicgiflabelwidget.h.

Constructor & Destructor Documentation

MusicGifLabelValueWidget::MusicGifLabelValueWidget ( QWidget *  parent = nullptr)
explicit

Object constructor.

Definition at line 304 of file musicgiflabelwidget.cpp.

References MusicGifLabelMaskWidget::m_loadingLabel.

Member Function Documentation

void MusicGifLabelValueWidget::paintEvent ( QPaintEvent *  event)
finaloverrideprivatevirtual

Override the widget event.

Reimplemented from MusicGifLabelMaskWidget.

Definition at line 311 of file musicgiflabelwidget.cpp.

References m_value.

void MusicGifLabelValueWidget::setValue ( int  value)
inline

Set percent value.

Definition at line 182 of file musicgiflabelwidget.h.

Referenced by MusicLocalManagerWidget::refreshItems().

int MusicGifLabelValueWidget::value ( ) const
inline

Get percent value.

Definition at line 186 of file musicgiflabelwidget.h.

Member Data Documentation

int MusicGifLabelValueWidget::m_value
private

Definition at line 194 of file musicgiflabelwidget.h.

Referenced by paintEvent().


The documentation for this class was generated from the following files: