Qt logo

QListBoxPixmap Class Reference


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

#include <qlistbox.h>

Inherits QListBoxItem.

List of all member functions.

Public Members

Protected Members


Detailed Description

The QListBoxPixmap class 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.


Search the documentation, FAQ, qt-interest archive and more (uses www.troll.no):


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

It was generated from the following files:


Copyright İ 1998 Troll TechTrademarks
Qt version 1.42