TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
musicleftitemlistuiobject.h
Go to the documentation of this file.
1 #ifndef MUSICLEFTITEMLISTUIOBJECT_H
2 #define MUSICLEFTITEMLISTUIOBJECT_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 *ItemMusic = " \
32  QToolButton{ border:none; \
33  background-image: url(:/navigation/item_music_normal); } \
34  QToolButton:hover{ background-image: url(:/navigation/item_music_hover); }";
35 
36  static constexpr const char *ItemMusicClicked = " \
37  QToolButton{ border:none; \
38  background-image: url(:/navigation/item_music_clicked); }";
39 
40  static constexpr const char *ItemLocal = " \
41  QToolButton{ border:none; \
42  background-image: url(:/navigation/item_local_normal); } \
43  QToolButton:hover{ background-image: url(:/navigation/item_local_hover); }";
44 
45  static constexpr const char *ItemLocalClicked = " \
46  QToolButton{ border:none; \
47  background-image: url(:/navigation/item_local_clicked); }";
48 
49  static constexpr const char *ItemCloud = " \
50  QToolButton{ border:none; \
51  background-image: url(:/navigation/item_cloud_normal); } \
52  QToolButton:hover{ background-image: url(:/navigation/item_cloud_hover); }";
53 
54  static constexpr const char *ItemCloudClicked = " \
55  QToolButton{ border:none; \
56  background-image: url(:/navigation/item_cloud_clicked); }";
57 
58  static constexpr const char *ItemRadio = " \
59  QToolButton{ border:none; \
60  background-image: url(:/navigation/item_radio_normal); } \
61  QToolButton:hover{ background-image: url(:/navigation/item_radio_hover); }";
62 
63  static constexpr const char *ItemRadioClicked = " \
64  QToolButton{ border:none; \
65  background-image: url(:/navigation/item_radio_clicked); }";
66 
67  static constexpr const char *ItemDownload = " \
68  QToolButton{ border:none; \
69  background-image: url(:/navigation/item_download_normal); } \
70  QToolButton:hover{ background-image: url(:/navigation/item_download_hover); }";
71 
72  static constexpr const char *ItemDownloadClicked = " \
73  QToolButton{ border:none; \
74  background-image: url(:/navigation/item_download_clicked); }";
75 
76  }
77 }
78 
79 #endif // MUSICLEFTITEMLISTUIOBJECT_H
static constexpr const char * ItemRadio
static constexpr const char * ItemDownload
static constexpr const char * ItemDownloadClicked
static constexpr const char * ItemRadioClicked
static constexpr const char * ItemMusic
The namespace of the process utils.
Definition: ttkcompat.h:24
static constexpr const char * ItemLocalClicked
static constexpr const char * ItemCloud
static constexpr const char * ItemLocal
static constexpr const char * ItemCloudClicked
static constexpr const char * ItemMusicClicked