summaryrefslogtreecommitdiffstats
path: root/examples/declarative/loader
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-07-31 01:52:29 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-07-31 01:52:29 (GMT)
commit2411b42ff4638bc1a707ab9ebe9fbadf2a4a0292 (patch)
treec895ba39c4fa4f48b2aad1a6c1c86fdc788700aa /examples/declarative/loader
parent56f67f2fdf84fe5e7660552c52b67c4e474054dd (diff)
downloadQt-2411b42ff4638bc1a707ab9ebe9fbadf2a4a0292.zip
Qt-2411b42ff4638bc1a707ab9ebe9fbadf2a4a0292.tar.gz
Qt-2411b42ff4638bc1a707ab9ebe9fbadf2a4a0292.tar.bz2
Rename Rect.pen to Rect.border
Diffstat (limited to 'examples/declarative/loader')
-rw-r--r--examples/declarative/loader/Browser.qml4
-rw-r--r--examples/declarative/loader/Button.qml2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/loader/Browser.qml b/examples/declarative/loader/Browser.qml
index 64df830..96c2a76 100644
--- a/examples/declarative/loader/Browser.qml
+++ b/examples/declarative/loader/Browser.qml
@@ -82,13 +82,13 @@ Rect {
id: TitleBar
width: parent.width
height: 32
- color: activePalette.button; pen.color: activePalette.mid
+ color: activePalette.button; border.color: activePalette.mid
Rect {
id: UpButton
width: 30
height: TitleBar.height
- pen.color: activePalette.mid; color: "transparent"
+ border.color: activePalette.mid; color: "transparent"
MouseRegion { anchors.fill: parent; onClicked: folders.folder = up(folders.folder) }
Image { anchors.centerIn: parent; source: "images/up.png" }
}
diff --git a/examples/declarative/loader/Button.qml b/examples/declarative/loader/Button.qml
index 562e04c..999e180 100644
--- a/examples/declarative/loader/Button.qml
+++ b/examples/declarative/loader/Button.qml
@@ -8,7 +8,7 @@ Rect {
height: Text.height + 10
width: Text.width + 20
- pen.width: 1
+ border.width: 1
radius: 4
color: "grey"
MouseRegion { anchors.fill: parent; onClicked: Container.clicked() }