Doc: add a "commercial" icon to commercial-only topics

For purely commercial apps, this is done by using the
template, but Qt Creator is mostly open source, so an
image is used.

Use a \commercial macro with a tooltip and link to the
image.

Change-Id: I5e3df953821551331afef2ec642b482b52ff909e
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
This commit is contained in:
Leena Miettinen
2015-04-08 12:43:38 +02:00
parent 8c472f2074
commit db48c49af9
10 changed files with 19 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

View File

@@ -34,6 +34,7 @@ macro.begincomment = "\\c{/*}"
macro.endcomment = "\\c{*/}"
macro.uuml.HTML = "&uuml;"
macro.mdash.HTML = "&mdash;"
macro.commercial = "\\raw HTML\n<p><a title=\"Available under certain Qt licenses.\"><img src=\"images/commercial.png\"/></a></p>\n\\endraw"
macro.beginfloatleft.HTML = "<div style=\"float: left; margin-right: 2em\">"
macro.beginfloatright.HTML = "<div style=\"float: right; margin-left: 2em\">"

View File

@@ -8,6 +8,10 @@ imagedirs = $SRCDIR/images $SRCDIR/templates/images
outputdir = $OUTDIR
exampledirs = $SRCDIR/examples
HTML.extraimages = images/commercial.png
qhp.QtCreator.extraFiles = images/commercial.png
indexes += $QDOC_INDEX_DIR/qtwidgets/qtwidgets.index \
$QDOC_INDEX_DIR/qtcore/qtcore.index \
$QDOC_INDEX_DIR/qtqml/qtqml.index \

View File

@@ -30,6 +30,8 @@
\title Analyzing CPU Usage
\commercial
\QC is integrated with the Linux Perf tool (commercial only) that can be
used to analyze the CPU usage of an application on embedded devices and, to
a limited extent, on Linux desktop platforms. The CPU Usage Analyzer uses

View File

@@ -31,6 +31,8 @@
\title Using Clang Static Analyzer
\commercial
\QC integrates the \l{http://clang-analyzer.llvm.org}
{Clang Static Analyzer} for finding problems in C, C++, and Objective-C
programs (commercial only).

View File

@@ -35,6 +35,8 @@
\title Running Autotests
\commercial
\QC integrates the \l{Qt Test} framework for unit testing Qt based
applications and libraries (commercial only). You can use \QC to build and
run autotests for your projects.

View File

@@ -28,6 +28,8 @@
\title Qt Creator Commercial Features
\commercial
You can use the following \QC features if you have the appropriate
\l{http://qt.io/licensing/}{Qt license}:

View File

@@ -35,6 +35,8 @@
\title Adding Connections
\commercial
You can use the \uicontrol {Connections} view (commercial only) to:
\list

View File

@@ -35,6 +35,8 @@
\title Using Qt Quick Designer Extensions
\commercial
\image qmldesigner-extensions.png
\QMLD contains commercial features that make developing Qt Quick

View File

@@ -35,6 +35,8 @@
\title Editing PathView Properties
\commercial
A \l{PathView} lays out data provided by data models on a \l{Path}.
A graphical spline editor enables you to specify PathView paths, which