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 | Public Member Functions | Private Attributes | List of all members
MusicNetworkConnectionTestWidget Class Reference

The class of the network connection test widget. More...

#include <musicnetworkconnectiontestwidget.h>

+ Inheritance diagram for MusicNetworkConnectionTestWidget:

Public Slots

void show ()
 
void buttonStateChanged ()
 
void testFinshed ()
 
- Public Slots inherited from MusicAbstractMoveWidget
void backgroundChanged ()
 
void show ()
 

Public Member Functions

 MusicNetworkConnectionTestWidget (QWidget *parent=nullptr)
 
 ~MusicNetworkConnectionTestWidget ()
 
- 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::MusicNetworkConnectionTestWidget * m_ui
 
int m_index
 
QList< MusicNetworkConnectionItem * > m_connectionItems
 

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 network connection test widget.

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

Definition at line 87 of file musicnetworkconnectiontestwidget.h.

Constructor & Destructor Documentation

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

Object destructor.

Definition at line 150 of file musicnetworkconnectiontestwidget.cpp.

References m_connectionItems, m_ui, and TTKRemoveSingleWidget.

Member Function Documentation

void MusicNetworkConnectionTestWidget::buttonStateChanged ( )
slot

Button state changed.

Definition at line 163 of file musicnetworkconnectiontestwidget.cpp.

References m_connectionItems, m_index, m_ui, and qAsConst.

Referenced by MusicNetworkConnectionTestWidget().

void MusicNetworkConnectionTestWidget::show ( )
slot

Override show function.

Definition at line 157 of file musicnetworkconnectiontestwidget.cpp.

References m_ui, and MusicAbstractMoveWidget::show().

void MusicNetworkConnectionTestWidget::testFinshed ( )
slot

Test network finished.

Definition at line 188 of file musicnetworkconnectiontestwidget.cpp.

References m_index, and m_ui.

Referenced by MusicNetworkConnectionTestWidget().

Member Data Documentation

QList<MusicNetworkConnectionItem*> MusicNetworkConnectionTestWidget::m_connectionItems
private
int MusicNetworkConnectionTestWidget::m_index
private

Definition at line 118 of file musicnetworkconnectiontestwidget.h.

Referenced by buttonStateChanged(), and testFinshed().

Ui::MusicNetworkConnectionTestWidget* MusicNetworkConnectionTestWidget::m_ui
private

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