2014-10-21 12:57:50 +00:00
# HTML Header with qt.io branding and online links
2013-02-19 16:54:54 +00:00
2014-10-21 12:57:50 +00:00
HTML.stylesheets = template/style/online.css \
template/style/gsc.css \
template/style/list_arrow.png \
template/style/icomoon.eot \
template/style/icomoon.svg \
template/style/icomoon.ttf \
template/style/icomoon.woff \
2015-02-06 14:51:23 +00:00
template/style/cookiebar-x.png \
template/style/doc_search.png \
template/style/theqtcompany.png
2013-02-19 16:54:54 +00:00
#for including files into the qch file. Relative to the outputdir of a QDoc build.
2014-10-21 12:57:50 +00:00
qhp.extraFiles += style/online.css \
style/gsc.css \
style/list_arrow.png \
style/icomoon.eot \
style/icomoon.svg \
style/icomoon.ttf \
2015-02-06 14:51:23 +00:00
style/icomoon.woff \
style/cookiebar-x.png \
style/doc_search.png \
style/theqtcompany.png
2013-02-19 16:54:54 +00:00
HTML.headerstyles = \
2014-10-21 12:57:50 +00:00
" <link rel=\"stylesheet\" type=\"text/css\" href=\"style/online.css\" />\n" \
" <link rel=\"shortcut icon\" href=\"//d3hp9ud7yvwzy0.cloudfront.net/wp-content/themes/oneqt/images/favicon.ico.gzip\" />\n"
HTML.headerscripts = \
" <script type=\"text/javascript\"> wpThemeFolder = \'http://qt.io/wp-content/themes/oneqt\'; </script>\n" \
2015-04-07 09:20:37 +00:00
" <script type=\"text/javascript\" src=\"//d3hp9ud7yvwzy0.cloudfront.net/wp-content/themes/oneqt/js/combo.js.gzip\"></script>\n" \
2014-10-21 12:57:50 +00:00
" <script type=\"text/javascript\" src=\"scripts/main.js\"></script>\n" \
" <script type=\"text/javascript\" src=\"scripts/extras.js\"></script>\n" \
" <script type=\"text/javascript\">\n" \
" \$(function(){\n" \
" \$(\"#sidebar-content\").load(\"style/qt5-sidebar.html\");\n" \
" });\n" \
" </script>\n" \
" <script type=\"text/javascript\">\n" \
" (function (i, s, o, g, r, a, m) {\n" \
" i[\'GoogleAnalyticsObject\'] = r; i[r] = i[r] || function () {\n" \
" (i[r].q = i[r].q || []).push(arguments)\n" \
" }, i[r].l = 1 * new Date(); a = s.createElement(o),\n" \
" m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)\n" \
" })(window, document, \'script\', \'//www.google-analytics.com/analytics.js\', \'ga\');\n\n" \
" ga(\'create\', \'UA-54043535-2\', \'qt.io\');\n" \
" ga(\'set\', \'forceSSL\', true);\n" \
" ga(\'send\', \'pageview\');\n" \
" </script>\n"
HTML.scripts = template/scripts/extras.js \
template/scripts/main.js
2013-02-19 16:54:54 +00:00
HTML.endheader = \
"</head>\n"
2014-10-21 12:57:50 +00:00
# minimal header
2013-02-19 16:54:54 +00:00
HTML.postheader = \
"<body>\n" \
2014-10-21 12:57:50 +00:00
"<div class=\"header\" id=\"header\">\n" \
"<header id=\"navbar\" class=\"\">\n" \
" <div class=\"cookies_yum\">\n" \
" <div>\n" \
2015-04-07 09:20:37 +00:00
" <img src=\"//d3hp9ud7yvwzy0.cloudfront.net/wp-content/themes/oneqt/assets/images/cookie_small.png\" align=\"left\">\n" \
2014-10-21 12:57:50 +00:00
" <p class=\"close_button\">\n" \
" We bake cookies in your browser for a better experience. Using this site means that you consent. <a href=\"//qt.io/terms-conditions/\">Read More</a>\n" \
" </p>\n" \
" <a class=\"close\"></a>\n" \
" </div>\n" \
2013-02-19 16:54:54 +00:00
" </div>\n" \
2014-10-21 12:57:50 +00:00
" <div class=\"container\">\n" \
" <div class=\"navbar-header clearfix\">\n" \
" <a href=\"#\" class=\"navbar-toggle\">\n" \
" <figure>\n" \
" <span class=\"line\"></span>\n" \
" </figure>\n" \
" <span>Menu</span>\n" \
" </a>\n" \
" <ul id=\"menuextras\">\n" \
" <li>\n" \
" <a href=\"//qt.io/partners/\" data-icon=\"\">\n" \
" <span>Partners</span>\n" \
" </a>\n" \
" </li>\n" \
" <li>\n" \
2015-02-06 12:30:10 +00:00
" <a target=\"_blank\" href=\"http://blog.qt.io/\" data-icon=\"\">\n" \
2014-10-21 12:57:50 +00:00
" <span>Blog</span>\n" \
" </a>\n" \
" </li>\n" \
" <li class=\"sign-in\">\n" \
" <a data-icon=\"\" class=\"signin\" href=\"https://account.qt.io/login\"><span>Sign in</span></a>\n" \
" </li>\n" \
" </ul>\n" \
" <a href=\"http://qt.io/\" class=\"navbar-oneQt retina\" data-icon=\"\">\n" \
" </a>\n" \
" <nav class=\"navbar-menu clearfix\" role=\"navigation\">\n" \
2015-04-07 09:20:37 +00:00
" <ul id=\"mainmenu\" class=\"menu\"><li id=\"menu-item-18\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-18\"><a href=\"http://qt.io/download/\">Download</a></li>\n" \
"<li id=\"menu-item-12207\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-12207\"><a href=\"http://www.qt.io/qt-for-device-creation/\">Device Creation</a></li>\n" \
"<li id=\"menu-item-12208\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-12208\"><a href=\"http://www.qt.io/application-development/\">Application Development</a></li>\n" \
"<li id=\"menu-item-1381\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-1381\"><a href=\"http://www.qt.io/services/\">Services</a></li>\n" \
"<li id=\"menu-item-20\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-20\"><a href=\"http://www.qt.io/developers/\">Developers</a></li>\n" \
2014-10-21 12:57:50 +00:00
"</ul> <ul class=\"menuextraslanguages\">\n" \
" <li class=\"active dark\"><a class=\"dark\" href=\"http://qt.io/support/\">EN</a></li><li class=\"dark\"><a class=\"dark\" href=\"http://qt.io/ru/\">RU</a></li><li class=\"dark\"><a class=\"dark\" href=\"http://qt.io/zh-hans/\">ZH</a></li></ul>\n" \
" </nav>\n" \
" </div>\n" \
" </div>\n" \
"<div class=\"big_bar account\" style=\"\">\n" \
" <div class=\"container\">\n" \
" <h1><!-- mclude oneqt_no_cache_bMrsJxAh /wp-content/themes/oneqt/php_login_info_bottom_header.php --><!-- /mclude oneqt_no_cache_bMrsJxAh -->\n" \
" <div class=\"col-1 right big_bar_button account\" style=\"margin-top:5px !important;\"></div>\n" \
" </h1>\n" \
2013-02-19 16:54:54 +00:00
" </div>\n" \
2014-10-21 12:57:50 +00:00
"</div>\n" \
"</header>\n" \
"</div>\n" \
"<div class=\"main\">\n" \
"<div class=\"main-rounded\">\n" \
"<div class=\"navigationbar\">\n" \
" <ul class=\"sub-navigation\">\n" \
2015-02-26 15:42:10 +00:00
" <li><a href=\"http://wiki.qt.io/\">Wiki</a></li>\n" \
2014-10-21 12:57:50 +00:00
" <li><a href=\"http://doc.qt.io/\" class=\"active\">Documentation</a></li>\n" \
2015-03-11 15:51:43 +00:00
" <li><a href=\"http://forum.qt.io/\">Forum</a></li>\n" \
2014-12-11 13:17:20 +00:00
" <li><a href=\"https://bugreports.qt.io/\">Bug Reports</a></li>\n" \
2014-10-21 12:57:50 +00:00
" <li><a href=\"https://codereview.qt-project.org/\">Code Review</a></li>\n" \
" </ul>\n" \
" <div id=\"main_title_bar\">\n" \
" <h1>Qt Documentation</h1>\n" \
" <div class=\"search_bar\">\n" \
" <script>\n" \
" (function() {\n" \
" var cx = \'003672281345882769388:1y4pftuq8so\';\n" \
" var gcse = document.createElement(\'script\');\n" \
" gcse.type = \'text/javascript\';\n" \
" gcse.async = true;\n" \
" gcse.src = (document.location.protocol == \'https:\' ? \'https:\' : \'http:\') + \'//www.google.com/cse/cse.js?cx=\' + cx;\n" \
" var s = document.getElementsByTagName(\'script\')[0];\n" \
" s.parentNode.insertBefore(gcse, s);\n" \
" })();\n" \
" </script>\n" \
" <gcse:searchbox-only resultsUrl=\"search-results.html\"></gcse:searchbox-only>\n" \
" </div></div>\n" \
" <ul>\n"
2013-02-19 16:54:54 +00:00
HTML.postpostheader = \
2014-10-21 12:57:50 +00:00
" </ul>\n" \
"</div>\n" \
2013-02-19 16:54:54 +00:00
"<div class=\"content\">\n" \
" <div class=\"line\">\n" \
2014-10-21 12:57:50 +00:00
" <div class=\"content mainContent\">\n"
HTML.prologue = \
"<div class=\"context\">\n"