|
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 download file exist widget. More...
#include <musicdownloadmgmtwidget.h>
Inheritance diagram for MusicDownloadResetWidget:Public Slots | |
| void | restartToRequest () |
| void | openFileLocation () |
Public Slots inherited from MusicAbstractMoveWidget | |
| void | backgroundChanged () |
| void | show () |
Public Member Functions | |
| MusicDownloadResetWidget (QWidget *parent=nullptr) | |
| ~MusicDownloadResetWidget () | |
| void | initialize (const QString &name) |
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) noexcept |
| void | blockOption (bool block) noexcept |
Private Attributes | |
| Ui::MusicDownloadResetWidget * | m_ui |
| QWidget * | m_parent |
| QString | m_currentName |
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) noexcept |
Protected Attributes inherited from TTKAbstractMoveWidget | |
| 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 download 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().
1.8.8