TTKMusicPlayer  4.3.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
musicpluginwidget.h
Go to the documentation of this file.
1 #ifndef MUSICPLUGINWIDGET_H
2 #define MUSICPLUGINWIDGET_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 
25 namespace Ui {
28 }
29 class QTreeWidgetItem;
30 
35 {
36  Q_OBJECT
37 public:
41  explicit MusicQmmpPluginWidget(QWidget *parent = nullptr);
42 
43 public Q_SLOTS:
47  void pluginItemChanged(QTreeWidgetItem *item, int column);
51  void pluginButtonClicked();
52 
53 private:
57  void loadPluginsInfo();
58 
59  Ui::MusicQmmpPluginWidget *m_ui;
60 
61 };
62 
63 
68 {
69  Q_OBJECT
70 public:
74  explicit MusicServerPluginTableWidget(QWidget *parent = nullptr);
75 
79  void save() const;
80 
81 public Q_SLOTS:
85  virtual void itemCellClicked(int row, int column) override;
89  void checkedItemsStatus(bool checked);
90 
91 private:
95  void addCellItems();
96 
97 };
98 
99 
104 {
105  Q_OBJECT
106 public:
110  explicit MusicServerPluginWidget(QWidget *parent = nullptr);
111 
112 public Q_SLOTS:
116  void confirmButtonClicked();
117 
118 private:
119  Ui::MusicServerPluginWidget *m_ui;
120 
121 };
122 
123 #endif // MUSICPLUGINWIDGET_H
#define TTK_MODULE_EXPORT
Ui::MusicServerPluginWidget * m_ui
virtual void itemCellClicked(int row, int column) override
The class of the fill item table widget.
The class of the server plugin manager widget.
The class of the moving dialog base.
The class of the qmmp plugin manager widget.
The class of the server plugin manager table widget.
Ui::MusicQmmpPluginWidget * m_ui