KD Chart 2
[rev.2.7]
|
Base class for 3D attributes. More...
#include <KDChartAbstractThreeDAttributes.h>
Public Member Functions | |
AbstractThreeDAttributes () | |
AbstractThreeDAttributes (const AbstractThreeDAttributes &) | |
qreal | depth () const |
bool | isEnabled () const |
bool | isThreeDBrushEnabled () const |
bool | operator!= (const AbstractThreeDAttributes &other) const |
AbstractThreeDAttributes & | operator= (const AbstractThreeDAttributes &) |
bool | operator== (const AbstractThreeDAttributes &) const |
void | setDepth (qreal depth) |
void | setEnabled (bool enabled) |
void | setThreeDBrushEnabled (bool enabled) |
virtual QBrush | threeDBrush (const QBrush &brush, const QRectF &rect) const |
qreal | validDepth () const |
virtual | ~AbstractThreeDAttributes ()=0 |
Base class for 3D attributes.
Definition at line 34 of file KDChartAbstractThreeDAttributes.h.
AbstractThreeDAttributes::AbstractThreeDAttributes | ( | ) |
Definition at line 44 of file KDChartAbstractThreeDAttributes.cpp.
AbstractThreeDAttributes::AbstractThreeDAttributes | ( | const AbstractThreeDAttributes & | r | ) |
Definition at line 49 of file KDChartAbstractThreeDAttributes.cpp.
|
pure virtual |
Definition at line 64 of file KDChartAbstractThreeDAttributes.cpp.
qreal AbstractThreeDAttributes::depth | ( | ) | const |
Definition at line 99 of file KDChartAbstractThreeDAttributes.cpp.
References d.
Referenced by doArcsOverlap(), operator<<(), operator==(), KDChart::PieDiagram::paint(), KDChart::PaintingHelpers::project(), and setDepth().
bool AbstractThreeDAttributes::isEnabled | ( | ) | const |
Definition at line 88 of file KDChartAbstractThreeDAttributes.cpp.
References d.
Referenced by doArcsOverlap(), labelAttachmentLine(), operator<<(), operator==(), KDChart::PieDiagram::paint(), KDChart::PaintingHelpers::paintAreas(), KDChart::PaintingHelpers::paintElements(), KDChart::RingDiagram::resize(), and validDepth().
bool AbstractThreeDAttributes::isThreeDBrushEnabled | ( | ) | const |
Definition at line 110 of file KDChartAbstractThreeDAttributes.cpp.
References d.
Referenced by operator==(), and threeDBrush().
bool KDChart::AbstractThreeDAttributes::operator!= | ( | const AbstractThreeDAttributes & | other | ) | const |
Definition at line 57 of file KDChartAbstractThreeDAttributes.h.
References KDCHART_DECLARE_PRIVATE_BASE_POLYMORPHIC, KDCHART_DECLARE_SWAP_BASE, KDChart::operator<<(), and KDGantt::operator==().
AbstractThreeDAttributes & AbstractThreeDAttributes::operator= | ( | const AbstractThreeDAttributes & | r | ) |
Definition at line 54 of file KDChartAbstractThreeDAttributes.cpp.
References d.
bool AbstractThreeDAttributes::operator== | ( | const AbstractThreeDAttributes & | r | ) | const |
Definition at line 70 of file KDChartAbstractThreeDAttributes.cpp.
References depth(), isEnabled(), and isThreeDBrushEnabled().
Referenced by KDChart::ThreeDPieAttributes::operator==(), KDChart::ThreeDLineAttributes::operator==(), and KDChart::ThreeDBarAttributes::operator==().
void AbstractThreeDAttributes::setDepth | ( | qreal | depth | ) |
Definition at line 93 of file KDChartAbstractThreeDAttributes.cpp.
Referenced by KDChart::ThreeDPieAttributes::~ThreeDPieAttributes().
void AbstractThreeDAttributes::setEnabled | ( | bool | enabled | ) |
Definition at line 83 of file KDChartAbstractThreeDAttributes.cpp.
References d.
void AbstractThreeDAttributes::setThreeDBrushEnabled | ( | bool | enabled | ) |
Definition at line 115 of file KDChartAbstractThreeDAttributes.cpp.
References d.
|
virtual |
Definition at line 120 of file KDChartAbstractThreeDAttributes.cpp.
References isThreeDBrushEnabled().
Referenced by labelAttachmentLine(), KDChart::PaintingHelpers::paintAreas(), KDChart::PaintingHelpers::paintThreeDLines(), and KDChart::RingDiagram::resize().
qreal AbstractThreeDAttributes::validDepth | ( | ) | const |
Definition at line 105 of file KDChartAbstractThreeDAttributes.cpp.
References d, and isEnabled().
Referenced by KDChart::BarDiagram::threeDItemDepth(), KDChart::Plotter::threeDItemDepth(), and KDChart::LineDiagram::threeDItemDepth().