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

The class of the song item selected area widget. More...

#include <musicsongitemselectedareawidget.h>

+ Inheritance diagram for MusicSongItemSelectedAreaWidget:

Public Slots

void modifiedItemButtonClicked ()
 
void itemListChanged (const TTKIntList &items)
 

Signals

void queryMusicItemList (MusicSongItemList &songs)
 
void confirmChanged ()
 

Public Member Functions

 MusicSongItemSelectedAreaWidget (QWidget *parent=nullptr)
 
 ~MusicSongItemSelectedAreaWidget ()
 
MusicSongList selectedSongItems ()
 

Private Attributes

bool m_selected
 
TTKIntList m_items
 
QLabel * m_label
 
QLabel * m_itemLabel
 
TTKClickedLabelm_modifiedItemButton
 

Detailed Description

The class of the song item selected area widget.

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

Definition at line 99 of file musicsongitemselectedareawidget.h.

Constructor & Destructor Documentation

MusicSongItemSelectedAreaWidget::MusicSongItemSelectedAreaWidget ( QWidget *  parent = nullptr)
explicit
MusicSongItemSelectedAreaWidget::~MusicSongItemSelectedAreaWidget ( )

Object destructor.

Definition at line 142 of file musicsongitemselectedareawidget.cpp.

References G_CONNECTION_PTR, m_itemLabel, m_label, and m_modifiedItemButton.

Member Function Documentation

void MusicSongItemSelectedAreaWidget::confirmChanged ( )
signal

Confirm changed.

Referenced by modifiedItemButtonClicked().

void MusicSongItemSelectedAreaWidget::itemListChanged ( const TTKIntList items)
slot

Item list changed.

Definition at line 191 of file musicsongitemselectedareawidget.cpp.

References m_itemLabel, and m_items.

Referenced by modifiedItemButtonClicked().

void MusicSongItemSelectedAreaWidget::modifiedItemButtonClicked ( )
slot
void MusicSongItemSelectedAreaWidget::queryMusicItemList ( MusicSongItemList &  songs)
signal

Query music datas from container.

Referenced by modifiedItemButtonClicked(), and selectedSongItems().

MusicSongList MusicSongItemSelectedAreaWidget::selectedSongItems ( )

Get selected song items.

Definition at line 150 of file musicsongitemselectedareawidget.cpp.

References m_items, m_selected, TTK::playlistRowValid(), qAsConst, and queryMusicItemList().

Member Data Documentation

QLabel * MusicSongItemSelectedAreaWidget::m_itemLabel
private
TTKIntList MusicSongItemSelectedAreaWidget::m_items
private

Definition at line 140 of file musicsongitemselectedareawidget.h.

Referenced by itemListChanged(), and selectedSongItems().

QLabel* MusicSongItemSelectedAreaWidget::m_label
private
TTKClickedLabel* MusicSongItemSelectedAreaWidget::m_modifiedItemButton
private
bool MusicSongItemSelectedAreaWidget::m_selected
private

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