KChart::BackgroundAttributes
#include <KChartBackgroundAttributes.h>
Public Types | |
enum | BackgroundPixmapMode { BackgroundPixmapModeNone , BackgroundPixmapModeCentered , BackgroundPixmapModeScaled , BackgroundPixmapModeStretched } |
Public Member Functions | |
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) |
Detailed Description
Set of attributes usable for background pixmaps.
Definition at line 22 of file KChartBackgroundAttributes.h.
Member Enumeration Documentation
◆ BackgroundPixmapMode
enum KChart::BackgroundAttributes::BackgroundPixmapMode |
Definition at line 31 of file KChartBackgroundAttributes.h.
Constructor & Destructor Documentation
◆ BackgroundAttributes() [1/2]
BackgroundAttributes::BackgroundAttributes | ( | ) |
Definition at line 39 of file KChartBackgroundAttributes.cpp.
◆ BackgroundAttributes() [2/2]
BackgroundAttributes::BackgroundAttributes | ( | const BackgroundAttributes & | r | ) |
Definition at line 44 of file KChartBackgroundAttributes.cpp.
◆ ~BackgroundAttributes()
BackgroundAttributes::~BackgroundAttributes | ( | ) |
Definition at line 84 of file KChartBackgroundAttributes.cpp.
Member Function Documentation
◆ brush()
QBrush BackgroundAttributes::brush | ( | ) | const |
Definition at line 108 of file KChartBackgroundAttributes.cpp.
◆ isEqualTo()
bool BackgroundAttributes::isEqualTo | ( | const BackgroundAttributes & | other, |
bool | ignorePixmap = false ) const |
Definition at line 65 of file KChartBackgroundAttributes.cpp.
◆ isVisible()
bool BackgroundAttributes::isVisible | ( | ) | const |
Definition at line 98 of file KChartBackgroundAttributes.cpp.
◆ operator!=()
|
inline |
Definition at line 49 of file KChartBackgroundAttributes.h.
◆ operator=()
BackgroundAttributes & BackgroundAttributes::operator= | ( | const BackgroundAttributes & | r | ) |
Definition at line 49 of file KChartBackgroundAttributes.cpp.
◆ operator==()
bool BackgroundAttributes::operator== | ( | const BackgroundAttributes & | r | ) | const |
Definition at line 59 of file KChartBackgroundAttributes.cpp.
◆ pixmap()
QPixmap BackgroundAttributes::pixmap | ( | ) | const |
Definition at line 128 of file KChartBackgroundAttributes.cpp.
◆ pixmapMode()
BackgroundAttributes::BackgroundPixmapMode BackgroundAttributes::pixmapMode | ( | ) | const |
Definition at line 118 of file KChartBackgroundAttributes.cpp.
◆ setBrush()
void BackgroundAttributes::setBrush | ( | const QBrush & | brush | ) |
Definition at line 103 of file KChartBackgroundAttributes.cpp.
◆ setPixmap()
void BackgroundAttributes::setPixmap | ( | const QPixmap & | backPixmap | ) |
Definition at line 123 of file KChartBackgroundAttributes.cpp.
◆ setPixmapMode()
void BackgroundAttributes::setPixmapMode | ( | BackgroundPixmapMode | mode | ) |
Definition at line 113 of file KChartBackgroundAttributes.cpp.
◆ setVisible()
void BackgroundAttributes::setVisible | ( | bool | visible | ) |
Definition at line 92 of file KChartBackgroundAttributes.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.