forked from qt-creator/qt-creator
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:
BIN
doc/config/images/commercial.png
Normal file
BIN
doc/config/images/commercial.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 334 B |
@@ -34,6 +34,7 @@ macro.begincomment = "\\c{/*}"
|
|||||||
macro.endcomment = "\\c{*/}"
|
macro.endcomment = "\\c{*/}"
|
||||||
macro.uuml.HTML = "ü"
|
macro.uuml.HTML = "ü"
|
||||||
macro.mdash.HTML = "—"
|
macro.mdash.HTML = "—"
|
||||||
|
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.beginfloatleft.HTML = "<div style=\"float: left; margin-right: 2em\">"
|
||||||
macro.beginfloatright.HTML = "<div style=\"float: right; margin-left: 2em\">"
|
macro.beginfloatright.HTML = "<div style=\"float: right; margin-left: 2em\">"
|
||||||
|
@@ -8,6 +8,10 @@ imagedirs = $SRCDIR/images $SRCDIR/templates/images
|
|||||||
outputdir = $OUTDIR
|
outputdir = $OUTDIR
|
||||||
exampledirs = $SRCDIR/examples
|
exampledirs = $SRCDIR/examples
|
||||||
|
|
||||||
|
HTML.extraimages = images/commercial.png
|
||||||
|
qhp.QtCreator.extraFiles = images/commercial.png
|
||||||
|
|
||||||
|
|
||||||
indexes += $QDOC_INDEX_DIR/qtwidgets/qtwidgets.index \
|
indexes += $QDOC_INDEX_DIR/qtwidgets/qtwidgets.index \
|
||||||
$QDOC_INDEX_DIR/qtcore/qtcore.index \
|
$QDOC_INDEX_DIR/qtcore/qtcore.index \
|
||||||
$QDOC_INDEX_DIR/qtqml/qtqml.index \
|
$QDOC_INDEX_DIR/qtqml/qtqml.index \
|
||||||
|
@@ -30,6 +30,8 @@
|
|||||||
|
|
||||||
\title Analyzing CPU Usage
|
\title Analyzing CPU Usage
|
||||||
|
|
||||||
|
\commercial
|
||||||
|
|
||||||
\QC is integrated with the Linux Perf tool (commercial only) that can be
|
\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
|
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
|
a limited extent, on Linux desktop platforms. The CPU Usage Analyzer uses
|
||||||
|
@@ -31,6 +31,8 @@
|
|||||||
|
|
||||||
\title Using Clang Static Analyzer
|
\title Using Clang Static Analyzer
|
||||||
|
|
||||||
|
\commercial
|
||||||
|
|
||||||
\QC integrates the \l{http://clang-analyzer.llvm.org}
|
\QC integrates the \l{http://clang-analyzer.llvm.org}
|
||||||
{Clang Static Analyzer} for finding problems in C, C++, and Objective-C
|
{Clang Static Analyzer} for finding problems in C, C++, and Objective-C
|
||||||
programs (commercial only).
|
programs (commercial only).
|
||||||
|
@@ -35,6 +35,8 @@
|
|||||||
|
|
||||||
\title Running Autotests
|
\title Running Autotests
|
||||||
|
|
||||||
|
\commercial
|
||||||
|
|
||||||
\QC integrates the \l{Qt Test} framework for unit testing Qt based
|
\QC integrates the \l{Qt Test} framework for unit testing Qt based
|
||||||
applications and libraries (commercial only). You can use \QC to build and
|
applications and libraries (commercial only). You can use \QC to build and
|
||||||
run autotests for your projects.
|
run autotests for your projects.
|
||||||
|
@@ -28,6 +28,8 @@
|
|||||||
|
|
||||||
\title Qt Creator Commercial Features
|
\title Qt Creator Commercial Features
|
||||||
|
|
||||||
|
\commercial
|
||||||
|
|
||||||
You can use the following \QC features if you have the appropriate
|
You can use the following \QC features if you have the appropriate
|
||||||
\l{http://qt.io/licensing/}{Qt license}:
|
\l{http://qt.io/licensing/}{Qt license}:
|
||||||
|
|
||||||
|
@@ -35,6 +35,8 @@
|
|||||||
|
|
||||||
\title Adding Connections
|
\title Adding Connections
|
||||||
|
|
||||||
|
\commercial
|
||||||
|
|
||||||
You can use the \uicontrol {Connections} view (commercial only) to:
|
You can use the \uicontrol {Connections} view (commercial only) to:
|
||||||
|
|
||||||
\list
|
\list
|
||||||
|
@@ -35,6 +35,8 @@
|
|||||||
|
|
||||||
\title Using Qt Quick Designer Extensions
|
\title Using Qt Quick Designer Extensions
|
||||||
|
|
||||||
|
\commercial
|
||||||
|
|
||||||
\image qmldesigner-extensions.png
|
\image qmldesigner-extensions.png
|
||||||
|
|
||||||
\QMLD contains commercial features that make developing Qt Quick
|
\QMLD contains commercial features that make developing Qt Quick
|
||||||
|
@@ -35,6 +35,8 @@
|
|||||||
|
|
||||||
\title Editing PathView Properties
|
\title Editing PathView Properties
|
||||||
|
|
||||||
|
\commercial
|
||||||
|
|
||||||
A \l{PathView} lays out data provided by data models on a \l{Path}.
|
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
|
A graphical spline editor enables you to specify PathView paths, which
|
||||||
|
Reference in New Issue
Block a user