PixmapSizeGrip Class Reference

The PixmapSizeGrip class extends QSizeGrip to provide a window size grip that uses a custom pixmap for its representation. More...

#include <pixmapsizegrip.h>

List of all members.

Public Member Functions

 PixmapSizeGrip (const QPixmap &pixmap, QWidget *parent)
 PixmapSizeGrip (QWidget *parent)
const QPixmap & pixmap () const
void setPixmap (const QPixmap &pixmap)

Protected Member Functions

bool event (QEvent *)
void paintEvent (QPaintEvent *)


Detailed Description

The PixmapSizeGrip class extends QSizeGrip to provide a window size grip that uses a custom pixmap for its representation.


Constructor & Destructor Documentation

PixmapSizeGrip::PixmapSizeGrip ( const QPixmap &  pixmap,
QWidget *  parent 
)

Constructs a pixmap size grip with pixmap pixmap and parent object parent.

PixmapSizeGrip::PixmapSizeGrip ( QWidget *  parent  ) 

Constructs a pixmap size grip with parent object parent.

As no pixmap is given, the widget's style is used for painting until setPixmap() is called with a non-null pixmap.


Member Function Documentation

const QPixmap & PixmapSizeGrip::pixmap (  )  const

Returns the size grip's pixmap.

void PixmapSizeGrip::setPixmap ( const QPixmap &  pixmap  ) 

Sets the size grip's pixmap.

bool PixmapSizeGrip::event ( QEvent *  event  )  [protected]

Prevents QSizeGrip's triangular masking.

void PixmapSizeGrip::paintEvent ( QPaintEvent *  event  )  [protected]

Paints the the pixmap() if it's not null, otherwise it calls QSizeGrip::paintEvent().


The documentation for this class was generated from the following files:
Generated on Mon Jul 30 09:46:53 2007 for Digest by  doxygen 1.5.2