TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
MusicItemQueryEdit Class Reference

The class of the query line edit widget. More...

#include <musicitemsearchedit.h>

+ Inheritance diagram for MusicItemQueryEdit:

Signals

void trigger (const QString &text)
 

Public Member Functions

 MusicItemQueryEdit (QWidget *parent=nullptr)
 
 ~MusicItemQueryEdit ()
 
MusicSearchEditeditor () const
 
MusicSearchEditoperator() () const
 

Private Slots

void enterFinished ()
 

Private Member Functions

virtual void paintEvent (QPaintEvent *event) overridefinal
 

Private Attributes

MusicSearchEditm_searchEdit
 

Detailed Description

The class of the query line edit widget.

Author
Greedysky greed.nosp@m.ysky.nosp@m.@163..nosp@m.com

Definition at line 61 of file musicitemsearchedit.h.

Constructor & Destructor Documentation

MusicItemQueryEdit::MusicItemQueryEdit ( QWidget *  parent = nullptr)
explicit

Object constructor.

Definition at line 38 of file musicitemsearchedit.cpp.

References TTK::UI::BackgroundStyle01, enterFinished(), and m_searchEdit.

MusicItemQueryEdit::~MusicItemQueryEdit ( )

Object destructor.

Definition at line 62 of file musicitemsearchedit.cpp.

References m_searchEdit.

Member Function Documentation

MusicSearchEdit* MusicItemQueryEdit::editor ( ) const
inline
void MusicItemQueryEdit::enterFinished ( )
privateslot

User input the enter key.

Definition at line 67 of file musicitemsearchedit.cpp.

References m_searchEdit, and trigger().

Referenced by MusicItemQueryEdit().

MusicSearchEdit* MusicItemQueryEdit::operator() ( ) const
inline

Definition at line 79 of file musicitemsearchedit.h.

void MusicItemQueryEdit::paintEvent ( QPaintEvent *  event)
finaloverrideprivatevirtual

Override the widget event.

Definition at line 72 of file musicitemsearchedit.cpp.

void MusicItemQueryEdit::trigger ( const QString &  text)
signal

Trigger the item.

Referenced by enterFinished().

Member Data Documentation

MusicSearchEdit* MusicItemQueryEdit::m_searchEdit
private

Definition at line 99 of file musicitemsearchedit.h.

Referenced by enterFinished(), MusicItemQueryEdit(), and ~MusicItemQueryEdit().


The documentation for this class was generated from the following files: