![]() |
LogDoctor 2.05
Parse Apache2/Nginx/IIS logs and view dinamically generated statistics
|
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. | |
Utilities for the colors
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.
theme_id | The ID of the theme to apply |
fonts | The fonts set |
chart_view | The chart on which the theme will be applied |