##// END OF EJS Templates
A few more warnings removed from examples
A few more warnings removed from examples

File last commit:

r608:9ab5701700a1
r613:36ecec1e9bf9
Show More
chartthemebluecerulean_p.h
38 lines | 1.2 KiB | text/x-c | CLexer
/ src / themes / chartthemebluecerulean_p.h
#include "charttheme_p.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class ChartThemeBlueCerulean: public ChartTheme
{
public:
ChartThemeBlueCerulean() : ChartTheme(QChart::ChartThemeBlueCerulean)
{
// Series colors
m_seriesColors << QRgb(0x38ad6b);
m_seriesColors << QRgb(0x3c84a7);
m_seriesColors << QRgb(0xeb8817);
m_seriesColors << QRgb(0x7b7f8c);
m_seriesColors << QRgb(0xbf593e);
generateSeriesGradients();
// Background
QLinearGradient backgroundGradient;
backgroundGradient.setColorAt(0.0, QRgb(0xd6d6d6));
backgroundGradient.setColorAt(1.0, QRgb(0x121218));
backgroundGradient.setCoordinateMode(QGradient::ObjectBoundingMode);
m_chartBackgroundGradient = backgroundGradient;
// Axes and other
m_masterFont = QFont();
m_axisLinePen = QPen(QRgb(0x86878c));
m_axisLinePen.setWidth(2);
m_axisLabelBrush = QBrush(QRgb(0x86878c));
m_axisLabelPen = Qt::NoPen; // NoPen for performance reasons
m_backgroundShadesPen = Qt::NoPen;
m_backgroundShades = BackgroundShadesNone;
m_gridLinePen = QPen(QRgb(0x86878c));
m_gridLinePen.setWidth(1);
}
};
QTCOMMERCIALCHART_END_NAMESPACE