#include <KDChartThreeDPieAttributes.h>
Definition at line 38 of file KDChartThreeDPieAttributes.h.
Public Member Functions | |
double | depth () const |
bool | isEnabled () const |
bool | operator!= (const AbstractThreeDAttributes &other) const |
bool | operator!= (const ThreeDPieAttributes &other) const |
ThreeDPieAttributes & | operator= (const ThreeDPieAttributes &) |
bool | operator== (const AbstractThreeDAttributes &) const |
bool | operator== (const ThreeDPieAttributes &) const |
void | setDepth (double depth) |
void | setEnabled (bool enabled) |
void | setUseShadowColors (bool useShadowColors) |
ThreeDPieAttributes (const ThreeDPieAttributes &) | |
ThreeDPieAttributes () | |
bool | useShadowColors () const |
double | validDepth () const |
~ThreeDPieAttributes () |
ThreeDPieAttributes::ThreeDPieAttributes | ( | ) |
Definition at line 43 of file KDChartThreeDPieAttributes.cpp.
00044 : AbstractThreeDAttributes( new Private() ) 00045 { 00046 00047 }
ThreeDPieAttributes::ThreeDPieAttributes | ( | const ThreeDPieAttributes & | r | ) |
Definition at line 49 of file KDChartThreeDPieAttributes.cpp.
00050 : AbstractThreeDAttributes( new Private( *r.d) ) 00051 { 00052 }
ThreeDPieAttributes::~ThreeDPieAttributes | ( | ) |
double AbstractThreeDAttributes::depth | ( | ) | const [inherited] |
Definition at line 103 of file KDChartAbstractThreeDAttributes.cpp.
References d.
Referenced by StockDiagram::Private::drawCandlestick(), StockDiagram::Private::drawLine(), operator<<(), KDChart::AbstractThreeDAttributes::operator==(), and KDChart::PieDiagram::paintInternal().
00104 { 00105 return d->depth; 00106 }
bool AbstractThreeDAttributes::isEnabled | ( | ) | const [inherited] |
Definition at line 92 of file KDChartAbstractThreeDAttributes.cpp.
References d.
Referenced by StockDiagram::Private::drawCandlestick(), StockDiagram::Private::drawLine(), StockDiagram::Private::drawOHLCBar(), operator<<(), KDChart::AbstractThreeDAttributes::operator==(), KDChart::PieDiagram::paintInternal(), and KDChart::AbstractThreeDAttributes::validDepth().
00093 { 00094 return d->enabled; 00095 }
bool KDChart::AbstractThreeDAttributes::operator!= | ( | const AbstractThreeDAttributes & | other | ) | const [inherited] |
Definition at line 60 of file KDChartAbstractThreeDAttributes.h.
References KDGantt::operator==().
00060 { return !operator==(other); }
bool KDChart::ThreeDPieAttributes::operator!= | ( | const ThreeDPieAttributes & | other | ) | const |
Definition at line 52 of file KDChartThreeDPieAttributes.h.
References KDGantt::operator==().
00052 { return !operator==(other); }
ThreeDPieAttributes & ThreeDPieAttributes::operator= | ( | const ThreeDPieAttributes & | r | ) |
Definition at line 54 of file KDChartThreeDPieAttributes.cpp.
References d.
00055 { 00056 if( this == &r ) 00057 return *this; 00058 00059 *d = *r.d; 00060 00061 return *this; 00062 }
bool AbstractThreeDAttributes::operator== | ( | const AbstractThreeDAttributes & | r | ) | const [inherited] |
Definition at line 72 of file KDChartAbstractThreeDAttributes.cpp.
References KDChart::AbstractThreeDAttributes::depth(), and KDChart::AbstractThreeDAttributes::isEnabled().
00073 { 00074 if( isEnabled() == r.isEnabled() && 00075 depth() == r.depth() ) 00076 return true; 00077 else 00078 return false; 00079 }
bool ThreeDPieAttributes::operator== | ( | const ThreeDPieAttributes & | r | ) | const |
Definition at line 73 of file KDChartThreeDPieAttributes.cpp.
References KDGantt::operator==(), and useShadowColors().
00074 { 00075 return ( useShadowColors() == r.useShadowColors() && 00076 AbstractThreeDAttributes::operator==(r)); 00077 }
void AbstractThreeDAttributes::setDepth | ( | double | depth | ) | [inherited] |
void AbstractThreeDAttributes::setEnabled | ( | bool | enabled | ) | [inherited] |
Definition at line 87 of file KDChartAbstractThreeDAttributes.cpp.
References d.
00088 { 00089 d->enabled = enabled; 00090 }
void ThreeDPieAttributes::setUseShadowColors | ( | bool | useShadowColors | ) |
Definition at line 81 of file KDChartThreeDPieAttributes.cpp.
References d.
00082 { 00083 d->useShadowColors = shadowColors; 00084 }
bool ThreeDPieAttributes::useShadowColors | ( | ) | const |
Definition at line 86 of file KDChartThreeDPieAttributes.cpp.
References d.
Referenced by operator<<(), and operator==().
00087 { 00088 return d->useShadowColors; 00089 }
double AbstractThreeDAttributes::validDepth | ( | ) | const [inherited] |
Definition at line 109 of file KDChartAbstractThreeDAttributes.cpp.
References d, and KDChart::AbstractThreeDAttributes::isEnabled().
Referenced by KDChart::Plotter::threeDItemDepth(), KDChart::LineDiagram::threeDItemDepth(), and KDChart::BarDiagram::threeDItemDepth().