Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qmlvisual / qdeclarativeborderimage / animated-smooth.qml
1 import QtQuick 1.0
2 import "content"
3
4 Rectangle {
5     id: page
6     color: "white"
7     width: 520; height: 260
8     Grid{
9         columns: 4
10         spacing: 4
11         MyBorderImage {
12             minWidth: 60; maxWidth: 120
13             minHeight: 60; maxHeight: 120
14             source: "content/colors.png"; margin: 15
15             antialiased: true
16         }
17         MyBorderImage {
18             minWidth: 60; maxWidth: 120
19             minHeight: 60; maxHeight: 120
20             source: "content/colors.png"; margin: 15
21             horizontalMode: BorderImage.Repeat; verticalMode: BorderImage.Repeat
22             antialiased: true
23         }
24         MyBorderImage {
25             minWidth: 60; maxWidth: 120
26             minHeight: 60; maxHeight: 120
27             source: "content/colors.png"; margin: 15
28             horizontalMode: BorderImage.Stretch; verticalMode: BorderImage.Repeat
29             antialiased: true
30         }
31         MyBorderImage {
32             minWidth: 60; maxWidth: 120
33             minHeight: 60; maxHeight: 120
34             source: "content/colors.png"; margin: 15
35             horizontalMode: BorderImage.Round; verticalMode: BorderImage.Round
36             antialiased: true
37         }
38         MyBorderImage {
39             minWidth: 60; maxWidth: 120
40             minHeight: 40; maxHeight: 120
41             source: "content/bw.png"; margin: 10
42             antialiased: true
43         }
44         MyBorderImage {
45             minWidth: 60; maxWidth: 120
46             minHeight: 40; maxHeight: 120
47             source: "content/bw.png"; margin: 10
48             horizontalMode: BorderImage.Repeat; verticalMode: BorderImage.Repeat
49             antialiased: true
50         }
51         MyBorderImage {
52             minWidth: 60; maxWidth: 120
53             minHeight: 40; maxHeight: 120
54             source: "content/bw.png"; margin: 10
55             horizontalMode: BorderImage.Stretch; verticalMode: BorderImage.Repeat
56             antialiased: true
57         }
58         MyBorderImage {
59             minWidth: 60; maxWidth: 120
60             minHeight: 40; maxHeight: 120
61             source: "content/bw.png"; margin: 10
62             horizontalMode: BorderImage.Round; verticalMode: BorderImage.Round
63             antialiased: true
64         }
65     }
66 }