123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- import QtQuick 2.0
- import QtQuick.FreeVirtualKeyboard 1.0
- import QtQuick.Window 2.0
- import "qrc:/Globals"
- import "Menu" as Menu
- Rectangle {
- id: root
- implicitWidth: mainQml.implicitWidth
- implicitHeight: mainQml.implicitHeight
- Menu.MenuHeader {
- //: ID:admin_sett_headline ADMIN Settings Headline
- headerText: qsTrId("admin_sett_headline") + transLoad.emptyString
- }
- Menu.MenuStatus {}
- Item {
- clip: true
- id: appContainer
- // width: parent.width
- // height: parent.height
- x: 0
- y: parent.height / 10.0
- width: parent.width
- height: parent.height - 2 * y
- anchors.centerIn: parent
- // ***** Body *****
- ADMIN_Settings {
- id: mainQml
- anchors.left: parent.left
- anchors.top: parent.top
- anchors.right: parent.right
- anchors.bottom: inputPanel.top
- Component.onDestruction: {
- Qt.inputMethod.hide();
- console.debug("FENSTER ZU !!!");
- }
- }
- InputPanel {
- id: inputPanel
- z: 99
- y: appContainer.height
- anchors.left: parent.left
- anchors.right: parent.right
- states: State {
- name: "visible"
- when: Qt.inputMethod.visible
- PropertyChanges {
- target: inputPanel
- y: appContainer.height - inputPanel.height
- }
- }
- transitions: Transition {
- from: ""
- to: "visible"
- reversible: true
- ParallelAnimation {
- NumberAnimation {
- properties: "y"
- duration: 150
- easing.type: Easing.InOutQuad
- }
- }
- }
- }
- }
- }
|