filemanager/qml/GlobalSettings.qml

39 lines
1.2 KiB
QML
Raw Normal View History

2021-05-24 04:01:26 -07:00
/*
* Copyright (C) 2021 CutefishOS Team.
*
* Author: revenmartin <revenmartin@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
2021-03-29 01:51:34 -07:00
import QtQuick 2.12
2021-03-16 00:02:20 -07:00
import Qt.labs.settings 1.0
Settings {
2021-04-04 22:01:49 -07:00
property int viewMethod: 1 // controls display mode: list or grid
2021-03-16 00:02:20 -07:00
property bool showHidden: false
2021-04-19 01:07:58 -07:00
// Name, Date, Size
property int orderBy: 0
// UI
2021-03-29 01:51:34 -07:00
property int width: 900
property int height: 580
2021-03-30 09:20:52 -07:00
property int desktopIconSize: 72
property int maximumIconSize: 256
2021-04-14 08:40:22 -07:00
property int minimumIconSize: 64
2021-03-29 07:53:21 -07:00
2021-04-14 08:40:22 -07:00
property int gridIconSize: 64
2021-03-16 00:02:20 -07:00
}