|
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 list table widget. More...
#include <musicsettingwidget.h>
Inheritance diagram for MusicFunctionTableWidget:Public Slots | |
| virtual void | itemCellClicked (int row, int column) overridefinal |
Public Slots inherited from TTKAbstractTableWidget | |
| virtual void | itemCellEntered (int row, int column) |
| virtual void | itemCellClicked (int row, int column) |
| virtual void | removeItems () |
Signals | |
| void | currentIndexChanged (int index) |
Public Member Functions | |
| MusicFunctionTableWidget (QWidget *parent=nullptr) | |
| void | addCellItems (int index, const MusicFunctionItemList &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 |
Private Attributes | |
| int | m_listIndex |
Additional Inherited Members | |
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 list table widget.
Definition at line 53 of file musicsettingwidget.h.
|
explicit |
Object constructor.
Definition at line 32 of file musicsettingwidget.cpp.
Add table list items by index and icons and paths.
Definition at line 46 of file musicsettingwidget.cpp.
References TTK::UI::Color02, MusicFunctionItem::m_icon, m_listIndex, MusicFunctionItem::m_name, and QtItemSetTextAlignment.
|
signal |
Current list index changed.
Referenced by itemCellClicked().
Table widget item cell click.
Definition at line 69 of file musicsettingwidget.cpp.
References currentIndexChanged(), and m_listIndex.
|
private |
Definition at line 81 of file musicsettingwidget.h.
Referenced by addCellItems(), and itemCellClicked().
1.8.8