summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/qdeclarativetextedit/linkActivated.qml
blob: 177d4751991fc2f01e7d1ba393e04d0580e34ddb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import QtQuick 1.1

Rectangle{
    width: 100
    height: 100
    TextEdit{
        text: '<a href="clicked">Click Me</a> '
        onLinkActivated: txt.text=link;
    }
    Text{
        id: txt
        y:50
        text: "unknown"
    }
}