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

The class of the get color table widget. More...

#include <musiccolordialog.h>

+ Inheritance diagram for MusicColorDialog:

Public Slots

void buttonClicked (int index)
 
void colorChanged (const QColor &color)
 
- Public Slots inherited from MusicAbstractMoveDialog
void backgroundChanged ()
 
virtual int exec ()
 
void show ()
 

Public Member Functions

 MusicColorDialog (QWidget *parent=nullptr)
 
 MusicColorDialog (const QColor &color, QWidget *parent=nullptr)
 
 ~MusicColorDialog ()
 
QColor color () const
 
void setColor (const QColor &color)
 
- 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)
 

Static Public Member Functions

static QColor popup (QWidget *parent=nullptr, const QColor &color={})
 

Private Attributes

Ui::MusicColorDialog * m_ui
 
QColor m_color
 

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 get color table widget.

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

Definition at line 144 of file musiccolordialog.h.

Constructor & Destructor Documentation

MusicColorDialog::MusicColorDialog ( QWidget *  parent = nullptr)
explicit
MusicColorDialog::MusicColorDialog ( const QColor &  color,
QWidget *  parent = nullptr 
)
explicit

Definition at line 292 of file musiccolordialog.cpp.

References setColor().

MusicColorDialog::~MusicColorDialog ( )

Object destructor.

Definition at line 301 of file musiccolordialog.cpp.

References m_ui.

Member Function Documentation

void MusicColorDialog::buttonClicked ( int  index)
slot

Confirm or cancal button clicked, set the state.

Definition at line 324 of file musiccolordialog.cpp.

Referenced by MusicColorDialog().

QColor MusicColorDialog::color ( ) const
void MusicColorDialog::colorChanged ( const QColor &  color)
slot

Current color has changed.

Definition at line 335 of file musiccolordialog.cpp.

References color(), and m_color.

Referenced by MusicColorDialog().

QColor MusicColorDialog::popup ( QWidget *  parent = nullptr,
const QColor &  color = {} 
)
static

Get color static function.

Definition at line 306 of file musiccolordialog.cpp.

References color(), and MusicAbstractMoveDialog::exec().

Referenced by ToolsSkin::paletteClicked(), and MusicBackgroundPaletteWidget::showPaletteDialog().

void MusicColorDialog::setColor ( const QColor &  color)

Get color.

Definition at line 317 of file musiccolordialog.cpp.

References color(), m_color, and m_ui.

Referenced by MusicColorDialog().

Member Data Documentation

QColor MusicColorDialog::m_color
private

Definition at line 185 of file musiccolordialog.h.

Referenced by color(), colorChanged(), and setColor().

Ui::MusicColorDialog* MusicColorDialog::m_ui
private

Definition at line 184 of file musiccolordialog.h.

Referenced by MusicColorDialog(), setColor(), and ~MusicColorDialog().


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