summaryrefslogtreecommitdiffstats
path: root/examples/sensors/accelbubble/content/Bluebubble.svg
diff options
context:
space:
mode:
authorVenu <venugopal.shivashankar@digia.com>2013-07-01 15:14:00 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-02 14:40:35 +0200
commit1484cb76315984d4833b510bf9b4e65af4ca696e (patch)
tree0446ea1031a51b647b0d7c96dc0f69df64121a82 /examples/sensors/accelbubble/content/Bluebubble.svg
parent0e86de52c22cef74a6d0536d985a2a047051c0d8 (diff)
Updated the example to use SVG content and Qt Quick controls.v5.1.1
Using sensors module and svg content in a Qt Quick app has been tricky so far as the C++ plug-in dependencies are not detected automatically by creator. This change is intended to make the app suitable for a tutorial explaining how to create a Qt Quick app for Android. Change-Id: I05b7413b1224e009ae739cf7a16181519cab7619 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'examples/sensors/accelbubble/content/Bluebubble.svg')
-rw-r--r--examples/sensors/accelbubble/content/Bluebubble.svg10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/sensors/accelbubble/content/Bluebubble.svg b/examples/sensors/accelbubble/content/Bluebubble.svg
new file mode 100644
index 00000000..d9c406c4
--- /dev/null
+++ b/examples/sensors/accelbubble/content/Bluebubble.svg
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
+ <defs>
+ <radialGradient id="grad1" cx="0.5" cy="0.7" r="0.7" fx="0.5" fy="0.4">
+ <stop offset="0" style="stop-color:rgb(255,255,255)" />
+ <stop offset="1.5" style="stop-color:rgb(0,102,153)" />
+ </radialGradient>
+ </defs>
+ <circle cx="100" cy="80" r="42" fill="url(#grad1)"/>
+</svg>