TTKMusicPlayer
3.7.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 song item selected area widget. More...
#include <musicsongitemselectedareawidget.h>
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 |
TTKClickedLabel * | m_modifiedItemButton |
The class of the song item selected area widget.
Definition at line 99 of file musicsongitemselectedareawidget.h.
|
explicit |
Object constructor.
Definition at line 113 of file musicsongitemselectedareawidget.cpp.
References TTK::UI::ColorStyle02, TTK::UI::ColorStyle04, TTK::UI::ColorStyle07, TTK::UI::FontStyle01, G_CONNECTION_PTR, m_itemLabel, m_label, m_modifiedItemButton, and modifiedItemButtonClicked().
MusicSongItemSelectedAreaWidget::~MusicSongItemSelectedAreaWidget | ( | ) |
Object destructor.
Definition at line 142 of file musicsongitemselectedareawidget.cpp.
References G_CONNECTION_PTR, m_itemLabel, m_label, and m_modifiedItemButton.
|
signal |
Confirm changed.
Referenced by modifiedItemButtonClicked().
|
slot |
Item list changed.
Definition at line 191 of file musicsongitemselectedareawidget.cpp.
References m_itemLabel, and m_items.
Referenced by modifiedItemButtonClicked().
|
slot |
Modified item button clicked.
Definition at line 176 of file musicsongitemselectedareawidget.cpp.
References MusicSongItemSelectedDialog::addCellItems(), confirmChanged(), MusicAbstractMoveDialog::exec(), itemListChanged(), m_selected, and queryMusicItemList().
Referenced by MusicSongItemSelectedAreaWidget().
|
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().
|
private |
Definition at line 142 of file musicsongitemselectedareawidget.h.
Referenced by itemListChanged(), MusicSongItemSelectedAreaWidget(), and ~MusicSongItemSelectedAreaWidget().
|
private |
Definition at line 140 of file musicsongitemselectedareawidget.h.
Referenced by itemListChanged(), and selectedSongItems().
|
private |
Definition at line 142 of file musicsongitemselectedareawidget.h.
Referenced by MusicSongItemSelectedAreaWidget(), and ~MusicSongItemSelectedAreaWidget().
|
private |
Definition at line 143 of file musicsongitemselectedareawidget.h.
Referenced by MusicSongItemSelectedAreaWidget(), and ~MusicSongItemSelectedAreaWidget().
|
private |
Definition at line 139 of file musicsongitemselectedareawidget.h.
Referenced by modifiedItemButtonClicked(), and selectedSongItems().