remove useless slots, logs, Drawer open and close

This commit is contained in:
Cyril Anisimov 2024-10-19 17:09:57 +02:00
parent 063851445a
commit ada3f9a7fa
17 changed files with 3 additions and 132 deletions

View file

@ -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

View file

@ -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

View file

@ -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