Qdoc: replaced example file qt.qdocconf with qtgui.qdocconf
Task-number: QTBUG-31574 Change-Id: Idf8509395dd5f16c696473d1eeb91fb86f2b97e7 Reviewed-by: Martin Smith <martin.smith@digia.com>
This commit is contained in:
parent
70cb5db4f2
commit
c47b665893
50
src/tools/qdoc/doc/files/qtgui.qdocconf
Normal file
50
src/tools/qdoc/doc/files/qtgui.qdocconf
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf)
|
||||||
|
|
||||||
|
project = QtGui
|
||||||
|
description = Qt GUI Reference Documentation
|
||||||
|
url = http://qt-project.org/doc/qt-$QT_VER/qtgui
|
||||||
|
version = $QT_VERSION
|
||||||
|
|
||||||
|
examplesinstallpath = gui
|
||||||
|
|
||||||
|
qhp.projects = QtGui
|
||||||
|
|
||||||
|
qhp.QtGui.file = qtgui.qhp
|
||||||
|
qhp.QtGui.namespace = org.qt-project.qtgui.$QT_VERSION_TAG
|
||||||
|
qhp.QtGui.virtualFolder = qtgui
|
||||||
|
qhp.QtGui.indexTitle = Qt GUI
|
||||||
|
qhp.QtGui.indexRoot =
|
||||||
|
|
||||||
|
qhp.QtGui.filterAttributes = qtgui $QT_VERSION qtrefdoc
|
||||||
|
qhp.QtGui.customFilters.Qt.name = Qtgui $QT_VERSION
|
||||||
|
qhp.QtGui.customFilters.Qt.filterAttributes = qtgui $QT_VERSION
|
||||||
|
|
||||||
|
qhp.QtGui.subprojects = classes
|
||||||
|
qhp.QtGui.subprojects.classes.title = C++ Classes
|
||||||
|
qhp.QtGui.subprojects.classes.indexTitle = Qt GUI C++ Classes
|
||||||
|
qhp.QtGui.subprojects.classes.selectors = class fake:headerfile
|
||||||
|
qhp.QtGui.subprojects.classes.sortPages = true
|
||||||
|
|
||||||
|
tagfile = ../../../doc/qtgui/qtgui.tags
|
||||||
|
|
||||||
|
depends += \
|
||||||
|
qtcore \
|
||||||
|
qtnetwork \
|
||||||
|
qtopengl \
|
||||||
|
qtsvg \
|
||||||
|
qtqml \
|
||||||
|
qtquick \
|
||||||
|
qtwidgets \
|
||||||
|
qtdoc
|
||||||
|
|
||||||
|
headerdirs += ..
|
||||||
|
|
||||||
|
sourcedirs += .. \
|
||||||
|
../../../examples/gui/doc/src
|
||||||
|
|
||||||
|
exampledirs += ../../../examples/gui \
|
||||||
|
snippets
|
||||||
|
|
||||||
|
imagedirs += images \
|
||||||
|
../../../examples/gui/doc/images \
|
||||||
|
../../../doc/src/images \
|
@ -66,7 +66,7 @@
|
|||||||
\li \l {HTML Specific Configuration Variables}
|
\li \l {HTML Specific Configuration Variables}
|
||||||
\li \l {Supporting Derived Projects}
|
\li \l {Supporting Derived Projects}
|
||||||
\li \l {Example Manifest Files}
|
\li \l {Example Manifest Files}
|
||||||
\li \l {qt.qdocconf}
|
\li \l {qtgui.qdocconf}
|
||||||
\li \l {minimum.qdocconf}
|
\li \l {minimum.qdocconf}
|
||||||
\li \l {Generating DITA XML Output}
|
\li \l {Generating DITA XML Output}
|
||||||
\endlist
|
\endlist
|
||||||
@ -7179,13 +7179,13 @@
|
|||||||
|
|
||||||
\list
|
\list
|
||||||
\li A minimum configuration file: \l minimum.qdocconf
|
\li A minimum configuration file: \l minimum.qdocconf
|
||||||
\li The Qt configuration file: \l qt.qdocconf
|
\li The Qt configuration file: \l qtgui.qdocconf
|
||||||
\endlist
|
\endlist
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\page 21-1-minimum-qdocconf.html
|
\page 21-1-minimum-qdocconf.html
|
||||||
\previouspage qt.qdocconf
|
\previouspage qtgui.qdocconf
|
||||||
\contentspage QDoc Manual
|
\contentspage QDoc Manual
|
||||||
\nextpage Generating DITA XML Output
|
\nextpage Generating DITA XML Output
|
||||||
|
|
||||||
@ -7195,14 +7195,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\page 21-2-qt-qdocconf.html
|
\page 21-2-qtgui-qdocconf.html
|
||||||
\previouspage Supporting Derived Projects
|
\previouspage Supporting Derived Projects
|
||||||
\contentspage QDoc Manual
|
\contentspage QDoc Manual
|
||||||
\nextpage minimum.qdocconf
|
\nextpage minimum.qdocconf
|
||||||
|
|
||||||
\title qt.qdocconf
|
\title qtgui.qdocconf
|
||||||
|
|
||||||
\quotefile files/qt.qdocconf
|
\quotefile files/qtgui.qdocconf
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
@ -7548,10 +7548,9 @@
|
|||||||
The general syntax is \tt {extraimages.\e{format} = \e image}. The
|
The general syntax is \tt {extraimages.\e{format} = \e image}. The
|
||||||
file extension is optional.
|
file extension is optional.
|
||||||
|
|
||||||
For example, in \l qt.qdocconf we use a couple of images within
|
For example, if additional images are used within the HTML.postheader
|
||||||
the HTML.postheader variable which value is pure HTML. For that
|
value, then these images must also be specified using the \c
|
||||||
reason, these images are specified using the \c extraimages
|
extraimages variable:
|
||||||
variable:
|
|
||||||
|
|
||||||
\code
|
\code
|
||||||
extraimages.HTML = qt-logo
|
extraimages.HTML = qt-logo
|
||||||
@ -7819,7 +7818,7 @@
|
|||||||
|
|
||||||
Currently, C++ is the only language that QDoc understands. It is
|
Currently, C++ is the only language that QDoc understands. It is
|
||||||
also the default language, and doesn't really need to be
|
also the default language, and doesn't really need to be
|
||||||
specified. But for example in \l qt.qdocconf:
|
specified.
|
||||||
|
|
||||||
\code
|
\code
|
||||||
language = Cpp
|
language = Cpp
|
||||||
@ -7889,7 +7888,7 @@
|
|||||||
The \c outputdir variable specifies the directory where QDoc will
|
The \c outputdir variable specifies the directory where QDoc will
|
||||||
put the generated documentation.
|
put the generated documentation.
|
||||||
|
|
||||||
In qt.qdocconf:
|
For example:
|
||||||
|
|
||||||
\code
|
\code
|
||||||
outputdir = $QTDIR/doc/html
|
outputdir = $QTDIR/doc/html
|
||||||
@ -7972,8 +7971,6 @@
|
|||||||
The \c sourcedirs variable specifies the directories containing
|
The \c sourcedirs variable specifies the directories containing
|
||||||
the \c .cpp or \c .qdoc files used in the documentation.
|
the \c .cpp or \c .qdoc files used in the documentation.
|
||||||
|
|
||||||
For example in \l qt.qdocconf
|
|
||||||
|
|
||||||
\code
|
\code
|
||||||
sourcedirs = $QTDIR/src \
|
sourcedirs = $QTDIR/src \
|
||||||
$QTDIR/doc/src \
|
$QTDIR/doc/src \
|
||||||
@ -8157,7 +8154,7 @@
|
|||||||
The \c versionsym variable specifies a C++ preprocessor symbol
|
The \c versionsym variable specifies a C++ preprocessor symbol
|
||||||
that defines the version number of the documented software.
|
that defines the version number of the documented software.
|
||||||
|
|
||||||
For example in \l qt.qdocconf:
|
For example:
|
||||||
|
|
||||||
\code
|
\code
|
||||||
versionsym = QT_VERSION_STR
|
versionsym = QT_VERSION_STR
|
||||||
@ -8270,7 +8267,7 @@
|
|||||||
Cpp.ignoredirectives} variables, non-standard constructs
|
Cpp.ignoredirectives} variables, non-standard constructs
|
||||||
(typically macros) can result in erroneous documentation.
|
(typically macros) can result in erroneous documentation.
|
||||||
|
|
||||||
In \l qt.qdocconf:
|
For example:
|
||||||
|
|
||||||
\code
|
\code
|
||||||
Cpp.ignoredirectives = Q_DECLARE_INTERFACE \
|
Cpp.ignoredirectives = Q_DECLARE_INTERFACE \
|
||||||
@ -8324,8 +8321,6 @@
|
|||||||
Cpp.ignoredirectives} variables, non-standard constructs
|
Cpp.ignoredirectives} variables, non-standard constructs
|
||||||
(typically macros) can result in erroneous documentation.
|
(typically macros) can result in erroneous documentation.
|
||||||
|
|
||||||
In \l qt.qdocconf:
|
|
||||||
|
|
||||||
\code
|
\code
|
||||||
Cpp.ignoretokens = QAXFACTORY_EXPORT \
|
Cpp.ignoretokens = QAXFACTORY_EXPORT \
|
||||||
QM_EXPORT_CANVAS \
|
QM_EXPORT_CANVAS \
|
||||||
@ -8389,18 +8384,12 @@
|
|||||||
quotation marks. Note that if the value spans several lines, each
|
quotation marks. Note that if the value spans several lines, each
|
||||||
line needs to be enclosed by quotation marks.
|
line needs to be enclosed by quotation marks.
|
||||||
|
|
||||||
For example in \l qt.qdocconf:
|
|
||||||
|
|
||||||
\code
|
\code
|
||||||
HTML.footer = "<p /><address><hr /><div align=\"center\">\n" \
|
HTML.footer = "<p /><address><hr /><div align=\"center\">\n" \
|
||||||
...
|
...
|
||||||
"</tr></table></div></address>"
|
"</tr></table></div></address>"
|
||||||
\endcode
|
\endcode
|
||||||
|
|
||||||
The complete variable entry in \l qt.qdocconf provides the
|
|
||||||
standard footer of the \l {http://doc.qt.digia.com/4.0/index.html}
|
|
||||||
{Qt Reference Documentation}.
|
|
||||||
|
|
||||||
\target HTML.postheader-variable
|
\target HTML.postheader-variable
|
||||||
\section1 HTML.postheader
|
\section1 HTML.postheader
|
||||||
|
|
||||||
@ -8414,8 +8403,6 @@
|
|||||||
marks. Note that if the value spans several lines, each line needs
|
marks. Note that if the value spans several lines, each line needs
|
||||||
to be enclosed by quotation marks.
|
to be enclosed by quotation marks.
|
||||||
|
|
||||||
For example in \l qt.qdocconf:
|
|
||||||
|
|
||||||
\code
|
\code
|
||||||
HTML.postheader = "<table border=\"0\"..." \
|
HTML.postheader = "<table border=\"0\"..." \
|
||||||
...
|
...
|
||||||
@ -8426,8 +8413,6 @@
|
|||||||
"</table>"
|
"</table>"
|
||||||
\endcode
|
\endcode
|
||||||
|
|
||||||
The complete variable entry in \l qt.qdocconf provides the
|
|
||||||
standard header of the \l {http://doc.qt.digia.com/}
|
|
||||||
{Qt Reference Documentation}.
|
{Qt Reference Documentation}.
|
||||||
|
|
||||||
\target HTML.style-variable
|
\target HTML.style-variable
|
||||||
@ -8440,8 +8425,6 @@
|
|||||||
marks. Note that if the value spans several lines, each line needs
|
marks. Note that if the value spans several lines, each line needs
|
||||||
to be enclosed by quotation marks.
|
to be enclosed by quotation marks.
|
||||||
|
|
||||||
For example in \l qt.qdocconf:
|
|
||||||
|
|
||||||
\code
|
\code
|
||||||
HTML.style = "h3.fn,span.fn" \
|
HTML.style = "h3.fn,span.fn" \
|
||||||
"{ margin-left: 1cm; text-indent: -1cm; }\n" \
|
"{ margin-left: 1cm; text-indent: -1cm; }\n" \
|
||||||
@ -8473,7 +8456,7 @@
|
|||||||
\endcode
|
\endcode
|
||||||
|
|
||||||
QDoc expects to find stylesheets in the directory containing the
|
QDoc expects to find stylesheets in the directory containing the
|
||||||
\l qt.qdocconf file, and it will copy those specified to the output
|
\l qtgui.qdocconf file, and it will copy those specified to the output
|
||||||
directory alongside the HTML pages.
|
directory alongside the HTML pages.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
@ -8565,7 +8548,7 @@
|
|||||||
This feature makes use of the comprehensive indexes generated by
|
This feature makes use of the comprehensive indexes generated by
|
||||||
QDoc when it creates the Qt reference documentation.
|
QDoc when it creates the Qt reference documentation.
|
||||||
|
|
||||||
For example, \l qt.qdocconf (the configuration file for Qt)
|
For example, \l qtgui.qdocconf (the configuration file for Qt)
|
||||||
contains the following variable definitions:
|
contains the following variable definitions:
|
||||||
|
|
||||||
\code
|
\code
|
||||||
@ -8585,9 +8568,6 @@
|
|||||||
In a mini-project, you can use an index file by defining an \l
|
In a mini-project, you can use an index file by defining an \l
|
||||||
indexes configuration variable in your \c .qdocconf file.
|
indexes configuration variable in your \c .qdocconf file.
|
||||||
|
|
||||||
For example, you can create a \c qtcreator.qdocconf file to help you
|
|
||||||
check the Qt Creator documentation:
|
|
||||||
|
|
||||||
\code
|
\code
|
||||||
project = QtCreator
|
project = QtCreator
|
||||||
description = Qt Creator Manual
|
description = Qt Creator Manual
|
||||||
|
Loading…
x
Reference in New Issue
Block a user