|
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 download batch table widget. More...
#include <musicdownloadbatchwidget.h>
Inheritance diagram for MusicDownloadBatchTableWidget:Public Slots | |
| virtual void | removeItems () overridefinal |
| void | currentQualityChanged (int index) |
| void | startToRequest () |
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 | |
| MusicDownloadBatchTableWidget (QWidget *parent=nullptr) | |
| ~MusicDownloadBatchTableWidget () | |
| void | addCellItem (MusicAbstractQueryRequest *request, const TTK::MusicSongInformation &info) |
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 | |
| QList< MusicDownloadBatchTableItem * > | m_items |
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 download batch table widget.
Definition at line 94 of file musicdownloadbatchwidget.h.
|
explicit |
Object constructor.
Definition at line 151 of file musicdownloadbatchwidget.cpp.
References TTK::UI::ScrollBarStyle01, TTK::Widget::setTransparent(), and TTK::UI::TableWidgetStyle02.
| MusicDownloadBatchTableWidget::~MusicDownloadBatchTableWidget | ( | ) |
Object destructor.
Definition at line 168 of file musicdownloadbatchwidget.cpp.
References removeItems().
| void MusicDownloadBatchTableWidget::addCellItem | ( | MusicAbstractQueryRequest * | request, |
| const TTK::MusicSongInformation & | info | ||
| ) |
Create cell item by input data.
Definition at line 173 of file musicdownloadbatchwidget.cpp.
References MusicDownloadBatchTableItem::addCellItem(), m_items, and TTK_ITEM_SIZE_S.
|
slot |
Table widget item cell click.
Definition at line 197 of file musicdownloadbatchwidget.cpp.
|
finaloverridevirtualslot |
Remove all items.
Definition at line 188 of file musicdownloadbatchwidget.cpp.
References m_items, and TTKAbstractTableWidget::removeItems().
Referenced by ~MusicDownloadBatchTableWidget().
|
slot |
Start to download data.
Definition at line 205 of file musicdownloadbatchwidget.cpp.
|
private |
Definition at line 128 of file musicdownloadbatchwidget.h.
Referenced by addCellItem(), currentQualityChanged(), removeItems(), and startToRequest().
1.8.8