![]() |
KD Chart API Documentation
3.1
|
A set of attributes for frames around items. More...
#include <KDChartFrameAttributes.h>
Public Member Functions | |
FrameAttributes () | |
FrameAttributes (const FrameAttributes &) | |
~FrameAttributes () | |
qreal | cornerRadius () const |
bool | isVisible () const |
bool | operator!= (const FrameAttributes &other) const |
FrameAttributes & | operator= (const FrameAttributes &) |
bool | operator== (const FrameAttributes &) const |
int | padding () const |
QPen | pen () const |
void | setCornerRadius (qreal radius) |
void | setPadding (int padding) |
void | setPen (const QPen &pen) |
void | setVisible (bool visible) |
A set of attributes for frames around items.
Definition at line 24 of file KDChartFrameAttributes.h.
FrameAttributes::FrameAttributes | ( | ) |
Definition at line 37 of file KDChartFrameAttributes.cpp.
FrameAttributes::FrameAttributes | ( | const FrameAttributes & | r | ) |
Definition at line 42 of file KDChartFrameAttributes.cpp.
FrameAttributes::~FrameAttributes | ( | ) |
Definition at line 57 of file KDChartFrameAttributes.cpp.
qreal FrameAttributes::cornerRadius | ( | ) | const |
Definition at line 93 of file KDChartFrameAttributes.cpp.
References d.
Referenced by operator<<(), operator==(), and KDChart::AbstractAreaBase::paintFrameAttributes().
bool FrameAttributes::isVisible | ( | ) | const |
Definition at line 73 of file KDChartFrameAttributes.cpp.
References d.
Referenced by operator<<(), operator==(), KDChart::AbstractAreaBase::paintFrameAttributes(), and updateCommonBrush().
|
inline |
Definition at line 46 of file KDChartFrameAttributes.h.
References KDChart::operator==().
FrameAttributes & FrameAttributes::operator= | ( | const FrameAttributes & | r | ) |
Definition at line 47 of file KDChartFrameAttributes.cpp.
References d.
bool FrameAttributes::operator== | ( | const FrameAttributes & | r | ) | const |
Definition at line 63 of file KDChartFrameAttributes.cpp.
References cornerRadius(), isVisible(), padding(), and pen().
int FrameAttributes::padding | ( | ) | const |
Definition at line 103 of file KDChartFrameAttributes.cpp.
References d.
Referenced by operator<<(), operator==(), and setPadding().
QPen FrameAttributes::pen | ( | ) | const |
Definition at line 83 of file KDChartFrameAttributes.cpp.
References d.
Referenced by operator<<(), operator==(), KDChart::AbstractAreaBase::paintFrameAttributes(), and setPen().
void FrameAttributes::setCornerRadius | ( | qreal | radius | ) |
Definition at line 88 of file KDChartFrameAttributes.cpp.
References d.
void FrameAttributes::setPadding | ( | int | padding | ) |
Definition at line 98 of file KDChartFrameAttributes.cpp.
Referenced by KDChart::Chart::Chart().
void FrameAttributes::setPen | ( | const QPen & | pen | ) |
Definition at line 78 of file KDChartFrameAttributes.cpp.
Referenced by KDChart::Chart::Chart().
void FrameAttributes::setVisible | ( | bool | visible | ) |
Definition at line 68 of file KDChartFrameAttributes.cpp.
References d.