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 lrc photo float pixmap item. More...
#include <musiclrcfloatphotowidget.h>
Public Slots | |
void | sendUserBoxClicked () |
void | sendUserSelectArt () |
Signals | |
void | boxClicked (int index) |
void | itemClicked (int index) |
![]() | |
void | clicked () |
Public Member Functions | |
MusicLrcFloatPhotoItem (int index, QWidget *parent=nullptr) | |
~MusicLrcFloatPhotoItem () | |
void | setPath (const QString &path) |
void | setBoxChecked (bool checked) |
bool | boxChecked () |
void | setBoxVisible (bool v) |
![]() | |
TTKClickedLabel (QWidget *parent=nullptr) | |
TTKClickedLabel (const QString &text, QWidget *parent=nullptr) | |
void | blockOption (bool block) |
Private Member Functions | |
virtual void | enterEvent (QtEnterEvent *event) overridefinal |
Private Attributes | |
int | m_index |
QString | m_pixPath |
QCheckBox * | m_checkBox |
The class of the lrc photo float pixmap item.
Definition at line 31 of file musiclrcfloatphotowidget.h.
|
explicit |
Object constructor.
Definition at line 11 of file musiclrcfloatphotowidget.cpp.
References TTKClickedLabel::clicked(), TTK::UI::InteriorFloatPhotoItem, m_checkBox, sendUserBoxClicked(), and sendUserSelectArt().
MusicLrcFloatPhotoItem::~MusicLrcFloatPhotoItem | ( | ) |
Object destructor.
Definition at line 27 of file musiclrcfloatphotowidget.cpp.
References m_checkBox.
bool MusicLrcFloatPhotoItem::boxChecked | ( | ) |
Get check box checked state.
Definition at line 50 of file musiclrcfloatphotowidget.cpp.
References m_checkBox.
|
signal |
Current check box clicked.
Referenced by sendUserBoxClicked().
|
finaloverrideprivatevirtual |
Override the widget event.
Definition at line 74 of file musiclrcfloatphotowidget.cpp.
References QtLablePixmap.
|
signal |
Current plane item clicked.
Referenced by sendUserSelectArt().
|
slot |
User selected the check box state.
Definition at line 60 of file musiclrcfloatphotowidget.cpp.
References boxClicked(), and m_index.
Referenced by MusicLrcFloatPhotoItem().
|
slot |
User selected the plane pic.
Definition at line 65 of file musiclrcfloatphotowidget.cpp.
References itemClicked(), m_index, and QtLablePixmap.
Referenced by MusicLrcFloatPhotoItem().
void MusicLrcFloatPhotoItem::setBoxChecked | ( | bool | checked | ) |
Set check box checked state.
Definition at line 45 of file musiclrcfloatphotowidget.cpp.
References m_checkBox.
void MusicLrcFloatPhotoItem::setBoxVisible | ( | bool | v | ) |
Set check box vidible.
Definition at line 55 of file musiclrcfloatphotowidget.cpp.
References m_checkBox.
void MusicLrcFloatPhotoItem::setPath | ( | const QString & | path | ) |
Set image path and pix.
Definition at line 32 of file musiclrcfloatphotowidget.cpp.
References m_pixPath, and TTK::Image::roundedPixmap().
|
private |
Definition at line 90 of file musiclrcfloatphotowidget.h.
Referenced by boxChecked(), MusicLrcFloatPhotoItem(), setBoxChecked(), setBoxVisible(), and ~MusicLrcFloatPhotoItem().
|
private |
Definition at line 88 of file musiclrcfloatphotowidget.h.
Referenced by sendUserBoxClicked(), and sendUserSelectArt().
|
private |
Definition at line 89 of file musiclrcfloatphotowidget.h.
Referenced by setPath().