|
TTKMusicPlayer
4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the local lrc link table widget. More...
#include <musiclrclocallinkwidget.h>
Inheritance diagram for MusicLrcLocalLinkTableWidget:Public Member Functions | |
| MusicLrcLocalLinkTableWidget (QWidget *parent=nullptr) | |
| bool | contains (const QString &string) |
| void | addCellItems (const MusicLocalDataItemList &items) |
Public Member Functions inherited from MusicAbstractTableWidget | |
| MusicAbstractTableWidget (QWidget *parent=nullptr) | |
Public Member Functions inherited from TTKAbstractTableWidget | |
| TTKAbstractTableWidget (QWidget *parent=nullptr) | |
| ~TTKAbstractTableWidget () | |
| TTKIntList | selectedIndexList () const |
Additional Inherited Members | |
Public Slots inherited from TTKAbstractTableWidget | |
| virtual void | itemCellEntered (int row, int column) |
| virtual void | itemCellClicked (int row, int column) |
| virtual void | removeItems () |
Protected Member Functions inherited from TTKAbstractTableWidget | |
| virtual void | leaveEvent (QEvent *event) override |
| void | setRowColor (int row, const QColor &color) const |
| bool | isValid () const noexcept |
Protected Attributes inherited from TTKAbstractTableWidget | |
| int | m_previousColorRow |
| int | m_previousClickRow |
| QColor | m_backgroundColor |
The class of the local lrc link table widget.
Definition at line 38 of file musiclrclocallinkwidget.h.
|
explicit |
Object constructor.
Definition at line 11 of file musiclrclocallinkwidget.cpp.
| void MusicLrcLocalLinkTableWidget::addCellItems | ( | const MusicLocalDataItemList & | items | ) |
Create cell items by input data.
Definition at line 33 of file musiclrclocallinkwidget.cpp.
References TTK::Widget::elidedText(), MusicLocalDataItem::m_name, MusicLocalDataItem::m_path, and QtItemSetTextAlignment.
| bool MusicLrcLocalLinkTableWidget::contains | ( | const QString & | string | ) |
Check if current item has in.
Definition at line 21 of file musiclrclocallinkwidget.cpp.
1.8.8