29 #include <KDABLibFakes> 35 class LeveyJenningsGridAttributes::Private
46 LeveyJenningsGridAttributes::Private::Private()
50 pens[
Expected ].setCapStyle( Qt::FlatCap );
51 pens[
Expected ].setColor( Qt::black );
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 ];
bool isGridVisible(GridType type) const
~LeveyJenningsGridAttributes()
void setRangeBrush(Range range, const QBrush &brush)
LeveyJenningsGridAttributes()
A set of attributes controlling the appearance of grids.
QBrush rangeBrush(Range range) const
void setGridPen(GridType type, const QPen &pen)
LeveyJenningsGridAttributes & operator=(const LeveyJenningsGridAttributes &)
void setGridVisible(GridType type, bool visible)
QPen gridPen(GridType type) const
bool operator==(const LeveyJenningsGridAttributes &) const