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 the lrc batch download table widget. More...
#include <musiclrcdownloadbatchwidget.h>
Public Member Functions | |
MusicLrcDownloadBatchTableWidget (QWidget *parent=nullptr) | |
void | addCellItems (const MusicSongList &items) |
![]() | |
MusicAbstractTableWidget (QWidget *parent=nullptr) | |
![]() | |
TTKAbstractTableWidget (QWidget *parent=nullptr) | |
~TTKAbstractTableWidget () | |
TTKIntList | selectedIndexList () const |
Additional Inherited Members | |
![]() | |
virtual void | itemCellEntered (int row, int column) |
virtual void | itemCellClicked (int row, int column) |
virtual void | removeItems () |
![]() | |
virtual void | leaveEvent (QEvent *event) override |
void | setRowColor (int row, const QColor &color) const |
bool | isValid () const |
![]() | |
int | m_previousColorRow |
int | m_previousClickRow |
QColor | m_backgroundColor |
The class of the the lrc batch download table widget.
Definition at line 33 of file musiclrcdownloadbatchwidget.h.
|
explicit |
Object constructor.
Definition at line 6 of file musiclrcdownloadbatchwidget.cpp.
References TTK::UI::ScrollBarStyle01.
void MusicLrcDownloadBatchTableWidget::addCellItems | ( | const MusicSongList & | items | ) |
Create cell items by input data.
Definition at line 23 of file musiclrcdownloadbatchwidget.cpp.
References MusicSong::artist(), TTK::Widget::elidedText(), MusicSong::name(), MusicSong::path(), QtItemSetTextAlignment, and MusicSong::title().