QListBoxPixmap Class Reference


QListBoxPixmap provides list box items with a pixmap. More...

#include <qlistbox.h>

Inherits QListBoxItem.

List of all member functions.

Public Members

Protected Members


Detailed Description

QListBoxPixmap provides list box items with a pixmap.

See also: QListBox and QListBoxItem.


Member Function Documentation

QListBoxPixmap::QListBoxPixmap ( const QPixmap & pixmap )

Creates a new list box item showing the pixmap pixmap.

QListBoxPixmap::~QListBoxPixmap ()

Destroys the item.

int QListBoxPixmap::height ( const QListBox * ) const [virtual protected]

Returns the height of the pixmap.

See also: paint() and width().

Reimplemented from QListBoxItem.

void QListBoxPixmap::paint ( QPainter * p ) [virtual protected]

Draws the pixmap using painter p.

Reimplemented from QListBoxItem.

const QPixmap * QListBoxPixmap::pixmap () const [virtual]

Returns the pixmap connected with the item.

Reimplemented from QListBoxItem.

int QListBoxPixmap::width ( const QListBox * ) const [virtual protected]

Returns the width of the pixmap.

See also: paint() and height().

Reimplemented from QListBoxItem.


This file is part of the Qt toolkit, copyright © 1995-97 Troll Tech, all rights reserved.

It was generated from the following files:


Generated at 23:50, 1998/03/16 for Qt version 1.33 by the webmaster at Troll Tech