TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
musicmagicwidgetuiobject.h
Go to the documentation of this file.
1 #ifndef MUSICMAGICWIDGETUIOBJECT_H
2 #define MUSICMAGICWIDGETUIOBJECT_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 *EnhanceOn = " \
32  QToolButton{ border:none; \
33  background-image: url(:/enhance/btn_magic_on_normal); } \
34  QToolButton:hover{ background-image: url(:/enhance/btn_magic_on_hover); }";
35 
36  static constexpr const char *EnhanceOff = " \
37  QToolButton{ border:none; \
38  background-image: url(:/enhance/btn_magic_off_normal); } \
39  QToolButton:hover{ background-image: url(:/enhance/btn_magic_off_hover); }";
40 
41  static constexpr const char *EnhanceClose = " \
42  QToolButton{ border:none; \
43  background-image: url(:/enhance/btn_close_normal); } \
44  QToolButton:hover{ background-image: url(:/enhance/btn_close_hover); }";
45 
46  static constexpr const char *EnhanceHelp = " \
47  QToolButton{ border:none; \
48  background-image: url(:/enhance/btn_help_normal); } \
49  QToolButton:hover{ background-image: url(:/enhance/btn_help_hover); }";
50 
51  static constexpr const char *EnhanceShare = " \
52  QToolButton{ border:none; \
53  background-image: url(:/enhance/btn_share_normal); } \
54  QToolButton:hover{ background-image: url(:/enhance/btn_share_hover); }";
55 
56  static constexpr const char *EnhanceTitle = " \
57  QToolButton{ border:none; \
58  background-image: url(:/enhance/lb_title_normal); } \
59  QToolButton:hover{ background-image: url(:/enhance/lb_title_hover); }";
60 
61  static constexpr const char *EqualizerOn = " \
62  QPushButton{ border:none; \
63  background-image: url(:/enhance/btn_equalizer_on_normal); } \
64  QPushButton:hover{ background-image: url(:/enhance/btn_equalizer_on_hover); }";
65 
66  static constexpr const char *EqualizerOff = " \
67  QPushButton{ border:none; \
68  background-image: url(:/enhance/btn_equalizer_off_normal); } \
69  QPushButton:hover{ background-image: url(:/enhance/btn_equalizer_off_hover); }";
70 
71  }
72 }
73 
74 #endif // MUSICMAGICWIDGETUIOBJECT_H
static constexpr const char * EnhanceClose
static constexpr const char * EnhanceShare
The namespace of the process utils.
Definition: ttkcompat.h:24
static constexpr const char * EqualizerOff
static constexpr const char * EqualizerOn
static constexpr const char * EnhanceOff
static constexpr const char * EnhanceOn
static constexpr const char * EnhanceTitle
static constexpr const char * EnhanceHelp