1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- import QtQuick 2.0
- import QtQuick.FreeVirtualKeyboard 1.0
- import QtQuick.Window 2.0
- Rectangle {
- id: root
- implicitWidth: mainQml.implicitWidth
- implicitHeight: mainQml.implicitHeight
- Item {
- clip: true
- id: appContainer
- x: 0
- y: parent.height
- width: parent.width
- height: parent.height
- anchors.centerIn: parent
- // ***** Body *****
- Start {
- 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("Start_Container 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
- }
- }
- }
- }
- }
- }
|