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 local manager statistic table widget. More...
#include <musiclocalmanagerwidget.h>
Public Member Functions | |
MusicLocalManagerStatisticTableWidget (QWidget *parent=nullptr) | |
~MusicLocalManagerStatisticTableWidget () | |
void | addCellItem (const MusicSongStatisticItem &song) |
void | resizeSection () const |
![]() | |
MusicAbstractTableWidget (QWidget *parent=nullptr) | |
![]() | |
TTKAbstractTableWidget (QWidget *parent=nullptr) | |
~TTKAbstractTableWidget () | |
TTKIntList | selectedIndexList () const |
Additional Inherited Members | |
![]() | |
virtual void | itemCellEntered (int row, int column) |
virtual void | itemCellClicked (int row, int column) |
virtual void | removeItems () |
![]() | |
virtual void | leaveEvent (QEvent *event) override |
void | setRowColor (int row, const QColor &color) const |
bool | isValid () const |
![]() | |
int | m_previousColorRow |
int | m_previousClickRow |
QColor | m_backgroundColor |
The class of the local manager statistic table widget.
Definition at line 45 of file musiclocalmanagerwidget.h.
|
explicit |
Object constructor.
Definition at line 51 of file musiclocalmanagerwidget.cpp.
References TTK::UI::ScrollBarStyle04.
MusicLocalManagerStatisticTableWidget::~MusicLocalManagerStatisticTableWidget | ( | ) |
Object destructor.
Definition at line 71 of file musiclocalmanagerwidget.cpp.
References TTKAbstractTableWidget::removeItems().
void MusicLocalManagerStatisticTableWidget::addCellItem | ( | const MusicSongStatisticItem & | song | ) |
Create cell items by input data.
Definition at line 76 of file musiclocalmanagerwidget.cpp.
References QtItemSetTextAlignment.
Referenced by MusicLocalManagerWidget::updateStatisticWidget().
void MusicLocalManagerStatisticTableWidget::resizeSection | ( | ) | const |
Resize section bound by resize called.
Definition at line 97 of file musiclocalmanagerwidget.cpp.
References G_SETTING_PTR, MusicSettingManager::WidgetSize, and WINDOW_WIDTH_MIN.
Referenced by MusicLocalManagerWidget::resizeWidget().