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 input widget. More...
#include <musicinputdialog.h>
Public Member Functions | |
MusicInputDialog (QWidget *parent=nullptr) | |
~MusicInputDialog () | |
QString | text () const |
void | setPlaceholderText (const QString &text) |
![]() | |
MusicAbstractMoveDialog (QWidget *parent=nullptr) | |
MusicAbstractMoveDialog (bool transparent, QWidget *parent=nullptr) | |
~MusicAbstractMoveDialog () | |
![]() | |
TTKAbstractMoveDialog (QWidget *parent=nullptr) | |
TTKAbstractMoveDialog (bool transparent, QWidget *parent=nullptr) | |
void | drawWindowShadow (bool show) |
void | blockOption (bool block) |
Private Attributes | |
Ui::MusicInputDialog * | m_ui |
Additional Inherited Members | |
![]() | |
void | backgroundChanged () |
virtual int | exec () |
void | show () |
![]() | |
void | setBackgroundPixmap (const QSize &size) |
MusicWidgetRenderer () | |
void | setBackgroundLabel (QLabel *label) |
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().