Skip to content
Snippets Groups Projects
Commit db48c49a authored by Leena Miettinen's avatar Leena Miettinen
Browse files

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: default avatarTopi Reiniö <topi.reinio@digia.com>
parent 8c472f20
No related branches found
No related tags found
No related merge requests found
doc/config/images/commercial.png

334 B

...@@ -34,6 +34,7 @@ macro.begincomment = "\\c{/*}" ...@@ -34,6 +34,7 @@ macro.begincomment = "\\c{/*}"
macro.endcomment = "\\c{*/}" macro.endcomment = "\\c{*/}"
macro.uuml.HTML = "&uuml;" macro.uuml.HTML = "&uuml;"
macro.mdash.HTML = "&mdash;" 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.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 ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment