TTKMusicPlayer
4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the slider smooth moving scroll area widget. More...
#include <musicsmoothmovingwidget.h>
Public Member Functions | |
MusicSmoothMovingScrollArea (QWidget *parent=nullptr) | |
void | setMovedScrollBar (QScrollBar *bar=nullptr) |
Protected Member Functions | |
virtual void | wheelEvent (QWheelEvent *event) override |
Private Attributes | |
MusicSmoothMovingInterface | m_interface |
The class of the slider smooth moving scroll area widget.
Definition at line 118 of file musicsmoothmovingwidget.h.
|
explicit |
Object constructor.
Definition at line 102 of file musicsmoothmovingwidget.cpp.
References TTK::UI::ScrollBarStyle03.
void MusicSmoothMovingScrollArea::setMovedScrollBar | ( | QScrollBar * | bar = nullptr | ) |
Set current moved scroll bar.
Definition at line 110 of file musicsmoothmovingwidget.cpp.
References m_interface, and MusicSmoothMovingInterface::setScrollBar().
|
overrideprotectedvirtual |
Override the widget event.
Definition at line 115 of file musicsmoothmovingwidget.cpp.
References m_interface, QtWheelDelta, and MusicSmoothMovingInterface::updateValue().
|
private |
Definition at line 140 of file musicsmoothmovingwidget.h.
Referenced by setMovedScrollBar(), and wheelEvent().