TTKMusicPlayer  4.3.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
musicsongitemselectedareawidget.h
Go to the documentation of this file.
1 #ifndef MUSICSONGITEMSELECTEDAREAWIDGET_H
2 #define MUSICSONGITEMSELECTEDAREAWIDGET_H
3 
4 /***************************************************************************
5  * This file is part of the TTK Music Player project
6  * Copyright (C) 2015 - 2026 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 
24 
29 {
30  Q_OBJECT
31 public:
35  explicit MusicSongItemSelectedTableWidget(QWidget *parent = nullptr);
36 
40  void addCellItems(MusicSongItemList *items);
44  TTKIntList checkedDataItems() const;
45 
46 };
47 
48 
49 namespace Ui {
51 }
52 
57 {
58  Q_OBJECT
59 public:
63  explicit MusicSongItemSelectedDialog(QWidget *parent = nullptr);
68 
72  void addCellItems(MusicSongItemList *items);
73 
74 Q_SIGNALS:
78  void itemListChanged(const TTKIntList &items);
79 
80 public Q_SLOTS:
84  void confirmButtonClicked();
85 
86 private:
87  Ui::MusicSongItemSelectedDialog *m_ui;
88 
89 };
90 
91 
92 class TTKClickedLabel;
93 
98 {
99  Q_OBJECT
100 public:
104  explicit MusicSongItemSelectedAreaWidget(QWidget *parent = nullptr);
109 
113  MusicSongList selectedSongItems() const;
114 
115 Q_SIGNALS:
119  void confirmChanged();
120 
121 public Q_SLOTS:
125  void modifiedItemButtonClicked();
129  void itemListChanged(const TTKIntList &items);
130 
131 private:
134 
135  QLabel *m_label, *m_itemLabel;
137 
138 };
139 
140 #endif // MUSICSONGITEMSELECTEDAREAWIDGET_H
#define TTK_MODULE_EXPORT
The class of the song item selected dialog widget.
The class of the label widget that can click.
The class of the fill item table widget.
QList< int > TTKIntList
Definition: ttkqtglobal.h:200
The class of the song item selected table widget.
The class of the moving dialog base.
Ui::MusicSongItemSelectedDialog * m_ui
The class of the song item selected area widget.