24 #include "KDChartPieAttributes_p.h"
28 #include <KDABLibFakes>
33 using namespace KDChart;
36 PieAttributes::Private::Private()
37 : explodeFactor( 0.0 )
38 , tangentialGapFactor( 0.0 )
39 , radialGapFactor( 0.0 )
44 PieAttributes::PieAttributes()
50 : _d( new Private( *r.
d ) )
79 void PieAttributes::init( )
86 d->explodeFactor = (enabled ? 0.1 : 0.0);
91 return (
d->explodeFactor != 0.0);
96 d->explodeFactor = factor;
101 return d->explodeFactor;
107 d->tangentialGapFactor = factor;
109 d->radialGapFactor = factor;
114 return circular ?
d->tangentialGapFactor :
d->radialGapFactor;
117 #if !defined(QT_NO_DEBUG_STREAM)
120 dbg <<
"KDChart::PieAttributes(";