TTKMusicPlayer
4.1.3.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the get color table widget. More...
#include <musiccolordialog.h>
Public Slots | |
void | buttonClicked (int index) |
void | colorChanged (const QColor &color) |
![]() | |
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) |
![]() | |
MusicAbstractMoveDialog (QWidget *parent=nullptr) | |
MusicAbstractMoveDialog (bool transparent, QWidget *parent=nullptr) | |
~MusicAbstractMoveDialog () | |
![]() | |
TTKAbstractMoveDialog (QWidget *parent=nullptr) | |
TTKAbstractMoveDialog (bool transparent, QWidget *parent=nullptr) | |
void | drawWindowShadow (bool show) |
void | blockOption (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 | |
![]() | |
void | setBackgroundPixmap (const QSize &size) |
MusicWidgetRenderer () | |
void | setBackgroundLabel (QLabel *label) |
The class of the get color table widget.
Definition at line 144 of file musiccolordialog.h.
|
explicit |
Object constructor.
Definition at line 255 of file musiccolordialog.cpp.
References buttonClicked(), colorChanged(), m_ui, TTK::UI::PushButtonStyle04, QtButtonGroupConnect, MusicWidgetRenderer::setBackgroundLabel(), TTK::UI::ToolButtonStyle04, and TTK_SLOT.
|
explicit |
Definition at line 292 of file musiccolordialog.cpp.
References setColor().
MusicColorDialog::~MusicColorDialog | ( | ) |
|
slot |
Confirm or cancal button clicked, set the state.
Definition at line 324 of file musiccolordialog.cpp.
Referenced by MusicColorDialog().
QColor MusicColorDialog::color | ( | ) | const |
Get color.
Definition at line 312 of file musiccolordialog.cpp.
References m_color.
Referenced by MusicLrcColorWidget::addButtonClicked(), colorChanged(), MusicLrcColorWidget::modifyButtonClicked(), popup(), and setColor().
|
slot |
Current color has changed.
Definition at line 335 of file musiccolordialog.cpp.
References color(), and m_color.
Referenced by MusicColorDialog().
|
static |
Get color static function.
Definition at line 306 of file musiccolordialog.cpp.
References color(), and MusicAbstractMoveDialog::exec().
Referenced by ToolSkin::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().
|
private |
Definition at line 185 of file musiccolordialog.h.
Referenced by color(), colorChanged(), and setColor().
|
private |
Definition at line 184 of file musiccolordialog.h.
Referenced by MusicColorDialog(), setColor(), and ~MusicColorDialog().