TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
musicinteriorfloatuiobject.h
Go to the documentation of this file.
1 #ifndef MUSICINTERIORFLOATUIOBJECT_H
2 #define MUSICINTERIORFLOATUIOBJECT_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 *InteriorFloatSetting = " \
32  QPushButton{ border:1px solid #CCCCCC; border-radius:2px; } \
33  QPushButton:hover{ border:1px solid #FFFFFF; border-radius:2px; }";
34 
35  static constexpr const char *InteriorFloatMore = " \
36  QPushButton{ border:none;\
37  background-image: url(:/lrc/lb_more_normal); } \
38  QPushButton:hover{ background-image: url(:/lrc/lb_more_hover); }";
39 
40  static constexpr const char *InteriorFloatUpdate = " \
41  QPushButton{ border:none;\
42  background-image: url(:/lrc/lb_update_normal); } \
43  QPushButton:hover{ background-image: url(:/lrc/lb_update_hover); }";
44 
45  static constexpr const char *InteriorFloatWallpaper = " \
46  QPushButton{ border:none;\
47  background-image: url(:/lrc/lb_wallpaper_normal); } \
48  QPushButton:hover{ background-image: url(:/lrc/lb_wallpaper_hover); }";
49 
50  static constexpr const char *InteriorFloatWallpaperOn = " \
51  QPushButton{ border:none;\
52  background-image: url(:/lrc/lb_wallpaper_on_normal); } \
53  QPushButton:hover{ background-image: url(:/lrc/lb_wallpaper_on_hover); }";
54 
55  static constexpr const char *InteriorFloatSearch = " \
56  QPushButton{ border:none;\
57  background-image: url(:/lrc/lb_search_normal); } \
58  QPushButton:hover{ background-image: url(:/lrc/lb_search_hover); }";
59 
60  static constexpr const char *InteriorFloatPhoto = " \
61  QPushButton{ border:none;\
62  background-image: url(:/lrc/lb_photo_normal); } \
63  QPushButton:hover{ background-image: url(:/lrc/lb_photo_hover); }";
64 
65  static constexpr const char *InteriorFloatPhotoItem = " \
66  QCheckBox::indicator::unchecked{ image:url(:/lrc/lb_photo_unchecked); } \
67  QCheckBox::indicator:checked{ image:url(:/lrc/lb_photo_checked); }";
68 
69  static constexpr const char *InteriorFloatPhotoPrevious = " \
70  QPushButton{ border:none;\
71  background-image: url(:/lrc/btn_photo_previous_normal); } \
72  QPushButton:hover{ background-image: url(:/lrc/btn_photo_previous_hover); }";
73 
74  static constexpr const char *InteriorFloatPhotoNext = " \
75  QPushButton{ border:none;\
76  background-image: url(:/lrc/btn_photo_next_normal); } \
77  QPushButton:hover{ background-image: url(:/lrc/btn_photo_next_hover); }";
78 
79  static constexpr const char *InteriorLrcBigger = " \
80  QPushButton{ border:none;\
81  background-image: url(:/lrc/btn_bigger_normal); } \
82  QPushButton:hover{ background-image: url(:/lrc/btn_bigger_hover); }";
83 
84  static constexpr const char *InteriorLrcSmaller = " \
85  QPushButton{ border:none;\
86  background-image: url(:/lrc/btn_smaller_normal); } \
87  QPushButton:hover{ background-image: url(:/lrc/btn_smaller_hover); }";
88 
89  }
90 }
91 
92 #endif // MUSICINTERIORFLOATUIOBJECT_H
static constexpr const char * InteriorFloatWallpaper
static constexpr const char * InteriorFloatUpdate
static constexpr const char * InteriorLrcSmaller
static constexpr const char * InteriorFloatSetting
static constexpr const char * InteriorFloatWallpaperOn
static constexpr const char * InteriorFloatPhotoItem
The namespace of the process utils.
Definition: ttkcompat.h:24
static constexpr const char * InteriorLrcBigger
static constexpr const char * InteriorFloatSearch
static constexpr const char * InteriorFloatPhotoNext
static constexpr const char * InteriorFloatPhotoPrevious
static constexpr const char * InteriorFloatPhoto
static constexpr const char * InteriorFloatMore