GraphicPixmap Class Reference

#include <graphic_items.h>

Inheritance diagram for GraphicPixmap:

Inheritance graph
[legend]
Collaboration diagram for GraphicPixmap:

Collaboration graph
[legend]
List of all members.

Public Types

 DiffuseDither
 OrderedDither
 ThresholdDither
 IgnoreAspectRatio
 KeepAspectRatio
 KeepAspectRatioByExpanding
enum  DitherStatus { DiffuseDither, OrderedDither, ThresholdDither }
enum  RatioStatus { IgnoreAspectRatio, KeepAspectRatio, KeepAspectRatioByExpanding }

Public Member Functions

bool init ()
void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *widget=0)
QRectF boundingRect () const
QGraphicsItem * graphicsItem ()
void setPixmap (const QPixmap &)
void setSize (const QSize &)
void setInvert (bool)
void setDither (DitherStatus)
void setRatio (RatioStatus)
void setPath (const QString &)
QPixmap pixmap () const
QString path () const
QSize size () const
bool invert ()
DitherStatus dither ()
RatioStatus ratio ()

Properties

QPixmap pixmap []
QSize size []
bool invert []
DitherStatus dither []
RatioStatus ratio []

Private Member Functions

void updatePixmap ()

Private Attributes

DitherStatus m_dither
RatioStatus m_ratio
QPixmap m_pixmap
QPixmap m_tmpPixmap
QSize m_size
QString m_path
bool m_invert

Member Enumeration Documentation

enum GraphicPixmap::DitherStatus

Enumerator:
DiffuseDither 
OrderedDither 
ThresholdDither 

enum GraphicPixmap::RatioStatus

Enumerator:
IgnoreAspectRatio 
KeepAspectRatio 
KeepAspectRatioByExpanding 


Member Function Documentation

QRectF GraphicPixmap::boundingRect (  )  const

DitherStatus GraphicPixmap::dither (  )  [inline]

QGraphicsItem* GraphicPixmap::graphicsItem (  )  [inline, virtual]

Implements PluginInterface.

Reimplemented in AmarokStatus, and AmarokCover.

bool GraphicPixmap::init (  )  [virtual]

Reimplemented from GraphicItem.

Reimplemented in AmarokStatus, and AmarokCover.

bool GraphicPixmap::invert (  )  [inline]

void GraphicPixmap::paint ( QPainter *  ,
const QStyleOptionGraphicsItem *  ,
QWidget *  widget = 0 
)

QString GraphicPixmap::path (  )  const [inline]

QPixmap GraphicPixmap::pixmap (  )  const [inline]

RatioStatus GraphicPixmap::ratio (  )  [inline]

void GraphicPixmap::setDither ( DitherStatus   ) 

void GraphicPixmap::setInvert ( bool   ) 

void GraphicPixmap::setPath ( const QString &   ) 

void GraphicPixmap::setPixmap ( const QPixmap &   ) 

void GraphicPixmap::setRatio ( RatioStatus   ) 

void GraphicPixmap::setSize ( const QSize &   ) 

QSize GraphicPixmap::size (  )  const [inline]

void GraphicPixmap::updatePixmap (  )  [private]


Member Data Documentation

DitherStatus GraphicPixmap::m_dither [private]

bool GraphicPixmap::m_invert [private]

QString GraphicPixmap::m_path [private]

QPixmap GraphicPixmap::m_pixmap [private]

RatioStatus GraphicPixmap::m_ratio [private]

QSize GraphicPixmap::m_size [private]

QPixmap GraphicPixmap::m_tmpPixmap [private]


Property Documentation

DitherStatus GraphicPixmap::dither [read, write]

bool GraphicPixmap::invert [read, write]

QPixmap GraphicPixmap::pixmap [read, write]

RatioStatus GraphicPixmap::ratio [read, write]

QSize GraphicPixmap::size [read, write]


The documentation for this class was generated from the following files:
Generated on Thu Apr 5 13:12:36 2007 for LCDBuilder by  doxygen 1.4.7