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 check tools rename table widget. More...
#include <musicsongchecktoolstablewidget.h>
Public Slots | |
virtual void | itemCellClicked (int row, int column) overridefinal |
![]() | |
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 | |
MusicSongCheckToolsRenameTableWidget (QWidget *parent=nullptr) | |
void | addCellItems (const MusicSongCheckToolsRenameList &items) |
![]() | |
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 | removeCurrentRow () |
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 check tools rename table widget.
Definition at line 28 of file musicsongchecktoolstablewidget.h.
|
explicit |
Object constructor.
Definition at line 12 of file musicsongchecktoolstablewidget.cpp.
References makeButtonItemDelegate().
void MusicSongCheckToolsRenameTableWidget::addCellItems | ( | const MusicSongCheckToolsRenameList & | items | ) |
Create cell items by input data.
Definition at line 32 of file musicsongchecktoolstablewidget.cpp.
References TTK::Widget::elidedText(), MusicSongCheckToolsRename::m_locaName, MusicSongCheckToolsRename::m_recommendName, QtItemSetTextAlignment, TTK_CHECKED_ROLE, and TTK_DISPLAY_ROLE.
|
finaloverridevirtualslot |
Table widget item cell click.
Definition at line 63 of file musicsongchecktoolstablewidget.cpp.
References MusicFillItemTableWidget::itemCellClicked(), and removeCurrentRow().
|
private |
Remove current selected row.
Definition at line 72 of file musicsongchecktoolstablewidget.cpp.
References TTKAbstractTableWidget::isValid().
Referenced by itemCellClicked().