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 desktop vertical lrc container. More...
#include <musiclrccontainerfordesktop.h>
Public Slots | |
virtual void | setSingleLineTypeChanged () overridefinal |
![]() | |
void | setWindowLockedChanged () |
void | setLrcBiggerChanged () |
void | setLrcSmallerChanged () |
void | toolStyleChanged () |
virtual void | setSingleLineTypeChanged () |
![]() | |
void | currentLrcCustom () |
void | changeCurrentLrcColor (QAction *action) |
void | changeCurrentLrcColor (int index) |
void | searchMusicLrcs () |
void | showLrcMakedWidget () |
void | linkLrcStateChanged () |
Private Member Functions | |
virtual void | resizeLrcSizeArea () overridefinal |
Additional Inherited Members | |
![]() | |
void | setWindowLockedChanged (bool lock) |
![]() | |
void | currentLrcUpdated () |
void | showCurrentLrcSetting () |
void | showCurrentLrcColorSetting () |
void | maskLinearGradientColorChanged () |
void | linearGradientColorChanged () |
![]() | |
void | createColorMenu (QMenu &menu) |
void | setSelfPosition () const |
void | creatToolBarWidget () |
void | resizeLrcSizeArea (bool resize) |
virtual void | mousePressEvent (QMouseEvent *event) overridefinal |
virtual void | mouseMoveEvent (QMouseEvent *event) overridefinal |
virtual void | contextMenuEvent (QContextMenuEvent *event) overridefinal |
virtual void | enterEvent (QtEnterEvent *event) overridefinal |
virtual void | leaveEvent (QEvent *event) overridefinal |
virtual void | closeEvent (QCloseEvent *event) overridefinal |
![]() | |
void | clearAllMusicLRCManager () |
![]() | |
bool | m_verticalWindow |
bool | m_singleLine |
bool | m_windowLocked |
bool | m_reverse |
int | m_currentLrcFontSize |
int | m_widgetWidth |
QPoint | m_offset |
QPoint | m_geometry |
QBoxLayout * | m_toolBarLayout |
QWidget * | m_toolBarWidget |
QToolButton * | m_toolPlayButton |
![]() | |
bool | m_linkLocalLrc |
qint64 | m_currentTime |
qint64 | m_totalTime |
QString | m_currentSongName |
QString | m_containerType |
MusicLrcAnalysis * | m_lrcAnalysis |
QList< MusicLrcManager * > | m_lrcManagers |
MusicLrcSearchWidget * | m_lrcSearchWidget |
The class of the desktop vertical lrc container.
Definition at line 192 of file musiclrccontainerfordesktop.h.
|
explicit |
Object constructor.
Definition at line 503 of file musiclrccontainerfordesktop.cpp.
References MusicLrcContainerForDesktop::creatToolBarWidget(), G_SETTING_PTR, MusicLrcContainerForDesktop::m_currentLrcFontSize, MusicLrcContainerForDesktop::m_geometry, MusicLrcContainer::m_lrcManagers, MusicLrcContainerForDesktop::m_toolBarLayout, MusicLrcContainerForDesktop::m_toolBarWidget, MusicLrcContainerForDesktop::m_verticalWindow, MusicLrcContainerForDesktop::m_widgetWidth, MusicSettingManager::ScreenSize, MusicLrcContainerForDesktop::setSelfPosition(), TOOLBAR_HEIGHT, and TOOLBAR_MAIN_HEIGHT.
|
finaloverridevirtual |
Init current lrc when the first show.
Reimplemented from MusicLrcContainerForDesktop.
Definition at line 530 of file musiclrccontainerfordesktop.cpp.
References MusicLrcContainerForDesktop::initCurrentLrc(), MusicLrcContainer::m_currentTime, MusicLrcContainerForDesktop::m_geometry, MusicLrcContainer::m_lrcManagers, MusicLrcContainerForDesktop::m_singleLine, and MusicLrcContainerForDesktop::m_widgetWidth.
|
finaloverrideprivatevirtual |
Resize lrc size area by change size.
Implements MusicLrcContainerForDesktop.
Definition at line 562 of file musiclrccontainerfordesktop.cpp.
References MusicLrcContainerForDesktop::m_geometry, MusicLrcContainer::m_lrcManagers, MusicLrcContainerForDesktop::m_singleLine, and MusicLrcContainerForDesktop::m_widgetWidth.
|
finaloverridevirtualslot |
Set single line type changed.
Definition at line 548 of file musiclrccontainerfordesktop.cpp.
References MusicLrcContainer::m_lrcManagers, MusicLrcContainerForDesktop::m_singleLine, MusicLrcContainerForDesktop::m_widgetWidth, and MusicLrcContainerForDesktop::setSingleLineTypeChanged().