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 lrc float widget. More...
#include <musiclrcfloatwidget.h>
Public Slots | |
void | showArtistPhotoWidget () |
void | showFloatSettingWidget () |
void | closeFloatSettingWidget () |
void | wallpaperButtonClicked () |
Public Member Functions | |
MusicLrcFloatWidget (QWidget *parent=nullptr) | |
~MusicLrcFloatWidget () | |
void | resizeGeometry (int width, int height) |
![]() | |
MusicAbstractFloatWidget (QWidget *parent=nullptr) | |
~MusicAbstractFloatWidget () | |
void | setBlockAnimation (bool b) |
Private Attributes | |
QPushButton * | m_moreButton |
QPushButton * | m_updateButton |
QPushButton * | m_searchButton |
QPushButton * | m_wallpaperButton |
QPushButton * | m_photoButton |
MusicLrcFloatPhotoWidget * | m_floatPhotoWidget |
MusicLrcFloatSettingWidget * | m_floatSettingWidget |
Additional Inherited Members | |
![]() | |
virtual void | enterEvent (QtEnterEvent *event) override |
virtual void | leaveEvent (QEvent *event) override |
virtual void | contextMenuEvent (QContextMenuEvent *) overridefinal |
virtual void | mousePressEvent (QMouseEvent *) overridefinal |
virtual void | mouseMoveEvent (QMouseEvent *) overridefinal |
virtual void | mouseReleaseEvent (QMouseEvent *) overridefinal |
void | animationEnter () |
void | animationLeave () |
![]() | |
QPropertyAnimation * | m_animation |
QRect | m_rectEnter |
QRect | m_rectLeave |
bool | m_blockAnimation |
The class of the lrc float widget.
Definition at line 31 of file musiclrcfloatwidget.h.
|
explicit |
Object constructor.
Definition at line 9 of file musiclrcfloatwidget.cpp.
References TTK::UI::BackgroundStyle05, closeFloatSettingWidget(), TTK::UI::InteriorFloatMore, TTK::UI::InteriorFloatPhoto, TTK::UI::InteriorFloatSearch, TTK::UI::InteriorFloatUpdate, TTK::UI::InteriorFloatWallpaper, m_floatPhotoWidget, m_floatSettingWidget, m_moreButton, m_photoButton, m_searchButton, m_updateButton, m_wallpaperButton, TTK::UI::PushButtonStyle01, TTK::UI::PushButtonStyle07, resizeGeometry(), showArtistPhotoWidget(), showFloatSettingWidget(), and wallpaperButtonClicked().
MusicLrcFloatWidget::~MusicLrcFloatWidget | ( | ) |
Object destructor.
Definition at line 64 of file musiclrcfloatwidget.cpp.
References m_floatPhotoWidget, m_floatSettingWidget, m_moreButton, m_photoButton, m_searchButton, m_updateButton, and m_wallpaperButton.
|
slot |
Close float setting widget.
Definition at line 100 of file musiclrcfloatwidget.cpp.
References m_floatSettingWidget, and MusicAbstractFloatWidget::setBlockAnimation().
Referenced by MusicLrcFloatWidget().
Resize geometry bound by given width and height.
Definition at line 75 of file musiclrcfloatwidget.cpp.
References m_floatPhotoWidget, m_floatSettingWidget, MusicAbstractFloatWidget::m_rectEnter, MusicAbstractFloatWidget::m_rectLeave, MusicLrcFloatSettingWidget::resizeGeometry(), and MusicLrcFloatPhotoWidget::resizeGeometry().
Referenced by MusicLrcFloatWidget(), and MusicLrcContainerForInterior::resizeWidth().
|
slot |
Show artist photo widget.
Definition at line 85 of file musiclrcfloatwidget.cpp.
References m_floatPhotoWidget, and MusicLrcFloatPhotoWidget::show().
Referenced by MusicLrcFloatWidget().
|
slot |
Show float setting widget.
Definition at line 93 of file musiclrcfloatwidget.cpp.
References MusicAbstractFloatWidget::animationLeave(), m_floatSettingWidget, MusicAbstractFloatWidget::setBlockAnimation(), and MusicLrcFloatSettingWidget::show().
Referenced by MusicLrcFloatWidget().
|
slot |
Lrc desktop wallpaper button clicked.
Definition at line 106 of file musiclrcfloatwidget.cpp.
References MusicRightAreaWidget::containerForWallpaperClicked(), MusicBottomAreaWidget::instance(), MusicRightAreaWidget::instance(), TTK::UI::InteriorFloatWallpaper, TTK::UI::InteriorFloatWallpaperOn, MusicBottomAreaWidget::lrcWidgetShowFullScreen(), m_wallpaperButton, TTK::UI::PushButtonStyle01, TTK::UI::PushButtonStyle07, and TTK::UI::PushButtonStyle11.
Referenced by MusicLrcFloatWidget().
|
private |
Definition at line 71 of file musiclrcfloatwidget.h.
Referenced by MusicLrcFloatWidget(), resizeGeometry(), showArtistPhotoWidget(), and ~MusicLrcFloatWidget().
|
private |
Definition at line 72 of file musiclrcfloatwidget.h.
Referenced by closeFloatSettingWidget(), MusicLrcFloatWidget(), resizeGeometry(), showFloatSettingWidget(), and ~MusicLrcFloatWidget().
|
private |
Definition at line 69 of file musiclrcfloatwidget.h.
Referenced by MusicLrcFloatWidget(), and ~MusicLrcFloatWidget().
|
private |
Definition at line 70 of file musiclrcfloatwidget.h.
Referenced by MusicLrcFloatWidget(), and ~MusicLrcFloatWidget().
|
private |
Definition at line 69 of file musiclrcfloatwidget.h.
Referenced by MusicLrcFloatWidget(), and ~MusicLrcFloatWidget().
|
private |
Definition at line 69 of file musiclrcfloatwidget.h.
Referenced by MusicLrcFloatWidget(), and ~MusicLrcFloatWidget().
|
private |
Definition at line 70 of file musiclrcfloatwidget.h.
Referenced by MusicLrcFloatWidget(), wallpaperButtonClicked(), and ~MusicLrcFloatWidget().