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.uuml.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.beginfloatright.HTML = "<div style=\"float: right; margin-left: 2em\">"
|
||||
|
@@ -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 \
|
||||
|
@@ -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
|
||||
|
@@ -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).
|
||||
|
@@ -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.
|
||||
|
@@ -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}:
|
||||
|
||||
|
@@ -35,6 +35,8 @@
|
||||
|
||||
\title Adding Connections
|
||||
|
||||
\commercial
|
||||
|
||||
You can use the \uicontrol {Connections} view (commercial only) to:
|
||||
|
||||
\list
|
||||
|
@@ -35,6 +35,8 @@
|
||||
|
||||
\title Using Qt Quick Designer Extensions
|
||||
|
||||
\commercial
|
||||
|
||||
\image qmldesigner-extensions.png
|
||||
|
||||
\QMLD contains commercial features that make developing Qt Quick
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user