##// END OF EJS Templates
Table model data example
Table model data example

File last commit:

r507:cd18b203dd88
r519:987444b37af4
Show More
chartthemevanilla_p.h
26 lines | 801 B | text/x-c | CLexer
/ src / themes / chartthemevanilla_p.h
Michal Klocek
Refactor themes...
r143 #include "charttheme_p.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class ChartThemeVanilla: public ChartTheme
{
public:
Michal Klocek
Adds missing ids to theme classes
r153 ChartThemeVanilla():ChartTheme(QChart::ChartThemeVanilla)
Michal Klocek
Refactor themes...
r143 {
Jani Honkonen
Adding list of series gradients to theme.
r494 m_seriesColors << QColor(217, 197, 116);
m_seriesColors << QColor(214, 168, 150);
m_seriesColors << QColor(160, 160, 113);
m_seriesColors << QColor(210, 210, 52);
m_seriesColors << QColor(136, 114, 58);
Tero Ahola
Theme gradients now generated from a single base color
r507 generateSeriesGradients();
Jani Honkonen
Adding list of series gradients to theme.
r494
QLinearGradient backgroundGradient;
backgroundGradient.setColorAt(0.0, QRgb(0xff9d844d));
backgroundGradient.setColorAt(1.0, QRgb(0xffafafaf));
backgroundGradient.setCoordinateMode(QGradient::ObjectBoundingMode);
m_backgroundGradient = backgroundGradient;
Michal Klocek
Refactor themes...
r143 }
};
QTCOMMERCIALCHART_END_NAMESPACE