##// END OF EJS Templates
Default theme background, removed extra themes
Default theme background, removed extra themes

File last commit:

r692:339ba14ee2ea
r692:339ba14ee2ea
Show More
chartthemeicy_p.h
34 lines | 1.0 KiB | text/x-c | CLexer
/ src / themes / chartthemeicy_p.h
Michal Klocek
Refactor themes...
r143 #include "charttheme_p.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class ChartThemeIcy: public ChartTheme
{
public:
Tero Ahola
Fonts and background of the themes...
r614 ChartThemeIcy() : ChartTheme(QChart::ChartThemeIcy)
Michal Klocek
Refactor themes...
r143 {
Tero Ahola
Added axis related modifiers to theme
r548 // Series
m_seriesColors << QRgb(0x0d2673);
m_seriesColors << QRgb(0x2685bf);
m_seriesColors << QRgb(0x3dadd9);
m_seriesColors << QRgb(0x62c3d9);
Tero Ahola
Theme gradients now generated from a single base color
r507 generateSeriesGradients();
Jani Honkonen
Adding list of series gradients to theme.
r494
Tero Ahola
Added axis related modifiers to theme
r548 // Background
Jani Honkonen
Adding list of series gradients to theme.
r494 QLinearGradient backgroundGradient;
Tero Ahola
Added axis related modifiers to theme
r548 backgroundGradient.setColorAt(0.0, QRgb(0xebebeb));
backgroundGradient.setColorAt(1.0, QRgb(0xf8f9fb));
Jani Honkonen
Adding list of series gradients to theme.
r494 backgroundGradient.setCoordinateMode(QGradient::ObjectBoundingMode);
Tero Ahola
New theme with light colors, chartview background
r584 m_chartBackgroundGradient = backgroundGradient;
Tero Ahola
Added axis related modifiers to theme
r548
// Axes and other
m_axisLinePen = QPen(QRgb(0x0f0f0f));
m_axisLinePen.setWidth(2);
m_axisLabelBrush = QBrush(QRgb(0x3f3f3f));
m_gridLinePen = QPen(QRgb(0x0f0f0f));
m_gridLinePen.setWidth(2);
Tero Ahola
Default theme background, removed extra themes
r692 m_backgroundShades = BackgroundShadesNone;
Michal Klocek
Refactor themes...
r143 }
};
QTCOMMERCIALCHART_END_NAMESPACE