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. Application Window and Dialog Issue.
Forum Updated to NodeBB v4.3 + New Features

Application Window and Dialog Issue.

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmlvirtualkeyboardqtquick2
1 Posts 1 Posters 626 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.
  • P Offline
    P Offline
    pra7
    wrote on 26 Aug 2017, 14:49 last edited by
    #1

    Hello, I am not able to click on the virtual keyboard if the TextField is in the dialog and **Application Window ** is the base class, Following is the code :

    import QtQuick 2.6
    import QtQuick.Window 2.2
    import QtQuick.Controls 2.2
    import QtQuick.VirtualKeyboard 2.2
    
    ApplicationWindow {
        id:appwindow
        visible: true
        width: 600
        height: 500
        title: qsTr("Test")
        
        Button{
            id:button
            text:qsTr("Open")
            onClicked:{
                dialog.visible=true
                dialog.open()
            }
        }
        
        Dialog{
            id:dialog
            width:200
            height:300
            visible:false
            TextField {
                id: textfield
                color: "#2B2C2E"
            }
        }
        
        InputPanel {
            id: inputPanel
            z: 89
            anchors.bottom:parent.bottom
            anchors.left: parent.left
            anchors.right: parent.right
            visible: Qt.inputMethod.visible 
        }
    }
    

    There will be no issues if i change ApplicationWindow to Window, Is that a QT Bug ?

    1 Reply Last reply
    0

    1/1

    26 Aug 2017, 14:49

    • Login

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