summaryrefslogtreecommitdiffstats
path: root/examples/gestures/browser/htmls
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-12 08:34:54 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-12 08:36:50 (GMT)
commitf14620878beed97c85c4b6a03a38f485800328d1 (patch)
treea175ab72d1fd2259b5d626639691f60b0520e51e /examples/gestures/browser/htmls
parent21e699d7abff8b75157ee1305ac1dee35c748e98 (diff)
downloadQt-f14620878beed97c85c4b6a03a38f485800328d1.zip
Qt-f14620878beed97c85c4b6a03a38f485800328d1.tar.gz
Qt-f14620878beed97c85c4b6a03a38f485800328d1.tar.bz2
Added gesture enabled browser demo to project file.
Added missing files for building the demo.
Diffstat (limited to 'examples/gestures/browser/htmls')
-rw-r--r--examples/gestures/browser/htmls/htmls.qrc5
-rw-r--r--examples/gestures/browser/htmls/notfound.html63
2 files changed, 68 insertions, 0 deletions
diff --git a/examples/gestures/browser/htmls/htmls.qrc b/examples/gestures/browser/htmls/htmls.qrc
new file mode 100644
index 0000000..03b256c
--- /dev/null
+++ b/examples/gestures/browser/htmls/htmls.qrc
@@ -0,0 +1,5 @@
+<!DOCTYPE RCC><RCC version="1.0">
+<qresource>
+ <file>notfound.html</file>
+</qresource>
+</RCC>
diff --git a/examples/gestures/browser/htmls/notfound.html b/examples/gestures/browser/htmls/notfound.html
new file mode 100644
index 0000000..b04a9f8
--- /dev/null
+++ b/examples/gestures/browser/htmls/notfound.html
@@ -0,0 +1,63 @@
+<html>
+<head>
+<title>%1</title>
+<style>
+body {
+ padding: 3em 0em;
+ background: #eeeeee;
+}
+hr {
+ color: lightgray;
+ width: 100%;
+}
+img {
+ float: left;
+ opacity: .8;
+}
+#box {
+ background: white;
+ border: 1px solid lightgray;
+ width: 600px;
+ padding: 60px;
+ margin: auto;
+}
+h1 {
+ font-size: 130%;
+ font-weight: bold;
+ border-bottom: 1px solid lightgray;
+ margin-left: 48px;
+}
+h2 {
+ font-size: 100%;
+ font-weight: normal;
+ border-bottom: 1px solid lightgray;
+ margin-left: 48px;
+}
+ul {
+ font-size: 80%;
+ padding-left: 48px;
+ margin: 0;
+}
+#reloadButton {
+ padding-left: 48px;
+}
+</style>
+</head>
+<body>
+ <div id="box">
+ <img src="data:image/png;base64,IMAGE_BINARY_DATA_HERE" width="32" height="32"/>
+ <h1>%2</h1>
+ <h2>When connecting to: %3.</h2>
+ <ul>
+ <li>Check the address for errors such as <b>ww</b>.trolltech.com
+ instead of <b>www</b>.trolltech.com</li>
+ <li>If the address is correct, try checking the network
+ connection.</li>
+ <li>If your computer or network is protected by a firewall or
+ proxy, make sure that the browser demo is permitted to access
+ the network.</li>
+ </ul>
+ <br/><br/>
+ </div>
+</body>
+</html>