diff options
Diffstat (limited to 'examples/declarative/aspectratio')
6 files changed, 6 insertions, 6 deletions
diff --git a/examples/declarative/aspectratio/face_fit.qml b/examples/declarative/aspectratio/face_fit.qml index 95105e1..4573160 100644 --- a/examples/declarative/aspectratio/face_fit.qml +++ b/examples/declarative/aspectratio/face_fit.qml @@ -6,7 +6,7 @@ import Qt 4.6 // when the edges of the image contain less vital information than the // center - such as a face. // -Rect { +Rectangle { // default size: whole image, unscaled width: Image.width height: Image.height diff --git a/examples/declarative/aspectratio/face_fit_animated.qml b/examples/declarative/aspectratio/face_fit_animated.qml index a1b9213..2768150 100644 --- a/examples/declarative/aspectratio/face_fit_animated.qml +++ b/examples/declarative/aspectratio/face_fit_animated.qml @@ -4,7 +4,7 @@ import Qt 4.6 // diverse and usage-specific behaviours are made possible by NOT putting a // hard-coded aspect ratio feature into the Image primitive. // -Rect { +Rectangle { // default size: whole image, unscaled width: Image.width height: Image.height diff --git a/examples/declarative/aspectratio/scale_and_crop.qml b/examples/declarative/aspectratio/scale_and_crop.qml index 20169f9..75080b4 100644 --- a/examples/declarative/aspectratio/scale_and_crop.qml +++ b/examples/declarative/aspectratio/scale_and_crop.qml @@ -2,7 +2,7 @@ import Qt 4.6 // Here, we implement "Scale and Crop" behaviour. // -Rect { +Rectangle { // default size: whole image, unscaled width: Image.width height: Image.height diff --git a/examples/declarative/aspectratio/scale_and_sidecrop.qml b/examples/declarative/aspectratio/scale_and_sidecrop.qml index c3aa742..a6bd2c8 100644 --- a/examples/declarative/aspectratio/scale_and_sidecrop.qml +++ b/examples/declarative/aspectratio/scale_and_sidecrop.qml @@ -3,7 +3,7 @@ import Qt 4.6 // Here, we implement a variant of "Scale and Crop" behaviour, where we // crop the sides if necessary to fully fit vertically, but not the reverse. // -Rect { +Rectangle { // default size: whole image, unscaled width: Image.width height: Image.height diff --git a/examples/declarative/aspectratio/scale_to_fit.qml b/examples/declarative/aspectratio/scale_to_fit.qml index f6b14a4..744abce 100644 --- a/examples/declarative/aspectratio/scale_to_fit.qml +++ b/examples/declarative/aspectratio/scale_to_fit.qml @@ -3,7 +3,7 @@ import Qt 4.6 // Here, we implement "Scale to Fit" behaviour "manually", rather // than using the preserveAspect property. // -Rect { +Rectangle { // default size: whole image, unscaled width: Image.width height: Image.height diff --git a/examples/declarative/aspectratio/scale_to_fit_simple.qml b/examples/declarative/aspectratio/scale_to_fit_simple.qml index 5381bb4..4ee06ba 100644 --- a/examples/declarative/aspectratio/scale_to_fit_simple.qml +++ b/examples/declarative/aspectratio/scale_to_fit_simple.qml @@ -3,7 +3,7 @@ import Qt 4.6 // Here, we implement "Scale to Fit" behaviour, using the // preserveAspect property. // -Rect { +Rectangle { // default size: whole image, unscaled width: Image.width height: Image.height |