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 background palette widget. More...
#include <musicbackgroundpalettewidget.h>
Public Slots | |
void | paletteColorClicked () |
void | showPaletteDialog () |
void | currentColorToFile (const QColor &color) |
void | currentColorToMemory (const QString &color) |
virtual int | exec () |
![]() | |
void | backgroundChanged () |
virtual int | exec () |
void | show () |
Signals | |
void | currentColorToFileChanged (const QString &path) |
void | currentColorToMemoryChanged (const QString &path) |
Public Member Functions | |
MusicBackgroundPaletteWidget (QWidget *parent=nullptr) | |
~MusicBackgroundPaletteWidget () | |
void | updateBackground (const QString &path) |
![]() | |
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) |
Private Attributes | |
Ui::MusicBackgroundPaletteWidget * | m_ui |
QWidgetList | m_container |
QColor | m_currentColor |
QString | m_previousBackground |
bool | m_confirmButtonClicked |
Additional Inherited Members | |
![]() | |
void | setBackgroundPixmap (const QSize &size) |
MusicWidgetRenderer () | |
void | setBackgroundLabel (QLabel *label) |
The class of the background palette widget.
Definition at line 80 of file musicbackgroundpalettewidget.h.
|
explicit |
Object constructor.
Definition at line 56 of file musicbackgroundpalettewidget.cpp.
References COLOR_COL, COLOR_ROW, currentColorToFile(), currentColorToFileChanged(), currentColorToMemory(), currentColorToMemoryChanged(), m_container, m_ui, paletteColorClicked(), TTK::UI::PushButtonStyle04, MusicBackgroundPalette::setPixmap(), showPaletteDialog(), and TTK::UI::ToolButtonStyle04.
MusicBackgroundPaletteWidget::~MusicBackgroundPaletteWidget | ( | ) |
Object destructor.
Definition at line 167 of file musicbackgroundpalettewidget.cpp.
References currentColorToMemoryChanged(), m_confirmButtonClicked, m_container, m_previousBackground, m_ui, and TTK_COLOR_FILE.
|
slot |
Current color confirm.
Definition at line 217 of file musicbackgroundpalettewidget.cpp.
References currentColorToMemory(), m_currentColor, m_ui, and TTK_COLOR_FILE.
Referenced by MusicBackgroundPaletteWidget(), and showPaletteDialog().
|
signal |
Current color path confirm changed.
Referenced by MusicBackgroundPaletteWidget(), and paletteColorClicked().
|
slot |
Current color memory confirm.
Definition at line 231 of file musicbackgroundpalettewidget.cpp.
References currentColorToMemoryChanged(), and updateBackground().
Referenced by currentColorToFile(), and MusicBackgroundPaletteWidget().
|
signal |
Current color memory confirm changed.
Referenced by currentColorToMemory(), MusicBackgroundPaletteWidget(), and ~MusicBackgroundPaletteWidget().
|
virtualslot |
Override exec function.
Definition at line 237 of file musicbackgroundpalettewidget.cpp.
References MusicAbstractMoveDialog::exec(), G_BACKGROUND_PTR, m_previousBackground, and updateBackground().
Referenced by MusicBackgroundSkinDialog::showPaletteDialog().
|
slot |
Palette color confirm.
Definition at line 192 of file musicbackgroundpalettewidget.cpp.
References currentColorToFileChanged(), m_confirmButtonClicked, m_currentColor, and TTK_COLOR_FILE.
Referenced by MusicBackgroundPaletteWidget().
|
slot |
Change index to palette dialog.
Definition at line 208 of file musicbackgroundpalettewidget.cpp.
References currentColorToFile(), m_currentColor, and MusicColorDialog::popup().
Referenced by MusicBackgroundPaletteWidget().
void MusicBackgroundPaletteWidget::updateBackground | ( | const QString & | path | ) |
Update this background when user change the current background.
Definition at line 179 of file musicbackgroundpalettewidget.cpp.
References MusicBackgroundImage::m_pix, m_ui, and MusicExtractWrapper::outputSkin().
Referenced by currentColorToMemory(), and exec().
|
private |
Definition at line 136 of file musicbackgroundpalettewidget.h.
Referenced by paletteColorClicked(), and ~MusicBackgroundPaletteWidget().
|
private |
Definition at line 133 of file musicbackgroundpalettewidget.h.
Referenced by MusicBackgroundPaletteWidget(), and ~MusicBackgroundPaletteWidget().
|
private |
Definition at line 134 of file musicbackgroundpalettewidget.h.
Referenced by currentColorToFile(), paletteColorClicked(), and showPaletteDialog().
|
private |
Definition at line 135 of file musicbackgroundpalettewidget.h.
Referenced by exec(), and ~MusicBackgroundPaletteWidget().
|
private |
Definition at line 132 of file musicbackgroundpalettewidget.h.
Referenced by currentColorToFile(), MusicBackgroundPaletteWidget(), updateBackground(), and ~MusicBackgroundPaletteWidget().