remove useless slots, logs, Drawer open and close
This commit is contained in:
parent
063851445a
commit
ada3f9a7fa
17 changed files with 3 additions and 132 deletions
|
|
@ -33,18 +33,6 @@ DrawerType2 {
|
|||
root.expandedHeight = content.implicitHeight + 32
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: root
|
||||
enabled: !GC.isMobile()
|
||||
function onOpened() {
|
||||
FocusController.pushRootObject(root)
|
||||
}
|
||||
|
||||
function onClosed() {
|
||||
FocusController.dropRootObject(root)
|
||||
}
|
||||
}
|
||||
|
||||
Header2TextType {
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: 16
|
||||
|
|
|
|||
|
|
@ -20,18 +20,6 @@ DrawerType2 {
|
|||
root.expandedHeight = container.implicitHeight
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: root
|
||||
enabled: !GC.isMobile()
|
||||
function onOpened() {
|
||||
FocusController.pushRootObject(root)
|
||||
}
|
||||
|
||||
function onClosed() {
|
||||
FocusController.dropRootObject(root)
|
||||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
id: backButtonLayout
|
||||
|
||||
|
|
|
|||
|
|
@ -39,14 +39,6 @@ DrawerType2 {
|
|||
expandedStateContent: Item {
|
||||
implicitHeight: root.expandedHeight
|
||||
|
||||
Connections {
|
||||
target: root
|
||||
enabled: !GC.isMobile()
|
||||
function onOpened() {
|
||||
header.forceActiveFocus()
|
||||
}
|
||||
}
|
||||
|
||||
Header2Type {
|
||||
id: header
|
||||
anchors.top: parent.top
|
||||
|
|
@ -170,12 +162,6 @@ DrawerType2 {
|
|||
anchors.fill: parent
|
||||
expandedHeight: parent.height * 0.9
|
||||
|
||||
onClosed: {
|
||||
if (!GC.isMobile()) {
|
||||
header.forceActiveFocus()
|
||||
}
|
||||
}
|
||||
|
||||
expandedStateContent: Item {
|
||||
id: configContentContainer
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue