diff options
Diffstat (limited to 'examples/declarative/aspectratio/face_fit.qml')
-rw-r--r-- | examples/declarative/aspectratio/face_fit.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/declarative/aspectratio/face_fit.qml b/examples/declarative/aspectratio/face_fit.qml index 3005d1b..95105e1 100644 --- a/examples/declarative/aspectratio/face_fit.qml +++ b/examples/declarative/aspectratio/face_fit.qml @@ -1,3 +1,5 @@ +import Qt 4.6 + // Here, we implement a hybrid of the "scale to fit" and "scale and crop" // behaviours which will crop up to 25% from *one* dimension if necessary // to fully scale the other. This is a realistic algorithm, for example |