diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-05-25 12:41:29 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-05-25 12:41:29 +0200 |
commit | 9e5eaeb1a46c86eddf45a4a9c2d03beb1244cce3 (patch) | |
tree | 6a71188347dfbe0f70d60e1c6f903ca11c5dc5c0 /examples/qml-compositor | |
parent | 2cec8572e9d440f2e750089e168b6cbcd946ad2f (diff) |
Added default background.jpg for qml compositor.
Used the one from demos/embeddeddialogs in Qt.
Diffstat (limited to 'examples/qml-compositor')
-rw-r--r-- | examples/qml-compositor/background.jpg | bin | 0 -> 30730 bytes | |||
-rw-r--r-- | examples/qml-compositor/qml-compositor.qrc | 2 | ||||
-rw-r--r-- | examples/qml-compositor/qml/QmlCompositor/main.qml | 3 |
3 files changed, 3 insertions, 2 deletions
diff --git a/examples/qml-compositor/background.jpg b/examples/qml-compositor/background.jpg Binary files differnew file mode 100644 index 000000000..445567fbd --- /dev/null +++ b/examples/qml-compositor/background.jpg diff --git a/examples/qml-compositor/qml-compositor.qrc b/examples/qml-compositor/qml-compositor.qrc index 602681a6e..0dc86580c 100644 --- a/examples/qml-compositor/qml-compositor.qrc +++ b/examples/qml-compositor/qml-compositor.qrc @@ -1,7 +1,7 @@ <!DOCTYPE RCC><RCC version="1.0"> <qresource> + <file>background.jpg</file> <file>qml/QmlCompositor/main.qml</file> - <file>qml/QmlCompositor/background.jpg</file> <file>qml/QmlCompositor/compositor.js</file> <file>qml/QmlCompositor/ShaderEffect.qml</file> <file>qml/QmlCompositor/WindowChrome.qml</file> diff --git a/examples/qml-compositor/qml/QmlCompositor/main.qml b/examples/qml-compositor/qml/QmlCompositor/main.qml index a82327f8e..8cb92e4da 100644 --- a/examples/qml-compositor/qml/QmlCompositor/main.qml +++ b/examples/qml-compositor/qml/QmlCompositor/main.qml @@ -50,7 +50,8 @@ Item { Image { id: background anchors.fill: parent - source: "background.jpg" + fillMode: Image.Tile + source: "../../background.jpg" smooth: true } |