summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/qdeclarativetext/qtbug_14865.qml
blob: 6699076c013258727f23116c2dfc7208f4d05cb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import QtQuick 1.0
import "../shared" 1.0

Rectangle {
    width: 100; height: 20

    TestText {
        id: label
        objectName: "label"
        text: "Hello world!"
        width: 10
    }

    Timer {
        running: true; interval: 1000
        onTriggered: label.text = ""
    }
}