forked from Silverfish/proton-bridge
GODT-1346: GODT-1340 GODT-1315 QML changes
GODT-1365: Create ComboBox component GODT-1338: GODT-1343 Help view buttons GODT-1340: Not crashing, user list updating in main thread. GODT-1345: adding panic handlers
This commit is contained in:
@ -20,9 +20,10 @@ import QtQuick.Window 2.13
|
||||
import QtQuick.Layouts 1.12
|
||||
import QtQuick.Controls 2.12
|
||||
|
||||
import Proton 4.0
|
||||
import "../Proton"
|
||||
|
||||
RowLayout {
|
||||
id: root
|
||||
property ColorScheme colorScheme
|
||||
|
||||
ColumnLayout {
|
||||
@ -32,30 +33,36 @@ RowLayout {
|
||||
|
||||
Switch {
|
||||
text: "Toggle"
|
||||
colorScheme: root.colorScheme
|
||||
}
|
||||
|
||||
Switch {
|
||||
text: "Toggle"
|
||||
enabled: false
|
||||
colorScheme: root.colorScheme
|
||||
}
|
||||
|
||||
Switch {
|
||||
text: "Toggle"
|
||||
loading: true
|
||||
colorScheme: root.colorScheme
|
||||
}
|
||||
|
||||
Switch {
|
||||
text: ""
|
||||
colorScheme: root.colorScheme
|
||||
}
|
||||
|
||||
Switch {
|
||||
text: ""
|
||||
enabled: false
|
||||
colorScheme: root.colorScheme
|
||||
}
|
||||
|
||||
Switch {
|
||||
text: ""
|
||||
loading: true
|
||||
colorScheme: root.colorScheme
|
||||
}
|
||||
}
|
||||
|
||||
@ -67,35 +74,41 @@ RowLayout {
|
||||
Switch {
|
||||
text: "Toggle"
|
||||
checked: true
|
||||
colorScheme: root.colorScheme
|
||||
}
|
||||
|
||||
Switch {
|
||||
text: "Toggle"
|
||||
checked: true
|
||||
enabled: false
|
||||
colorScheme: root.colorScheme
|
||||
}
|
||||
|
||||
Switch {
|
||||
text: "Toggle"
|
||||
checked: true
|
||||
loading: true
|
||||
colorScheme: root.colorScheme
|
||||
}
|
||||
|
||||
Switch {
|
||||
text: ""
|
||||
checked: true
|
||||
colorScheme: root.colorScheme
|
||||
}
|
||||
|
||||
Switch {
|
||||
text: ""
|
||||
checked: true
|
||||
enabled: false
|
||||
colorScheme: root.colorScheme
|
||||
}
|
||||
|
||||
Switch {
|
||||
text: ""
|
||||
checked: true
|
||||
loading: true
|
||||
colorScheme: root.colorScheme
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user