TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
musicdesktoplrcuiobject.h
Go to the documentation of this file.
1 #ifndef MUSICDESKTOPLRCUIOBJECT_H
2 #define MUSICDESKTOPLRCUIOBJECT_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 *DeskTopPlay = " \
32  QToolButton{ border:none; \
33  background-image: url(:/desktop/btn_play_normal); } \
34  QToolButton:hover{ background-image: url(:/desktop/btn_play_hover); }";
35 
36  static constexpr const char *DeskTopPause = " \
37  QToolButton{ border:none; \
38  background-image: url(:/desktop/btn_pause_normal); } \
39  QToolButton:hover{ background-image: url(:/desktop/btn_pause_hover); }";
40 
41  static constexpr const char *DeskTopNext = " \
42  QToolButton{ border:none; \
43  background-image: url(:/desktop/btn_next_normal); } \
44  QToolButton:hover{ background-image: url(:/desktop/btn_next_hover); }";
45 
46  static constexpr const char *DeskTopPrevious = " \
47  QToolButton{ border:none; \
48  background-image: url(:/desktop/btn_previous_normal); } \
49  QToolButton:hover{ background-image: url(:/desktop/btn_previous_hover); }";
50 
51  static constexpr const char *DeskTopSizeDown = " \
52  QToolButton{ border:none; \
53  background-image: url(:/desktop/btn_size-_normal); } \
54  QToolButton:hover{ background-image: url(:/desktop/btn_size-_hover); }";
55 
56  static constexpr const char *DeskTopSizeUp = " \
57  QToolButton{ border:none; \
58  background-image: url(:/desktop/btn_size+_normal); } \
59  QToolButton:hover{ background-image: url(:/desktop/btn_size+_hover); }";
60 
61  static constexpr const char *DeskTopSetting = " \
62  QToolButton{ border:none; \
63  background-image: url(:/desktop/btn_setting_normal); } \
64  QToolButton:hover{ background-image: url(:/desktop/btn_setting_hover); }";
65 
66  static constexpr const char *DeskTopLock = " \
67  QToolButton{ border:none; \
68  background-image: url(:/desktop/btn_lock_normal); } \
69  QToolButton:hover{ background-image: url(:/desktop/btn_lock_hover); }";
70 
71  static constexpr const char *DeskTopStyle= " \
72  QToolButton{ border:none; \
73  background-image: url(:/desktop/btn_style_normal); } \
74  QToolButton:hover{ background-image: url(:/desktop/btn_style_hover); }";
75 
76  static constexpr const char *DeskTopHMakeLrc = " \
77  QToolButton{ border:none; \
78  background-image: url(:/desktop/btn_hmake_normal); } \
79  QToolButton:hover{ background-image: url(:/desktop/btn_hmake_hover); }";
80 
81  static constexpr const char *DeskTopHSearchLrc = " \
82  QToolButton{ border:none; \
83  background-image: url(:/desktop/btn_hsearch_normal); } \
84  QToolButton:hover{ background-image: url(:/desktop/btn_hsearch_hover); }";
85 
86  static constexpr const char *DeskTopHUpdateLrc = " \
87  QToolButton{ border:none; \
88  background-image: url(:/desktop/btn_hupdate_normal); } \
89  QToolButton:hover{ background-image: url(:/desktop/btn_hupdate_hover); }";
90 
91  static constexpr const char *DeskTopVMakeLrc = " \
92  QToolButton{ border:none; \
93  background-image: url(:/desktop/btn_vmake_normal); } \
94  QToolButton:hover{ background-image: url(:/desktop/btn_vmake_hover); }";
95 
96  static constexpr const char *DeskTopVSearchLrc = " \
97  QToolButton{ border:none; \
98  background-image: url(:/desktop/btn_vsearch_normal); } \
99  QToolButton:hover{ background-image: url(:/desktop/btn_vsearch_hover); }";
100 
101  static constexpr const char *DeskTopVUpdateLrc = " \
102  QToolButton{ border:none; \
103  background-image: url(:/desktop/btn_vupdate_normal); } \
104  QToolButton:hover{ background-image: url(:/desktop/btn_vupdate_hover); }";
105 
106  static constexpr const char *DeskTopHorizontal = " \
107  QToolButton{ border:none; \
108  background-image: url(:/desktop/btn_horizontal_normal); } \
109  QToolButton:hover{ background-image: url(:/desktop/btn_horizontal_hover); }";
110 
111  static constexpr const char *DeskTopVertical = " \
112  QToolButton{ border:none; \
113  background-image: url(:/desktop/btn_vertical_normal); } \
114  QToolButton:hover{ background-image: url(:/desktop/btn_vertical_hover); }";
115 
116  }
117 }
118 
119 #endif // MUSICDESKTOPLRCUIOBJECT_H
static constexpr const char * DeskTopHorizontal
static constexpr const char * DeskTopSizeDown
static constexpr const char * DeskTopVUpdateLrc
static constexpr const char * DeskTopVSearchLrc
static constexpr const char * DeskTopSetting
static constexpr const char * DeskTopHSearchLrc
static constexpr const char * DeskTopPrevious
static constexpr const char * DeskTopSizeUp
The namespace of the process utils.
Definition: ttkcompat.h:24
static constexpr const char * DeskTopNext
static constexpr const char * DeskTopPlay
static constexpr const char * DeskTopVMakeLrc
static constexpr const char * DeskTopVertical
static constexpr const char * DeskTopPause
static constexpr const char * DeskTopHUpdateLrc
static constexpr const char * DeskTopHMakeLrc
static constexpr const char * DeskTopLock
static constexpr const char * DeskTopStyle