TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Public Slots | Signals | Public Member Functions | Private Attributes | List of all members
MusicDownloadResetWidget Class Reference

The class of the download file exist widget. More...

#include <musicdownloadmgmtwidget.h>

+ Inheritance diagram for MusicDownloadResetWidget:

Public Slots

void restartToRequest ()
 
void openDetailInfo ()
 
void openFileLocation ()
 
- Public Slots inherited from MusicAbstractMoveWidget
void backgroundChanged ()
 
void show ()
 

Signals

void openStackedDownloadWidget ()
 

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)
 
void blockMoveOption (bool block)
 

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)
 
- Protected Attributes inherited from TTKAbstractMoveWidget
QPoint m_pressAt
 
bool m_moveOption
 
bool m_showShadow
 
bool m_leftButtonPress
 

Detailed Description

The class of the download file exist widget.

Author
Greedysky greed.nosp@m.ysky.nosp@m.@163..nosp@m.com

Definition at line 32 of file musicdownloadmgmtwidget.h.

Constructor & Destructor Documentation

MusicDownloadResetWidget::MusicDownloadResetWidget ( QWidget *  parent = nullptr)
explicit
MusicDownloadResetWidget::~MusicDownloadResetWidget ( )

Object destructor.

Definition at line 40 of file musicdownloadmgmtwidget.cpp.

References m_ui.

Member Function Documentation

void MusicDownloadResetWidget::initialize ( const QString &  name)

Set current name to search and download data.

Definition at line 45 of file musicdownloadmgmtwidget.cpp.

References m_currentName, and name.

Referenced by MusicDownloadMgmtWidget::initialize().

void MusicDownloadResetWidget::openDetailInfo ( )
slot

Open file details information by song.

Definition at line 59 of file musicdownloadmgmtwidget.cpp.

References openStackedDownloadWidget().

Referenced by MusicDownloadResetWidget().

void MusicDownloadResetWidget::openFileLocation ( )
slot

Open file location in dir.

Definition at line 65 of file musicdownloadmgmtwidget.cpp.

References MusicApplication::containsDownloadItem(), MusicApplication::instance(), and TTK::Url::openUrl().

Referenced by MusicDownloadResetWidget().

void MusicDownloadResetWidget::openStackedDownloadWidget ( )
signal

To open stacked download widget once.

Referenced by MusicDownloadResetWidget(), and openDetailInfo().

void MusicDownloadResetWidget::restartToRequest ( )
slot

Member Data Documentation

QString MusicDownloadResetWidget::m_currentName
private

Definition at line 75 of file musicdownloadmgmtwidget.h.

Referenced by initialize(), and restartToRequest().

QWidget* MusicDownloadResetWidget::m_parent
private

Definition at line 74 of file musicdownloadmgmtwidget.h.

Referenced by restartToRequest().

Ui::MusicDownloadResetWidget* MusicDownloadResetWidget::m_ui
private

The documentation for this class was generated from the following files: