BaseTheme.qml 2.93 KB
Newer Older
1
2
3
/*
 * Copyright 2017 Matthieu Gallien <matthieu_gallien@yahoo.fr>
 *
4
5
 * This program is free software: you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
6
7
8
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 *
9
 * This program is distributed in the hope that it will be useful,
10
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
 * Lesser General Public License for more details.
13
 *
14
15
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
16
17
18
19
20
21
22
23
24
 */

import QtQuick 2.7
import QtQuick.Controls 2.2

Item {
    property string defaultAlbumImage: 'image://icon/media-optical-audio'
    property string defaultArtistImage: 'image://icon/view-media-artist'
    property string defaultBackgroundImage: 'qrc:///background.png'
25
    property string nowPlayingIcon: 'image://icon/view-media-lyrics'
26
27
    property string artistIcon: 'image://icon/view-media-artist'
    property string albumIcon: 'image://icon/view-media-album-cover'
28
    property string albumCoverIcon: 'image://icon/media-optical-audio'
29
30
31
32
    property string playlistIcon: 'image://icon/view-media-playlist'
    property string tracksIcon: 'image://icon/view-media-track'
    property string genresIcon: 'image://icon/view-media-genre'
    property string clearIcon: 'image://icon/edit-clear'
33
    property string recentlyPlayedTracksIcon: 'image://icon/media-playlist-play'
Alexander Stippich's avatar
Alexander Stippich committed
34
    property string frequentlyPlayedTracksIcon: 'image://icon/view-media-playcount'
35
36
37
38
39
40
41
    property string pausedIndicatorIcon: 'image://icon/media-playback-paused'
    property string playingIndicatorIcon: 'image://icon/media-playback-playing'
    property string ratingIcon: 'image://icon/rating'
    property string ratingUnratedIcon: 'image://icon/rating-unrated'
    property string errorIcon: 'image://icon/error'
    property string folderIcon: 'image://icon/document-open-folder'

Alexander Stippich's avatar
Alexander Stippich committed
42
43
    property int layoutHorizontalMargin: 8
    property int layoutVerticalMargin: 6
44

45
    property int playListAlbumArtSize: 60
46

Alexander Stippich's avatar
Alexander Stippich committed
47
48
49
    property int coverImageSize: 180
    property int contextCoverImageSize: 100
    property int smallImageSize: 32
50

Alexander Stippich's avatar
Alexander Stippich committed
51
52
    property int tooltipRadius: 3
    property int shadowOffset: 2
53

Alexander Stippich's avatar
Alexander Stippich committed
54
    property int delegateToolButtonSize: 34
55

Alexander Stippich's avatar
Alexander Stippich committed
56
    property int ratingStarSize: 15
57

Alexander Stippich's avatar
Alexander Stippich committed
58
    property int mediaPlayerControlHeight: 42
59
    property real mediaPlayerControlOpacity: 0.6
Alexander Stippich's avatar
Alexander Stippich committed
60
61
    property int smallControlButtonSize: 22
    property int volumeSliderWidth: 100
62

Alexander Stippich's avatar
Alexander Stippich committed
63
    property int dragDropPlaceholderHeight: 28
64

65
    property int gridDelegateSize: 170
66

Alexander Stippich's avatar
Alexander Stippich committed
67
    property int viewSelectorDelegateHeight: 24
68

Alexander Stippich's avatar
Alexander Stippich committed
69
70
    property int headerToolbarHeight: 48
    property int footerToolbarHeight: 30
71

72
    property int viewSelectorSmallSizeThreshold: 800
73

74
75
76
77
    Label {
        id: fontSize
    }
}