Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QML InputPanel



  • Hi,
    Today i added a simple InputPanel in my app. That worked. The InputPanel was inside my main application window...
    After deleting that InputPannel , I can't understand why / how, but my InputPannel is still here ... and it is not inside my application window but directly on my desktop. Can someone telle me why please ?

    code I added and then deleted... :

        InputPanel {
            id: inputPanel
            z: 99
            x: b.x
            y:b.y + b.height
            visible: root.focus
            width: window.width/2
            //anchors.horizontalCenter: parent.horizontalCenter
    
            states: State {
                name: "visible"
                when: inputPanel.active
                PropertyChanges {
                    target: inputPanel
                    //y: window.height - inputPanel.height
                    visible:true
                }
            }
            transitions: Transition {
                from: ""
                to: "visible"
                reversible: true
                ParallelAnimation {
                    NumberAnimation {
                        properties: "y"
                        duration: 250
                        easing.type: Easing.InOutQuad
                    }
                }
            }
        }
    

    Thank you



  • @raven-worx sorry i'ts ok now! This is because I have checked Use Qt Virtual Keyboard in Project Creation Wizard. THX


  • Moderators

    @LeLev
    when there is no InputPanel placed inside your app the desktop screen is used for the VirtualKeyboard.
    Thats default behavior.



  • @raven-worx Hello thx!

    Ok. But how to Remove that VirtualKeyboard from my application now ? I don't want it anymore.



  • @raven-worx sorry i'ts ok now! This is because I have checked Use Qt Virtual Keyboard in Project Creation Wizard. THX


Log in to reply