TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
musicvideouiobject.h
Go to the documentation of this file.
1 #ifndef MUSICVIDEOUIOBJECT_H
2 #define MUSICVIDEOUIOBJECT_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 *VideoBtnPlay = " \
32  QPushButton{ border:none; \
33  background-image: url(:/video/btn_play_normal); } \
34  QPushButton:hover{ background-image: url(:/video/btn_play_hover); }";
35 
36  static constexpr const char *VideoBtnPause = " \
37  QPushButton{ border:none; \
38  background-image: url(:/video/btn_pause_normal); } \
39  QPushButton:hover{ background-image: url(:/video/btn_pause_hover); }";
40 
41  static constexpr const char *VideoBtnBarrageOff = " \
42  QPushButton{ border:none; \
43  background-image: url(:/video/btn_barrage_off_normal); } \
44  QPushButton:hover{ background-image: url(:/video/btn_barrage_off_hover); }";
45 
46  static constexpr const char *VideoBtnBarrageOn = " \
47  QPushButton{ border:none; \
48  background-image: url(:/video/btn_barrage_on_normal); } \
49  QPushButton:hover{ background-image: url(:/video/btn_barrage_on_hover); }";
50 
51  static constexpr const char *VideoBtnBarrageSend = " \
52  QPushButton{ border:none; \
53  background-image: url(:/video/btn_barrage_send_normal); } \
54  QPushButton:hover{ background-image: url(:/video/btn_barrage_send_hover); } \
55  QPushButton:disabled{ background-image: url(:/video/btn_barrage_send_disable); }";
56 
57  static constexpr const char *VideoBtnBarrageStyle = " \
58  QToolButton{ border:none; \
59  background-image: url(:/video/btn_barrage_style_normal); } \
60  QToolButton:hover{ background-image: url(:/video/btn_barrage_style_hover); } \
61  QToolButton:disabled{ background-image: url(:/video/btn_barrage_style_disable); }";
62 
63  static constexpr const char *VideoBtnSTMode = " \
64  QToolButton{ border:none; \
65  background-image: url(:/video/btn_st_normal); } \
66  QToolButton:hover{ background-image: url(:/video/btn_st_hover); }";
67 
68  static constexpr const char *VideoBtnSDMode = " \
69  QToolButton{ border:none; \
70  background-image: url(:/video/btn_sd_normal); } \
71  QToolButton:hover{ background-image: url(:/video/btn_sd_hover); }";
72 
73  static constexpr const char *VideoBtnHDMode = " \
74  QToolButton{ border:none; \
75  background-image: url(:/video/btn_hd_normal); } \
76  QToolButton:hover{ background-image: url(:/video/btn_hd_hover); }";
77 
78  static constexpr const char *VideoBtnSQMode = " \
79  QToolButton{ border:none; \
80  background-image: url(:/video/btn_sq_normal); } \
81  QToolButton:hover{ background-image: url(:/video/btn_sq_hover); }";
82 
83  static constexpr const char *VideoBtnBlue = " \
84  QPushButton{ border:none; \
85  background-image: url(:/video/lb_blue_normal); } \
86  QPushButton:hover{ background-image: url(:/video/lb_blue_hover); }";
87 
88  static constexpr const char *VideoBtnBlueOn = " \
89  QPushButton{ border:none; \
90  background-image: url(:/video/lb_blue_on_normal); } \
91  QPushButton:hover{ background-image: url(:/video/lb_blue_on_hover); }";
92 
93  static constexpr const char *VideoBtnGreen = " \
94  QPushButton{ border:none; \
95  background-image: url(:/video/lb_green_normal); } \
96  QPushButton:hover{ background-image: url(:/video/lb_green_hover); }";
97 
98  static constexpr const char *VideoBtnGreenOn = " \
99  QPushButton{ border:none; \
100  background-image: url(:/video/lb_green_on_normal); } \
101  QPushButton:hover{ background-image: url(:/video/lb_green_on_hover); }";
102 
103  static constexpr const char *VideoBtnOrange = " \
104  QPushButton{ border:none; \
105  background-image: url(:/video/lb_orange_normal); } \
106  QPushButton:hover{ background-image: url(:/video/lb_orange_hover); }";
107 
108  static constexpr const char *VideoBtnOrangeOn = " \
109  QPushButton{ border:none; \
110  background-image: url(:/video/lb_orange_on_normal); } \
111  QPushButton:hover{ background-image: url(:/video/lb_orange_on_hover); }";
112 
113  static constexpr const char *VideoBtnPurple = " \
114  QPushButton{ border:none; \
115  background-image: url(:/video/lb_purple_normal); } \
116  QPushButton:hover{ background-image: url(:/video/lb_purple_hover); }";
117 
118  static constexpr const char *VideoBtnPurpleOn = " \
119  QPushButton{ border:none; \
120  background-image: url(:/video/lb_purple_on_normal); } \
121  QPushButton:hover{ background-image: url(:/video/lb_purple_on_hover); }";
122 
123  static constexpr const char *VideoBtnRed = " \
124  QPushButton{ border:none; \
125  background-image: url(:/video/lb_red_normal); } \
126  QPushButton:hover{ background-image: url(:/video/lb_red_hover); }";
127 
128  static constexpr const char *VideoBtnRedOn = " \
129  QPushButton{ border:none; \
130  background-image: url(:/video/lb_red_on_normal); } \
131  QPushButton:hover{ background-image: url(:/video/lb_red_on_hover); }";
132 
133  static constexpr const char *VideoBtnWhite = " \
134  QPushButton{ border:none; \
135  background-image: url(:/video/lb_white_normal); } \
136  QPushButton:hover{ background-image: url(:/video/lb_white_hover); }";
137 
138  static constexpr const char *VideoBtnWhiteOn = " \
139  QPushButton{ border:none; \
140  background-image: url(:/video/lb_white_on_normal); } \
141  QPushButton:hover{ background-image: url(:/video/lb_white_on_hover); }";
142 
143  static constexpr const char *VideoBtnYellow = " \
144  QPushButton{ border:none; \
145  background-image: url(:/video/lb_yellow_normal); } \
146  QPushButton:hover{ background-image: url(:/video/lb_yellow_hover); }";
147 
148  static constexpr const char *VideoBtnYellowOn = " \
149  QPushButton{ border:none; \
150  background-image: url(:/video/lb_yellow_on_normal); } \
151  QPushButton:hover{ background-image: url(:/video/lb_yellow_on_hover); }";
152 
153  static constexpr const char *VideoBtnSmall = " \
154  QPushButton{ border:none; \
155  background-image: url(:/video/lb_small_normal); } \
156  QPushButton:hover{ background-image: url(:/video/lb_small_hover); }";
157 
158  static constexpr const char *VideoBtnSmallOn = " \
159  QPushButton{ border:none; \
160  background-image: url(:/video/lb_small_on_normal); } \
161  QPushButton:hover{ background-image: url(:/video/lb_small_on_hover); }";
162 
163  static constexpr const char *VideoBtnMiddle = " \
164  QPushButton{ border:none; \
165  background-image: url(:/video/lb_middle_normal); } \
166  QPushButton:hover{ background-image: url(:/video/lb_middle_hover); }";
167 
168  static constexpr const char *VideoBtnMiddleOn = " \
169  QPushButton{ border:none; \
170  background-image: url(:/video/lb_middle_on_normal); } \
171  QPushButton:hover{ background-image: url(:/video/lb_middle_on_hover); }";
172 
173  static constexpr const char *VideoBtnBig = " \
174  QPushButton{ border:none; \
175  background-image: url(:/video/lb_big_normal); } \
176  QPushButton:hover{ background-image: url(:/video/lb_big_hover); }";
177 
178  static constexpr const char *VideoBtnBigOn = " \
179  QPushButton{ border:none; \
180  background-image: url(:/video/lb_big_on_normal); } \
181  QPushButton:hover{ background-image: url(:/video/lb_big_on_hover); }";
182 
183  }
184 }
185 
186 #endif // MUSICVIDEOUIOBJECT_H
static constexpr const char * VideoBtnHDMode
static constexpr const char * VideoBtnSmallOn
static constexpr const char * VideoBtnMiddleOn
static constexpr const char * VideoBtnSTMode
static constexpr const char * VideoBtnBarrageOff
static constexpr const char * VideoBtnWhite
static constexpr const char * VideoBtnWhiteOn
static constexpr const char * VideoBtnBlueOn
static constexpr const char * VideoBtnPause
static constexpr const char * VideoBtnBlue
The namespace of the process utils.
Definition: ttkcompat.h:24
static constexpr const char * VideoBtnPurpleOn
static constexpr const char * VideoBtnBarrageSend
static constexpr const char * VideoBtnBig
static constexpr const char * VideoBtnRedOn
static constexpr const char * VideoBtnPurple
static constexpr const char * VideoBtnGreenOn
static constexpr const char * VideoBtnYellowOn
static constexpr const char * VideoBtnOrange
static constexpr const char * VideoBtnYellow
static constexpr const char * VideoBtnGreen
static constexpr const char * VideoBtnSDMode
static constexpr const char * VideoBtnPlay
static constexpr const char * VideoBtnOrangeOn
static constexpr const char * VideoBtnMiddle
static constexpr const char * VideoBtnBarrageOn
static constexpr const char * VideoBtnBarrageStyle
static constexpr const char * VideoBtnBigOn
static constexpr const char * VideoBtnSmall
static constexpr const char * VideoBtnRed
static constexpr const char * VideoBtnSQMode