![]() |
KD Chart API Documentation
3.1
|
#include <KDChartBackgroundAttributes.h>
Public Types | |
enum | BackgroundPixmapMode { BackgroundPixmapModeNone , BackgroundPixmapModeCentered , BackgroundPixmapModeScaled , BackgroundPixmapModeStretched } |
Public Member Functions | |
BackgroundAttributes () | |
BackgroundAttributes (const BackgroundAttributes &) | |
~BackgroundAttributes () | |
QBrush | brush () const |
bool | isEqualTo (const BackgroundAttributes &other, bool ignorePixmap=false) const |
bool | isVisible () const |
bool | operator!= (const BackgroundAttributes &other) const |
BackgroundAttributes & | operator= (const BackgroundAttributes &) |
bool | operator== (const BackgroundAttributes &) const |
QPixmap | pixmap () const |
BackgroundPixmapMode | pixmapMode () const |
void | setBrush (const QBrush &brush) |
void | setPixmap (const QPixmap &backPixmap) |
void | setPixmapMode (BackgroundPixmapMode mode) |
void | setVisible (bool visible) |
Set of attributes usable for background pixmaps
Definition at line 24 of file KDChartBackgroundAttributes.h.
Enumerator | |
---|---|
BackgroundPixmapModeNone | |
BackgroundPixmapModeCentered | |
BackgroundPixmapModeScaled | |
BackgroundPixmapModeStretched |
Definition at line 33 of file KDChartBackgroundAttributes.h.
BackgroundAttributes::BackgroundAttributes | ( | ) |
Definition at line 38 of file KDChartBackgroundAttributes.cpp.
BackgroundAttributes::BackgroundAttributes | ( | const BackgroundAttributes & | r | ) |
Definition at line 43 of file KDChartBackgroundAttributes.cpp.
BackgroundAttributes::~BackgroundAttributes | ( | ) |
Definition at line 77 of file KDChartBackgroundAttributes.cpp.
QBrush BackgroundAttributes::brush | ( | ) | const |
Definition at line 98 of file KDChartBackgroundAttributes.cpp.
References d.
Referenced by isEqualTo(), operator<<(), KDChart::AbstractAreaBase::paintBackgroundAttributes(), setBrush(), and updateCommonBrush().
bool BackgroundAttributes::isEqualTo | ( | const BackgroundAttributes & | other, |
bool | ignorePixmap = false |
||
) | const |
Definition at line 63 of file KDChartBackgroundAttributes.cpp.
References brush(), isVisible(), pixmap(), and pixmapMode().
Referenced by operator==().
bool BackgroundAttributes::isVisible | ( | ) | const |
Definition at line 88 of file KDChartBackgroundAttributes.cpp.
References d.
Referenced by isEqualTo(), operator<<(), KDChart::AbstractAreaBase::paintBackgroundAttributes(), and updateCommonBrush().
|
inline |
Definition at line 54 of file KDChartBackgroundAttributes.h.
References KDChart::operator==().
BackgroundAttributes & BackgroundAttributes::operator= | ( | const BackgroundAttributes & | r | ) |
Definition at line 48 of file KDChartBackgroundAttributes.cpp.
References d.
bool BackgroundAttributes::operator== | ( | const BackgroundAttributes & | r | ) | const |
Definition at line 58 of file KDChartBackgroundAttributes.cpp.
References isEqualTo().
QPixmap BackgroundAttributes::pixmap | ( | ) | const |
Definition at line 118 of file KDChartBackgroundAttributes.cpp.
References d.
Referenced by isEqualTo(), operator<<(), and KDChart::AbstractAreaBase::paintBackgroundAttributes().
BackgroundAttributes::BackgroundPixmapMode BackgroundAttributes::pixmapMode | ( | ) | const |
Definition at line 108 of file KDChartBackgroundAttributes.cpp.
References d.
Referenced by isEqualTo(), operator<<(), KDChart::AbstractAreaBase::paintBackgroundAttributes(), and updateCommonBrush().
void BackgroundAttributes::setBrush | ( | const QBrush & | brush | ) |
Definition at line 93 of file KDChartBackgroundAttributes.cpp.
void BackgroundAttributes::setPixmap | ( | const QPixmap & | backPixmap | ) |
Definition at line 113 of file KDChartBackgroundAttributes.cpp.
References d.
void BackgroundAttributes::setPixmapMode | ( | BackgroundPixmapMode | mode | ) |
Definition at line 103 of file KDChartBackgroundAttributes.cpp.
References d.
void BackgroundAttributes::setVisible | ( | bool | visible | ) |
Definition at line 83 of file KDChartBackgroundAttributes.cpp.
References d.