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 box mask widget. More...
#include <musicsongstoolboxwidget.h>
Public Member Functions | |
MusicSongsToolBoxMaskWidget (QWidget *parent=nullptr) | |
~MusicSongsToolBoxMaskWidget () | |
![]() | |
MusicSongsToolBoxTopWidget (int index, const QString &text, QWidget *parent=nullptr) | |
~MusicSongsToolBoxTopWidget () | |
void | setSongSort (MusicSongSort *sort) |
![]() | |
MusicFunctionToolBoxTopWidget (int index, const QString &text, QWidget *parent=nullptr) | |
~MusicFunctionToolBoxTopWidget () | |
void | setIndex (int index) |
int | index () const |
bool | isActive () |
void | setExpand (bool expand) |
bool | isExpand () const |
void | setTitle (const QString &text) |
QString | title (bool suffix) |
Private Member Functions | |
virtual void | paintEvent (QPaintEvent *event) overridefinal |
Private Attributes | |
QTimer * | m_updateTimer |
Additional Inherited Members | |
![]() | |
void | deleteRowItemChanged () |
void | deleteAllItemsChanged () |
void | changRowItemNameChanged () |
void | changItemName (const QString &name) |
void | addNewFilesChanged () |
void | addNewDirChanged () |
void | exportSongsItem () |
void | showMenu () |
void | songListSortBy (QAction *action) |
void | addToPlayLater () |
void | addToPlayedList () |
![]() | |
void | addNewRowItem () |
void | deleteRowItem (int index) |
void | deleteAllItems (int index) |
void | changRowItemName (int index, const QString &name) |
void | addNewFiles (int index) |
void | addNewDir (int index) |
void | songListSortBy (int index) |
void | addToPlayLater (int index) |
void | addToPlayedList (int index) |
![]() | |
void | itemIndexChanged (int index) |
void | swapDragItemIndex (int start, int end) |
![]() | |
virtual void | dragEnterEvent (QDragEnterEvent *event) overridefinal |
virtual void | dragMoveEvent (QDragMoveEvent *event) overridefinal |
virtual void | dragLeaveEvent (QDragLeaveEvent *event) overridefinal |
virtual void | dropEvent (QDropEvent *event) overridefinal |
virtual void | mousePressEvent (QMouseEvent *event) overridefinal |
virtual void | mouseMoveEvent (QMouseEvent *event) overridefinal |
![]() | |
int | m_index |
QLabel * | m_labelIcon |
QLabel * | m_labelText |
bool | m_isDrawTopState |
bool | m_isDrawMoveState |
bool | m_isBlockMoveExpand |
bool | m_isActive |
QPoint | m_mousePressedAt |
The class of the tool box mask widget.
Definition at line 153 of file musicsongstoolboxwidget.h.
|
explicit |
Object constructor.
Definition at line 191 of file musicsongstoolboxwidget.cpp.
MusicSongsToolBoxMaskWidget::~MusicSongsToolBoxMaskWidget | ( | ) |
Object destructor.
Definition at line 206 of file musicsongstoolboxwidget.cpp.
References m_updateTimer.
|
finaloverrideprivatevirtual |
Override the widget event.
Reimplemented from MusicSongsToolBoxTopWidget.
Definition at line 212 of file musicsongstoolboxwidget.cpp.
References alpha, MusicSettingManager::BackgroundListTransparent, G_SETTING_PTR, MusicTopAreaWidget::instance(), and TTK_RN_MAX.
|
private |
Definition at line 173 of file musicsongstoolboxwidget.h.
Referenced by ~MusicSongsToolBoxMaskWidget().