TTKMusicPlayer
4.1.3.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
TTKModule
TTKWidget
musicToolsKits
musiccloudtoolboxwidget.h
Go to the documentation of this file.
1
#ifndef MUSICCLOUDTOOLBOXWIDGET_H
2
#define MUSICCLOUDTOOLBOXWIDGET_H
3
4
/***************************************************************************
5
* This file is part of the TTK Music Player project
6
* Copyright (C) 2015 - 2025 Greedysky Studio
7
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 3 of the License, or
11
* (at your option) any later version.
12
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
18
* You should have received a copy of the GNU General Public License along
19
* with this program; If not, see <http://www.gnu.org/licenses/>.
20
***************************************************************************/
21
22
#include "
musicsong.h
"
23
#include "
musicfunctiontoolboxwidget.h
"
24
25
class
MusicCloudUploadTableWidget
;
26
class
MusicCloudDownloadTableWidget
;
27
class
MusicAbstractDownloadTableWidget
;
28
32
class
TTK_MODULE_EXPORT
MusicCloudToolBoxWidget
:
public
MusicFunctionToolBoxWidget
33
{
34
Q_OBJECT
35
TTK_DECLARE_MODULE
(
MusicCloudToolBoxWidget
)
36
public
:
40
explicit
MusicCloudToolBoxWidget
(QWidget *parent =
nullptr
);
44
~
MusicCloudToolBoxWidget
();
45
46
public
Q_SLOTS:
50
void
updateItemTitle(
int
index);
51
52
private
:
56
void
createWidgetItem(
MusicAbstractDownloadTableWidget
*widget,
const
QString &text,
int
index);
60
virtual
MusicFunctionToolBoxWidgetItem
*
initialItem
(QWidget *item,
const
QString &text)
override
final
;
61
62
MusicSongItemList
m_songItems
;
63
64
};
65
66
#endif // MUSICCLOUDTOOLBOXWIDGET_H
TTK_MODULE_EXPORT
#define TTK_MODULE_EXPORT
Definition:
ttkmoduleexport.h:27
MusicFunctionToolBoxWidget
The class of the function tool box widget.
Definition:
musicfunctiontoolboxwidget.h:221
MusicFunctionToolBoxWidget::initialItem
virtual MusicFunctionToolBoxWidgetItem * initialItem(QWidget *item, const QString &text)=0
MusicCloudDownloadTableWidget
The class of the cloud shared song download table widget.
Definition:
musiccloudtablewidget.h:28
MusicFunctionToolBoxWidgetItem
The class of the function tool box widget item.
Definition:
musicfunctiontoolboxwidget.h:116
TTK_DECLARE_MODULE
#define TTK_DECLARE_MODULE(Class)
Definition:
ttkqtglobal.h:168
MusicAbstractDownloadTableWidget
The class of the download abstract table widget.
Definition:
musicabstractdownloadtablewidget.h:30
musicsong.h
MusicCloudToolBoxWidget::m_songItems
MusicSongItemList m_songItems
Definition:
musiccloudtoolboxwidget.h:62
MusicCloudUploadTableWidget
The class of the cloud shared song upload table widget.
Definition:
musiccloudtablewidget.h:54
musicfunctiontoolboxwidget.h
MusicCloudToolBoxWidget
The class of the cloud tool box widget.
Definition:
musiccloudtoolboxwidget.h:32
Generated on Tue Jan 21 2025 21:07:13 for TTKMusicPlayer by
1.8.8