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 <musicfileassociationwidget.h>
Public Slots | |
virtual void | itemCellClicked (int row, int column) override |
void | checkedItemsStatus (bool checked) |
![]() | |
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 () |
Public Member Functions | |
MusicFileAssociationTableWidget (QWidget *parent=nullptr) | |
void | uncheckedDataList () const |
![]() | |
MusicFillItemTableWidget (QWidget *parent=nullptr) | |
~MusicFillItemTableWidget () | |
TTKIntList | checkedIndexList () const |
TTKIntList | uncheckedIndexList () const |
![]() | |
MusicAbstractTableWidget (QWidget *parent=nullptr) | |
![]() | |
TTKAbstractTableWidget (QWidget *parent=nullptr) | |
~TTKAbstractTableWidget () | |
TTKIntList | selectedIndexList () const |
Private Member Functions | |
void | addCellItems () |
Additional Inherited Members | |
![]() | |
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 33 of file musicfileassociationwidget.h.
|
explicit |
Object constructor.
Definition at line 6 of file musicfileassociationwidget.cpp.
References addCellItems(), and TTK::UI::ScrollBarStyle01.
|
private |
Create cell items by input data.
Definition at line 65 of file musicfileassociationwidget.cpp.
References MusicSettingManager::FileAssociationValue, G_SETTING_PTR, QtItemSetTextAlignment, MusicFormats::supportMusicFormats(), and TTK_CHECKED_ROLE.
Referenced by MusicFileAssociationTableWidget().
|
slot |
Checked items status.
Definition at line 55 of file musicfileassociationwidget.cpp.
References MusicFillItemTableWidget::checkedItemsStatus().
Table widget item cell click.
Definition at line 42 of file musicfileassociationwidget.cpp.
References TTK_CHECKED_ROLE, and TTKStaticCast.
void MusicFileAssociationTableWidget::uncheckedDataList | ( | ) | const |
Get unchecked data items.
Definition at line 25 of file musicfileassociationwidget.cpp.
References MusicSettingManager::FileAssociationValue, G_SETTING_PTR, and MusicFillItemTableWidget::uncheckedIndexList().