summaryrefslogtreecommitdiffstats
path: root/examples/help/contextsensitivehelp/docs
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2013-10-29 14:54:20 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-30 16:56:13 +0100
commitd040f2668309937be6acd2415dbfaa3f07671476 (patch)
tree7a4c46d89494f2744abb3e4ba701fa4338a01120 /examples/help/contextsensitivehelp/docs
parentc28ecbb7ed8404b7e29b1d1b30882c865d87e34d (diff)
Doc: Rename doc directory of Context Sensitive Help example
During packaging, the doc/ directories are removed from examples when they are copied to Qt examples install directory. This example has a doc/ directory with contents required to run it. This change renames it so that he packaging doesn't break it. Task-number: QTBUG-33848 Change-Id: I7b4e29d7b3c2c2ff9429c1a81bd32fb809d0cdb3 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'examples/help/contextsensitivehelp/docs')
-rw-r--r--examples/help/contextsensitivehelp/docs/amount.html11
-rw-r--r--examples/help/contextsensitivehelp/docs/filter.html12
-rw-r--r--examples/help/contextsensitivehelp/docs/plants.html44
-rw-r--r--examples/help/contextsensitivehelp/docs/rain.html11
-rw-r--r--examples/help/contextsensitivehelp/docs/source.html33
-rw-r--r--examples/help/contextsensitivehelp/docs/temperature.html13
-rw-r--r--examples/help/contextsensitivehelp/docs/time.html11
-rw-r--r--examples/help/contextsensitivehelp/docs/wateringmachine.qchbin0 -> 25600 bytes
-rw-r--r--examples/help/contextsensitivehelp/docs/wateringmachine.qhcbin0 -> 8192 bytes
-rw-r--r--examples/help/contextsensitivehelp/docs/wateringmachine.qhcp14
-rw-r--r--examples/help/contextsensitivehelp/docs/wateringmachine.qhp25
11 files changed, 174 insertions, 0 deletions
diff --git a/examples/help/contextsensitivehelp/docs/amount.html b/examples/help/contextsensitivehelp/docs/amount.html
new file mode 100644
index 000000000..78ab2201b
--- /dev/null
+++ b/examples/help/contextsensitivehelp/docs/amount.html
@@ -0,0 +1,11 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+ <head>
+ <title>Water amount</title>
+ </head>
+ <body>
+ Depending on the plant, temperature and rain fall the amount needs to be larger
+ or smaller. On a really hot day without rain, the suggested <a href="plants.html">amount</a>
+ can be increased by about 10%.
+ </body>
+</html>
diff --git a/examples/help/contextsensitivehelp/docs/filter.html b/examples/help/contextsensitivehelp/docs/filter.html
new file mode 100644
index 000000000..64861126d
--- /dev/null
+++ b/examples/help/contextsensitivehelp/docs/filter.html
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+<title>Filter</title>
+</head>
+<body>
+Depending on the source of water, it needs to be filtered or not. Filtering
+is strongly recommened for the river and lake.
+
+
+</body>
+</html>
diff --git a/examples/help/contextsensitivehelp/docs/plants.html b/examples/help/contextsensitivehelp/docs/plants.html
new file mode 100644
index 000000000..d0fd4d7bd
--- /dev/null
+++ b/examples/help/contextsensitivehelp/docs/plants.html
@@ -0,0 +1,44 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+ <head>
+ <title>Plants</title>
+ </head>
+ <body>
+ Different kind of plants need different amounts of water. Here's a short
+ overview over the most common grown plants and their avarage need of water:
+ <br>
+ <table border=1>
+ <tr>
+ <td>Kind</td>
+ <td>Amount</td>
+ </tr>
+ <tr>
+ <td>Squash</td>
+ <td>2000</td>
+ </tr>
+ <tr>
+ <td>Bean</td>
+ <td>1500</td>
+ </tr>
+ <tr>
+ <td>Carrot</td>
+ <td>1200</td>
+ </tr>
+ <tr>
+ <td>Strawberry</td>
+ <td>1300</td>
+ </tr>
+ <tr>
+ <td>Raspberry</td>
+ <td>1000</td>
+ </tr>
+ <tr>
+ <td>Blueberry</td>
+ <td>1100</td>
+ </tr>
+ </table>
+ <br><br>
+ <font color="#ff0000">Warning:</font> Watering them too much or too little will
+ cause irreversible damage!
+ </body>
+</html>
diff --git a/examples/help/contextsensitivehelp/docs/rain.html b/examples/help/contextsensitivehelp/docs/rain.html
new file mode 100644
index 000000000..09b5fa41f
--- /dev/null
+++ b/examples/help/contextsensitivehelp/docs/rain.html
@@ -0,0 +1,11 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+ <head>
+ <title>Rain</title>
+ </head>
+ <body>
+ Depending on the rain fall, the automated watering system should not be
+ switched on at all. Also, the <a href="./temperature.html">temperature</a> should be
+ considered.
+ </body>
+</html>
diff --git a/examples/help/contextsensitivehelp/docs/source.html b/examples/help/contextsensitivehelp/docs/source.html
new file mode 100644
index 000000000..68b2f8c71
--- /dev/null
+++ b/examples/help/contextsensitivehelp/docs/source.html
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+ <head>
+ <title>Water Source</title>
+ </head>
+ <body>
+ The current pipe system connects to four different sources. Be aware
+ that only a limited amount of water can be taken from some sources.
+ <br>
+ <table border=1>
+ <tr>
+ <td>Source</td>
+ <td>Amount</td>
+ </tr>
+ <tr>
+ <td>Fountain</td>
+ <td>4000</td>
+ </tr>
+ <tr>
+ <td>River</td>
+ <td>6000</td>
+ </tr>
+ <tr>
+ <td>Lake</td>
+ <td>10000</td>
+ </tr>
+ <tr>
+ <td>Public Water System</td>
+ <td>unlimited</td>
+ </tr>
+ </table>
+ </body>
+</html>
diff --git a/examples/help/contextsensitivehelp/docs/temperature.html b/examples/help/contextsensitivehelp/docs/temperature.html
new file mode 100644
index 000000000..92e8723b8
--- /dev/null
+++ b/examples/help/contextsensitivehelp/docs/temperature.html
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+ <head>
+ <title>Temperature</title>
+ </head>
+ <body>
+ Depending on the temperature, the plants need more or less water. The higher
+ the temperature the higher the need for water. If the temperature does not
+ reach a certain level, maybe no automatic watering should be done at all.<br>
+ Before setting this parameter for good, you should also take the amount of <a href="./rain.html">
+ rain</a> into account.
+ </body>
+</html>
diff --git a/examples/help/contextsensitivehelp/docs/time.html b/examples/help/contextsensitivehelp/docs/time.html
new file mode 100644
index 000000000..0cc81f4d0
--- /dev/null
+++ b/examples/help/contextsensitivehelp/docs/time.html
@@ -0,0 +1,11 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+<title>Starting time</title>
+</head>
+<body>
+Starting the watering too early may be ineffective since most water
+will evaporate.
+
+</body>
+</html>
diff --git a/examples/help/contextsensitivehelp/docs/wateringmachine.qch b/examples/help/contextsensitivehelp/docs/wateringmachine.qch
new file mode 100644
index 000000000..35d29be22
--- /dev/null
+++ b/examples/help/contextsensitivehelp/docs/wateringmachine.qch
Binary files differ
diff --git a/examples/help/contextsensitivehelp/docs/wateringmachine.qhc b/examples/help/contextsensitivehelp/docs/wateringmachine.qhc
new file mode 100644
index 000000000..b5653c3ff
--- /dev/null
+++ b/examples/help/contextsensitivehelp/docs/wateringmachine.qhc
Binary files differ
diff --git a/examples/help/contextsensitivehelp/docs/wateringmachine.qhcp b/examples/help/contextsensitivehelp/docs/wateringmachine.qhcp
new file mode 100644
index 000000000..eebf6520e
--- /dev/null
+++ b/examples/help/contextsensitivehelp/docs/wateringmachine.qhcp
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<QHelpCollectionProject version="1.0">
+ <docFiles>
+ <generate>
+ <file>
+ <input>wateringmachine.qhp</input>
+ <output>wateringmachine.qch</output>
+ </file>
+ </generate>
+ <register>
+ <file>wateringmachine.qch</file>
+ </register>
+ </docFiles>
+</QHelpCollectionProject> \ No newline at end of file
diff --git a/examples/help/contextsensitivehelp/docs/wateringmachine.qhp b/examples/help/contextsensitivehelp/docs/wateringmachine.qhp
new file mode 100644
index 000000000..6dd08e7ae
--- /dev/null
+++ b/examples/help/contextsensitivehelp/docs/wateringmachine.qhp
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<QtHelpProject version="1.0">
+ <virtualFolder>wateringmachine</virtualFolder>
+ <namespace>wateringcompany.com.1-0-0.premium</namespace>
+ <filterSection>
+ <keywords>
+ <keyword name="plants" id="plants" ref="plants.html"/>
+ <keyword name="temperature" id="temperature" ref="temperature.html"/>
+ <keyword name="rain" id="rain" ref="rain.html"/>
+ <keyword name="time" id="time" ref="time.html"/>
+ <keyword name="amount" id="amount" ref="amount.html"/>
+ <keyword name="source" id="source" ref="source.html"/>
+ <keyword name="filtering" id="filtering" ref="filter.html"/>
+ </keywords>
+ <files>
+ <file>plants.html</file>
+ <file>temperature.html</file>
+ <file>rain.html</file>
+ <file>time.html</file>
+ <file>amount.html</file>
+ <file>source.html</file>
+ <file>filter.html</file>
+ </files>
+ </filterSection>
+</QtHelpProject>