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
MusicMessageBox Class Reference

The class of the messagebox widget. More...

#include <musicmessagebox.h>

+ Inheritance diagram for MusicMessageBox:

Public Slots

void buttonClicked (int index)
 
- Public Slots inherited from MusicAbstractMoveDialog
void backgroundChanged ()
 
virtual int exec ()
 
void show ()
 

Public Member Functions

 MusicMessageBox (QWidget *parent=nullptr)
 
 MusicMessageBox (const QString &text, QWidget *parent=nullptr)
 
 MusicMessageBox (const QString &title, const QString &text, QWidget *parent=nullptr)
 
 ~MusicMessageBox ()
 
void setTitle (const QString &text) const
 
QString title () const
 
void setText (const QString &text) const
 
QString text () const
 
- Public Member Functions inherited from MusicAbstractMoveDialog
 MusicAbstractMoveDialog (QWidget *parent=nullptr)
 
 MusicAbstractMoveDialog (bool transparent, QWidget *parent=nullptr)
 
 ~MusicAbstractMoveDialog ()
 
- Public Member Functions inherited from TTKAbstractMoveDialog
 TTKAbstractMoveDialog (QWidget *parent=nullptr)
 
 TTKAbstractMoveDialog (bool transparent, QWidget *parent=nullptr)
 
void drawWindowShadow (bool show)
 
void blockMoveOption (bool block)
 

Private Attributes

Ui::MusicMessageBox * m_ui
 

Additional Inherited Members

- Protected Member Functions inherited from MusicWidgetRenderer
void setBackgroundPixmap (const QSize &size)
 
 MusicWidgetRenderer ()
 
void setBackgroundLabel (QLabel *label)
 

Detailed Description

The class of the messagebox widget.

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

Definition at line 31 of file musicmessagebox.h.

Constructor & Destructor Documentation

MusicMessageBox::MusicMessageBox ( QWidget *  parent = nullptr)
explicit
MusicMessageBox::MusicMessageBox ( const QString &  text,
QWidget *  parent = nullptr 
)
explicit

Definition at line 36 of file musicmessagebox.cpp.

References setText().

MusicMessageBox::MusicMessageBox ( const QString &  title,
const QString &  text,
QWidget *  parent = nullptr 
)

Definition at line 42 of file musicmessagebox.cpp.

References setTitle().

MusicMessageBox::~MusicMessageBox ( )

Object destructor.

Definition at line 48 of file musicmessagebox.cpp.

References m_ui.

Member Function Documentation

void MusicMessageBox::buttonClicked ( int  index)
slot

Confirm or cancal button clicked, set the state.

Definition at line 73 of file musicmessagebox.cpp.

Referenced by MusicMessageBox().

void MusicMessageBox::setText ( const QString &  text) const
void MusicMessageBox::setTitle ( const QString &  text) const

Set box title.

Definition at line 53 of file musicmessagebox.cpp.

References m_ui.

Referenced by MusicMessageBox().

QString MusicMessageBox::text ( ) const

Get context text.

Definition at line 68 of file musicmessagebox.cpp.

References m_ui.

QString MusicMessageBox::title ( ) const

Get box title.

Definition at line 58 of file musicmessagebox.cpp.

References m_ui.

Member Data Documentation

Ui::MusicMessageBox* MusicMessageBox::m_ui
private

Definition at line 72 of file musicmessagebox.h.

Referenced by MusicMessageBox(), setText(), setTitle(), text(), title(), and ~MusicMessageBox().


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