文本输入在QML中不起作用

时间:2013-06-23 18:10:46

标签: qt qml pyside

我有一个简单的TextInput元素,但我不能在其中键入任何内容。

import QtQuick 1.0


Rectangle{
    width: 100
    height: 100

    TextInput{
        anchors.fill: parent
        focus: true
        text: '234'
    }
}

0 个答案:

没有答案
相关问题