LogDoctor/docs/html/namespaceColorSec.html

146 lines
7.3 KiB
HTML
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
2024-02-16 21:59:07 +01:00
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
2023-04-11 23:26:35 +02:00
<title>LogDoctor: ColorSec Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
2024-02-16 21:59:07 +01:00
<script type="text/javascript" src="clipboard.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="dox_logo.png"/></td>
<td id="projectalign">
2024-02-16 22:18:16 +01:00
<div id="projectname">LogDoctor<span id="projectnumber">&#160;4.00</span>
</div>
2023-02-12 23:33:34 +01:00
<div id="projectbrief">Parse Apache2/Nginx/IIS logs and view dinamically generated statistics</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2024-02-16 21:59:07 +01:00
<!-- Generated by Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
2024-02-16 21:59:07 +01:00
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
2023-04-11 23:26:35 +02:00
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">ColorSec Namespace Reference</div></div>
</div><!--header-->
<div class="contents">
2023-04-11 23:26:35 +02:00
<p><a class="el" href="namespaceColorSec.html" title="ColorSec.">ColorSec</a>.
2024-02-16 21:59:07 +01:00
<a href="#details">More...</a></p>
<table class="memberdecls">
2023-04-11 23:26:35 +02:00
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
2024-02-16 21:59:07 +01:00
<tr class="memitem:a084df7301f608504093007a90f867385" id="r_a084df7301f608504093007a90f867385"><td class="memItemLeft" align="right" valign="top"><a id="a084df7301f608504093007a90f867385" name="a084df7301f608504093007a90f867385"></a>
std::unordered_map&lt; std::string, QColor &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>getColors</b> () noexcept</td></tr>
<tr class="memdesc:a084df7301f608504093007a90f867385"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides a map with pre-made colors. <br /></td></tr>
<tr class="separator:a084df7301f608504093007a90f867385"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af087e0161d734f99e86fabde0e89814c" id="r_af087e0161d734f99e86fabde0e89814c"><td class="memItemLeft" align="right" valign="top"><a id="af087e0161d734f99e86fabde0e89814c" name="af087e0161d734f99e86fabde0e89814c"></a>
std::unordered_map&lt; ColorsScheme, std::unordered_map&lt; std::string, QString &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>getColorSchemes</b> () noexcept</td></tr>
<tr class="memdesc:af087e0161d734f99e86fabde0e89814c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides a map with pre-made color-schemes for the <a class="el" href="classTextBrowser.html" title="TextBrowser.">TextBrowser</a>. <br /></td></tr>
<tr class="separator:af087e0161d734f99e86fabde0e89814c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2d0f21c73979f6b9363e1a47718628d" id="r_af2d0f21c73979f6b9363e1a47718628d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af2d0f21c73979f6b9363e1a47718628d">applyChartTheme</a> (const std::unordered_map&lt; std::string, QFont &gt; &amp;fonts, QChartView *chart_view)</td></tr>
2023-10-22 17:46:43 +02:00
<tr class="memdesc:af2d0f21c73979f6b9363e1a47718628d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applies the choosen theme to the given chart. <br /></td></tr>
<tr class="separator:af2d0f21c73979f6b9363e1a47718628d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
2023-04-11 23:26:35 +02:00
<div class="textblock"><p><a class="el" href="namespaceColorSec.html" title="ColorSec.">ColorSec</a>. </p>
2023-02-11 20:23:44 +01:00
<p>Utilities for the colors </p>
2023-04-11 23:26:35 +02:00
</div><h2 class="groupheader">Function Documentation</h2>
2023-10-22 17:46:43 +02:00
<a id="af2d0f21c73979f6b9363e1a47718628d" name="af2d0f21c73979f6b9363e1a47718628d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2d0f21c73979f6b9363e1a47718628d">&#9670;&#160;</a></span>applyChartTheme()</h2>
2023-04-11 23:26:35 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ColorSec::applyChartTheme </td>
<td>(</td>
2024-02-16 21:59:07 +01:00
<td class="paramtype">const std::unordered_map&lt; std::string, QFont &gt; &amp;</td> <td class="paramname"><span class="paramname"><em>fonts</em>, </span></td>
2023-04-11 23:26:35 +02:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-02-16 21:59:07 +01:00
<td class="paramtype">QChartView *</td> <td class="paramname"><span class="paramname"><em>chart_view</em></span>&#160;)</td>
2023-04-11 23:26:35 +02:00
</tr>
</table>
</div><div class="memdoc">
<p>Applies the choosen theme to the given chart. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fonts</td><td>The fonts set </td></tr>
<tr><td class="paramname">chart_view</td><td>The chart on which the theme will be applied </td></tr>
</table>
</dd>
</dl>
2024-02-16 21:59:07 +01:00
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="structDoNotCatchException.html" title="DoNotCatchException.">DoNotCatchException</a></td><td></td></tr>
</table>
</dd>
</dl>
2023-04-11 23:26:35 +02:00
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
2024-02-16 21:59:07 +01:00
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0
</small></address>
</body>
</html>