AusweisApp2/resources/qml/Governikus/Navigation/+ios/Navigation.qml

32 lines
461 B
QML
Raw Normal View History

2017-07-03 09:30:10 +02:00
import QtQuick 2.5
2017-12-20 14:54:05 +01:00
import Governikus.Global 1.0
2017-07-03 09:30:10 +02:00
Item {
property bool lockedAndHidden: false
property bool isOpen: true
2018-03-28 15:10:51 +02:00
property int currentIndex: 0
enabled: !lockedAndHidden
2017-07-03 09:30:10 +02:00
id: baseItem
state: "identify"
2017-12-20 14:54:05 +01:00
height: childrenRect.height
2017-07-03 09:30:10 +02:00
Behavior on height {
NumberAnimation {duration: 200}
}
function open() {
}
function close() {
}
2017-12-20 14:54:05 +01:00
NavigationView {
visible: !baseItem.lockedAndHidden
height: visible ? Constants.tabbar_height : 0
}
2017-07-03 09:30:10 +02:00
}