Debian Codegraph @

src/app/qml/backend/GlobalSettings.qml

raw
1 /*
2 * Copyright (C) 2017 Stefano Verzegnassi
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License 3 as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see http://www.gnu.org/licenses/.
16 */
17
18 import QtQuick 2.4
19 import Lomiri.Components 1.3
20 import Qt.labs.settings 1.0
21
22 Settings {
23 property bool collapsedSidebar: false
24 property int viewMethod: 0 // 0=List; 1=Grid
25 property bool showHidden: false
26 property int sortOrder: 0 // 0=Ascending; 1=Descending
27 property int sortBy: 0 // 0=Name; 1=Date
28 property int sidebarWidth: units.gu(20)
29 property int gridSize: 1 // 0=S; 1=M; 2=L; 3=XL
30 property int listSize: 1 // 0=S; 1=M; 2=L; 3=XL
31 property int theme: 0
32 property bool openDefault: false
33 property bool requireAuthenticationForFullAccess: true
34 }