QML_RUNTIME_TESTING should be disabled by default.
[profile/ivi/qtdeclarative.git] / tests / auto / quick / qquickaccessible / data / widgets / TextRect.qml
1 import QtQuick 2.0
2
3 Rectangle {
4     id: button
5
6     property alias text : buttonText.text
7     Accessible.name: text
8     Accessible.description: "This button does " + text
9     Accessible.role: Accessible.Client
10
11     signal clicked
12
13     width: 40
14     height: 40
15     border.width: 2
16     border.color: "black";
17
18     Text {
19         id: buttonText
20         text: "TextRect"
21         anchors.centerIn: parent
22         font.pixelSize: parent.height * .1
23         style: Text.Sunken; color: "white"; styleColor: "black"; smooth: true
24     }
25
26 }