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 Slots | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RoundAnimationLabel Class Reference

Helper class to round animation widget. More...

#include <florid.h>

+ Inheritance diagram for RoundAnimationLabel:

Public Slots

void start ()
 
void stop ()
 
void timeout ()
 

Public Member Functions

 RoundAnimationLabel (QWidget *parent=nullptr)
 
 ~RoundAnimationLabel ()
 
void setPixmap (const QPixmap &pix)
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *event) overridefinal
 

Protected Attributes

QPixmap m_pixmap
 
QTimer m_timer
 
int m_rotateAngle = 0
 

Detailed Description

Helper class to round animation widget.

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

Definition at line 31 of file florid.h.

Constructor & Destructor Documentation

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

Object contsructor.

RoundAnimationLabel::~RoundAnimationLabel ( )

Member Function Documentation

virtual void RoundAnimationLabel::paintEvent ( QPaintEvent *  event)
finaloverrideprotectedvirtual

Override the widget event.

void RoundAnimationLabel::setPixmap ( const QPixmap &  pix)

Set background pixmap.

void RoundAnimationLabel::start ( )
slot

Start to rotating widget.

void RoundAnimationLabel::stop ( )
slot

Stop to rotating widget.

void RoundAnimationLabel::timeout ( )
slot

rotating timeout.

Member Data Documentation

QPixmap RoundAnimationLabel::m_pixmap
protected

Definition at line 67 of file florid.h.

int RoundAnimationLabel::m_rotateAngle = 0
protected

Definition at line 69 of file florid.h.

QTimer RoundAnimationLabel::m_timer
protected

Definition at line 68 of file florid.h.


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