Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML InputPanel
Forum Updated to NodeBB v4.3 + New Features

QML InputPanel

Scheduled Pinned Locked Moved Solved QML and Qt Quick
4 Posts 2 Posters 918 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ODБOïO Offline
    ODБOïO Offline
    ODБOï
    wrote on last edited by ODБOï
    #1

    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-worxR 1 Reply Last reply
    0
    • ODБOïO ODБOï

      @raven-worx Hello thx!

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

      ODБOïO Offline
      ODБOïO Offline
      ODБOï
      wrote on last edited by
      #4

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

      1 Reply Last reply
      0
      • ODБOïO ODБOï

        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-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #2

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

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        ODБOïO 1 Reply Last reply
        1
        • raven-worxR raven-worx

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

          ODБOïO Offline
          ODБOïO Offline
          ODБOï
          wrote on last edited by
          #3

          @raven-worx Hello thx!

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

          ODБOïO 1 Reply Last reply
          0
          • ODБOïO ODБOï

            @raven-worx Hello thx!

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

            ODБOïO Offline
            ODБOïO Offline
            ODБOï
            wrote on last edited by
            #4

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

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved