TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
musicfunctionlistuiobject.h
Go to the documentation of this file.
1 #ifndef MUSICFUNCTIONLISTUIOBJECT_H
2 #define MUSICFUNCTIONLISTUIOBJECT_H
3 
4 /***************************************************************************
5  * This file is part of the TTK Music Player project
6  * Copyright (C) 2015 - 2024 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 <QObject>
23 
27 namespace TTK
28 {
29  namespace UI
30  {
31  static constexpr const char *FuncSongFore = " \
32  QToolButton{ border:none; \
33  background-image: url(:/title/song_fore_normal); } \
34  QToolButton:hover{ background-image: url(:/title/song_fore_hover); }";
35 
36  static constexpr const char *FuncSongForeClicked = " \
37  QToolButton{ border:none; \
38  background-image: url(:/title/song_fore_clicked); }";
39 
40  static constexpr const char *FuncSongBack = " \
41  QToolButton{ border:none; \
42  background-image: url(:/title/song_back_normal); } \
43  QToolButton:hover{ background-image: url(:/title/song_back_hover); }";
44 
45  static constexpr const char *FuncRadioFore = " \
46  QToolButton{ border:none; \
47  background-image: url(:/title/radio_fore_normal); } \
48  QToolButton:hover{ background-image: url(:/title/radio_fore_hover); }";
49 
50  static constexpr const char *FuncRadioForeClicked = " \
51  QToolButton{ border:none; \
52  background-image: url(:/title/radio_fore_clicked); }";
53 
54  static constexpr const char *FuncRadioBack = " \
55  QToolButton{ border:none; \
56  background-image: url(:/title/radio_back_normal); } \
57  QToolButton:hover{ background-image: url(:/title/radio_back_hover); }";
58 
59  static constexpr const char *FuncListFore = " \
60  QToolButton{ border:none; \
61  background-image: url(:/title/list_fore_normal); } \
62  QToolButton:hover{ background-image: url(:/title/list_fore_hover); }";
63 
64  static constexpr const char *FuncListForeClicked = " \
65  QToolButton{ border:none; \
66  background-image: url(:/title/list_fore_clicked); }";
67 
68  static constexpr const char *FuncListBack = " \
69  QToolButton{ border:none; \
70  background-image: url(:/title/list_back_normal); } \
71  QToolButton:hover{ background-image: url(:/title/list_back_hover); }";
72 
73  static constexpr const char *FuncMVFore = " \
74  QToolButton{ border:none; \
75  background-image: url(:/title/mv_fore_normal); } \
76  QToolButton:hover{ background-image: url(:/title/mv_fore_hover); }";
77 
78  static constexpr const char *FuncMVForeClicked = " \
79  QToolButton{ border:none; \
80  background-image: url(:/title/mv_fore_clicked); }";
81 
82  static constexpr const char *FuncMVBack = " \
83  QToolButton{ border:none; \
84  background-image: url(:/title/mv_back_normal); } \
85  QToolButton:hover{ background-image: url(:/title/mv_back_hover); }";
86 
87  static constexpr const char *FuncLiveFore = " \
88  QToolButton{ border:none; \
89  background-image: url(:/title/live_fore_normal); } \
90  QToolButton:hover{ background-image: url(:/title/live_fore_hover); }";
91 
92  static constexpr const char *FuncLiveForeClicked = " \
93  QToolButton{ border:none; \
94  background-image: url(:/title/live_fore_clicked); }";
95 
96  static constexpr const char *FuncLiveBack = " \
97  QToolButton{ border:none; \
98  background-image: url(:/title/live_back_normal); } \
99  QToolButton:hover{ background-image: url(:/title/live_back_hover); }";
100 
101  static constexpr const char *FuncLrcFore = " \
102  QToolButton{ border:none; \
103  background-image: url(:/title/lrc_fore_normal); } \
104  QToolButton:hover{ background-image: url(:/title/lrc_fore_hover); }";
105 
106  static constexpr const char *FuncLrcForeClicked = " \
107  QToolButton{ border:none; \
108  background-image: url(:/title/lrc_back_clicked); }";
109 
110  }
111 }
112 
113 #endif // MUSICFUNCTIONLISTUIOBJECT_H
static constexpr const char * FuncListForeClicked
static constexpr const char * FuncMVFore
static constexpr const char * FuncRadioFore
static constexpr const char * FuncMVBack
static constexpr const char * FuncLrcForeClicked
static constexpr const char * FuncSongBack
static constexpr const char * FuncRadioForeClicked
static constexpr const char * FuncSongForeClicked
static constexpr const char * FuncLrcFore
The namespace of the process utils.
Definition: ttkcompat.h:24
static constexpr const char * FuncListBack
static constexpr const char * FuncSongFore
static constexpr const char * FuncLiveBack
static constexpr const char * FuncListFore
static constexpr const char * FuncLiveForeClicked
static constexpr const char * FuncRadioBack
static constexpr const char * FuncLiveFore
static constexpr const char * FuncMVForeClicked