|
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 more functions popup widget. More...
#include <musicmorefunctionspopwidget.h>
Inheritance diagram for MusicMoreFunctionsPopWidget:Public Member Functions | |
| MusicMoreFunctionsPopWidget (QWidget *parent=nullptr) | |
| void | setCurrentSongName (const QString &name) |
Public Member Functions inherited from MusicToolMenuWidget | |
| 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 | |
Public Slots inherited from MusicToolMenuWidget | |
| virtual void | popupMenu () |
Protected Attributes inherited from MusicToolMenuWidget | |
| 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().
1.8.8