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 tool sets widget. More...
#include <musictoolsetswidget.h>
Public Slots | |
void | currentItemClicked (QListWidgetItem *item) |
void | addCelltItems () |
![]() | |
void | backgroundChanged () |
void | show () |
Public Member Functions | |
MusicToolSetsWidget (QWidget *parent=nullptr) | |
~MusicToolSetsWidget () | |
![]() | |
MusicAbstractMoveWidget (QWidget *parent=nullptr) | |
MusicAbstractMoveWidget (bool transparent, QWidget *parent=nullptr) | |
~MusicAbstractMoveWidget () | |
![]() | |
TTKAbstractMoveWidget (QWidget *parent=nullptr) | |
TTKAbstractMoveWidget (bool transparent, QWidget *parent=nullptr) | |
void | drawWindowShadow (bool show) |
void | blockOption (bool block) |
Private Member Functions | |
void | clear () |
virtual void | contextMenuEvent (QContextMenuEvent *event) overridefinal |
Private Attributes | |
Ui::MusicToolSetsWidget * | m_ui |
Additional Inherited Members | |
![]() | |
virtual void | paintEvent (QPaintEvent *event) override |
virtual void | mousePressEvent (QMouseEvent *event) override |
virtual void | mouseMoveEvent (QMouseEvent *event) override |
virtual void | mouseReleaseEvent (QMouseEvent *event) override |
![]() | |
void | setBackgroundPixmap (const QSize &size) |
MusicWidgetRenderer () | |
void | setBackgroundLabel (QLabel *label) |
![]() | |
QPoint | m_mousePressedAt |
bool | m_blockOption |
bool | m_shadowOption |
bool | m_mouseLeftPressed |
The class of the tool sets widget.
Definition at line 32 of file musictoolsetswidget.h.
|
explicit |
Object constructor.
Definition at line 13 of file musictoolsetswidget.cpp.
References addCelltItems(), currentItemClicked(), TTK::UI::ListWidgetStyle02, m_ui, TTK::UI::ScrollBarStyle01, MusicWidgetRenderer::setBackgroundLabel(), and TTK::UI::ToolButtonStyle04.
MusicToolSetsWidget::~MusicToolSetsWidget | ( | ) |
Object destructor.
Definition at line 41 of file musictoolsetswidget.cpp.
References clear(), m_ui, and TTKRemoveSingleWidget.
|
slot |
Add tool sets list into list widget.
Definition at line 48 of file musictoolsetswidget.cpp.
References TTK::UI::Color01, m_ui, name, qAsConst, and TTK_DECLARE_LIST.
Referenced by MusicToolSetsWidget().
|
private |
Clear All Items.
Definition at line 150 of file musictoolsetswidget.cpp.
References m_ui.
Referenced by ~MusicToolSetsWidget().
|
finaloverrideprivatevirtual |
Override the widget event.
Definition at line 155 of file musictoolsetswidget.cpp.
References currentItemClicked(), and m_ui.
|
slot |
Tool sets list item has clicked.
Definition at line 86 of file musictoolsetswidget.cpp.
References MusicApplication::currentPlaylist(), MusicAbstractMoveDialog::exec(), MusicTransformWidget::exec(), MusicSongRingtoneMaker::exec(), MusicRightAreaWidget::functionClicked(), MusicRightAreaWidget::IndentifyWidget, MusicApplication::instance(), MusicRightAreaWidget::instance(), m_ui, MusicRightAreaWidget::PlaylistBackupWidget, MusicRightAreaWidget::ScreenSaverWidget, MusicTimerWidget::setSongStringList(), and TTKGenerateSingleWidget.
Referenced by contextMenuEvent(), and MusicToolSetsWidget().
|
private |
Definition at line 66 of file musictoolsetswidget.h.
Referenced by addCelltItems(), clear(), contextMenuEvent(), currentItemClicked(), MusicToolSetsWidget(), and ~MusicToolSetsWidget().