diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2009-03-23 09:34:13 (GMT) |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2009-03-23 09:34:13 (GMT) |
commit | 67ad0519fd165acee4a4d2a94fa502e9e4847bd0 (patch) | |
tree | 1dbf50b3dff8d5ca7e9344733968c72704eb15ff /tests/auto/qhelpgenerator/data | |
download | Qt-67ad0519fd165acee4a4d2a94fa502e9e4847bd0.zip Qt-67ad0519fd165acee4a4d2a94fa502e9e4847bd0.tar.gz Qt-67ad0519fd165acee4a4d2a94fa502e9e4847bd0.tar.bz2 |
Long live Qt!
Diffstat (limited to 'tests/auto/qhelpgenerator/data')
-rw-r--r-- | tests/auto/qhelpgenerator/data/cars.html | 11 | ||||
-rw-r--r-- | tests/auto/qhelpgenerator/data/classic.css | 92 | ||||
-rw-r--r-- | tests/auto/qhelpgenerator/data/fancy.html | 11 | ||||
-rw-r--r-- | tests/auto/qhelpgenerator/data/people.html | 11 | ||||
-rw-r--r-- | tests/auto/qhelpgenerator/data/sub/about.html | 11 | ||||
-rw-r--r-- | tests/auto/qhelpgenerator/data/test.html | 11 | ||||
-rw-r--r-- | tests/auto/qhelpgenerator/data/test.qhp | 72 |
7 files changed, 219 insertions, 0 deletions
diff --git a/tests/auto/qhelpgenerator/data/cars.html b/tests/auto/qhelpgenerator/data/cars.html new file mode 100644 index 0000000..385723c --- /dev/null +++ b/tests/auto/qhelpgenerator/data/cars.html @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Cars</title> + <link href="classic.css" rel="stylesheet" type="text/css" /> +</head> +<body> +</body> +</html> diff --git a/tests/auto/qhelpgenerator/data/classic.css b/tests/auto/qhelpgenerator/data/classic.css new file mode 100644 index 0000000..9113540 --- /dev/null +++ b/tests/auto/qhelpgenerator/data/classic.css @@ -0,0 +1,92 @@ +h3.fn,span.fn +{ + margin-left: 1cm; + text-indent: -1cm; +} + +a:link +{ + color: #004faf; + text-decoration: none +} + +a:visited +{ + color: #672967; + text-decoration: none +} + +td.postheader +{ + font-family: sans-serif +} + +tr.address +{ + font-family: sans-serif +} + +body +{ + background: #ffffff; + color: black +} + +table tr.odd { + background: #f0f0f0; + color: black; +} + +table tr.even { + background: #e4e4e4; + color: black; +} + +table.annotated th { + padding: 3px; + text-align: left +} + +table.annotated td { + padding: 3px; +} + +table tr pre +{ + padding-top: none; + padding-bottom: none; + padding-left: none; + padding-right: none; + border: none; + background: none +} + +tr.qt-style +{ + background: #a2c511; + color: black +} + +body pre +{ + padding: 0.2em; + border: #e7e7e7 1px solid; + background: #f1f1f1; + color: black +} + +span.preprocessor, span.preprocessor a +{ + color: darkblue; +} + +span.comment +{ + color: darkred; + font-style: italic +} + +span.string,span.char +{ + color: darkgreen; +} diff --git a/tests/auto/qhelpgenerator/data/fancy.html b/tests/auto/qhelpgenerator/data/fancy.html new file mode 100644 index 0000000..7715e49 --- /dev/null +++ b/tests/auto/qhelpgenerator/data/fancy.html @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Fancy</title> + <link href="classic.css" rel="stylesheet" type="text/css" /> +</head> +<body> +</body> +</html> diff --git a/tests/auto/qhelpgenerator/data/people.html b/tests/auto/qhelpgenerator/data/people.html new file mode 100644 index 0000000..c745dc8 --- /dev/null +++ b/tests/auto/qhelpgenerator/data/people.html @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>People</title> + <link href="classic.css" rel="stylesheet" type="text/css" /> +</head> +<body> +</body> +</html> diff --git a/tests/auto/qhelpgenerator/data/sub/about.html b/tests/auto/qhelpgenerator/data/sub/about.html new file mode 100644 index 0000000..0bc0a3d --- /dev/null +++ b/tests/auto/qhelpgenerator/data/sub/about.html @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>About</title> + <link href="classic.css" rel="stylesheet" type="text/css" /> +</head> +<body> +</body> +</html> diff --git a/tests/auto/qhelpgenerator/data/test.html b/tests/auto/qhelpgenerator/data/test.html new file mode 100644 index 0000000..bf0e505 --- /dev/null +++ b/tests/auto/qhelpgenerator/data/test.html @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Test Manual</title> + <link href="classic.css" rel="stylesheet" type="text/css" /> +</head> +<body> +</body> +</html> diff --git a/tests/auto/qhelpgenerator/data/test.qhp b/tests/auto/qhelpgenerator/data/test.qhp new file mode 100644 index 0000000..e9ac7f2 --- /dev/null +++ b/tests/auto/qhelpgenerator/data/test.qhp @@ -0,0 +1,72 @@ +<?xml version="1.0" encoding="UTF-8"?> +<QtHelpProject version="1.0"> + <metaData name="author" value="Nokia Corporation and/or its subsidiary(-ies)" /> + <metaData name="language" value="en" /> + <virtualFolder>testFolder</virtualFolder> + <namespace>trolltech.com.1_0_0.test</namespace> + <customFilter name="Custom Filter 1"> + <filterAttribute>test</filterAttribute> + <filterAttribute>filter1</filterAttribute> + </customFilter> + <customFilter name="Custom Filter 2"> + <filterAttribute>test</filterAttribute> + <filterAttribute>filter2</filterAttribute> + </customFilter> + <filterSection> + <filterAttribute>test</filterAttribute> + <filterAttribute>filter1</filterAttribute> + <toc> + <section title="Test Manual" ref="test.html"> + <section title="Section 1" ref="test.html#section1"> + </section> + <section title="Section 2" ref="test.html#section2"> + </section> + <section title="Section 3" ref="test.html#section3"> + </section> + <section title="People" ref="people.html"> + </section> + <section title="About" ref="./sub/about.html"> + </section> + </section> + </toc> + <keywords> + <keyword name="foo" id="Test::foo" ref="test.html#foo"/> + <keyword name="bar" id="Test::bar" ref="test.html#bar"/> + <keyword name="bla" id="Test::bla" ref="test.html#bla"/> + <keyword name="einstein" id="People::einstein" ref="people.html#einstein"/> + <keyword name="newton" id="People::newton" ref="people.html#newton"/> + </keywords> + <files> + <file>classic.css</file> + <file>test.html</file> + <file>people.html</file> + <file>./sub/about.html</file> + </files> + </filterSection> + <filterSection> + <filterAttribute>test</filterAttribute> + <filterAttribute>filter2</filterAttribute> + <toc> + <section title="Fancy Manual" ref="fancy.html"> + <section title="Section 1" ref="fancy.html#section1"> + </section> + <section title="Section 2" ref="fancy.html#section2"> + </section> + <section title="Section 3" ref="fancy.html#section3"> + </section> + <section title="Cars" ref="cars.html"> + </section> + </section> + </toc> + <keywords> + <keyword name="foo" id="Fancy::foo" ref="fancy.html#foo"/> + <keyword name="foobar" id="Fancy::foobar" ref="fancy.html#foobar"/> + <keyword name="audi" id="Cars::newton" ref="cars.html#audi"/> + </keywords> + <files> + <file>classic.css</file> + <file>fancy.html</file> + <file>cars.html</file> + </files> + </filterSection> +</QtHelpProject>
\ No newline at end of file |