KDChart::BackgroundAttributes Class Reference

Set of attributes usable for background pixmaps. More...

#include <KDChartBackgroundAttributes.h>

List of all members.

Public Types

enum  BackgroundPixmapMode {
  BackgroundPixmapModeNone,
  BackgroundPixmapModeCentered,
  BackgroundPixmapModeScaled,
  BackgroundPixmapModeStretched
}

Public Member Functions

 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
BackgroundAttributesoperator= (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 ()

Detailed Description

Set of attributes usable for background pixmaps.

Definition at line 36 of file KDChartBackgroundAttributes.h.


Member Enumeration Documentation

Enumerator:
BackgroundPixmapModeNone 
BackgroundPixmapModeCentered 
BackgroundPixmapModeScaled 
BackgroundPixmapModeStretched 

Definition at line 45 of file KDChartBackgroundAttributes.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

QBrush BackgroundAttributes::brush (  )  const
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
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
BackgroundAttributes::BackgroundPixmapMode BackgroundAttributes::pixmapMode (  )  const
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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
http://www.kdab.com/products/kd-chart/