28 #include <KDABLibFakes>
32 using namespace KDChart;
34 class GridAttributes::Private
53 GridAttributes::Private::Private()
60 pen( QColor(0xa0, 0xa0, 0xa0 ) ),
62 subPen( QColor(0xd0, 0xd0, 0xd0 ) ),
64 zeroPen( QColor( 0x00, 0x00, 0x80 ) )
66 pen.setCapStyle( Qt::FlatCap );
67 subPen.setCapStyle( Qt::FlatCap );
68 zeroPen.setCapStyle( Qt::FlatCap );
72 GridAttributes::GridAttributes()
79 : _d( new Private( *r.
d ) )
115 d->visible = visible;
143 d->stepWidth = stepWidth;
174 d->subStepWidth = subStepWidth;
185 return d->subStepWidth;
207 d->sequence = sequence;
223 d->adjustLower = adjustLower;
224 d->adjustUpper = adjustUpper;
228 return d->adjustLower;
232 return d->adjustUpper;
238 d->pen.setCapStyle( Qt::FlatCap );
248 d->subVisible = visible;
253 return d->subVisible;
259 d->subPen.setCapStyle( Qt::FlatCap );
269 d->outerVisible = visible;
274 return d->outerVisible;
280 d->zeroPen.setCapStyle( Qt::FlatCap );
288 #if !defined(QT_NO_DEBUG_STREAM)
291 dbg <<
"KDChart::GridAttributes("