29 #include <KDABLibFakes>
33 using namespace KDChart;
35 class LeveyJenningsGridAttributes::Private
46 LeveyJenningsGridAttributes::Private::Private()
48 pens[ Calculated ].setCapStyle( Qt::FlatCap );
49 pens[ Calculated ].setColor( Qt::blue );
50 pens[ Expected ].setCapStyle( Qt::FlatCap );
51 pens[ Expected ].setColor( Qt::black );
53 visible[ Calculated ] =
true;
54 visible[ Expected ] =
true;
68 : _d( new Private( *r.
d ) )
98 d->rangeBrushes[ range ] = brush;
103 return d->rangeBrushes[ range ];
109 d->visible[ type ] = visible;
114 return d->visible[ type ];
119 d->pens[ type ] = pen;
120 d->pens[ type ].setCapStyle( Qt::FlatCap );
125 return d->pens[ type ];