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 more functions popup widget. More...
#include <musicmorefunctionspopwidget.h>
Public Member Functions | |
MusicMoreFunctionsPopWidget (QWidget *parent=nullptr) | |
void | setCurrentSongName (const QString &name) |
![]() | |
MusicToolMenuWidget (QWidget *parent=nullptr) | |
~MusicToolMenuWidget () | |
void | setTranslucentBackground () |
Private Slots | |
void | functionClicked (QAction *index) |
Private Member Functions | |
void | initialize () |
Private Attributes | |
QString | m_currentSongName |
Additional Inherited Members | |
![]() | |
virtual void | popupMenu () |
![]() | |
MusicToolMenu * | m_menu |
QWidget * | m_containWidget |
The class of the more functions popup widget.
Definition at line 27 of file musicmorefunctionspopwidget.h.
|
explicit |
Object constructor.
Definition at line 4 of file musicmorefunctionspopwidget.cpp.
References initialize().
|
privateslot |
Function button clicked.
Definition at line 15 of file musicmorefunctionspopwidget.cpp.
References MusicRightAreaWidget::AdvancedSearchWidget, MusicRightAreaWidget::functionClicked(), MusicRightAreaWidget::instance(), m_currentSongName, MusicRightAreaWidget::showAlbumFound(), MusicRightAreaWidget::showArtistFound(), MusicRightAreaWidget::showCommentsFound(), MusicRightAreaWidget::showSimilarFound(), and MusicRightAreaWidget::SongDailyWidget.
Referenced by initialize().
|
private |
Create all widget in layout.
Definition at line 29 of file musicmorefunctionspopwidget.cpp.
References functionClicked(), MusicToolMenuWidget::m_containWidget, MusicToolMenuWidget::m_menu, and MusicToolMenuWidget::setTranslucentBackground().
Referenced by MusicMoreFunctionsPopWidget().
void MusicMoreFunctionsPopWidget::setCurrentSongName | ( | const QString & | name | ) |
Set current song name.
Definition at line 10 of file musicmorefunctionspopwidget.cpp.
References m_currentSongName, and name.
|
private |
Definition at line 54 of file musicmorefunctionspopwidget.h.
Referenced by functionClicked(), and setCurrentSongName().