Set of attributes usable for background pixmaps. More...
#include <KDChartBackgroundAttributes.h>
Public Types | |
enum | BackgroundPixmapMode { BackgroundPixmapModeNone, BackgroundPixmapModeCentered, BackgroundPixmapModeScaled, BackgroundPixmapModeStretched } |
Public Member Functions | |
BackgroundAttributes () | |
BackgroundAttributes (const 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) |
~BackgroundAttributes () |
Set of attributes usable for background pixmaps.
Definition at line 36 of file KDChartBackgroundAttributes.h.
BackgroundPixmapModeNone | |
BackgroundPixmapModeCentered | |
BackgroundPixmapModeScaled | |
BackgroundPixmapModeStretched |
Definition at line 45 of file KDChartBackgroundAttributes.h.
BackgroundAttributes::BackgroundAttributes | ( | ) |
Definition at line 52 of file KDChartBackgroundAttributes.cpp.
BackgroundAttributes::BackgroundAttributes | ( | const BackgroundAttributes & | r | ) |
Definition at line 57 of file KDChartBackgroundAttributes.cpp.
BackgroundAttributes::~BackgroundAttributes | ( | ) |
Definition at line 97 of file KDChartBackgroundAttributes.cpp.
QBrush BackgroundAttributes::brush | ( | ) | const |
Definition at line 121 of file KDChartBackgroundAttributes.cpp.
References d.
Referenced by isEqualTo(), operator<<(), and KDChart::AbstractAreaBase::paintBackgroundAttributes().
bool BackgroundAttributes::isEqualTo | ( | const BackgroundAttributes & | other, | |
bool | ignorePixmap = false | |||
) | const |
Definition at line 78 of file KDChartBackgroundAttributes.cpp.
References brush(), isVisible(), pixmap(), and pixmapMode().
Referenced by operator==().
bool BackgroundAttributes::isVisible | ( | ) | const |
Definition at line 111 of file KDChartBackgroundAttributes.cpp.
References d.
Referenced by isEqualTo(), operator<<(), and KDChart::AbstractAreaBase::paintBackgroundAttributes().
bool KDChart::BackgroundAttributes::operator!= | ( | const BackgroundAttributes & | other | ) | const |
Definition at line 63 of file KDChartBackgroundAttributes.h.
References KDGantt::operator==().
BackgroundAttributes & BackgroundAttributes::operator= | ( | const BackgroundAttributes & | r | ) |
Definition at line 62 of file KDChartBackgroundAttributes.cpp.
References d.
bool BackgroundAttributes::operator== | ( | const BackgroundAttributes & | r | ) | const |
Definition at line 72 of file KDChartBackgroundAttributes.cpp.
References isEqualTo().
QPixmap BackgroundAttributes::pixmap | ( | ) | const |
Definition at line 141 of file KDChartBackgroundAttributes.cpp.
References d.
Referenced by isEqualTo(), operator<<(), and KDChart::AbstractAreaBase::paintBackgroundAttributes().
BackgroundAttributes::BackgroundPixmapMode BackgroundAttributes::pixmapMode | ( | ) | const |
Definition at line 131 of file KDChartBackgroundAttributes.cpp.
References d.
Referenced by isEqualTo(), operator<<(), and KDChart::AbstractAreaBase::paintBackgroundAttributes().
void BackgroundAttributes::setBrush | ( | const QBrush & | brush | ) |
Definition at line 116 of file KDChartBackgroundAttributes.cpp.
References d.
void BackgroundAttributes::setPixmap | ( | const QPixmap & | backPixmap | ) |
Definition at line 136 of file KDChartBackgroundAttributes.cpp.
References d.
void BackgroundAttributes::setPixmapMode | ( | BackgroundPixmapMode | mode | ) |
Definition at line 126 of file KDChartBackgroundAttributes.cpp.
References d.
void BackgroundAttributes::setVisible | ( | bool | visible | ) |
Definition at line 105 of file KDChartBackgroundAttributes.cpp.
References d.