TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
MusicLocalManagerWidget Class Reference

The class of the local manager widget. More...

#include <musiclocalmanagerwidget.h>

+ Inheritance diagram for MusicLocalManagerWidget:

Signals

void addSongToPlaylist (const QStringList &items)
 

Public Member Functions

 MusicLocalManagerWidget (QWidget *parent=nullptr)
 
 ~MusicLocalManagerWidget ()
 
virtual void resizeWidget () overridefinal
 
- Public Member Functions inherited from TTKAbstractResizeInterface
virtual ~TTKAbstractResizeInterface ()=default
 

Private Slots

void typeIndexChanged (int index)
 
void refreshItems ()
 
void updateMediaLibraryPath ()
 
void searchResultChanged (int row, int column)
 
void itemDoubleClicked (int row, int column)
 

Private Member Functions

virtual void resizeEvent (QResizeEvent *event) overridefinal
 
void updateStatisticWidget (int index, const MusicSongInfoItemList &items)
 
- Private Member Functions inherited from MusicItemSearchInterface< MusicSongInfoItemList >
 MusicItemSearchInterface ()
 
bool hasSearchResult () const
 
void clearSearchResult ()
 
void mappedSearchRow (int pos, int &row) const
 

Private Attributes

QLabel * m_sizeLabel
 
TTKTabButtonm_tabButton
 
MusicItemQueryEditm_searchEdit
 
MusicGifLabelValueWidgetm_loadingLabel
 
MusicLocalManagerSongsTableWidgetm_songTableWidget
 
MusicLocalManagerStatisticTableWidgetm_statisticTableWidget
 
- Private Attributes inherited from MusicItemSearchInterface< MusicSongInfoItemList >
MusicSongInfoItemList m_containerItems
 
int m_searchResultLevel
 
TTKSearchItems m_searchResultItems
 

Additional Inherited Members

- Private Types inherited from MusicItemSearchInterface< MusicSongInfoItemList >
using TTKSearchItems = QMap< int, TTKIntList >
 
using MusicItemSearchInterfaceClass = MusicItemSearchInterface< MusicSongInfoItemList >
 

Detailed Description

The class of the local manager widget.

Author
Greedysky greed.nosp@m.ysky.nosp@m.@163..nosp@m.com

Definition at line 117 of file musiclocalmanagerwidget.h.

Constructor & Destructor Documentation

MusicLocalManagerWidget::MusicLocalManagerWidget ( QWidget *  parent = nullptr)
explicit
MusicLocalManagerWidget::~MusicLocalManagerWidget ( )

Member Function Documentation

void MusicLocalManagerWidget::addSongToPlaylist ( const QStringList &  items)
signal

Add current selected song to playlist.

Referenced by itemDoubleClicked().

void MusicLocalManagerWidget::itemDoubleClicked ( int  row,
int  column 
)
privateslot
void MusicLocalManagerWidget::refreshItems ( )
privateslot
void MusicLocalManagerWidget::resizeEvent ( QResizeEvent *  event)
finaloverrideprivatevirtual

Override the widget event.

Definition at line 490 of file musiclocalmanagerwidget.cpp.

References resizeWidget().

void MusicLocalManagerWidget::resizeWidget ( )
finaloverridevirtual
void MusicLocalManagerWidget::searchResultChanged ( int  row,
int  column 
)
privateslot
void MusicLocalManagerWidget::typeIndexChanged ( int  index)
privateslot
void MusicLocalManagerWidget::updateMediaLibraryPath ( )
privateslot
void MusicLocalManagerWidget::updateStatisticWidget ( int  index,
const MusicSongInfoItemList &  items 
)
private

Member Data Documentation

MusicGifLabelValueWidget* MusicLocalManagerWidget::m_loadingLabel
private
MusicItemQueryEdit* MusicLocalManagerWidget::m_searchEdit
private
QLabel* MusicLocalManagerWidget::m_sizeLabel
private
MusicLocalManagerSongsTableWidget* MusicLocalManagerWidget::m_songTableWidget
private
MusicLocalManagerStatisticTableWidget* MusicLocalManagerWidget::m_statisticTableWidget
private
TTKTabButton* MusicLocalManagerWidget::m_tabButton
private

The documentation for this class was generated from the following files: