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 application upgrade notify widget. More...
#include <musicsourceupdatewidget.h>
Public Slots | |
void | updateSourceClicked () |
void | downLoadFinished () |
![]() | |
void | backgroundChanged () |
void | show () |
Public Member Functions | |
MusicSourceUpdateNotifyWidget (QWidget *parent=nullptr) | |
~MusicSourceUpdateNotifyWidget () | |
![]() | |
MusicAbstractMovePlainWidget (QWidget *parent=nullptr) | |
MusicAbstractMovePlainWidget (bool transparent, QWidget *parent=nullptr) | |
~MusicAbstractMovePlainWidget () | |
![]() | |
MusicAbstractMoveWidget (QWidget *parent=nullptr) | |
MusicAbstractMoveWidget (bool transparent, QWidget *parent=nullptr) | |
~MusicAbstractMoveWidget () | |
![]() | |
TTKAbstractMoveWidget (QWidget *parent=nullptr) | |
TTKAbstractMoveWidget (bool transparent, QWidget *parent=nullptr) | |
void | drawWindowShadow (bool show) |
void | blockOption (bool block) |
Private Attributes | |
QLabel * | m_textLabel |
Additional Inherited Members | |
![]() | |
virtual void | paintEvent (QPaintEvent *event) override |
virtual void | mousePressEvent (QMouseEvent *event) override |
virtual void | mouseMoveEvent (QMouseEvent *event) override |
virtual void | mouseReleaseEvent (QMouseEvent *event) override |
![]() | |
void | setBackgroundPixmap (const QSize &size) |
MusicWidgetRenderer () | |
void | setBackgroundLabel (QLabel *label) |
![]() | |
QWidget * | m_container |
![]() | |
QPoint | m_mousePressedAt |
bool | m_blockOption |
bool | m_shadowOption |
bool | m_mouseLeftPressed |
The class of the application upgrade notify widget.
Definition at line 36 of file musicsourceupdatewidget.h.
|
explicit |
Object constructor.
Definition at line 11 of file musicsourceupdatewidget.cpp.
References TTK::UI::BackgroundStyle10, TTKAbstractMoveWidget::blockOption(), TTK::UI::ColorStyle03, downLoadFinished(), G_SETTING_PTR, MusicAbstractMovePlainWidget::m_container, m_textLabel, TTK::UI::PushButtonStyle04, MusicSettingManager::ScreenSize, MusicSourceUpdateRequest::startToRequest(), and updateSourceClicked().
MusicSourceUpdateNotifyWidget::~MusicSourceUpdateNotifyWidget | ( | ) |
Object destructor.
Definition at line 62 of file musicsourceupdatewidget.cpp.
References m_textLabel.
|
slot |
Download data from net finished.
Definition at line 73 of file musicsourceupdatewidget.cpp.
References TTK::Core::appVersionCheck(), m_textLabel, MusicAbstractMoveWidget::show(), TTK_VERSION_STR, TTK_WLINEFEED, TTKObjectCast, and MusicSourceUpdateRequest::version().
Referenced by MusicSourceUpdateNotifyWidget().
|
slot |
Update source clicked.
Definition at line 67 of file musicsourceupdatewidget.cpp.
References MusicSourceUpdateWidget::exec().
Referenced by MusicSourceUpdateNotifyWidget().
|
private |
Definition at line 61 of file musicsourceupdatewidget.h.
Referenced by downLoadFinished(), MusicSourceUpdateNotifyWidget(), and ~MusicSourceUpdateNotifyWidget().