|
TTKMusicPlayer
4.3.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 ttk moving dialog base. More...
#include <ttkabstractmovedialog.h>
Inheritance diagram for TTKAbstractMoveDialog:Public Member Functions | |
| TTKAbstractMoveDialog (QWidget *parent=nullptr) | |
| TTKAbstractMoveDialog (bool transparent, QWidget *parent=nullptr) | |
| void | setShadowOption (bool show) noexcept |
| void | setBlockOption (bool block) noexcept |
Protected 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 |
Protected Attributes | |
| bool | m_mouseLeftPressed |
| bool | m_blockOption |
| bool | m_shadowOption |
| QPoint | m_windowPos |
| QPoint | m_pressedPos |
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.
|
overrideprotectedvirtual |
Reimplemented in MusicFileInformationWidget.
Definition at line 43 of file ttkabstractmovedialog.cpp.
References m_mouseLeftPressed, m_pressedPos, m_windowPos, and QtGlobalPosition.
Referenced by MusicFileInformationWidget::mouseMoveEvent().
|
overrideprotectedvirtual |
Definition at line 32 of file ttkabstractmovedialog.cpp.
References m_blockOption, m_mouseLeftPressed, m_pressedPos, m_windowPos, and QtGlobalPosition.
|
overrideprotectedvirtual |
Definition at line 55 of file ttkabstractmovedialog.cpp.
References m_mouseLeftPressed.
|
overrideprotectedvirtual |
Override the widget event.
Definition at line 20 of file ttkabstractmovedialog.cpp.
References m_shadowOption, and TTK::setBorderShadow().
|
inlinenoexcept |
Set or not block widget moving.
Definition at line 46 of file ttkabstractmovedialog.h.
|
inlinenoexcept |
Set or not draw window bound shadow.
Definition at line 42 of file ttkabstractmovedialog.h.
|
protected |
Definition at line 58 of file ttkabstractmovedialog.h.
Referenced by mousePressEvent().
|
protected |
Definition at line 57 of file ttkabstractmovedialog.h.
Referenced by mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().
|
protected |
Definition at line 59 of file ttkabstractmovedialog.h.
Referenced by mouseMoveEvent(), and mousePressEvent().
|
protected |
Definition at line 58 of file ttkabstractmovedialog.h.
Referenced by paintEvent().
|
protected |
Definition at line 59 of file ttkabstractmovedialog.h.
Referenced by mouseMoveEvent(), and mousePressEvent().
1.8.8