LogDoctor 2.05
Parse Apache2/Nginx/IIS logs and view dinamically generated statistics
Loading...
Searching...
No Matches
Functions
ColorSec Namespace Reference

ColorSec. More...

Functions

const std::unordered_map< std::string, QColor > getColors ()
 Provides a map with pre-made colors.
 
const std::unordered_map< int, std::unordered_map< std::string, QString > > getColorSchemes ()
 Provides a map with pre-made color-schemes for the TextBrowser.
 
void applyChartTheme (const int theme_id, const std::unordered_map< std::string, QFont > &fonts, QtCharts::QChartView *chart_view)
 Applies the choosen theme to the given chart.
 

Detailed Description

ColorSec.

Utilities for the colors

Function Documentation

◆ applyChartTheme()

void ColorSec::applyChartTheme ( const int  theme_id,
const std::unordered_map< std::string, QFont > &  fonts,
QtCharts::QChartView *  chart_view 
)

Applies the choosen theme to the given chart.

Parameters
theme_idThe ID of the theme to apply
fontsThe fonts set
chart_viewThe chart on which the theme will be applied