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 song search widget. More...
#include <musicsongsearchdialog.h>
Public Slots | |
bool | close () |
Public Member Functions | |
MusicSongSearchDialog (QWidget *parent=nullptr) | |
~MusicSongSearchDialog () | |
QString | text () const |
void | clear () const |
virtual void | setVisible (bool visible) overridefinal |
Private Attributes | |
MusicItemSearchEdit * | m_searchLine |
The class of the song search widget.
Definition at line 30 of file musicsongsearchdialog.h.
|
explicit |
Object constructor.
Definition at line 5 of file musicsongsearchdialog.cpp.
References close(), MusicItemSearchEdit::editor(), LEFT_SIDE_WIDTH_MIN, m_searchLine, and TTK::UI::TinyBtnClose.
MusicSongSearchDialog::~MusicSongSearchDialog | ( | ) |
Object destructor.
Definition at line 33 of file musicsongsearchdialog.cpp.
References m_searchLine.
void MusicSongSearchDialog::clear | ( | ) | const |
Clear the search text.
Definition at line 49 of file musicsongsearchdialog.cpp.
References MusicItemSearchEdit::editor(), and m_searchLine.
Referenced by close().
|
slot |
Override the close function.
Definition at line 38 of file musicsongsearchdialog.cpp.
References clear().
Referenced by MusicSongsContainerWidget::closeSearchWidget(), and MusicSongSearchDialog().
|
finaloverridevirtual |
Set line edit input focus.
Definition at line 54 of file musicsongsearchdialog.cpp.
References MusicItemSearchEdit::editor(), and m_searchLine.
Referenced by MusicSongsContainerWidget::showSearchWidget().
QString MusicSongSearchDialog::text | ( | ) | const |
Get the search text that the user searched.
Definition at line 44 of file musicsongsearchdialog.cpp.
References MusicItemSearchEdit::editor(), and m_searchLine.
Referenced by MusicSongsContainerWidget::searchResultChanged().
|
private |
Definition at line 65 of file musicsongsearchdialog.h.
Referenced by clear(), MusicSongSearchDialog(), setVisible(), text(), and ~MusicSongSearchDialog().