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 download file exist widget. More...
#include <musicdownloadmgmtwidget.h>
Public Slots | |
void | restartToRequest () |
void | openFileLocation () |
![]() | |
void | backgroundChanged () |
void | show () |
Public Member Functions | |
MusicDownloadResetWidget (QWidget *parent=nullptr) | |
~MusicDownloadResetWidget () | |
void | initialize (const QString &name) |
![]() | |
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 | |
Ui::MusicDownloadResetWidget * | m_ui |
QWidget * | m_parent |
QString | m_currentName |
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) |
![]() | |
QPoint | m_mousePressedAt |
bool | m_blockOption |
bool | m_shadowOption |
bool | m_mouseLeftPressed |
The class of the download file exist widget.
Definition at line 31 of file musicdownloadmgmtwidget.h.
|
explicit |
Object constructor.
Definition at line 7 of file musicdownloadmgmtwidget.cpp.
References TTK::Widget::adjustWidgetPosition(), m_ui, openFileLocation(), TTK::UI::PushButtonStyle03, restartToRequest(), MusicWidgetRenderer::setBackgroundLabel(), and TTK::UI::ToolButtonStyle04.
MusicDownloadResetWidget::~MusicDownloadResetWidget | ( | ) |
void MusicDownloadResetWidget::initialize | ( | const QString & | name | ) |
Set current name to search and download data.
Definition at line 42 of file musicdownloadmgmtwidget.cpp.
References m_currentName, and name.
Referenced by MusicDownloadMgmtWidget::initialize().
|
slot |
Open file location in dir.
Definition at line 56 of file musicdownloadmgmtwidget.cpp.
References MusicApplication::containsDownloadItem(), MusicApplication::instance(), and TTK::Url::openUrl().
Referenced by MusicDownloadResetWidget().
|
slot |
Restart to dwonload music data.
Definition at line 47 of file musicdownloadmgmtwidget.cpp.
References MusicDownloadWidget::initialize(), m_currentName, m_parent, and MusicAbstractMoveWidget::show().
Referenced by MusicDownloadResetWidget().
|
private |
Definition at line 64 of file musicdownloadmgmtwidget.h.
Referenced by initialize(), and restartToRequest().
|
private |
Definition at line 63 of file musicdownloadmgmtwidget.h.
Referenced by restartToRequest().
|
private |
Definition at line 61 of file musicdownloadmgmtwidget.h.
Referenced by MusicDownloadResetWidget(), and ~MusicDownloadResetWidget().