2012-10-26 10:39:04 +00:00
|
|
|
macro.aacute.HTML = "á"
|
|
|
|
macro.Aring.HTML = "Å"
|
|
|
|
macro.aring.HTML = "å"
|
|
|
|
macro.Auml.HTML = "Ä"
|
|
|
|
macro.author = "\\b{Author:}"
|
|
|
|
macro.BR.HTML = "<br />"
|
|
|
|
macro.copyright.HTML = "©"
|
|
|
|
macro.eacute.HTML = "é"
|
|
|
|
macro.gui = "\\b"
|
2014-08-05 12:59:10 +00:00
|
|
|
macro.HR.HTML = "<hr />"
|
2012-10-26 10:39:04 +00:00
|
|
|
macro.iacute.HTML = "í"
|
|
|
|
macro.key = "\\b"
|
2016-08-03 10:00:41 +00:00
|
|
|
macro.macos = "macOS"
|
2012-10-26 10:39:04 +00:00
|
|
|
macro.menu = "\\b"
|
|
|
|
macro.oslash.HTML = "ø"
|
|
|
|
macro.ouml.HTML = "ö"
|
|
|
|
macro.QA = "\\e{Qt Assistant}"
|
|
|
|
macro.QD = "\\e{Qt Designer}"
|
|
|
|
macro.QL = "\\e{Qt Linguist}"
|
|
|
|
macro.QQV = "\\e{Qt QML Viewer}"
|
2018-01-10 15:29:17 +00:00
|
|
|
macro.QtVersion = "$QT_VERSION"
|
2018-09-14 11:08:11 +00:00
|
|
|
macro.QtVer = "$QT_VER"
|
2012-10-26 10:39:04 +00:00
|
|
|
macro.param = "\\e"
|
|
|
|
macro.raisedaster.HTML = "<sup>*</sup>"
|
|
|
|
macro.rarrow.HTML = "→"
|
|
|
|
macro.reg.HTML = "<sup>®</sup>"
|
|
|
|
macro.return = "Returns"
|
|
|
|
macro.starslash = "\\c{*/}"
|
|
|
|
macro.begincomment = "\\c{/*}"
|
|
|
|
macro.endcomment = "\\c{*/}"
|
|
|
|
macro.uuml.HTML = "ü"
|
|
|
|
macro.mdash.HTML = "—"
|
|
|
|
macro.pi.HTML = "Π"
|
2013-09-06 10:11:26 +00:00
|
|
|
macro.beginqdoc.HTML = "/*!"
|
|
|
|
macro.endqdoc.HTML = "*/"
|
2016-09-20 12:13:56 +00:00
|
|
|
macro.borderedimage = "\\div {class=\"border\"} \\image \1\n\\enddiv"
|
2012-10-26 10:39:04 +00:00
|
|
|
|
|
|
|
macro.beginfloatleft.HTML = "<div style=\"float: left; margin-right: 2em\">"
|
|
|
|
macro.beginfloatright.HTML = "<div style=\"float: right; margin-left: 2em\">"
|
|
|
|
macro.endfloat.HTML = "</div>"
|
|
|
|
macro.clearfloat.HTML = "<br style=\"clear: both\" />"
|
|
|
|
macro.emptyspan.HTML = "<span></span>"
|
2017-03-03 09:31:56 +00:00
|
|
|
|
2018-09-09 10:39:53 +00:00
|
|
|
# Expands to the minor version based on the QT_VER environment variable
|
|
|
|
macro.QtMinorVersion = "$QT_VER"
|
|
|
|
macro.QtMinorVersion.match = "\\d+\\.(\\d+)"
|
|
|
|
|
2017-03-03 09:31:56 +00:00
|
|
|
# Embed YouTube content by video ID - Example: \youtube dQw4w9WgXcQ
|
|
|
|
# Also requires a <ID>.jpg thumbnail for offline docs. In .qdocconf, add:
|
|
|
|
#
|
|
|
|
# HTML.extraimages += images/dQw4w9WgXcQ.jpg
|
|
|
|
# qhp.ProjectName.extraFiles += images/dQw4w9WgXcQ.jpg
|
|
|
|
#
|
|
|
|
macro.youtube.HTML = "<div class=\"video\">\n<span class=\"vspan\"></span>\n" \
|
|
|
|
"<iframe src=\"https://www.youtube.com/embed/\1\"" \
|
|
|
|
"frameborder=\"0\" allowfullscreen>\n" \
|
|
|
|
"<a href=\"https://www.youtube.com/watch/?v=\1\">\n"\
|
|
|
|
"<img src=\"images/\1.jpg\"" \
|
|
|
|
"title=\"Click to play in a browser\" /></a>\n" \
|
|
|
|
"</iframe></div>\n"
|