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 download table item. More...
#include <musicdownloadwidget.h>
Public Member Functions | |
MusicDownloadTableItem (QWidget *parent=nullptr) | |
~MusicDownloadTableItem () | |
void | setIcon (const QString &name) |
void | setInformation (const QString &info) |
void | setText (const QString &text) |
Private Attributes | |
QLabel * | m_text |
QLabel * | m_information |
QLabel * | m_icon |
The class of the download table item.
Definition at line 35 of file musicdownloadwidget.h.
|
explicit |
Object constructor.
Definition at line 10 of file musicdownloadwidget.cpp.
References m_icon, m_information, m_text, and TTK_ITEM_SIZE_S.
MusicDownloadTableItem::~MusicDownloadTableItem | ( | ) |
Object destructor.
Definition at line 22 of file musicdownloadwidget.cpp.
References m_icon, m_information, and m_text.
void MusicDownloadTableItem::setIcon | ( | const QString & | name | ) |
Set current item icon.
Definition at line 29 of file musicdownloadwidget.cpp.
References m_icon.
Referenced by MusicDownloadTableWidget::addCellItem().
void MusicDownloadTableItem::setInformation | ( | const QString & | info | ) |
Set current item other infomation(size and type and time).
Definition at line 34 of file musicdownloadwidget.cpp.
References m_information.
Referenced by MusicDownloadTableWidget::addCellItem().
void MusicDownloadTableItem::setText | ( | const QString & | text | ) |
Set current item text name.
Definition at line 39 of file musicdownloadwidget.cpp.
References m_text.
Referenced by MusicDownloadTableWidget::addCellItem().
|
private |
Definition at line 63 of file musicdownloadwidget.h.
Referenced by MusicDownloadTableItem(), setIcon(), and ~MusicDownloadTableItem().
|
private |
Definition at line 63 of file musicdownloadwidget.h.
Referenced by MusicDownloadTableItem(), setInformation(), and ~MusicDownloadTableItem().
|
private |
Definition at line 63 of file musicdownloadwidget.h.
Referenced by MusicDownloadTableItem(), setText(), and ~MusicDownloadTableItem().