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 | List of all members
MusicAbstractMoveWidget Class Reference

The class of the moving widget base. More...

#include <musicabstractmovewidget.h>

+ Inheritance diagram for MusicAbstractMoveWidget:

Public Slots

void backgroundChanged ()
 
void show ()
 

Public Member Functions

 MusicAbstractMoveWidget (QWidget *parent=nullptr)
 
 MusicAbstractMoveWidget (bool transparent, QWidget *parent=nullptr)
 
 ~MusicAbstractMoveWidget ()
 
- Public Member Functions inherited from TTKAbstractMoveWidget
 TTKAbstractMoveWidget (QWidget *parent=nullptr)
 
 TTKAbstractMoveWidget (bool transparent, QWidget *parent=nullptr)
 
void drawWindowShadow (bool show)
 
void blockMoveOption (bool block)
 

Additional Inherited Members

- Protected Member Functions inherited from TTKAbstractMoveWidget
virtual void paintEvent (QPaintEvent *event) override
 
virtual void mousePressEvent (QMouseEvent *event) override
 
virtual void mouseMoveEvent (QMouseEvent *event) override
 
virtual void mouseReleaseEvent (QMouseEvent *event) override
 
- Protected Member Functions inherited from MusicWidgetRenderer
void setBackgroundPixmap (const QSize &size)
 
 MusicWidgetRenderer ()
 
void setBackgroundLabel (QLabel *label)
 
- Protected Attributes inherited from TTKAbstractMoveWidget
QPoint m_pressAt
 
bool m_moveOption
 
bool m_showShadow
 
bool m_leftButtonPress
 

Detailed Description

The class of the moving widget base.

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

Definition at line 28 of file musicabstractmovewidget.h.

Constructor & Destructor Documentation

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

Object constructor.

Definition at line 6 of file musicabstractmovewidget.cpp.

MusicAbstractMoveWidget::MusicAbstractMoveWidget ( bool  transparent,
QWidget *  parent = nullptr 
)
explicit

Definition at line 12 of file musicabstractmovewidget.cpp.

References G_BACKGROUND_PTR.

MusicAbstractMoveWidget::~MusicAbstractMoveWidget ( )

Object destructor.

Definition at line 19 of file musicabstractmovewidget.cpp.

References G_BACKGROUND_PTR.

Member Function Documentation

void MusicAbstractMoveWidget::backgroundChanged ( )
slot

Background image changed.

Definition at line 24 of file musicabstractmovewidget.cpp.

References MusicWidgetRenderer::setBackgroundPixmap().

Referenced by show().

void MusicAbstractMoveWidget::show ( )
slot

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