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 song item selected table widget. More...
#include <musicsongitemselectedareawidget.h>
Public Member Functions | |
MusicSongItemSelectedTableWidget (QWidget *parent=nullptr) | |
void | addCellItems (MusicSongItemList *items) |
TTKIntList | checkedDataList () const |
![]() | |
MusicFillItemTableWidget (QWidget *parent=nullptr) | |
~MusicFillItemTableWidget () | |
TTKIntList | checkedIndexList () const |
TTKIntList | uncheckedIndexList () const |
![]() | |
MusicAbstractTableWidget (QWidget *parent=nullptr) | |
![]() | |
TTKAbstractTableWidget (QWidget *parent=nullptr) | |
~TTKAbstractTableWidget () | |
TTKIntList | selectedIndexList () const |
Additional Inherited Members | |
![]() | |
virtual void | itemCellClicked (int row, int column) override |
void | checkedItemsState (bool checked) |
void | checkedItemsStatus (bool checked) |
![]() | |
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 |
![]() | |
TTKCheckBoxItemDelegate * | m_checkBoxDelegate |
![]() | |
int | m_previousColorRow |
int | m_previousClickRow |
QColor | m_backgroundColor |
The class of the song item selected table widget.
Definition at line 28 of file musicsongitemselectedareawidget.h.
|
explicit |
Object constructor.
Definition at line 7 of file musicsongitemselectedareawidget.cpp.
References TTK::UI::ScrollBarStyle01.
void MusicSongItemSelectedTableWidget::addCellItems | ( | MusicSongItemList * | items | ) |
Create cell items by input data.
Definition at line 24 of file musicsongitemselectedareawidget.cpp.
References TTK::Widget::elidedText(), MusicSongItem::m_itemIndex, MusicSongItem::m_itemName, QtItemSetTextAlignment, TTK_CHECKED_ROLE, and TTK_DATA_ROLE.
TTKIntList MusicSongItemSelectedTableWidget::checkedDataList | ( | ) | const |
Get checked data items.
Definition at line 53 of file musicsongitemselectedareawidget.cpp.
References TTK_CHECKED_ROLE, and TTK_DATA_ROLE.