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 ttk moving dialog base. More...
#include <ttkabstractmovedialog.h>
Public Member Functions | |
TTKAbstractMoveDialog (QWidget *parent=nullptr) | |
TTKAbstractMoveDialog (bool transparent, QWidget *parent=nullptr) | |
void | drawWindowShadow (bool show) |
void | blockOption (bool block) |
Private Member Functions | |
virtual void | paintEvent (QPaintEvent *event) override |
virtual void | mousePressEvent (QMouseEvent *event) override |
virtual void | mouseMoveEvent (QMouseEvent *event) override |
virtual void | mouseReleaseEvent (QMouseEvent *event) override |
Private Attributes | |
QPoint | m_mousePressedAt |
bool | m_blockOption |
bool | m_shadowOption |
bool | m_mouseLeftPressed |
The class of the ttk moving dialog base.
Definition at line 29 of file ttkabstractmovedialog.h.
|
explicit |
Object constructor.
Definition at line 4 of file ttkabstractmovedialog.cpp.
|
explicit |
Definition at line 10 of file ttkabstractmovedialog.cpp.
|
inline |
Set or not block widget moving.
Definition at line 47 of file ttkabstractmovedialog.h.
|
inline |
Set or not draw window bound shadow.
Definition at line 43 of file ttkabstractmovedialog.h.
|
overrideprivatevirtual |
Definition at line 41 of file ttkabstractmovedialog.cpp.
References m_mouseLeftPressed, m_mousePressedAt, QtMouseGlobalPos, QtMouseGlobalX, and QtMouseGlobalY.
|
overrideprivatevirtual |
Definition at line 30 of file ttkabstractmovedialog.cpp.
References m_blockOption, m_mouseLeftPressed, m_mousePressedAt, and QtMouseGlobalPos.
|
overrideprivatevirtual |
Definition at line 56 of file ttkabstractmovedialog.cpp.
References m_mouseLeftPressed, m_mousePressedAt, and QtMouseGlobalPos.
|
overrideprivatevirtual |
Override the widget event.
Definition at line 20 of file ttkabstractmovedialog.cpp.
References m_shadowOption, and TTK::setBorderShadow().
|
private |
Definition at line 59 of file ttkabstractmovedialog.h.
Referenced by mousePressEvent().
|
private |
Definition at line 60 of file ttkabstractmovedialog.h.
Referenced by mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().
|
private |
Definition at line 58 of file ttkabstractmovedialog.h.
Referenced by mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().
|
private |
Definition at line 59 of file ttkabstractmovedialog.h.
Referenced by paintEvent().