|
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 input widget. More...
#include <musicinputdialog.h>
Inheritance diagram for MusicInputDialog:Public Member Functions | |
| MusicInputDialog (QWidget *parent=nullptr) | |
| ~MusicInputDialog () | |
| QString | text () const |
| void | setPlaceholderText (const QString &text) |
Public Member Functions inherited from MusicAbstractMoveDialog | |
| MusicAbstractMoveDialog (QWidget *parent=nullptr) | |
| MusicAbstractMoveDialog (bool transparent, QWidget *parent=nullptr) | |
| ~MusicAbstractMoveDialog () | |
Public Member Functions inherited from TTKAbstractMoveDialog | |
| TTKAbstractMoveDialog (QWidget *parent=nullptr) | |
| TTKAbstractMoveDialog (bool transparent, QWidget *parent=nullptr) | |
| void | drawWindowShadow (bool show) noexcept |
| void | blockOption (bool block) noexcept |
Private Attributes | |
| Ui::MusicInputDialog * | m_ui |
Additional Inherited Members | |
Public Slots inherited from MusicAbstractMoveDialog | |
| void | backgroundChanged () |
| virtual int | exec () |
| void | show () |
Protected Member Functions inherited from TTKAbstractMoveDialog | |
| 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 Member Functions inherited from MusicWidgetRenderer | |
| void | setBackgroundPixmap (const QSize &size) |
| MusicWidgetRenderer () | |
| void | setBackgroundLabel (QLabel *label) noexcept |
Protected Attributes inherited from TTKAbstractMoveDialog | |
| QPoint | m_mousePressedAt |
| bool | m_blockOption |
| bool | m_shadowOption |
| bool | m_mouseLeftPressed |
The class of the input widget.
Definition at line 31 of file musicinputdialog.h.
|
explicit |
Object constructor.
Definition at line 4 of file musicinputdialog.cpp.
References TTK::UI::LineEditStyle01, m_ui, TTK::UI::PushButtonStyle04, MusicWidgetRenderer::setBackgroundLabel(), and TTK::UI::ToolButtonStyle04.
| MusicInputDialog::~MusicInputDialog | ( | ) |
| void MusicInputDialog::setPlaceholderText | ( | const QString & | text | ) |
Set placeholder text.
Definition at line 36 of file musicinputdialog.cpp.
References m_ui.
Referenced by MusicApplication::importSongsByUrl().
| QString MusicInputDialog::text | ( | ) | const |
Get the text that the user input.
Definition at line 31 of file musicinputdialog.cpp.
References m_ui.
Referenced by MusicApplication::importSongsByUrl().
|
private |
Definition at line 55 of file musicinputdialog.h.
Referenced by MusicInputDialog(), setPlaceholderText(), text(), and ~MusicInputDialog().
1.8.8