KD Chart 2
[rev.2.7]
|
A set of attributes for frames around items. More...
#include <KDChartFrameAttributes.h>
Public Member Functions | |
qreal | cornerRadius () const |
FrameAttributes () | |
FrameAttributes (const FrameAttributes &) | |
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) |
~FrameAttributes () | |
A set of attributes for frames around items.
Definition at line 36 of file KDChartFrameAttributes.h.
FrameAttributes::FrameAttributes | ( | ) |
Definition at line 51 of file KDChartFrameAttributes.cpp.
FrameAttributes::FrameAttributes | ( | const FrameAttributes & | r | ) |
Definition at line 56 of file KDChartFrameAttributes.cpp.
FrameAttributes::~FrameAttributes | ( | ) |
Definition at line 71 of file KDChartFrameAttributes.cpp.
qreal FrameAttributes::cornerRadius | ( | ) | const |
Definition at line 113 of file KDChartFrameAttributes.cpp.
References d.
Referenced by operator<<(), operator==(), and KDChart::AbstractAreaBase::paintFrameAttributes().
bool FrameAttributes::isVisible | ( | ) | const |
Definition at line 93 of file KDChartFrameAttributes.cpp.
References d.
Referenced by operator<<(), operator==(), KDChart::AbstractAreaBase::paintFrameAttributes(), and updateCommonBrush().
bool KDChart::FrameAttributes::operator!= | ( | const FrameAttributes & | other | ) | const |
Definition at line 58 of file KDChartFrameAttributes.h.
References KDCHART_DECLARE_PRIVATE_BASE_VALUE, KDCHART_DECLARE_SWAP_SPECIALISATION, KDChart::operator<<(), KDGantt::operator==(), and Q_DECLARE_TYPEINFO().
FrameAttributes & FrameAttributes::operator= | ( | const FrameAttributes & | r | ) |
Definition at line 61 of file KDChartFrameAttributes.cpp.
References d.
bool FrameAttributes::operator== | ( | const FrameAttributes & | r | ) | const |
Definition at line 77 of file KDChartFrameAttributes.cpp.
References cornerRadius(), isVisible(), padding(), and pen().
int FrameAttributes::padding | ( | ) | const |
Definition at line 123 of file KDChartFrameAttributes.cpp.
References d.
Referenced by operator<<(), operator==(), and setPadding().
QPen FrameAttributes::pen | ( | ) | const |
Definition at line 103 of file KDChartFrameAttributes.cpp.
References d.
Referenced by operator<<(), operator==(), KDChart::AbstractAreaBase::paintFrameAttributes(), and setPen().
void FrameAttributes::setCornerRadius | ( | qreal | radius | ) |
Definition at line 108 of file KDChartFrameAttributes.cpp.
References d.
void FrameAttributes::setPadding | ( | int | padding | ) |
Definition at line 118 of file KDChartFrameAttributes.cpp.
Referenced by KDChart::Chart::Chart(), and KDChart::Legend::~Legend().
void FrameAttributes::setPen | ( | const QPen & | pen | ) |
Definition at line 98 of file KDChartFrameAttributes.cpp.
Referenced by KDChart::Chart::Chart(), and KDChart::Legend::~Legend().
void FrameAttributes::setVisible | ( | bool | visible | ) |
Definition at line 88 of file KDChartFrameAttributes.cpp.
References d.
Referenced by KDChart::Legend::~Legend().