|
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 file association item selected table widget. More...
#include <musicfileassociationwidget.h>
Inheritance diagram for MusicFileAssociationTableWidget:Public Slots | |
| virtual void | itemCellClicked (int row, int column) override |
| void | checkedItemsStatus (bool checked) |
Public Slots inherited from MusicFillItemTableWidget | |
| virtual void | itemCellClicked (int row, int column) override |
| void | checkedItemsState (bool checked) |
| void | checkedItemsStatus (bool checked) |
Public Slots inherited from TTKAbstractTableWidget | |
| 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 | save () const |
Public Member Functions inherited from MusicFillItemTableWidget | |
| MusicFillItemTableWidget (QWidget *parent=nullptr) | |
| ~MusicFillItemTableWidget () | |
| TTKIntList | checkedIndexList () const |
| TTKIntList | uncheckedIndexList () const |
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 Member Functions | |
| void | addCellItems () |
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 MusicFillItemTableWidget | |
| TTKCheckBoxItemDelegate * | m_checkBoxDelegate |
Protected Attributes inherited from TTKAbstractTableWidget | |
| int | m_previousColorRow |
| int | m_previousClickRow |
| QColor | m_backgroundColor |
The class of the file association 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::save | ( | ) | const |
Save data items.
Definition at line 25 of file musicfileassociationwidget.cpp.
References MusicSettingManager::FileAssociationValue, G_SETTING_PTR, and MusicFillItemTableWidget::uncheckedIndexList().
1.8.8