TTKMusicPlayer
3.7.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 application upgrade notify widget. More...
#include <musicsourceupdatewidget.h>
Public Slots | |
void | updateSourceClicked () |
void | downLoadFinished () |
Public Slots inherited from MusicAbstractMoveWidget | |
void | backgroundChanged () |
void | show () |
Public Member Functions | |
MusicSourceUpdateNotifyWidget (QWidget *parent=nullptr) | |
~MusicSourceUpdateNotifyWidget () | |
Public Member Functions inherited from MusicAbstractMovePlainWidget | |
MusicAbstractMovePlainWidget (QWidget *parent=nullptr) | |
MusicAbstractMovePlainWidget (bool transparent, QWidget *parent=nullptr) | |
~MusicAbstractMovePlainWidget () | |
Public Member Functions inherited from MusicAbstractMoveWidget | |
MusicAbstractMoveWidget (QWidget *parent=nullptr) | |
MusicAbstractMoveWidget (bool transparent, QWidget *parent=nullptr) | |
~MusicAbstractMoveWidget () | |
Public Member Functions inherited from TTKAbstractMoveWidget | |
TTKAbstractMoveWidget (QWidget *parent=nullptr) | |
TTKAbstractMoveWidget (bool transparent, QWidget *parent=nullptr) | |
void | drawWindowShadow (bool show) |
void | blockMoveOption (bool block) |
Private Attributes | |
QLabel * | m_textLabel |
Additional Inherited Members | |
Protected Member Functions inherited from TTKAbstractMoveWidget | |
virtual void | paintEvent (QPaintEvent *event) override |
virtual void | mousePressEvent (QMouseEvent *event) override |
virtual void | mouseMoveEvent (QMouseEvent *event) override |
virtual void | mouseReleaseEvent (QMouseEvent *event) override |
Protected Member Functions inherited from MusicWidgetRenderer | |
void | setBackgroundPixmap (const QSize &size) |
MusicWidgetRenderer () | |
void | setBackgroundLabel (QLabel *label) |
Protected Attributes inherited from MusicAbstractMovePlainWidget | |
QWidget * | m_container |
Protected Attributes inherited from TTKAbstractMoveWidget | |
QPoint | m_pressAt |
bool | m_moveOption |
bool | m_showShadow |
bool | m_leftButtonPress |
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::blockMoveOption(), 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, 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().