summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/qdeclarativetext/qtbug_14865.qml
blob: 3d5fbf0b542bf29ba0b51cb7890d913a7ca83e32 (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: 200; height: 200

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

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