This repository has been archived by the owner on Jan 28, 2022. It is now read-only.
/
Settings.qml
executable file
路70 lines (51 loc) 路 1.74 KB
/
Settings.qml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import QtQuick 2.11
import QtQuick.Controls 2.5
import Launcher 1.0
import "settings" as Settings
Item {
width: parent.width-20
height: settingsFlow.height
anchors.horizontalCenter: parent.horizontalCenter
Launcher {
id: settingsLauncher
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// SETTINGS BLOCKS
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Flow {
id: settingsFlow
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
spacing: 40
Rectangle {
width: parent.width
height: 200
color: colorBackground
Text {
id: titleText
color: colorText
text: qsTr("Settings") + translateHandler.emptyString
anchors.centerIn: parent
font.family: "Open Sans"
font.weight: Font.Normal
font.pixelSize: 60
lineHeight: 1
}
}
Settings.Display {}
Settings.Softwareupdate {}
Settings.PowerSaving {}
Settings.Languages {}
Settings.Hubs {
visible: integrations.list.length == 0 ? false : true
}
Settings.Devices {
visible: Object.keys(device).length == 0 ? false : true
}
Settings.Battery {}
Settings.Bluetooth {}
Settings.Network {}
Settings.RemoteConfig {}
Settings.System {}
}
}