TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
musicvideofloatuiobject.h
Go to the documentation of this file.
1 #ifndef MUSICVIDEOFLOATUIOBJECT_H
2 #define MUSICVIDEOFLOATUIOBJECT_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 *VideoFloatDownload = " \
32  QPushButton{ border:none;\
33  background-image: url(:/video/btn_download_normal); } \
34  QPushButton:hover{ background-image: url(:/video/btn_download_hover); }";
35 
36  static constexpr const char *VideoFloatFresh = " \
37  QPushButton{ border:none;\
38  background-image: url(:/video/btn_fresh_normal); } \
39  QPushButton:hover{ background-image: url(:/video/btn_fresh_hover); }";
40 
41  static constexpr const char *VideoFloatFullscreen = " \
42  QPushButton{ border:none;\
43  background-image: url(:/video/btn_fullscreen_normal); } \
44  QPushButton:hover{ background-image: url(:/video/btn_fullscreen_hover); }";
45 
46  static constexpr const char *VideoFloatSearch = " \
47  QPushButton{ border:none;\
48  background-image: url(:/video/btn_search_normal); } \
49  QPushButton:hover{ background-image: url(:/video/btn_search_hover); }";
50 
51  static constexpr const char *VideoFloatShare = " \
52  QPushButton{ border:none;\
53  background-image: url(:/video/btn_share_normal); } \
54  QPushButton:hover{ background-image: url(:/video/btn_share_hover); }";
55 
56  }
57 }
58 
59 #endif // MUSICVIDEOFLOATUIOBJECT_H
static constexpr const char * VideoFloatDownload
static constexpr const char * VideoFloatFresh
static constexpr const char * VideoFloatShare
static constexpr const char * VideoFloatFullscreen
The namespace of the process utils.
Definition: ttkcompat.h:24
static constexpr const char * VideoFloatSearch