diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2015-08-28 13:51:06 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-09-03 20:53:44 +0000 |
commit | 18193133648a1100939534fd4f7be367ac102710 (patch) | |
tree | a83b47a67245ebaf2c30c571dd848714b54c0579 /examples/webenginewidgets/demobrowser/htmls | |
parent | b5c9226856330772b239f4ca91fc252a55d0d83a (diff) |
Rename the widget browser example demobrowser
The browser example already uses the name demobrowser internally, this
changes the external name to make it easier to refer to explicitly, and
avoid users thinking fancybrowser is the better example.
Change-Id: Ic093eb4881352b5f796bf565df01edb929aba39c
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'examples/webenginewidgets/demobrowser/htmls')
-rw-r--r-- | examples/webenginewidgets/demobrowser/htmls/htmls.qrc | 5 | ||||
-rw-r--r-- | examples/webenginewidgets/demobrowser/htmls/notfound.html | 63 |
2 files changed, 68 insertions, 0 deletions
diff --git a/examples/webenginewidgets/demobrowser/htmls/htmls.qrc b/examples/webenginewidgets/demobrowser/htmls/htmls.qrc new file mode 100644 index 000000000..03b256ccb --- /dev/null +++ b/examples/webenginewidgets/demobrowser/htmls/htmls.qrc @@ -0,0 +1,5 @@ +<!DOCTYPE RCC><RCC version="1.0"> +<qresource> + <file>notfound.html</file> +</qresource> +</RCC> diff --git a/examples/webenginewidgets/demobrowser/htmls/notfound.html b/examples/webenginewidgets/demobrowser/htmls/notfound.html new file mode 100644 index 000000000..e89845aa6 --- /dev/null +++ b/examples/webenginewidgets/demobrowser/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>.example.com + instead of <b>www</b>.example.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> |