Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

HTML Specific Configuration Variables

The HTML specific configuration variables define the generated documentation's style, or define the contents of the documentation's footer or postheader. The format of the variable values are raw HTML.

HTML.footer

The HTML.footer variable defines the content of the generated HTML documentation's footer.

The footer is rendered at the bottom of the generated documentation page.

The variable's value is given as raw HTML code enclosed by quotation marks. Note that if the value spans several lines, each line needs to be enclosed by quotation marks.

For example in qt.qdocconf:

 HTML.footer = "<p /><address><hr /><div align=\"center\">\n" \
               ...
               "</tr></table></div></address>"

The complete variable entry in qt.qdocconf provides the standard footer of the Qt Reference Documentation.

HTML.postheader

The HTML.postheader variable defines the content of the generated HTML documentation's postheader.

The header is rendered at the top of the generated documentation page.

The variable's value is given as raw HTML enclosed by quotation marks. Note that if the value spans several lines, each line needs to be enclosed by quotation marks.

For example in qt.qdocconf:

 HTML.postheader = "<table border=\"0\"..." \
                   ...
                   "<img src=\"images/qt-logo.png\" \
                   "align=\"right\" width=\"203\" height=\"32\""\
                  "border=\"0\" />" \
                   "</td></tr>" \
                   "</table>"

The complete variable entry in qt.qdocconf provides the standard header of the Qt Reference Documentation.

HTML.style

The HTML.style variable defines the style for the generated HTML documentation.

The variable's value is given as raw HTML enclosed by quotation marks. Note that if the value spans several lines, each line needs to be enclosed by quotation marks.

For example in qt.qdocconf:

 HTML.style = "h3.fn,span.fn" \
              "{ margin-left: 1cm; text-indent: -1cm; }\n" \
              "a:link { color: #004faf; text-decoration: none }\n" \
              "a:visited" \
              "{ color: #672967; text-decoration: none }\n" \
              "td.postheader { font-family: sans-serif }\n" \
              "tr.address { font-family: sans-serif }\n" \
              "body { background: #ffffff; color: black; }"

provides the HTML style for the Qt Reference Documentation.

HTML.stylesheets

The HTML.stylesheets variable defines a list of stylesheets to use for the generated HTML documentation.

Using separate stylesheets for the documentation makes it easier to customize and experiment with the style used once the contents has been generated. Typically, it is only necessary to define a single stylesheet for any set of documentation; for example:

 HTML.stylesheets = classic.css

QDoc expects to find stylesheets in the directory containing the qt.qdocconf file, and it will copy those specified to the output directory alongside the HTML pages.

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 5.0-snapshot
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web